:root{
    --single-listing-image-height : 300px;
}
/* Videos */

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom:12px;
    border-radius:var(--theme--border-radius);
    cursor:pointer;
}

.video-frame > .video-thumb {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size:cover;
    background-position:center center;
}

.video-frame > .video-thumb::before {
    content: '';
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

.video-frame > .video-thumb::after {
    content:'\f04b';
    font-family: 'Font Awesome 5 Pro';
    font-size:50px;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    color:#fff;
    z-index: 2;
    -webkit-transition: transform 0.3s ease-in-out;
    -moz-transition: transform 0.3s ease-in-out;
    -ms-transition: transform 0.3s ease-in-out;
    -o-transition: transform 0.3s ease-in-out;
    transition:  transform 0.3s ease-in-out;
}

.video-frame > .video-thumb:hover::after {
    transform:translate(-50%, -50%) scale(1.2);
}


/* Hero Gallery */

#hero-gallery .image{
    display:block;
    width:100%;
}

#hero-gallery .image a{
    display:block;
    width:100%;
    height: 50vh;
    position:relative;
}


#hero-gallery .image img {
    display:block;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
}


@media screen and (min-width:992px){
    #hero-gallery .image a {
        padding:0;
        height: calc(100vh - 56px);
    }

    body.admin-bar #hero-gallery .image,
    body.admin-bar #hero-gallery .image img {
        height: calc(100vh - 56px - 32px);
    }
}


#listingBanner {
    width:100%;
    overflow:hidden;
    position:relative;
    z-index:1;
}


#listingBanner .page-title-wrapper {
    display: flex;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.3);
}
#listingBanner .page-title-wrapper h1 ,#listingBanner .page-title-wrapper h4 {
    color:#fff;
    text-align: center;
    padding: 0 1rem;
}

#listingBanner .page-title-wrapper h4  {
    font-family: var(--theme--body-font);
    font-weight: 100;
    text-transform:uppercase;
}

@media (min-width: 1200px) {
    #listingBanner .page-title-wrapper h1{
        font-size:3.5rem;
    }

    #listingBanner .page-title-wrapper h4 {
        font-size: 1.8rem;
    }
}


#listingHeader {
    padding: 20px 0;
}


@media screen and (min-width: 992px){

    #listingArea {
        position:relative;
        z-index:2;
    }

    #listingHeader {
        margin-left:-40px;
        margin-right:-40px;
        padding: 40px 40px;
        /* background: var(--wp--preset--color--background); */
        border-radius: calc(var(--theme--border-radius) * 4) calc(var(--theme--border-radius) * 4) 0 0;
    }


}



/* Hero Slider Buttons */

.homhero-content {
    position:relative;
}

.homhero-content .slider-button {
    margin-right:10px;
    margin-bottom:10px;
    font-size:var(--text-size-smaller);
}

@media screen and (max-width:400px){
    .homhero-content .slider-button {
        flex-grow:1;
    }
    .homhero-content .slider-buttons{
        margin-right:-10px;
    }
}

@media screen and (min-width:576px){
    .homhero-content .slider-buttons {
        position:absolute;
        bottom:12px;
        left:0;
        z-index:100;
        padding:5px 20px;
        width:100%;
        max-width:60%;
    }
}
@media screen and (min-width:992px){
    .homhero-content .slider-buttons {
        bottom:30px;
    }
    .homhero-content .slider-button {
        font-size:var(--text-size-small);
    }
}

#mobile-buttons {
    width: 100%;
    position: fixed;
    bottom: 0;
    left:0;
    font-size: 0.9em;
    z-index: 1000;
    display:flex;
    justify-content:center;
    gap:10px;
    background-color:white;
    border-radius:var(--theme--border-radius) var(--theme--border-radius) 0 0;
    border:1px solid #000;
    padding: var(--theme--gutters);

}

@media screen and (min-width: 768px) {
    #mobile-buttons {
        display:none!important
    }
}

#mobile-buttons > a {
    flex-grow:1;
    text-align: center;
    padding: 1em;
    background-color: var(--theme--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius:var(--theme--button-radius);
}

/* Review Summary */

.homhero-review-summary {
    flex-wrap: wrap;
}
.homhero-review-summary > div{
      margin-bottom: 1rem;
}
.homhero-review-summary > div.left { 
   gap:0.5rem;
}
.homhero-review-summary > .buttons {
    gap: 1rem;
}

.homhero-review-summary,
.homhero-review-summary .review-stars {
    display:flex;
}

.homhero-review-summary .review-stars{
    /* padding-right: 15px; */
    /* font-size:18px; */
}

.homhero-review-summary .review-stars i {
    font-size: 20px;
    color: var(--theme--primary-color);
}

.homhero-review-summary .rating, .review-number, span.total-reviews{
    font-weight: var(--theme--body-font-weight);
    color: var(--theme--primary-color);
}
.homhero-review-summary-wrapper .homhero-review-summary .rating,  .homhero-review-summary-wrapper .review-number, .homhero-review-summary-wrapper span.total-reviews{
    color: var(--theme--text-color);
}

.homhero-review-summary-wrapper {
    padding: 2rem;
    background-color: var(--theme--primary-color-20);
    position: sticky;
    top: calc(50vh - 120px);
}
.homhero-review-summary-wrapper h4{
    margin-bottom: 1rem;
}
.homhero-review-summary-wrapper .buttons .button{
    text-transform:uppercase;
    text-decoration:none;
}
/*Review */ 

.homhero-review {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--theme--primary-color);
}
.review-header{
    margin-bottom:0.5em;
}

h6.review-title {
    margin-bottom: 0;
    font-family: var(--theme--body-font);
    color:var(--theme--primary-color);
}
h5.review-author small{
    font-family: var(--theme--body-font);
    font-weight: var(--theme--body-font-weight);
    font-size: 0.8rem;
}

/* YouTube Video */

.listing-video-link {
    display:block;
    overflow: hidden;
    border-radius:var(--theme--border-radius);
    box-shadow: var(--theme--box-shadow);
    transition-duration: 300ms;
}

.listing-video-link:hover {
    box-shadow: var(--theme--box-shadow--hover);
}

.listing-video-link > img {
    display:block;
}

/* Virtual Tour */
#virtual-tour-wrapper {
    display:block;
    overflow: hidden;
    border-radius:var(--theme--border-radius);
    box-shadow: var(--theme--box-shadow);
    width:100%;
    position:relative;
    padding-bottom:56.25%;
}

iframe#virtual-tour {
    display:block;
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

/* Secondary Gallery */

div#listingSecondaryGallery {
    background-color: var(--theme--primary-color-20);
    padding: 5rem 0;
    margin-bottom:3rem;
}

#listingSecondaryGallery .image {
    margin-top: var(--theme--gutters);
    margin-bottom: var(--theme--gutters);
}


#listingSecondaryGallery .image a > img {
    position:relative;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    object-fit:cover;
}

#listingSecondaryGallery .image.small {
    height: var(--single-listing-image-height);
}



@media screen and (max-width:576px){
    #listingSecondaryGallery .image:not(.col-12)  {
        height: calc(var(--single-listing-image-height) / 2);
    }
    #listingSecondaryGallery .image {
        height: var(--single-listing-image-height);
    }
    #listingSecondaryGallery .image {
        margin-top:0;
    }
}
#listingSecondaryGallery .image a{
    position:relative;
    height: 100%;
    width: 100%;
    display: block;
}
span.last-image-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}
span.last-image-overlay-text {
    color: #fff;
    background-color: var(--theme--primary-color);
    padding: 1rem;
    font-size: var(--wp--preset--font-size--normal);
    font-weight: var(--theme--body-font-weight);
}
@media screen and (max-width:991px){
   span.last-image-overlay {
       /* left:0; */
       /* width:calc(100% - var(--theme--gutters) * 2); */
   } 
}

/* Room Configuration */

.roomCard.card{
    border-radius: var(--theme--border-radius);
    box-shadow: var(--theme--box-shadow);
    padding: 20px;
}



.roomHeading{
    padding-bottom:0.5em;
    border-bottom: 1px solid #ddd;
    margin-bottom:0.5em;
}

.roomDetails ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
    margin-left: 0;
}

.roomDetails ul li {
    padding-left:35px;
    position:relative;
}

.roomDetails ul li::before {
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
    content: '\f236';
    color: var(--theme--primary-color);
    position: absolute;
    left:0;
}

.roomDetails ul li.toilet::before,.roomDetails ul li.bidet::before {
    content: '\f7d8'
}

.roomDetails ul li.shower::before,.roomDetails ul li.outdoor-shower::before,.roomDetails ul li.shower-outdoor::before  {
    content: '\f2cc'
}

.roomDetails ul li.bath::before,.roomDetails ul li.spa-bath::before,.roomDetails ul li.bath-shower-combined::before,.roomDetails ul li.bath-spa::before {
    content: '\f2cd'
}

.roomDetails ul li.sink::before {
    content: '\e06d'
}

.feature-list + .bathroom-list {
    margin-top:10px;
    padding-top:10px;
    border-top:1px solid #ddd;
}

/* Reviews */


.review-stars {
    display:flex;
    color: var(--theme--primary-color);
    /* padding-right:8px; */
}

.review-reply{
    background: #f8f8f8;
    border: 1px solid #eee;
    padding: 5px 15px;
    margin-top: 5px;
    border-radius: var(--theme--border-radius);
}

/* Headings */

#listingHeader h1{
    font-size:1.5em;
    text-align:left;
    margin: 0;
}
.single-listings h2,
.single-listings h3{
    border-bottom: 1px solid var(--theme--primary-color-40);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.single-listing-block h2 {
    font-size:1.25em;
    text-align:left;
}

.single-listing-block {
    font-family: var(--theme--body-font);
    font-weight: var(--theme--body-font-weight);
    padding-bottom: 3rem;
}

@media screen and (min-width:768px){
    #listingHeader h1{
        text-align:left;
        margin-bottom: 0.25em;
        margin-top:0;
    }
}

@media screen and (min-width:1200px){
    #listingHeader h1{
        font-size:2em;
    }
    .single-listings h2 {
        font-size:1.5em;
    }
}

.facilities-wrapper {
    padding: 1rem;
    border-top:1px solid var(--theme--primary-color-40);
    border-bottom:1px solid var(--theme--primary-color-40);
    /* margin-bottom:20px; */
}


.propField {
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap: .5rem;
    padding: 0.4rem;
}

.propField i {
    font-size:var(--wp--preset--font-size--large);
    color: var(--theme--primary-color);
    /* min-width:55px; */
}

.propField span {
    display:block;
    font-family: var(--theme--body-font);
    font-weight: var(--theme--body-font-weight);
    font-size: var(--wp--preset--font-size--medium);
}

.propField button i {
    font-size: 1rem;
    color: #fff;
}



/* Amenities */

.amenities .item-list {
    -moz-column-width: 11.5em; /* Firefox */
    -webkit-column-width: 11.5em; /* webkit, Safari, Chrome */
    column-width: 11.5em;
}

.amenities .item-list ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.amenities .item-list ul li {
    position: relative;
    padding-left:20px;
    margin-bottom:1em;
    line-height:1.25em;
}

.amenities .item-list ul li:first-child {
    margin-top:0px;
}

.amenities .item-list ul li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Pro";
    position: absolute;
    font-size: 1rem;
    font-weight: 500;
    left: 0;
    color: var(--theme--text-color);
}

/* Map Block */

.map-address {
    display:block;
    margin-bottom: 1rem;
}
.map-address::before {
    content: "\f3c5";
    font-family: "Font Awesome 5 Pro";
    font-weight: 500;
    margin-right: 0.5rem;
}

.listing-embed-map,
.homhero-map {
    border-radius: var(--theme--border-radius);
    overflow:hidden;
}

/* Booking Widget */

.booking-offset {
    margin-left:-10px;
    margin-right:-10px;
}

/* Shorlist on Page*/
.shortlist-container{
    cursor: pointer;
}

.shortlist-container .fa.fa-heart::before {
    font-weight: 400;
}

.shortlist-container.active .fa.fa-heart::before {
    font-weight: 700;
}

/*Special on Single Listing Page*/

#listingSpecials .listingSpecial.card{
    background-color: var(--theme--primary-color-20);
    border-radius: var(--theme--border-radius);
    border-color:var(--theme--primary-color-40);

}

.listing_special_header{
    align-items: center;
    margin-bottom: 1.5rem;
}

.listing_special_header h2{
    margin-bottom: 0;
}

.listing_special_link {
    padding: 10px;
    border-radius: var(--theme--border-radius);
    border: 2px solid var(--theme--secondary-color);
    text-align: center;
}

.listing_special_link:hover{
    border: 2px solid var(--theme--secondary-color);
    background-color: var(--theme--secondary-color);
    color:#fff;
}

#listingSpecials .listingSpecial.card .card-header,#listingSpecials .listingSpecial.card .card-footer{
    padding: 1.5rem 2rem;
    background-color: transparent;
    border:0;
}

#listingSpecials .listingSpecial.card .card-body{
    padding: 0 2rem;
}
#listingSpecials span.daterange {
    display: block;
}

.promoCode_dates{
    align-items: start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

@media screen and (min-width:768px){
    .promoCode_dates .promo_code{
    text-align: end;
    font-size: var(--text-size-large);
}
}


.special_description{
    margin-bottom: 1rem;
}

.special_terms_header,.special_offer_end_header{
    margin: 1rem 0;
}

p.special_available_to {
    margin-bottom: 0;
}

@media screen and (max-width:786px){
    .promoCode_dates .dates{
        text-align: start;
    }
    .listing_special_header h2{
        margin-bottom:1.5rem;
    }
}

#viewAllReviews,#loadReviews, #viewFewReviews{
    cursor: pointer;
}
#listingNavSections{
    position:relative;
    z-index:1;
    height: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    transition: height 0.5s ease-in-out; 
    cursor: pointer;
    width: 100%;
    height: max-content;
    opacity: 1;
    transition: all 0.5s ease-in-out;
    padding: 0;
    box-shadow: var(--theme--box-shadow);
}
#listingNavWrapper #listingNavSections{
   background-color: var(--wp--preset--color--background , #ffffff); 
}
header#masthead #listingNavSections{
  background-color: var(--theme--header-background-color, #ffffff);
}
#listingNavSections.active{

}

#listingNavSections .row {
    overflow-x: auto;
    overflow-y: clip;
}



#listingNavSections .listing-nav-tabs{
    list-style: none;
    width: auto;
    position: relative;
    padding: 18px 15px;
    line-height: 1rem;
    border-radius: var(--theme--button-radius) !important;
    color: var(--theme--header-text-color, #191818);
}

#listingNavSections .listing-nav-tabs.booknow {
    position:relative;
    z-index:0;
    padding: 8px 15px;
    margin: 10px 2rem 10px 2rem;
}



#listingNavSections .listing-nav-tabs::after {
    content:'';
    display:block;
    position:absolute;
    bottom:0;
    left:var(--nav-menu--padding-x, 1rem);
    right:var(--nav-menu--padding-x, 1rem);
    height:4px;
    background:var(--theme--primary-color,#E91053);
    border-radius:4px;
    transform:translateY(5px);
    transition-duration: 300ms;
    opacity:0;
}

#listingNavSections .listing-nav-tabs.active::after,
#listingNavSections .listing-nav-tabs:hover::after {
    transform:translateY(0);
    opacity:1;
}

div#listingContent + .show-more-content {
    display:none;
}

div#listingContent.content-hidden + .show-more-content{
    display:flex;
    position: relative;
    flex-wrap: wrap;
    gap: 10px;
    font-weight: 600;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 1em;
    background: transparent;
    /* border-bottom:2px solid #eaeaea; */
    cursor: pointer;
    padding-bottom: 3rem;
}

div#listingContent.content-hidden + .show-more-content::before{
    content:'';
    position: absolute;
    width: 100%;
    height: 50px;
    top: -50px;
    background: linear-gradient(0deg, var(--theme--background-color, #fff ) 0%, var(--theme--background-color-00 , #ffffff00) 100%);
}

div#listingContent.content-hidden {
    height: 450px;
    overflow: hidden;
}

@media screen and (max-width:768px){
    div#listingNavWrapper #listingNavSections {
        display:none;
    }
}

div#listingContent.single-listing-block{
    padding-bottom: 2rem;
}


.hh-custom-background .social-icons .button.light::before {
    background-color: transparent;
}

@media screen and (min-width: 992px) {
   .hh-custom-background .facilities-wrapper {
        border-color: var(--wp--preset--color--background , #ffffff)
    }
}

.hh-custom-background  div#listingContent.content-hidden + .show-more-content {
     border-color: var(--theme--primary-color);
}
.hh-custom-background  .single-listing-block {
    border-bottom: 2px solid var(--theme--primary-color);
}
div#listingFloorplan a{
    position: relative;
    height: 100%;
    width: 100%;
    display: block;
}
div#listingFloorplan img{
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}