/*
Theme Name: WpRentals Child theme
Theme URI: http://themeforest.net/user/wpestate
Description: Ultimate WordPress Theme created by WpEstate for accommodation booking. WpRentals is clean, flexible, fully responsive and retina Ready. Its smart settings allow you to build outstanding renting websites easily and fast.
Version: 3.13
Author: wpestate.org
Author URI: http://themeforest.net/user/annapx
Tags: white, one-column, two-columns,left-sidebar, right-sidebar, fluid-layout , custom-menu, theme-options, translation-ready
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: wprentals

-------------------------------------------------------------- */



#mobile_booking_triger::before {
    content: "Send Message"; /* Νέο κείμενο */
    display: block ;
    visibility: visible; 
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    background: inherit;
    padding: inherit;
    border-radius: inherit;
}

#mobile_booking_triger {
    visibility: hidden !important; /* Απόκρυψη του αρχικού κειμένου */
    position: relative;
}

.custom-contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Force row layout for property page blocks (overrides theme/sidebar rules) */
.nestado-property-links .custom-contact-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 10px 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Override any sidebar styles that forced full width items */
.nestado-property-links .custom-contact-links .contact-item {
    width: auto !important;
    max-width: 100%;
}

.nestado-property-links .custom-contact-links .contact-item {
    flex: 0 1 220px;
}

.nestado-property-links h3,
.nestado-property-links h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* Phone button in listing cards */
.listing_wrapper .category_tagline.phone_icon {
    margin-top: 6px;
}

.listing_phone_button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #006bff;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
}

.listing_phone_button i {
    font-size: 12px;
}

.listing_phone_button:hover {
    background: #0056d6;
    color: #ffffff !important;
}

/* Mobile fixes for map infobox image size + large gaps near footer */
@media (max-width: 768px) {
    .info_details {
        width: 240px;
        height: auto !important;
        margin-left: -120px;
        margin-top: -220px;
    }

    .leaflet-popup-content .info_details {
        margin-left: -120px;
        margin-top: -210px;
    }

    .infoimage {
        height: 120px;
        background-size: contain !important;
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-color: #fff;
    }

    #infobox_title {
        font-size: 14px;
        bottom: 42px;
    }

    .nestado-platform-links {
        margin-bottom: 10px;
    }
}


.contact-item .contact-icon {
    width: 24px;
    height: 24px;
}

.contact-icon:hover img {
    transform: scale(1.1); /* Ελαφρύ zoom */
    opacity: 0.8; /* Λίγο πιο φωτεινό */
}

/* Tooltip (Τίτλος) */
.contact-icon {
    position: relative;
    display: inline-block;
}

.contact-icon::after {
    content: attr(title);
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    transition: opacity 0.3s ease;
}

.contact-icon:hover::after {
    visibility: visible;
    opacity: 1;
}

/* Κρύβει το link για το facebook profile και τον αριθμό WhatsApp από την σελίδα του ακινήτου */


.list_detail_prop_email,
.list_detail_prop_Αριθμός_viber,
.list_detail_prop_facebook_profile,
.list_detail_prop_Προφίλ_facebook_,
.list_detail_prop_whatsapp_number,
.list_detail_prop_Αριθμός_whatsapp,
.list_detail_prop_contact_visibility,
.list_detail_prop_Εμφάνιση_Στοιχείων_Επικοινωνίας,
.list_detail_prop_Αριθμός_viber,
.list_detail_prop_booking_url,
.list_detail_prop_airbnb_url,
.list_detail_prop_website_url,
.list_detail_prop_listing_priority,
.list_detail_prop_Εμφάνιση_άλλης_πλατφόρμας {
    display: none !important;
}





/* Κρύβει το μήνυμα προειδοποίησης για την υποχρεωτικά πεδίων στην προσθήκη καταλύματος και την επεξεργασία */
.submit_mandatory {
    display: none !important;
}

.login-links a {
    display: block;
    margin-bottom: 5px;
    color: #007bff; /* Μπλε χρώμα όπως τα κλασικά links */
    text-decoration: underline; /* Υπογράμμιση */
    font-weight: bold; /* Ελαφρώς πιο έντονο */
}

.fa, .fa-edit, .fa-trash, .fa-star {
    font-family: "FontAwesome" !important;
    display: inline-block !important;
    visibility: visible !important;
    font-style: normal !important;
    font-weight: normal !important;
    color: #0073aa; /* ή όποιο χρώμα θες */
}

/* Εμφανίζει την φόρμα αναζήτησης ανοιχτή στα κινητά */
@media only screen and (max-width: 768px){
#adv-search-mobile {
display: block!important;
}
}

/* Preserve line breaks in footer copyright message */
.sub_footer .copyright {
    white-space: pre-line;
}
