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

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


/* Full width category banner */

body.tax-property_action_category .phr-category-banner {
    display: block;
    position: relative;
    width: 100vw;
    max-width: none;
    height: 365px;
    margin-top: -30px;
    margin-left: calc(50% - 50vw);
    margin-bottom: 0;
    padding: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    z-index: 1;
}



@media (max-width: 767px) {
    .phr-category-banner {
        min-height: 220px;
    }
}



/* Category page search form — homepage-style layout */

/* Category page search form — homepage-style layout */
body.tax-property_action_category .header_media .advanced_search_form_wrapper {
    display: none !important;
}

body.tax-property_action_category .adv-search-2.advanced_search_form_wrapper {
    display: block !important;
    position: relative;
    width: min(1160px, calc(100% - 40px));
    max-width: 1160px;
    margin: -55px auto 35px;
    padding: 20px 26px 24px;
    background: #174f30;
    border-radius: 22px;
    box-sizing: border-box;
    z-index: 5;
    float: none;
}

body.tax-property_action_category .adv-search-2 form {
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 1.3fr 1.3fr .7fr auto;
    gap: 10px;
    align-items: center;
}

body.tax-property_action_category .adv-search-2::before {
    content: "Find Your Perfect Vacation Home";
    display: block;
    color: #fff;
    font-size: 30px;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 18px;
}

body.tax-property_action_category .adv-search-2 form > div {
    width: 100%;
    min-width: 0;
    float: none;
    padding: 0;
    margin: 0;
}

body.tax-property_action_category .adv-search-2 input.form-control,
body.tax-property_action_category .adv-search-2 .custom_icon_class.form-control {
    width: 100%;
    height: 46px;
    background-color: #fff;
    border-radius: 5px;
    box-sizing: border-box;
}

body.tax-property_action_category .adv-search-2 .advanced_search_submit_button {
    height: 46px;
    padding: 0 22px;
    background: #d9b332;
    border: 0;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 900px) {
    body.tax-property_action_category .adv-search-2 form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.tax-property_action_category .adv-search-2::before {
        font-size: 24px;
    }
}

@media (max-width: 520px) {
    body.tax-property_action_category .adv-search-2 form {
        grid-template-columns: 1fr;
    }

    body.tax-property_action_category .adv-search-2.advanced_search_form_wrapper {
        width: calc(100% - 24px);
        margin-top: -25px;
        padding: 18px;
    }
}

/* Fix category search field alignment */
body.tax-property_action_category .adv-search-2 form > div {
    position: relative;
    min-width: 0;
}

body.tax-property_action_category .adv-search-2 input.form-control {
    height: 48px;
    padding: 0 12px 0 42px !important;
    line-height: 48px;
    font-size: 14px;
    text-align: left;
}

body.tax-property_action_category .adv-search-2 .custom_icon_class.form-control {
    height: 48px;
    padding-left: 42px !important;
    text-align: left;
}

body.tax-property_action_category .adv-search-2 .map_icon:before,
body.tax-property_action_category .adv-search-2 .calendar_icon:before,
body.tax-property_action_category .adv-search-2 .guest_no_drop:before {
    left: 14px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%);
    z-index: 2;
}

body.tax-property_action_category .adv-search-2 .filter_menu_trigger {
    padding-left: 0;
    line-height: 46px;
    text-align: left;
}

body.tax-property_action_category .adv-search-2 .advanced_search_submit_button {
    width: 100%;
    height: 48px;
    padding: 0 16px;
}

body.tax-property_action_category .adv-search-2 input::placeholder {
    color: #858b96;
    opacity: 1;
}

@media (max-width: 900px) {
    body.tax-property_action_category .adv-search-2 form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    body.tax-property_action_category .adv-search-2 form {
        grid-template-columns: 1fr;
    }
}

.adv-2-header{
	display:none;
}
