/* ----------------------------------------------------------------------------
 * Easy!Appointments - Online Appointment Scheduler
 *
 * @package     EasyAppointments
 * @author      A.Tselegidis <alextselegidis@gmail.com>
 * @copyright   Copyright (c) Alex Tselegidis
 * @license     https://opensource.org/licenses/GPL-3.0 - GPLv3
 * @link        https://easyappointments.org
 * @since       v1.5.0
 * ---------------------------------------------------------------------------- */
root {
  display: block;
}

html,
body {
  height: 100%;
}

#main {
  min-height: 100%;
}

/* BOOK APPOINTMENT WIZARD
 ------------------------------------------------------------------------------ */
#book-appointment-wizard {
  min-height: 480px;
  padding: 0;
  margin: auto;
}

#book-appointment-wizard #header {
  overflow: auto;
  height: auto;
  padding: 20px 15px;
  background: #429a82;
}

body.page-booking #book-appointment-wizard #header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  overflow: visible;
  padding: 70px 70px 0;
  width: 100%;
}

#book-appointment-wizard #company-name {
  float: none;
  display: block;
  text-align: center;
  font-size: 24px;
  font-weight: lighter;
  color: #fff;
  margin: 20px 0;
}

body.page-booking #book-appointment-wizard #company-name {
  flex: 1 1 auto;
  min-width: 0;
}
#book-appointment-wizard #company-name #company-logo {
  display: block;
  margin: 14px auto;
  max-height: 56px;
}

body.page-booking #book-appointment-wizard #company-name #company-logo {
  display: block;
  max-height: 100px;
  margin-right: 0;
}
#book-appointment-wizard #company-name .display-booking-selection {
  color: #225d4d;
  border-right-color: #225d4d !important;
  font-size: 60%;
  font-weight: normal;
}

#book-appointment-wizard #steps {
  float: none;
  display: block;
  overflow: auto;
  margin: 15px auto;
  width: 190px;
}

body.page-booking #book-appointment-wizard #steps {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-self: flex-start;
  margin: 0;
  margin-left: auto;
  white-space: nowrap;
  transform: translateY(-5px);
}

#book-appointment-wizard #book-appointment-form #book-appointment-submit {
  width: 100%;
  margin-right: 0;
}

#book-appointment-wizard #form-message {
  text-align: center;
  margin-bottom: 30px;
}

#book-appointment-wizard .wizard-frame {
  height: auto;
  padding: 15px;
}

#book-appointment-wizard .wizard-frame .frame-container {
  height: auto;
  min-height: 500px;
  padding: 15px 0;
}

#book-appointment-wizard .frame-container .frame-title {
  font-weight: lighter;
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

body.page-booking #book-appointment-wizard .frame-container .frame-title {
  font-family: "Fraunces", var(--bs-font-sans-serif);
  font-weight: 600;
  color: #fff;
}

body.page-booking #book-appointment-wizard h2.frame-title.mt-md-5 {
  margin-top: 0 !important;
}

#book-appointment-wizard .frame-container .frame-content {
  float: none;
}

#book-appointment-wizard .wizard-frame .command-buttons {
  float: none;
  margin: 15px auto;
  text-align: center;
}

#book-appointment-wizard .wizard-frame .command-buttons .btn {
  min-width: 120px;
  margin-right: 10px;
}

#book-appointment-wizard .wizard-frame .command-buttons .btn:last-child {
  margin-right: 0;
}

#book-appointment-wizard .wizard-frame .flatpickr-calendar {
  margin: 0;
}

body.page-booking #book-appointment-wizard .flatpickr-calendar {
  background: rgba(30, 15, 0, 0.55);
  border: 1px solid rgba(255, 200, 140, 0.35);
  border-radius: 12px;
  box-shadow: none;
  box-sizing: content-box;
  padding: 0 20px 20px;
  width: auto;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

body.page-booking #book-appointment-wizard .flatpickr-calendar.inline {
  top: 0;
}

body.page-booking #book-appointment-wizard .flatpickr-innerContainer,
body.page-booking #book-appointment-wizard .flatpickr-rContainer,
body.page-booking #book-appointment-wizard .flatpickr-days {
  justify-content: center;
}

body.page-booking #book-appointment-wizard .flatpickr-innerContainer {
  border-bottom: 0;
}

body.page-booking #book-appointment-wizard .flatpickr-days {
  border-left: 0;
  border-right: 0;
}

body.page-booking #book-appointment-wizard .dayContainer {
  padding-bottom: 0;
}

body.page-booking #book-appointment-wizard .flatpickr-innerContainer,
body.page-booking #book-appointment-wizard .flatpickr-months {
  background: transparent;
}

body.page-booking #book-appointment-wizard .flatpickr-months .flatpickr-month,
body.page-booking #book-appointment-wizard .flatpickr-weekdays,
body.page-booking #book-appointment-wizard .flatpickr-current-month .flatpickr-monthDropdown-months,
body.page-booking #book-appointment-wizard span.flatpickr-weekday {
  background: transparent;
  color: rgba(255, 230, 180, 0.85);
}

body.page-booking #book-appointment-wizard .flatpickr-current-month {
  font-family: "Fraunces", var(--bs-font-sans-serif);
  color: rgba(255, 255, 255, 1);
}

body.page-booking #book-appointment-wizard .flatpickr-current-month span.cur-month,
body.page-booking #book-appointment-wizard .flatpickr-current-month input.cur-year {
  color: rgba(255, 255, 255, 1);
}

body.page-booking #book-appointment-wizard .flatpickr-current-month span.cur-month:hover,
body.page-booking #book-appointment-wizard .flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: rgba(255, 255, 255, 0.08);
}

body.page-booking #book-appointment-wizard .flatpickr-months .flatpickr-prev-month,
body.page-booking #book-appointment-wizard .flatpickr-months .flatpickr-next-month {
  color: rgba(255, 230, 180, 0.85);
  fill: rgba(255, 230, 180, 0.85);
}

body.page-booking #book-appointment-wizard .flatpickr-months .flatpickr-prev-month:hover,
body.page-booking #book-appointment-wizard .flatpickr-months .flatpickr-next-month:hover {
  color: rgba(255, 255, 255, 1);
  fill: rgba(255, 255, 255, 1);
}

body.page-booking #book-appointment-wizard .flatpickr-day {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid transparent;
}

body.page-booking #book-appointment-wizard .flatpickr-day:hover,
body.page-booking #book-appointment-wizard .flatpickr-day:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 200, 140, 0.35);
  color: rgba(255, 255, 255, 1);
}

body.page-booking #book-appointment-wizard .flatpickr-day.today {
  border-color: rgba(255, 200, 140, 0.5);
}

body.page-booking #book-appointment-wizard .flatpickr-day.selected,
body.page-booking #book-appointment-wizard .flatpickr-day.selected:hover,
body.page-booking #book-appointment-wizard .flatpickr-day.selected:focus {
  background: rgb(218, 165, 80);
  border-color: rgb(218, 165, 80);
  color: rgba(30, 15, 0, 1);
  font-weight: 600;
}

body.page-booking #book-appointment-wizard .flatpickr-day.prevMonthDay,
body.page-booking #book-appointment-wizard .flatpickr-day.nextMonthDay,
body.page-booking #book-appointment-wizard .flatpickr-day.flatpickr-disabled {
  color: rgba(255, 255, 255, 0.25);
}

#book-appointment-wizard .wizard-frame .frame-content > .col-md-5 {
  position: relative;
}

#book-appointment-wizard .wizard-frame #select-time {
  max-width: 288px;
  margin: 0 auto;
  padding: 0;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

#book-appointment-wizard .book-step {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  width: 35px;
  float: left;
  background: rgba(60, 40, 20, 0.55);
  border: 1px solid rgba(255, 200, 140, 0.3);
  padding: 7px;
  margin-right: 12px;
  margin-top: 6px;
  border-radius: 50%;
  transition: all 0.3s linear;
}

#book-appointment-wizard .book-step:last-child {
  margin-right: 0;
}

#book-appointment-wizard .book-step strong {
  font-size: 12px;
  display: block;
  text-align: center;
  color: rgba(255, 230, 180, 0.85);
  line-height: 1;
  transition: all 0.3s linear;
  cursor: default;
}

#book-appointment-wizard .active-step {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  width: 45px;
  float: left;
  background: rgb(218, 165, 80);
  padding: 7px;
  margin-right: 13px;
  margin-top: 0;
  border-radius: 50%;
}

#book-appointment-wizard .active-step strong {
  color: rgba(30, 15, 0, 1);
  font-size: 21px;
  line-height: 1;
}

#book-appointment-wizard #frame-footer {
  padding: 15px;
  text-align: center;
  border-top: 1px solid #ebeef1;
}

body.page-booking #book-appointment-wizard #frame-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

body.page-booking #book-appointment-wizard #frame-footer .footer-meta,
body.page-booking #book-appointment-wizard #frame-footer .footer-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

body.page-booking #book-appointment-wizard #frame-footer .footer-meta {
  flex: 1 1 auto;
  min-width: 0;
}

body.page-booking #book-appointment-wizard #frame-footer .footer-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  white-space: nowrap;
}

body.page-booking #book-appointment-wizard #frame-footer .footer-actions {
  flex: 0 0 auto;
  margin-left: auto;
}

body.page-booking #book-appointment-wizard .footer-powered-by {
  display: none !important;
}

body.page-booking #book-appointment-wizard .wizard-frame,
body.page-booking #book-appointment-wizard #frame-footer {
  padding-left: 20px;
  padding-right: 20px;
}

body.page-booking #book-appointment-wizard #frame-footer {
  padding-top: 30px;
  padding-bottom: 30px;
}

body.page-booking #book-appointment-wizard .wizard-frame {
  padding-top: 0;
  padding-bottom: 0;
}

body.page-booking #book-appointment-wizard .wizard-frame .command-buttons {
  margin: 0;
}

body.page-booking #book-appointment-wizard .wizard-frame .command-buttons .btn {
  margin-right: 0;
}

body.page-booking #book-appointment-wizard .wizard-frame .frame-container {
  padding: 0;
}

#book-appointment-wizard #available-hours {
  overflow-y: scroll;
  margin: 0;
  padding-right: 10px;
  width: auto;
  flex: 1 1 auto;
  min-height: 0;
}

#book-appointment-wizard #available-hours div {
  margin-right: 30px;
}

#book-appointment-wizard #available-hours .available-hour {
  margin-bottom: 10px;
}

#book-appointment-wizard #available-hours .available-hour:last-child {
  margin-bottom: 0;
}

body.page-booking #book-appointment-wizard #available-hours .available-hour {
  background: transparent;
  border-color: rgba(255, 200, 140, 0.35);
}

body.page-booking #book-appointment-wizard #available-hours .available-hour:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 200, 140, 0.5);
}

body.page-booking #book-appointment-wizard #available-hours .selected-hour,
body.page-booking #book-appointment-wizard #available-hours .selected-hour:hover {
  background-color: rgb(218, 165, 80);
  border-color: rgb(218, 165, 80);
  color: rgba(30, 15, 0, 1);
  font-weight: 600;
}

#book-appointment-wizard .span3 {
  min-width: 270px; /* This is especially needed for ie8 */
}

#book-appointment-wizard #select-timezone {
  margin-bottom: 15px;
}

#book-appointment-wizard #appointment-details p,
#book-appointment-wizard #customer-details p {
  font-size: 16px;
  line-height: 28px;
}

#book-appointment-wizard #wizard-frame-1 label {
  font-size: 19px;
  margin-bottom: 12px;
}

body.page-booking #book-appointment-wizard #wizard-frame-1 label[for="select-service-trigger"],
body.page-booking #book-appointment-wizard #wizard-frame-1 label[for="select-provider-trigger"] {
  font-size: inherit;
  color: #fff;
}

body.page-booking #book-appointment-wizard label[for="select-timezone"] {
  color: #fff;
  display: none;
}

body.page-booking #book-appointment-wizard #select-timezone {
  display: none;
}

body.page-booking #book-appointment-wizard #select-time > .mb-3 {
  display: none;
}

#book-appointment-wizard #wizard-frame-1 select {
  margin-bottom: 25px;
}

#book-appointment-wizard .captcha-title {
  float: left;
  margin: 7px 0 10px 0;
}

#book-appointment-wizard .captcha-title .fa-sync-alt {
  cursor: pointer;
  transition: all 0.3s linear;
}

#book-appointment-wizard .captcha-title .fa-sync-alt:hover {
  color: #1a865f;
}

#book-appointment-wizard .captcha-image {
  float: left;
  margin-bottom: 20px;
  border-radius: 3px;
}

#book-appointment-wizard .captcha-text {
  width: 100%;
  margin-bottom: 20px;
}

#book-appointment-wizard #service-description {
  overflow-y: auto;
  clear: both;
  max-height: 153px;
  box-shadow: none;
}

#book-appointment-wizard #select-language,
#book-appointment-wizard .backend-link {
  display: block;
  min-width: 120px;
  margin: 15px auto;
  padding: 5px;
}

.popover .popover-title {
  text-align: center;
}

.popover .popover-content #language-list .language {
  margin: 15px 0;
}

#book-appointment-wizard #wizard-frame-4 .frame-container .frame-content {
  max-width: 630px;
}

#book-appointment-wizard #wizard-frame-3 .field-col {
  max-width: 520px;
}

#book-appointment-wizard #wizard-frame-3 .booking-info-row {
  display: flex;
  gap: 20px;
}

#book-appointment-wizard #wizard-frame-3 .booking-info-row > .mb-3 {
  flex: 1 1 200px;
  min-width: 0;
}

#book-appointment-wizard #wizard-frame-3 .booking-info-row--full textarea {
  min-height: 100px;
}

body.page-booking #book-appointment-wizard #wizard-frame-3 .form-label {
  color: rgba(255, 255, 255, 1);
  font-weight: 400;
}

body.page-booking #book-appointment-wizard #wizard-frame-3 .form-control:focus {
  border-color: rgba(255, 200, 140, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(255, 200, 140, 0.35);
}

body.page-booking #book-appointment-wizard #wizard-frame-3 .text-danger {
  color: rgb(218, 165, 80) !important;
}

body.page-booking #book-appointment-wizard .form-control {
  color: rgba(30, 15, 0, 0.85);
}

body.page-booking #book-appointment-wizard .form-select:focus {
  border-color: rgba(255, 200, 140, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(255, 200, 140, 0.35);
}

.ayesha-select {
  position: relative;
}

.ayesha-select-trigger {
  width: 100%;
  background: rgba(30, 15, 0, 0.92);
  border: none;
  box-shadow: 0 0 0 1px rgba(255, 200, 140, 0.35);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 15px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  transform: none;
}

.ayesha-select-trigger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ayesha-select-trigger:active,
.ayesha-select-trigger:hover,
.ayesha-select-trigger:focus,
.ayesha-select-trigger.open {
  transform: none;
}

.ayesha-select-trigger:focus-visible,
.ayesha-select-trigger.open {
  outline: none;
  box-shadow: 0 0 0 1px rgba(255, 200, 140, 0.5), 0 0 0 0.25rem rgba(255, 200, 140, 0.35);
}

.ayesha-select-chevron {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.ayesha-select-trigger.open .ayesha-select-chevron {
  transform: rotate(180deg);
}

.ayesha-select-trigger.single-option .ayesha-select-chevron {
  display: none;
}

.ayesha-select-trigger.single-option {
  cursor: default;
}

.ayesha-select-popover {
  position: absolute;
  top: 0;
  /* -4px accounts for the trigger's 4px focus ring width so the popover
     lines up with it; the extra .667px is an empirical nudge so the
     selected item's text lands on the same physical pixel as the trigger's
     text at 150% OS/browser scaling (1 device px = 0.667 CSS px there).
     Re-measure with getBoundingClientRect() before changing this value. */
  left: -4.667px;
  right: -4.667px;
  background: rgba(30, 15, 0, 1);
  border: 1px solid rgba(255, 200, 140, 0.35);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 20;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  margin: 0;
}

.ayesha-select-popover::-webkit-scrollbar {
  display: none;
}

.ayesha-select-popover.open {
  display: flex;
}

.ayesha-select-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  cursor: pointer;
  line-height: 20px;
}

.ayesha-select-item.highlighted {
  background: rgba(255, 255, 255, 0.05);
}

.ayesha-select-item.selected {
  background: rgba(255, 200, 140, 0.12);
  color: rgba(255, 255, 255, 1);
}

.ayesha-select-check {
  color: rgb(218, 165, 80);
  font-size: 14px;
}

@media (min-width: 768px) {
  body.page-booking .wrapper {
    min-height: 0;
    width: 100%;
  }
  #book-appointment-wizard {
    border-radius: 0.25rem;
    overflow: hidden;
    box-shadow: rgba(138, 195, 255, 0.12) 0 1px 5px 0;
  }
  #book-appointment-wizard #company-name {
    text-align: left;
    display: inline-block;
    float: left;
    margin: 0 auto;
    min-width: 400px;
    line-height: 1.4;
  }
  #book-appointment-wizard #company-name #company-logo {
    display: inline-block;
    float: left;
    margin-right: 14px;
    margin-top: 0;
    margin-bottom: 0;
  }
  #book-appointment-wizard #steps {
    display: inline-block;
    float: right;
    margin: 5px auto;
  }

  body.page-booking #book-appointment-wizard {
    border-radius: 1.25rem;
  }

  body.page-booking #book-appointment-wizard .wizard-frame,
  body.page-booking #book-appointment-wizard #frame-footer {
    padding-left: 70px;
    padding-right: 70px;
  }

  body.page-booking #book-appointment-wizard .wizard-frame {
    padding-top: 45px;
  padding-bottom: 0;
}

body.page-booking #book-appointment-wizard #frame-footer {
  padding-top: 70px;
  padding-bottom: 30px;
  }


@media (max-width: 767.98px) {
  body.page-booking #book-appointment-wizard #frame-footer,
  body.page-booking #book-appointment-wizard #frame-footer .footer-meta,
  body.page-booking #book-appointment-wizard #frame-footer .footer-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  body.page-booking #book-appointment-wizard #frame-footer .footer-actions {
    margin-left: 0;
  }
}

  #book-appointment-wizard .wizard-frame {
    padding: 10px 20px;
  }
  #book-appointment-wizard .wizard-frame .command-buttons {
    display: flex;
    justify-content: space-between;
  }
  #book-appointment-wizard .captcha-title {
    margin-right: 20px;
    margin-top: 7px;
  }
  #book-appointment-wizard .captcha-image {
    float: right;
  }
  #book-appointment-wizard #select-language {
    width: 100px;
    padding: 5px;
    margin: 5px auto;
  }
  #book-appointment-wizard #frame-footer small {
    display: flex;
  }
  #book-appointment-wizard .footer-powered-by,
  #book-appointment-wizard .footer-options {
    width: 50%;
  }
  #book-appointment-wizard .footer-powered-by {
    text-align: left;
    padding: 5px 5px 5px 0;
  }
  #book-appointment-wizard .footer-options {
    text-align: right;
  }
  #book-appointment-wizard #select-language {
    display: inline-block;
  }
  #book-appointment-wizard .backend-link {
    display: inline-block;
    min-width: 120px;
    padding: 5px;
    margin: 5px 0;
  }
}
/* BOOK SUCCESS & MESSAGE
   ------------------------------------------------------------------------- */
#message-frame,
#success-frame {
  background: var(--bs-body-bg);
  text-align: center;
  height: auto;
  border: none;
  padding: 35px;
}

#message-frame .alert,
#success-frame .alert {
  margin-top: 20px;
}

#message-frame #message-icon,
#success-frame #success-icon {
  margin-top: 20px;
  margin-right: 20px;
  width: 64px;
  display: block;
  margin: auto;
  float: none !important;
}

#success-frame .btn {
  margin-bottom: 10px;
  width: 80%;
  max-width: 300px;
}

@media (min-width: 768px) {
  #message-frame,
  #success-frame {
    height: 100%;
  }
}
/* CANCEL APPOINTMENT
   ------------------------------------------------------------------------- */
.booking-header-bar {
  padding: 15px 0;
  margin: 0;
  background: #f3f2e7;
  border-bottom: 1px solid #e4e1c9;
  text-align: center;
}

.ui-dialog .ui-dialog-title {
  font-size: 1.2em;
}

@media (min-width: 768px) {
  .booking-header-bar {
    padding: 15px 0;
    margin: 0;
    background: #f3f2e7;
    border-bottom: 1px solid #e4e1c9;
    text-align: left;
  }
}
