/*
Template:       dhotels
Theme Name:     dHotels Child
Theme URI:      https://directorist.com/product/dhotels/
Author:         wpWax
Author URI:     https://wpwax.com/
Description:    dHotels – Best Hotel Directory WordPress Theme.
Version:        1.0
Text Domain:    dhotels-child
License:        GNU General Public License v2 or later
License URI:	http://www.gnu.org/licenses/gpl-2.0.html
Requires PHP:	7.0
Tested up to:	5.8
Tags:           two-columns, three-columns, left-sidebar, right-sidebar, custom-colors, custom-menu, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, blog
*/

:root {
  --directorist-color-primary: #0e5a4f;
  --directorist-color-primary-rgb: 14, 90, 79;
  --directorist-color-warning: #c9a24a;
  --directorist-color-btn-primary-bg: #0e5a4f;
  --directorist-color-btn-primary-border: #0e5a4f;
  --directorist-color-btn-hover: #16423c;
  --directorist-color-marker-shape: #0e5a4f;
  --fsrit-charcoal: #24312d;
  --fsrit-emerald: #0e5a4f;
  --fsrit-gold: #c9a24a;
  --fsrit-ivory: #fbf8ef;
  --fsrit-mist: #eef5f1;
  --fsrit-coral: #b85f4a;
  --fsrit-border: #eadfc8;
}

body {
  background: var(--fsrit-ivory);
  color: var(--fsrit-charcoal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
}

a {
  color: var(--fsrit-emerald);
}

a:hover,
a:focus {
  color: var(--fsrit-coral);
}

#site-header.menu-area {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(201, 162, 74, 0.28);
  box-shadow: 0 12px 34px rgba(36, 49, 45, 0.08);
}

.theme-header-menu-area .container-fluid {
  padding-left: 32px;
  padding-right: 32px;
}

.theme-header-logo-brand img {
  max-height: 58px;
  width: auto;
}

.theme-main-menu > li > a {
  color: var(--fsrit-charcoal);
  font-weight: 600;
}

.theme-main-menu > li.current-menu-item > a,
.theme-main-menu > li > a:hover {
  color: var(--fsrit-emerald);
}

.theme-menu-action-search__trigger {
  background: #fffaf0;
  border: 1px solid var(--fsrit-border);
  border-radius: 8px;
  color: var(--fsrit-charcoal);
  min-height: 44px;
  padding: 0 16px;
}

.theme-menu-action-search__trigger:hover {
  border-color: var(--fsrit-gold);
  color: var(--fsrit-emerald);
}

.elementor-element-476e955a {
  overflow: hidden;
  position: relative;
}

.elementor-element-476e955a .elementor-background-overlay {
  background: linear-gradient(110deg, rgba(14, 90, 79, 0.88), rgba(36, 49, 45, 0.72) 54%, rgba(184, 95, 74, 0.5));
  opacity: 1;
}

.elementor-element-476e955a .directorist-search-top__title {
  color: #ffffff;
  font-size: 46px;
  line-height: 1.12;
  margin-left: auto;
  margin-right: auto;
  max-width: 780px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.directorist-search-form__top .directorist-search-field .directorist-booking-entry {
  display: flex;
}

.elementor-element-476e955a .directorist-search-form__wrap,
.dspb-search .directorist-search-form__wrap {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(234, 223, 200, 0.9);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(24, 40, 35, 0.18);
  padding: 10px;
}

.directorist-search-field__label,
.directorist-search-field label {
  color: #52645f;
  font-weight: 600;
}

.directorist-form-element,
.directorist-select select,
.directorist-search-basic-dropdown-label {
  border-color: var(--fsrit-border) !important;
  border-radius: 8px !important;
}

.directorist-form-element:focus,
.directorist-select select:focus {
  border-color: var(--fsrit-gold) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.18) !important;
}

.directorist-btn.directorist-btn-primary,
.directorist-btn-search,
.directorist-btn-submit {
  background: var(--fsrit-emerald) !important;
  border-color: var(--fsrit-emerald) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 700;
}

.directorist-btn.directorist-btn-primary:hover,
.directorist-btn-search:hover,
.directorist-btn-submit:hover {
  background: #16423c !important;
  border-color: #16423c !important;
}

.theme-section-title {
  margin-bottom: 28px;
  text-align: center;
}

.theme-section-title__title {
  color: var(--fsrit-charcoal);
  font-size: 32px;
  line-height: 1.2;
}

.theme-section-title__title::after {
  background: var(--fsrit-gold);
  content: "";
  display: block;
  height: 3px;
  margin: 14px auto 0;
  width: 58px;
}

.theme-categories-carousel__single .theme-single-categories__carousel {
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(36, 49, 45, 0.12);
  display: block;
  overflow: hidden;
}

.theme-categories-carousel__single .theme-single-categories__carousel .theme-category-overlay,
.theme-categories-carousel__single .theme-single-categories__carousel figure {
  height: 100%;
  min-height: inherit;
}

.theme-categories-carousel__single .theme-single-categories__carousel figure {
  background: linear-gradient(135deg, #0e5a4f, #246b60 58%, #c9a24a);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.swiper-slide:nth-child(3n+2) .theme-categories-carousel__single figure {
  background: linear-gradient(135deg, #24312d, #0e5a4f 56%, #b85f4a);
}

.swiper-slide:nth-child(3n+3) .theme-categories-carousel__single figure {
  background: linear-gradient(135deg, #16423c, #687c62 58%, #c9a24a);
}

.theme-categories-carousel__single figure::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.3));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.theme-categories-carousel__single figcaption {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: flex-end;
  min-height: 100%;
  padding: 24px;
  position: absolute;
  z-index: 2;
}

.theme-categories__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  display: flex;
  height: 52px;
  justify-content: center;
  margin-bottom: 18px;
  width: 52px;
}

.theme-categories__icon .directorist-icon-mask::after {
  background: #ffffff;
}

.theme-single-categories__title h6,
.theme-single-categories__listing span {
  color: #ffffff !important;
}

.theme-single-categories__title h6 {
  font-size: 20px;
  line-height: 1.25;
}

.theme-single-categories__listing {
  align-items: baseline;
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.theme-location-box__count {
  color: var(--fsrit-gold) !important;
  font-size: 24px;
  font-weight: 800;
}

.elementor-widget-wpwaxtheme-all-categories .theme-categories-carousel__single:not(.theme-location-style) .theme-single-categories__count {
  font-size: 0;
}

.elementor-widget-wpwaxtheme-all-categories .theme-categories-carousel__single:not(.theme-location-style) .theme-single-categories__count::after {
  content: "Listings";
  font-size: 13px;
  font-weight: 600;
}

.theme-swiper-button-nav {
  background: #ffffff;
  border: 1px solid var(--fsrit-border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(36, 49, 45, 0.08);
}

.theme-swiper-button-nav:hover {
  background: var(--fsrit-emerald);
}

.theme-swiper-button-nav:hover .directorist-icon-mask::after {
  background: #ffffff;
}

.directorist-listing-single.directorist-listing-card {
  border: 1px solid rgba(234, 223, 200, 0.95);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(36, 49, 45, 0.09);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.directorist-listing-single.directorist-listing-card:hover {
  box-shadow: 0 22px 48px rgba(36, 49, 45, 0.14);
  transform: translateY(-3px);
}

.directorist-thumnail-card-front-wrap figure {
  background: linear-gradient(135deg, #e8f0ea, #cbded7 54%, #f0dfb7);
}

.directorist-thumnail-card-front-img[src*="/directorist/assets/images/grid.jpg"] {
  filter: saturate(0.5) contrast(0.9);
  opacity: 0.22;
}

.directorist-badge {
  border-radius: 8px !important;
  font-weight: 700;
}

.directorist-badge-new {
  background: var(--fsrit-coral) !important;
}

.directorist-listing-title a {
  color: var(--fsrit-charcoal);
}

.directorist-listing-title a:hover {
  color: var(--fsrit-emerald);
}

.directorist-rating-meta {
  background: #fff7df;
  border-radius: 8px;
  color: #8a6817;
  padding: 4px 8px;
}

.directorist-rating-meta .directorist-icon-mask::after {
  background: var(--fsrit-gold);
}

.directorist-listing-price {
  color: var(--fsrit-emerald);
  font-weight: 800;
}

.directorist-pricing-period {
  color: #6c7773;
}

.directorist-listing-single__info__list li,
.directorist-excerpt-field {
  color: #52645f;
}

.site-footer {
  background: #24312d;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.84);
}

.site-footer a:hover {
  color: var(--fsrit-gold);
}

.site-footer .widget-title {
  color: #ffffff;
  font-size: 18px;
}

.theme-about-widget__img img {
  max-height: 76px;
  width: auto;
}

.theme-about-widget__content {
  color: rgba(255, 255, 255, 0.75);
}

.theme-footer-bottom-area {
  background: #1a2522;
  border-top: 1px solid rgba(201, 162, 74, 0.18);
}

.theme-copyright-text {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 991px) {
  .theme-header-menu-area .container-fluid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .theme-header-menu-middle {
    display: none;
  }

  .elementor-element-476e955a .directorist-search-top__title {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .elementor-element-476e955a .directorist-search-top__title {
    font-size: 30px;
    line-height: 1.18;
  }

  .elementor-element-476e955a .directorist-search-form__wrap {
    padding: 8px;
  }

  .directorist-search-form__top {
    display: block;
  }

  .directorist-search-form__top .directorist-search-field {
    margin-bottom: 10px;
    width: 100%;
  }

  .theme-section-title__title {
    font-size: 26px;
  }

  .theme-categories-carousel__single .theme-single-categories__carousel .theme-category-overlay,
  .theme-categories-carousel__single .theme-single-categories__carousel figure {
    min-height: inherit;
  }

  .directorist-listing-single.directorist-listing-card {
    margin-bottom: 18px;
  }
}

