/*!
Theme Name: boutique-hotel
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Version: 1.0.0.42
Text Domain: boutique-hotel
*/

.newsletter-input-group {
    position: relative;
}

.newsletter-input-group .newsletter-submit {
    position: absolute;
    right: 0;
    height: 100%;
}

.newsletter-input {
    width: 100%;
}

.contact-form-input-textarea span {
    width: 100%;
    height: inherit;
    max-height: inherit;
}

.contact-form-input .wpcf7-form-control-wrap {
  width: 100%;
}

.contact-form-input .wpcf7-form-control-wrap {
    display: flex;
    align-items: end;
}

.wpcf7-list-item-label {
  padding-right: 1em;
}

/* Hide scrollbar*/
.contact-form-input-textarea textarea::-webkit-scrollbar {
    display: none;
}

.contact-form-input-textarea textarea {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.contact-form button[type="submit"] {
    z-index: 2;
}

.contact-form .wpcf7-list-item {
    margin-left: 0;
}

.contact-form
    .contact-form-checkbox:has(input:checked)
    .contact-form-checkbox-box {
    background: black;
    border-color: black;
}

.contact-form-input textarea {
    height: 100%;

    background: repeating-linear-gradient(transparent 0 59px, black 59px 60px)
        local;
    max-height: inherit;
}

.bh-search-input {
    border-bottom: 1px solid black;
    gap: 8px;
}

.bh-search-input input {
  border: none;
  flex: 1;
  min-width: 0;
  padding: 8px 0;
  outline: none;
}

.bh-search-input input::placeholder,
.bh-search-input input {
  color: #000;
  font-size: 18px;
}

.bh-search-input button[type="submit"] {
  position: absolute;
  right: 0;
  height: 100%;
  background: none;
  border: none;
  padding: 0;
  max-width: 30px;
}

.bh-search-input button[type="submit"] svg {
    width: auto;
    height: 100%;
}

@media (min-width: 992px) {
    .bh-search-input input::placeholder,
    .bh-search-input input {
        font-size: 30px;
    }

    .booking-card-img {
        height: 300px;
    }

     .booking-card-img img{
    height: inherit;
    object-fit: cover;
    }

    .widget-reservation .widget-content .row .col-12 {
        padding-left:0;
    }
}

@media screen and (max-width: 768px) {
    .bh-search-wrapper {
        gap: 50px;
    }
    .bh-search-wrapper .heading-sans-md  {
        text-align: center !important;
    }

    .bh-search-input button[type="submit"] {
        max-width: 26px;
    }
    .booking-card-img img {
        height: 300px;
    }

}

/* .booking-card-img img{
    height: auto;
} */

/* share this page start */
.sharing-tool {
    position: relative;
}

.share-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0;
  min-width: 80px;
  list-style: none;
  margin: 10px 0 0 0;
  z-index: 1001;
}

@media screen and (max-width: 768px) {

    .share-list {
        left: -30%;
    }
}

.share-list.active {
  display: block;
}

.addtoany_shortcode .addtoany_list {
  display: flex;
  flex-direction: row;
  padding: 0 10px;
}

.addtoany_shortcode .addtoany_list a {
  display: flex;
  padding: 8px 10px;
  font-family: "Source Serif 4", serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  text-decoration: none;
  color: black;
  text-align: center;
  justify-content: center;
}

.a2a_label {
  display: none !important;
}
/* share this page end */

.sec-booking-form::before {
  background: none;
}


.wp-block-image img {
  border-radius: 40px;
  margin: 12px 0;
}

.sec-slider-play-btn {
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sec-slider-play-btn.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


@media (min-width: 1400px) {
  
  .container-booking {
    max-width: 1400px;
  }
}

.widget-map iframe {
    height: 250px;
    width: 100%;
    border-radius: 40px;
}

.sec-slider-item-img img{
    object-fit: cover;
    max-height: 580px; 
    object-fit: cover;
    height: 100%;
}

.sec-blog-slider-item-img img {
    
     object-fit: cover;
    width: 100%;
    object-fit: cover;
    height: 100%;
}

@media screen and (min-width: 990px) {
    .sec-booking-widget-iframe-wrapper iframe {
        /* border: 2px solid red !important; */
        left: 10px !important;
        width: 100% !important;
    }
    
}

@media screen and (min-width: 992px) {
    body:not(.blog) .card-img {
        height: 580px;
    }

    body.search .journal-card-img {
        height: 750px;
    }

    .sec-collection-single-slider .sec-blog-slider-item-img {
    width: 1070px !important;
    height: 750px !important;
    }

    .sec-blog-slider-alt .sec-blog-slider-item-img {
        width: 850px;
        height: 600px;
    }

    .sec-blog-slider-item-img {
        height: 800px;
        width: 580px;
    } 

    .widget-contact .widget-content {
      
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        gap: 20px;
    }

    
    /* Main contact list (address, phones, email, website) */
    .widget-content > .widget-contact-list:not(.widget-contact-list-social) {
    order: 3;
    }
    /* Social icons go LAST (bottom) */
    .widget-contact-list-social {
    order: 1;
    }


    
}

@media screen and (max-width: 850px) {
    .sec-collection-single-slider .sec-blog-slider-item-img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    }
 }
@media screen and (max-width: 850px) {
    .sec-blog-slider-item-img img,
    .sec-slider-item-img img,
    .sec-blog-slider-item-img img {
        height: 420px;
    }

    .sec-blog-slider-alt .sec-blog-slider-item-img img {
        height: 420px;
    }
    .widget-contact .widget-content {
      
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        gap: 20px;
    }

    
    /* Main contact list (address, phones, email, website) */
    .widget-content > .widget-contact-list:not(.widget-contact-list-social) {
    order: 3;
    }
    /* Social icons go LAST (bottom) */
    .widget-contact-list-social {
    order: 1;
    }
    
}

@media (min-width: 1400px) {
   .container-destinations {
    max-width: 1440px;
  }
}


.filters-form .sec-booking-input label {
    color: black;
}

.custom-select-dropdown {
    
    overflow-y: auto !important;

    /* Firefox */
    scrollbar-width: none !important;

    /* IE / Edge (legacy) */
    -ms-overflow-style: none !important;
}

/* Position context */
.contact-form-input {
    position: relative;
}

/* Error inside input */
.contact-form-input .wpcf7-not-valid-tip {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #d63638;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* Textarea alignment */
.contact-form-input-textarea .wpcf7-not-valid-tip {
    top: 12px;
    transform: none;
}

/* Show error ONLY when wrapper has shrunk */
.contact-form-input.shrunk .wpcf7-not-valid-tip {
    opacity: 1;
}

.contact-form.invalid .contact-form-input .wpcf7-not-valid-tip {
    opacity: 1;
}

.newsletter-input-group .gform-field-label {
    display: none;
}

.newsletter-input-group .ginput_container_email,
.newsletter-input-group .ginput_container_email:focus {
    border: none;
}

.newsletter-input-group .ginput_container_email input,
.newsletter-input-group .ginput_container_email input:focus{
    border: none;
}

.gform_validation_errors {
    display: none;
}

.gfield--input-type-checkbox, .gfield--type-checkbox {
    border: none ;
}

.gfield_required {
    display: none;
}

#gform_fields_3, #gform_fields_4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    
}

#gform_3 .gform-footer,
#gform_4 .gform-footer {
    max-width: 700px;
    margin: 0 auto;
    padding-top: 60px;
}

#gform_fields_3 .gfield,
#gform_fields_4 .gfield {
    width: 100%;
}

@media screen and (min-width: 992px) {
    #gform_fields_3, #gform_fields_4 {
        gap: 80px;
        max-width: 700px;

    }

   
}

@media screen and (max-width: 991px) {
    #gform_fields_3, #gform_fields_4 {
        gap: 40px;
    }

    .ginput_container_text, .ginput_container_textarea, .ginput_container_email, .gfield--type-text, .gfield--type-textarea, .gfield--type-email {
   display: flex;
   flex-direction: column-reverse;
    }

    .contact-form-input textarea {
        background-image: linear-gradient(transparent 69px, black 69px, black 70px, transparent 70px, transparent 129px, black 129px, black 130px, transparent 130px, transparent 189px, black 189px, black 190px, transparent 190px);
    }
}

.ginput_container_text, .ginput_container_textarea, .ginput_container_email, .gfield--type-text, .gfield--type-textarea, .gfield--type-email {
    width: 100%;
}

.gfield_label_before_complex {
    display: none;
}

.contact-form-checkboxes {
    width: 100%;
}
 .contact-form-checkbox {
        gap: 10px;
    }

.contact-form-checkbox.is-checked 
.contact-form-checkbox-box {
    background: black;
    border-color: black;
}

.gfield-choice-input {
   display: none;
}

.contact-form-input .gfield_validation_message {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #d63638;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.contact-form-input-textarea .gfield_validation_message {
    top: 12px;
    transform: none;
}

.contact-form-input.shrunk .gfield_validation_message {
    opacity: 1;
}

.gform_validation_error 
.contact-form-input 
.gfield_validation_message {
    opacity: 1;
}

#validation_message_3_6, #validation_message_4_6 {
 left: 47px;
 top: 100%;   
}

.sec-door-text a,
.sec-program-text a,
.sec-hero-text a,
.sec-hero-content a,
.dest-intro-text a,
.sec-single-collection-text a,
p a {
    text-decoration: underline;
}