/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.3.2.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.button.is-outline,
input[type="button"].is-outline,
input[type="reset"].is-outline,
input[type="submit"].is-outline {
  border: 1px solid;
}
.mphb-customer-country{
  display: none
}
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  font-weight: 500;
}
.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
  background:transparent;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius:5px;
  color:#fff
}
.menu-item > a.nav-top-link:before {
  content: "";
  background: var(--primary-color);
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}
.menu-item.active a:before,
.menu-item:hover a:before {
  width: 100%;
}
.nav > li.menu-item {
  margin: 0px 20px !important;
}

.header-main li .button {
  line-height: 3em;
}
.header-main li .button.is-outline {
  color: var(--fs-color-primary);
}
.header-main li .button.is-outline:hover {
  color: #fff;
}
.text-primary {
  color: var(--fs-color-primary);
}
.mphb-loop-room-type-attributes li:before{
  color: var(--fs-color-primary);
}
.mphb-extra-date.datepick-other-month{
  display: none;
}
.post-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 50%; 
    overflow: hidden;
    background: #f0f0f0;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5em;
}
.contact svg {
  width: 20px;
}
blockquote,
dl,
figure,
form,
ol,
p,
pre,
ul {
  margin-bottom: 0.5em;
}
.banner-box {
  background: rgb(17 17 17 / 75%);
  border-radius: 15px;
  border: 1px solid rgb(255 255 255 / 25%);
  margin-bottom: 10px;
  padding: 15px;
}
.banner-box .button {
  line-height: 1.2em;
}

.footer-wrapper .section-footer {
  border-top: 1px solid rgb(255 255 255 / 25%);
  border-bottom: 1px solid rgb(255 255 255 / 25%);
}
.box-border{
   border: 1px solid rgb(255 255 255 / 25%);
   border-radius: 10px;
   padding: 10px
}
.row-footer .col:before {
  background: rgb(255 255 255 / 25%);
  height: 60px;
  width: 1px;
  position: absolute;
  content: "";
  right: 15px;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
}
.footer-wrapper h4 {
  margin-bottom: 0.25em;
}
.footer-wrapper .icon-box-left {
  align-items: center;
}
.social-icons a {
  margin-right: 20px !important;
}
.service-block .icon-box-img {
  width: 64px !important;
  height: 64px;
  border-radius: 100%;
  border: 1px solid var(--primary-color);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .icon-box-img {
  width: 40px !important;
  height: 40px;
  border-radius: 100%;
  border: 1px solid var(--primary-color);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-box-img img,
.icon-box-img svg {
  padding-top: 0em;
}
.service-block h4 {
  font-size: 1em;
  margin-bottom: 0px;
}
.gradient-banner .banner-bg:after {
  background: rgba(255, 255, 255, 0);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.9) 100%
  );
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.gradient-black .banner-bg:after {
  background: rgba(17, 17, 17, 0);
  background: linear-gradient(
    90deg,
    rgba(17, 17, 17, 0) 20%,
    rgba(17, 17, 17, 1) 50%,
    rgba(17, 17, 17, 0.9) 100%
  );
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}
.dark .banner a {
  color: var(--primary-color);
}
.nav-sidebar.nav-vertical > li + li {
  border-top: 0px solid #ececec;
}
.off-canvas-right .mfp-content,
.off-canvas-left .mfp-content {
  width: 100%;
}
.d-flex .col-inner {
  display: flex;
  gap: 1em;
}
.d-flex.col-10 .col-inner {
  gap: .5em;
}
.d-flex .col-inner .icon-box {
  width: calc((100vw) / 8);
}
.box-border.icon-box-left .icon-box-img+.icon-box-text {
    padding-left: .5em;
}
.d-flex.col-10 .col-inner .icon-box {
  width: calc(100vw / 10);
}

ul.check-list li {
  padding-left: 0px;
  margin-left: 0px;
  display: flex;
}
.button, button, fieldset, input, select, textarea {
    margin-bottom: 0em;
}
.dark .form-flat input:not([type=submit]), .dark .form-flat select, .dark .form-flat textarea, .nav-dark .form-flat input:not([type=submit]), .nav-dark .form-flat select, .nav-dark .form-flat textarea{
  border-radius: 10px;
  background-color: transparent !important;
  border-color: hsla(0, 0%, 100%, .2);
}
ul.check-list{
  list-style: none
}
ul.check-list svg{
  width: 16px;
  margin-right:10px
}

.related-post .title {
  border-bottom: 1px solid #dee2e6;
  position: relative;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 0;
  color: var(--base-color);
}
.related-post .title:after {
  content: "";
  height: 3px;
  width: 89px;
  display: inline-block;
  background: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 0;
}
.post-title.is-large {
  font-size: 1.4em
}
ul.post-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 1em;
}
ul.post-tags a {
  color: #3b3b3b;
  background: #d6d6d6;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  display: inline-block;
}
ul.post-tags li {
  margin: 0;
}

.comment-body {
  display: flex;
}

.comment-meta-top {
  display: flex;
  justify-content: space-between;
}

.comment-content {
  width: 100%;
  padding-left: 0rem;
  margin: 0.5em 0px;
}

.commentmetadata {
  font-size: 13px;
  color: #888;
}

.comment-meta-top cite.fn a {
  color: #3b3b3b;
  font-weight: bold;
  font-size: 18px;
}

.comment-content p:last-child {
  margin: auto;
}

div#comments {
  background: #5c565645;
  padding: 1rem;
  margin-top: 2rem;
  border-radius: 15px;
}

#comments .comment-respond {
  background: transparent;
}

textarea#comment {
  background: transparent;
  border: 1px solid #8a8a8a;
  min-height: 200px;
}

.comment-content p {
  margin-bottom: 5px;
}

.comment-content button {
  background: #fff;
  border-radius: 5px;
  font-weight: 500;
  font-size: 13px;
  margin-right: 0px !important;
  color: #333;
  padding: 0 8px !important;
}

.comment-content button a {
  color: #333;
}

p.form-submit input#submit {
  background: #3b3b3b;
  border-radius: 15px;
  padding: 5px 30px;
  font-weight: 500;
  text-transform: none;
}
.related-post {
  margin-top: 2rem;
}
.post-item .col-inner {
  transition: all 0.2s ease;
  overflow: hidden;
}
.post-item .col-inner:hover {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.12), 0 -1px 3px 0 rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.share-icons .button.icon {
  border: none;
  margin: 0;
  line-height: 1;
  min-width: unset;
}

.share-icons .button.icon i {
  font-size: 25px;
  color: #3b3b3b;
}

.share-icons:before {
  content: "Share: ";
  font-size: 24px;
  color: #3b3b3b;
  position: relative;
  top: -2px;
  line-height: 1;
}

.share-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 2rem;
  align-items: center;
  color: #111;
}
#nav-below.navigation-post{
  display: none
}
.mphb_sc_search-form{
  display: flex;
  gap: 1em;
  align-items:end;
  
}
.mphb_sc_search-form label{
  color: #ccc
}
.mphb_sc_rooms-wrapper .mphb-loop-room-type-attributes{
  -webkit-columns: 3;
  -moz-columns: 3;
  columns: 3;
  margin-bottom: 0.5em;
}
.mphb_sc_rooms-wrapper .mphb-room-type{
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 10px;
  overflow:hidden
}
.mphb_sc_rooms-wrapper  p:not(.post-thumbnail),
.mphb-room-type .mphb-room-type-title.entry-title{
  padding-left:10px;
  padding-right: 10px
}
.mphb_sc_rooms-wrapper .mphb-room-type-categories,
.mphb_sc_rooms-wrapper .mphb-room-type-facilities,
.mphb_sc_rooms-wrapper .mphb-room-type-children-capacity,
.mphb_sc_rooms-wrapper .mphb-room-type-details-title,
.mphb-regular-price strong,
.mphb_sc_search-children,
.mphb_sc_checkout-form br,
.mphb-booking-form br,
.mphb_sc_search-form br{
  display: none !important
}
.mphb-check-out-date-wrapper{
  margin-top:20px
}
.mphb_sc_search-form p{
  width: 20%;
}
.mphb_sc_search-submit-button-wrapper .button {
  border-radius: 5px
}
.search-wrap{
    background: rgb(17 17 17 / 75%);
    border-radius: 15px;
    border: 1px solid rgb(255 255 255 / 25%);
    padding: 15px;
}
.mphb_sc_rooms-wrapper{
display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.mphb-single-room-type-attributes, .mphb-loop-room-type-attributes, .loop-room-short-attributes,
.dark .widget a, .dark a {
    color: #fff;
    /* margin-bottom: 3em; */
}
.mphb-regular-price span{
  color: var(--primary-color) !important
}
.mphb-recommendation-title,
#mphb-recommendation{
  display: none
}
.mphb_sc_search_results-wrapper .mphb-recommendation + .mphb-reservation-cart {
    margin-top: .125rem;
}
.mphb-regular-price{
  font-size: 1.5em
}
/* === SINGLE ROOM TYPE LAYOUT === */

/* Gallery full width */
.room-gallery-wrap {
    width: 100%;
    margin-bottom: 32px;
}

.room-gallery-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 8px;
}

/* Sticky sidebar */
.room-booking-sidebar {
    position: sticky;
    top: 100px; 
}

.mphb-reservation-form,
.mphb-datepicker-wrap {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 20px;
}


@media (max-width: 849px) {
    .room-booking-sidebar {
        position: static;
        margin-top: 32px;
    }

    .room-gallery-wrap img {
        height: 260px;
    }
}
/* === THUMBNAILS - inside main image === */
.room-gallery-wrap {
    position: relative;
    margin-bottom: 36px;
}

.room-swiper-main {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.room-swiper-main .swiper-slide img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.room-swiper-thumbs {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: auto;
    max-width: calc(5 * 150px + 4 * 8px);
}

.room-swiper-thumbs .swiper-wrapper {
    display: flex;
    justify-content: center;
    gap: 0; 
}

.room-swiper-thumbs .swiper-slide {
    width: 100px !important;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s;
    flex-shrink: 0;
    border: 2px solid transparent;
}

.room-swiper-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.room-swiper-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #fff;
}

.room-swiper-main .swiper-button-prev,
.room-swiper-main .swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,0.35);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.room-swiper-main .swiper-button-prev::after,
.room-swiper-main .swiper-button-next::after {
    font-size: 16px;
}
.mphb_cb_checkout_form>.mphb-checkout-section:not(:first-of-type), .mphb_sc_checkout-form>.mphb-checkout-section:not(:first-of-type) {
    margin-top: 1em;
}

@media (max-width: 768px) {
    .room-swiper-thumbs {
        display: none;
    }

    .room-swiper-main .swiper-slide img {
        height: 280px;
    }
}
@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/

  .row-footer .col:before {
    display: none;
  }
  .d-flex.col-10 .col-inner .icon-box,
  .d-flex .col-inner .icon-box {
    width: calc((100vw - 3em) / 2);
  }
  .d-flex .col-inner {
  flex-wrap:wrap
}
  .mphb_sc_search-form p {
    width: 47%;
}
  .mphb_sc_search-form{
    flex-wrap: wrap;
    gap: 6%
  }
  .pb-2{
    margin-bottom: 10px
  }
}


@media (max-width: 1024px) {
    .mphb_sc_rooms-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .mphb_sc_rooms-wrapper {
        grid-template-columns: 1fr;
    }
}