/*
Theme Name:  GradsGrad official theme
Theme URI: http://GradsGrad.com
Author: Siavash Keshmiri
Author URI: http://github.com/siavashh
Description: GradsGrad.com WordPress Theme by Siavash Keshmiri
Version: 1.0
License: GNU General Public License v2
License URI: https://github.com/siavashh/
Text Domain: listeo
Domain Path: /languages/
Tags: light, responsive-layout, post-formats, theme-options, translation-ready, two-columns
Template: listeo
*/

:root {
  --grads_orange: #e76f51;
  --grads_orange_light: #f4a261;
  --grads_green: #2a9d8f;
  --grads_blue: #0a3d62;
}

body {
  font-family: "Vazirmatn", sans-serif;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select,
input[type="button"],
input[type="submit"],
button,
#tiptip_content,
.map-box p,
.map-box div,
.numerical-rating .rating-counter,
body .menu-responsive i.menu-trigger:after {
  font-family: "Vazirmatn", sans-serif;
}

/* Listeo hard-codes #222 on headings; Customizer color is on body (Kirki). */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: inherit;
}
.coming-soon-page:before {
  background-color: var(--grads_blue);
}

#titlebar h1,
#titlebar h2 {
  font-weight: 700;
}
.availability-slots {
  gap: 10px;
}
h2,
.h2 {
  font-size: 26px;
}
#calendar-legend ul li {
  font-size: 12px;
  padding-right: 0;
  display: inline-flex;
  align-items: center;
}

/* Listeo always prints 6,3,3 columns even when footer1 is unused. */
#footer > .container > .row:first-child {
  display: flex;
  flex-wrap: wrap;
}

#footer > .container > .row:first-child > [class*="col-"]:not(:has(.widget)) {
  display: none !important;
}

#footer > .container > .row:first-child > [class*="col-"]:has(.widget) {
  float: none !important;
  flex: 1 1 0%;
  width: auto !important;
  max-width: 100%;
}

@media (max-width: 767px) {
  #footer > .container > .row:first-child {
    flex-direction: column;
  }
}

#footer > .container > .row:first-child:not(:has(.widget)) {
  display: none;
}

#footer:not(:has(.widget)) {
  padding-top: 28px;
}

#footer:not(:has(.widget)) .footer-new-bottom-inner {
  margin-top: 0;
  margin-bottom: 24px;
}

/* Listing cards with no featured/gallery image. */
.listing-image-container-nl .slider-wrapper-nl:not(:has(img)) {
  min-height: 200px;
  background: #f0ebe3;
}

.listing-image-container-nl .slider-image-nl.grads-listing-placeholder {
  object-fit: cover;
  width: 100%;
  height: 100%;
  background: #f0ebe3;
}

#grads-cal-toggle-root:not(.is-placed) {
  display: none !important;
}

#grads-cal-toggle-root.is-placed {
  position: static;
  inset: auto;
}

.grads-cal-toggle {
  display: inline-flex !important;
  flex: 0 0 auto;
  margin: 0 8px 0 0;
  border: 1px solid #e6e6e6;
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  vertical-align: middle;
  z-index: 2;
}

.booking-requests-filter .grads-cal-toggle,
.calendar-filters .grads-cal-toggle {
  float: none;
  position: relative;
  top: 0;
  margin: 4px 8px 4px 0;
}

.daterangepicker > .grads-cal-toggle--picker {
  display: flex !important;
  width: 100%;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #eee;
  border-radius: 0;
  position: relative;
  z-index: 3;
}

.grads-cal-toggle-opt {
  display: inline-block;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 600;
  color: #66676b;
  cursor: pointer;
  line-height: 1.2;
  background: #fff;
}

.daterangepicker > .grads-cal-toggle--picker .grads-cal-toggle-opt {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
  text-align: center;
}

.grads-cal-toggle-opt + .grads-cal-toggle-opt {
  border-left: 1px solid #e6e6e6;
}

.grads-cal-toggle-opt.is-active {
  background: #66676b;
  color: #fff;
}
