/*
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: 2.7
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

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



/***** PAGE LISTE DES ANNONCES EN VENTE *****/
.page-id-28014 .property_listing  .pernight
/*.page-id-28014 #wpestate_advanced_search_widget-1,*/
/*.page-id-28014 #search_wrapper,*/
/*.page-id-28014 .main_taxonomy_filter*/
{
    display: none;
}


/***** PAGE PROFIL *****/
.page-template-user_dashboard_profile #view_profile,
.page-template-user_dashboard_profile .profile_upload_image_wrapper,
.page-template-user_dashboard_profile #userskype, .page-template-user_dashboard_profile [for="userskype"],
.page-template-user_dashboard_profile #about_me, .page-template-user_dashboard_profile [for="about_me"],
.page-template-user_dashboard_profile #userfacebook, .page-template-user_dashboard_profile [for="userfacebook"],
.page-template-user_dashboard_profile #usertwitter, .page-template-user_dashboard_profile [for="usertwitter"],
.page-template-user_dashboard_profile #i_speak, .page-template-user_dashboard_profile [for="i_speak"],
.page-template-user_dashboard_profile #userlinkedin, .page-template-user_dashboard_profile [for="userlinkedin"],
.page-template-user_dashboard_profile #payment_info, .page-template-user_dashboard_profile [for="payment_info"],
.page-template-user_dashboard_profile #userpinterest, .page-template-user_dashboard_profile [for="userpinterest"],
.page-template-user_dashboard_profile #userinstagram, .page-template-user_dashboard_profile [for="userinstagram"],
.page-template-user_dashboard_profile #paypal_payments_to, .page-template-user_dashboard_profile [for="paypal_payments_to"],
.page-template-user_dashboard_profile #useryoutube, .page-template-user_dashboard_profile [for="useryoutube"],
.page-template-user_dashboard_profile #userwebsite, .page-template-user_dashboard_profile [for="userwebsite"]{
    display: none;
}


/***** PARTIE FILTER *****/
.listing_filters_head .area_taxonomy_filter{
    display: none;
}


/***** PARTIE CALENDAR *****/

.calendar-reserved.start_reservation.allinone_internal_booking{
    background: linear-gradient(125deg, #bb2a2a 0%,#bb2a2a 49%,#bb2a2a 50%,#bb2a2a 100%)!important;

}.calendar-reserved.start_reservation.allinone_external_booking{
    background: linear-gradient(125deg, #691e2b 0%,#691e2b 49%,#691e2b 50%,#691e2b 100%)!important;
}
.calendar-free.calendar_pad.has_future.kbi_end_reservation.end_allinone_internal_booking{
    background: linear-gradient(125deg, #bb2a2a 0%,#bb2a2a 49%,#ffffff 50%,#ffffff 100%)!important;
}
.calendar-reserved.kbi_start_reservation.allinone_internal_booking{
    background: linear-gradient(125deg, #ffffff 0%,#ffffff 50%,#bb2a2a 51%,#bb2a2a 100%)!important;
}
.calendar-free.calendar_pad.has_future.kbi_end_reservation.end_allinone_external_booking{
    background: linear-gradient(125deg, #691e2b 0%,#691e2b 49%,#ffffff 50%,#ffffff 100%)!important;
}
.calendar-reserved.kbi_start_reservation.allinone_external_booking{
    background: linear-gradient(125deg, #ffffff 0%,#ffffff 50%,#691e2b 51%,#691e2b 100%)!important;
}
.daterangepicker .disabled {
    background-color: #e9e9e9;
}
.daterangepicker .disabled.in-range {
    background-color: #EB5C5F;
    color: #fff;
}

/*kbi_start_reservation*/
/*kbi_end_reservation*/

/***** PARTIE INTERFACE ADMIN *****/
.custom_details_wrapper .add_custom_detail{
    display: none;
}

.modal-content{
    position: absolute!important;
    /*padding-bottom: 40px;*/
}



#agent_submit_contact:hover,
#wp-forgot-but:hover,
#wp-submit-register_sh:hover,
#wp-submit-register:hover,
.comment-form #submit:hover,
#wp-login-but:hover,
.vc_button.wpb_btn-info:hover,
.vc_button.wpb_btn-info:active,
.vc_button.wpb_btn-info.active,
.vc_button.wpb_btn-info.disabled,
.vc_button.wpb_btn-info[disabled]{
    background-color: #bb2a2a !important;
}

.select2-container--default .select2-selection--single{
    border: 1px solid #f1f3f7!important;
    border-radius: 0!important;
    height: 50px!important;
}
.select2-container--default .select2-search--dropdown .select2-search__field, .select2-dropdown{
    border: 1px solid #f1f3f7!important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 50px!important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
    height: 50px!important;
}

.book_listing_user_guest_details{
    display: none;
}

.calendar_pad.allinone_internal_booking .rentals_reservation {
    height: 90px!important;
}

.wpestate_booking_class.off.disabled.calendar-reserved, .calendar-reserved {
    color: #fff!important;
}

/* Dates réservées en rouge dans le daterangepicker front-end */
.daterangepicker td.calendar-reserved {
    background-color: #bb2a2a !important;
    color: #fff !important;
    pointer-events: none;
    opacity: 0.85;
}
.daterangepicker td.calendar-reserved.off {
    background-color: #bb2a2a !important;
    color: rgba(255,255,255,0.5) !important;
}

/* Non-samedis grisés visuellement (location saisonnière) */
.daterangepicker td.non-saturday {
    background-color: #e8e8e8 !important;
    color: #bbb !important;
    cursor: default;
}

/* Dates réservées en rouge dans le calendrier dashboard */
.user_dashboard_panel .calendar-reserved,
.booking-calendar-set .calendar-reserved {
    background-color: #bb2a2a !important;
    color: #fff !important;
}

#submit_booking_front_instant_wrap:after{
    display: none;
}

/***** PARTIE PANIER / COMMANDER *****/

.woocommerce-cart #search-2, .woocommerce-cart #wpestate_advanced_search_widget-1{
    display: none;
}

.woocommerce-checkout .wprentals_sidebar_cart_unit .wpestate_cart_item:last-child{
    display: none;
}

#search-2{
    display: none;
}


/***** PARTIE SINGLE LISTING *****/
.listing-content .custom_price_per_day,
.listing-content .custom_day_from_to{
    height: 70px!important;
}

.listing-content .custom_day_from_to {    
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
}

.listing-content .custom_day_from_to :last-child {    
    color: #EB5C5F;
    font-weight: 700;
}

.listing-content .custom_price_per_day {
    display: flex;
    align-items: center;
    font-weight: 700;
}

#collapseTree, #collapseTwo, #collapseOne{
    width: 100%;
}


#infobox_title{
    padding: 0px 8px 25px 8px!important;
}


.rating_legend {
    width: 250px!important;
    display: inline-block;
}

.archive.term-vente .entry-title.title_prop{
    margin-bottom: 0;
    font-family: 'Roboto', Sans-serif;
    font-size: 4rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3em;
    color: #484848;
}

.home .adv_search_slider {
    display: none;
}

.col-md-12 #instant_booking {
    margin-left: -15px;
}

#listing_description {
    font-size: 16px;
    color: #EB5C5F;
}

.panel-title h3 {
    color: #EB5C5F;
    font-size: 15px !important;
    margin-bottom: 0;
    line-height: 1.5;
}

#a_filter_mandat {
    margin-bottom: 0;
    padding: 2px 15px;
    height: 47px;
}

picture img {
    max-width: 100%;
}

.wide_property.property_flex .property_listing img {
    height: 208px;
    width: 265px;
}

.cart_item .product-name {
    text-align: left;
    font-size: 14px;
}

.cart_item .product-total {
    text-align: left;
}

.ql-align-center {
    text-align: center;
}

.booking_form_request h3 {
    font-size: 20px !important;
}

#google_map_prop_list_wrapper, #google_map_prop_list_sidebar{
    display: block;
}

/*Masquer la li des locations saisonnières*/
#kbi_tab_link_loc_saison{
	display:none;
}

.social_share_wrapper social_share_half_map_on_right{
	display: none;
}

/* CGV 2026 - Checkbox */
.cgv_wrapper {
    margin: 12px 0 15px 0 !important;
    clear: both;
}

.cgv_wrapper input[type="checkbox"] {
    float: left;
    margin: 3px 10px 0 0 !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    border: 2px solid #4EB1CC !important;
    border-radius: 3px !important;
    cursor: pointer;
    background-color: #fff;
    position: relative;
    flex-shrink: 0;
}

.cgv_wrapper label {
    display: block;
    overflow: hidden;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
}

.cgv_wrapper a {
    color: #4EB1CC;
    text-decoration: underline;
    word-break: break-word;
}

@media (max-width: 768px) {
    .cgv_wrapper label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .cgv_wrapper label {
        font-size: 11px;
    }
}

/* Champs supplémentaires réservation 2026 */
.booking_extra_fields_2026 {
    margin: 15px 0;
    clear: both;
}

.booking_extra_fields_2026 .form-group {
    margin-bottom: 12px;
}

.booking_extra_fields_2026 label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.booking_extra_fields_2026 .form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.booking_extra_fields_2026 input[type="number"] {
    -moz-appearance: textfield;
}

.booking_extra_fields_2026 input[type="number"]::-webkit-outer-spin-button,
.booking_extra_fields_2026 input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Labels saisons 2026 */
.season-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.season-low {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.season-mid {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.season-high {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Champ départ visible */
#end_date {
    cursor: pointer !important;
}
#end_date:focus {
    outline: none;
}
.booking_unit_desing #end_date {
    margin-top: 0;
}

/* CGV lien plus visible */
.cgv_wrapper a {
    font-weight: 700;
}

/* Bouton admin "Valider la réservation" dans le dashboard */
.admin_validate_booking {
    background: #4CAF50 !important;
    color: #fff !important;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
    margin: 3px 5px 3px 0;
    transition: background 0.2s;
}
.admin_validate_booking:hover {
    background: #388E3C !important;
}