/*
Theme Name:   GeneratePress Child
Theme URI:    https://generatepress.com
Description:  Default GeneratePress child theme
Author:       Tom Usborne
Author URI:   https://tomusborne.com
Template:     generatepress
Version:      1.1.0
Requires PHP: 8.0
*/

/* GLOBAL */
body {
    background-color: #FFFFFF;
}

/* Search Page */
.page-template-template-search .page-header-image {
    margin-top: 0;
    position: relative;
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    max-width: 100vw;
}
.page-template-template-search .page-header-image img{
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    max-width: none;
    flex: 1;
}
.filters-wrapper {
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #dedede;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.filters-wrapper .filter-wrapper {
    position: relative;
    margin: 5px 0;
}

.filters-wrapper .filter-button {
    border: 1px solid #EEEEEE;
    padding: 5px 12px 5px 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
    justify-content: space-between;
    font-size: 16px;
}

.filters-wrapper .filter-button:hover {
    border-color: #92A89E;
}

.filters-wrapper .filter-button i, .filters-wrapper .filter-button svg {
    font-size: 20px;
    margin-left: 10px;
}

#results-wrapper {
    display: flex;
    flex-flow: row wrap;
    padding: 30px;
}

#results-wrapper .card-wrapper {
    display: flex;
    flex: 1 1 23%;
    margin: calc(1% - 2px);
    border: 1px solid #ededed;
    flex-direction: column;
    overflow: hidden;
    max-width: 23%;
}

#results-wrapper .card-wrapper:hover {
    border-color: #92A89E;
}

#results-wrapper .card-wrapper.filtered {
    display: none;
}

#results-wrapper .card-wrapper .img-wrapper {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: #eee;
}

#results-wrapper .card-wrapper .img-wrapper img {
    display: flex;
    object-position: center;
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-width: none;
    max-height: none;
}

#results-wrapper .card-content {
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    font-weight: 400;
}

#results-wrapper h4 {
    font-size: 20px;
    text-transform: none;
    font-weight: 400;
    margin-bottom: 10px;
}

#results-wrapper .card-features {
    font-size: 14px;
    margin-bottom: 10px;
}

#results-wrapper .card-price {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#results-wrapper .card-link {
    font-size: 14px;
    font-weight: 400;
    color: #7e7e7e;
    border: 1px solid #eaeaea;
    padding: 8px 10px;
}

#results-wrapper .card-link:hover {
    border: 1px solid #92A89E;
}

#results_count {
    font-size: 16px;
    font-weight: 400;
}

#loading-results {
    display: flex;
    flex-flow: row wrap;
    padding: 30px;
}

#loading-results .stay-card {
    display: flex;
    flex: 1 1 23%;
    margin: calc(1% - 2px);
    border: 1px solid #ededed;
    flex-direction: column;
    overflow: hidden;
}

#loading-results .stay-card .card-content {
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

#loading-results .stay-card .card-title {
    width: 100%;
    margin-bottom: 10px;
}

#loading-results .stay-card .card-image {
    width: 100%;
    height: 250px;
}

#loading-results .stay-card .card-image .content-placeholder {
    display: block;
}

#loading-results .stay-card .features-line {
    height: 15px;
    width: 80%;
}

#loading-results .stay-card .price-line {
    width: 60%;
    height: 16px;
    margin: 10px 0 30px;
}

#loading-results .stay-card .button-line {
    width: 70%;
    height: 16px;
}

.filters-wrapper .filter-popup {
    display: none;
}

.filters-wrapper .filter-wrapper.opened .filter-popup {
    display: flex;
    flex-direction: column;
    position: absolute;
    bottom: -5px;
    transform: translateY(100%);
    background-color: #fff;
    z-index: 210;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .117647);
    width: 240px;
    padding: 20px;
    border: 1px solid #ddd;
    max-height:300px;
    overflow: auto;
}

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

.filter-select-options-col {
    display: flex;
    flex-flow: column;
    width: 100%;
    font-weight: 400;
}

.filter-select-options-col span {
    padding: 5px 0;
    cursor: pointer;
    font-size: 15px;
}

.filter-select-options-col span:hover {
    text-decoration: underline;
}

#sort-option-select ul {
    list-style: none;
    display: flex;
    margin: 0 0 0 20px;
}

#sort-option-select ul li {
    border: 1px solid #EEEEEE;
    padding: 5px 10px 5px 13px;
    font-weight: 400;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
    justify-content: space-between;
    font-size: 14px;
    margin-right: 10px;
}

#sort-option-select ul li.selected {
    background: #92A89E;
    border-color: transparent;
    color: #fff;
    font-weight: 400;
}

#sort-option-select ul li:hover {
    border-color: #92A89E;
}

.heading {
    padding: 30px calc(1% + 30px) 0;
    display: flex;
    align-items: center;
}

.loading_icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    animation: loading-rotate 0.8s infinite linear;
    color: transparent;
    font-size: 10px;
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    border-right: 2px solid rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #333;
    border-left: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    background-clip: padding-box;
}

/* Single Unit */

.single-dwl_stay #masthead {
    margin-top: 0;
}

.hero-single-images-wrapper {
    position: relative;
}

.gallery-wrapper {
    display: grid;
    grid-template-rows: repeat(1,1fr);
    grid-template-columns: repeat(4,1fr);
    grid-row-gap: 2px;
    grid-column-gap: 2px;
}

.gallery-entry {
    position: relative;
    padding-top: 66.6666% !important;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.gallery-entry img {
    transition: .3s all ease;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    min-width: 100%;
    min-height: 100%;
}

.gallery-2-2 {
    grid-row-end: span 2;
    grid-column-end: span 2;
}

.order-2 {
    order: 2;
}

.stay-content-wrapper .title-description {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.stay-content-wrapper .title-description .title-details {
    width: 38%;
}

.stay-content-wrapper .title-description .description {
    width: 60%;
}

.stay-content-wrapper .entry-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    width: 100%;
}

.stay-content-wrapper .stay-features {
    font-size: 20px;
    margin-bottom: 10px;
}

.stay-content-wrapper .stay-bedding {
    font-size: 20px;
}

.one-container:not(.page) .inside-article.stay-content-wrapper {
    padding-top: 0;
}

.stay-content-wrapper .content-section {
    margin-top: 50px;
}

.stay-content-wrapper .section-title {
    font-size: 35px;
}

.stay-content-wrapper .amenities-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    flex: 1 1 30%;
}

.stay-content-wrapper .amenities-wrapper .amenities-set {
    width: 100%;
}

.stay-content-wrapper .amenities-wrapper .amenities-set + .amenities-set {
    margin-left: 3%;
}

.stay-content-wrapper .amenities-wrapper .amenities-set h4 {
    font-size: 20px;
    text-transform: none;
    font-weight: 700;
}

.stay-content-wrapper .amenities-wrapper .amenities-set ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.stay-content-wrapper .location-wrapper {
    display: flex;
    justify-content: space-between;
}

.stay-content-wrapper .location-wrapper .address-wrapper {
    width: 35%;
    font-size: 18px;
}

.stay-content-wrapper .location-wrapper .address-wrapper .section-title {
    margin-bottom: 20px;
}

.stay-content-wrapper .location-wrapper .map-wrapper {
    width: 60%;
    min-height: 400px;
}

.stay-content-wrapper .location-wrapper .map-wrapper > div {
    height: 100%;
    width: 100%;
}

article.type-dwl_stay {
    max-width: 1400px;
    margin: 50px auto 0;
    padding: 0 40px;
    box-sizing: content-box;
}

.hidden-gallery {
    display: none;
}

.reserve-bar {
    padding: 15px;
    display: flex;
    border-bottom: 1px solid #dedede;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.2);
}

.reserve-bar-container {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0;
    justify-content: space-between;
}

.reserve-bar .filters-wrapper {
    padding: 0;
    box-shadow: none;
    border: 0;
    width: 60%;
}

.reserve-bar .filters-wrapper .filter-wrapper.guests-field.opened .filter-popup {
    width: 160px;
}

.book-price-wrapper {
    display: flex;
    align-items: center;
}

.book-price-wrapper .price-wrapper {
    padding-right: 10px;
    display: flex;
    position: relative;
}

.book-price-wrapper .book-button-wrapper {

}

.book-price-wrapper .book-button-wrapper a {
    background: #92A89E;
    color: #fff;
    padding: 8px 15px;
    text-transform: uppercase;
    font-size: 15px;
    display: inline-block;
}

#price-result {
    cursor: pointer;
}

#price-result > span {
    padding-left: 10px;
}

#price-popup {
    display: none;
    position: absolute;
    background: #fff;
    padding: 20px;
    border: 1px solid grey;
    bottom: -10px;
    transform: translateY(100%);
    width: 200px;
}

.book-price-wrapper .price-wrapper.opened #price-popup {
    display: block;
}

#price-popup > div {
    display: flex;
    justify-content: space-between;

}

#price-popup > div + div {
    margin-top: 10px;
}

#price-popup .label {
    font-weight: 700;
}


#price-popup .rent-details-trigger {
	text-decoration: underline;
	cursor: pointer;
}

#price-popup .rent-details {
	position: absolute;
	display: flex;
	flex-direction: column;
	top: 0;
	left: -10px;
	transform: translateX(-100%);
	background: white;
	border: 1px solid grey;
	padding: 20px;
}

#price-popup .rent-details__popover__header {
	position: relative;
	display: flex;
	justify-content: center;
	min-width: 300px;
}

#price-popup .rent-details__popover__header > span {
	color: #3f4d55;
	position: absolute;
	right: 0;
	margin: auto;
	cursor: pointer;
	top: 50%;
	transform: translateY(-50%);
}

#price-popup .rent-details .label {
	text-decoration: underline;
	cursor: pointer;
}
#price-popup .rent-details__popover__body {
	margin-top: 20px;
	margin-bottom: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
	border-top: 1px solid #DEDEDE;
	border-bottom: 1px solid #DEDEDE;
}

#price-popup .rent-details__popover__body > div {
	display: flex;
	justify-content: space-between;
}

#price-popup .rent-details__popover__footer > div {
	display: flex;
	justify-content: space-between;
}

.date-guests-search-container {
    position: relative;
    z-index: 1001;
    display: flex;
}

.date-guests-search-container .filters-wrapper {
    box-shadow: none;
    border: 0;
    width: 100%;
	gap: 10px;
}

.date-guests-search-container .filter-buttons {
    flex-grow: 1;
    display: flex;
	gap: 10px;
}

.date-guests-search-container .filter-buttons .filter-button {
    color: #383838;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6em;
	border-radius: 4px;
}

.date-guests-search-container .filter-buttons .filter-wrapper {
    flex-grow: 1;
    min-width: 50%;
}

.date-guests-search-container .filter-buttons .filter-wrapper.guests-field {
    min-width: 30%;
}

.date-guests-search-container .search-link-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0;
    justify-content: center;
    min-width: max-content;
    max-width: 200px;
}

.date-guests-search-container .search-link-wrapper a {
    #background: #92673a;
	background: #c5dae3;
	border-radius: 4px;
    color: #000000;
    padding: 5px 15px;
    text-transform: capitalize;
    font-size: 14px;
    line-height: 26px;
    width: 100%;
    text-align: center;
    font-weight: 500;
	text-decoration: none;
}

.date-guests-search-container .search-link-wrapper a:hover {
    background: #c5dae3;
}

@-webkit-keyframes loading-rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading-rotate {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.single-dwl_stay .site-main > *, .page-template-template-search .site-main > * {
    margin-bottom: 0;
}

.bedding-configurations-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 20px;
    width: 100%;
    float: none;
    clear: both;
    margin-top: 20px;
}

.bedding-configuration {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #eae9e9;
}

.bedding-configuration .bedding-bedroom {
    font-size: 20px;
}

.bedding-configuration .bedding-icons {
    padding: 20px 0;
}

.bedding-configuration .bedding-icon + .bedding-icon {
    margin-left: 10px;
}

.bedding-configuration .bedding-icon svg {
    width: 28px !important;
    height: 28px !important;
}

.bedding-configuration .bedding-beds {
    font-size: 14px;
}

.pp-stay-post > a {
    text-decoration: none;
}

.pp-stay-post .stay-card-features {
    margin-top: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
}

.pp-stay-post .stay-card-features .features-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    color: #3F4D55;
}

.pp-stay-post .stay-card-features .features-list i {
    font-size: 26px;
    color: #B6BCBF;
}