/*
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.14
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

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


.login_form .radiolabel{
    margin-top: 10px !important;
}

.estate_property-template-default.single.single-estate_property .property_menu_wrapper_hidden.prop_menu_search_stick_no{
    display: none !important;
}

.has_calendar_wrapper {
    display: flex;
    justify-content: space-between;
}

.has_calendar_wrapper input#start_date, input#booking_from_date {
    border-top-left-radius: 10px !important;
    border-radius: 0;
    border-right: 0 !important;
    margin-bottom: 0 !important;
}

.has_calendar_wrapper input#end_date, input#booking_to_date {
    border-top-right-radius: 10px !important;
    border-radius: 0;
    margin-bottom: 0 !important;
}

.first_calendar {
    margin-right: 0;
}

.has_calendar .wpestate_guest_no_control_info {
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    border-radius: 0;
    border-top: 0 !important;
}

.modal-content .wpestate_guest_no_control_info{
    border-radius: 15px;
    border-top: 1px solid #e7e9ef !important;
}



.submit_booking_front_wrapper input#submit_booking_front{
    border-radius: 10px;
}

.cost_explanation{
    border-right: 0;
}

div#show_cost_form .cost_row {
    border: 0;
}

.cost_explanation{
    padding: 6px 0;
    text-decoration: underline;
}

.cost_value{
    padding: 6px 0;
    text-align: end;
}

.wpestate_guest_no_control_wraper .wpestate_guest_no_control_info.form-control:after {
    content: "\f107";
    position: absolute;
    right: 15px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}


.estate_property-template-default.single.single-estate_property .col-md-12.reservation_buttons.favorite_in_contact {
    display: none;
}

.estate_property-template-default.single.single-estate_property textarea#booking_mes_mess, .prop_social {
    display: none;
}
button.smbtn:after {
    content: "\f107";
    position: absolute;
    right: 15px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}
button.smbtn.activeb:after {
    content: "\f106";
}
button.smbtn {
    background: #ce5216 !important;
    border: 1px solid #ccc;
    border-radius: 7px;
    position: relative;
    padding: 5px 40px 5px 20px;
    color: #fff !important;
}
.listing-review {
    float: left;
    width: 50% !important;
    margin: 5px 0px 10px 0px;
    padding: 10px;
}
.review-date {
    margin-top: 5px;
    color: #8a8f9a;
    font-size: 14px;
    position: absolute;
    right: 0px;
    top: 66px;
    left: 0px;
}
.rating_legend {
    display: block;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.rating_value {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #000;
}
.custom-rating-wrapper {
    /* display: flex; */
    /* gap: 10px; 
    align-items: flex-start;
    flex-wrap: wrap; */
    width:100% !important;
}

.custom-review-graph {
    flex: 1;
    /* min-width: 250px; */
    width: 175px;
}


.graph-row {
    display: flex;
    align-items: center;
    gap: 10px;
    /* margin-bottom: 8px; */
    width: 180px;
}

.star-label {
    font-weight: bold;
    width: 40px;
    text-align: right;
}

.bar-container {
    flex: 1;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: #f39c12; /* Gold color for the bar */
    transition: width 0.3s ease-in-out;
}

.count {
    font-size: 14px;
    font-weight: bold;
    width: 30px;
    text-align: left;
}

.property_ratings {
    margin-top: 28px;
    width: 100%;
    display: flex;
}
.custom-field-ratings {
    display: flex;
    /* flex-direction: column; */
    /* gap: 12px; */
    height: 106px;
}

.field-rating {
    display: flex;
    flex-direction: column; /* Stack label and value */
    align-items: center; /* Center align */
    background: #f9f9f9;
    padding: 15px;
    text-align: center;
    width: 100%;
    justify-content: space-between;
}
.field-rating:not(:nth-last-child(-n+1)) {
    border-right: 1px solid #e7e9ef;
}


.field-label {
    font-weight: 500;
    color: #000;
    font-size: 14px;
    margin-bottom: 5px; /* Add spacing between label and value */
}

.field-value {
    color: #000; /* Gold color for rating */
    font-weight: bold;
    font-size: 18px;
}
.review-content {
    float: left;
    margin-top: 35px !important;
    padding-bottom: 10px;
    width: 100%;
    font-size: 14px;
}

/* .custom-field-ratings .field-rating:last-child {
    display: none;
} */
.custom-property-rating {
    width:100%;
    display:flex;
}
.property_unit_v1 .property-rating {
    display: none;
}
.listing_type_title_wrapper .property_ratings {
    display:none;
}
.review-main-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; 
}

.review-main-box .listing-review {
    width: calc(50% - 10px) !important;
}

.advanced_search_shortcode{background-color:transparent !important;padding: 0;}

@media only screen and (min-width: 992px) and (max-width: 1024px) {
    .review-content {
        margin-top: 15px !important;
    }
    .review-date {
        top: 72px;
    }
    .ratings-star {
        margin-right: 10px;
        margin-top: -2px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .review-main-box {
        display: flex;
        flex-wrap: wrap;
        gap: 10px; 
    }

    .review-main-box .listing-review {
        width: calc(50% - 10px) !important;
    }
    .review-date {
        top: 52px !important;
        float: left;
        left: 0px;
    }
    .ratings-star {
        margin-right: 10px;
        margin-top: -2px;
    }
} 
@media only screen and (max-width: 767px) {
    .review-main-box {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .review-main-box .listing-review {
        width: 100% !important; /* Full width */
    }
    .listing-review {
        width: 100% !important;
        margin: 5px 0px 10px 0px;
        padding: 10px;
    }
    .review-date {
        top: 52px !important;
        float: left;
        left: 0px;
    }
    .review-content {
        margin-top: 30px !important;
        padding-bottom: 10px;
        width: 100%;
        font-size: 14px;
    }
    .custom-field-ratings {
        display: flex;
        flex-wrap: wrap;
        gap: 10px; /* Adjust spacing between items */
        padding-bottom: 10px;
        height: auto;
    }
    .custom-field-ratings .field-rating {
        width: calc(50% - 5px); /* 2 items per row */
        border-right: none;
    }
}
@media only screen and (max-width: 540px) {
    .ratings-star {
        margin-right: 0px;
        margin-top: -4px;
    }
    .review-content {
        margin-top: 35px !important;
    }
}
@media only screen and (max-width: 380px) {
    .prop_detailsx {
        padding: 0px 15px 0px 25px;
    }
    #infobox_title {
        left: 10px;
    }
    .prop_pricex {
        margin-right: 12px;
    }
    .infodetails {
        margin-right: 30px;
    }
}


