/* Styles definition here */
#field_1-0 label {
  font-family: var(--bodyFontFamily);
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 12px;
  text-align: center;
}

#fbuilder .ui-datepicker tbody td {
  border: none !important;
}

#fbuilder .fieldCalendar.hasDatepicker {
  margin-top: 20px;
  width: 51%;
  float: left;
  padding: 0 20px 0 0;
}

#fbuilder .fields {
  clear: both;
}

#fbuilder .slotsCalendar {
  width: 49%;
  display: block;
  float: left;
}

#fbuilder .usedSlots {
  display: block;
  clear: both;
  margin: 0 auto;
  text-align: center;
  padding: 20px 20px 0px;
  border: unset !important;
}

#fbuilder .fform {
  padding: 0 !important;
}

#fbuilder .ui-datepicker {
  margin-top: 15px
}

#fbuilder .ui-datepicker th {
  line-height: 30px
}

#fbuilder .fieldCalendarService,
#fbuilder .slots,
#fbuilder .captcha {
  width: 100% !important;
  box-shadow: none !important;
  margin-top: 20px;
}

#fbuilder .fieldCalendarService {
  display: none !important;
}

#fbuilder .slots {
  border: 1px solid #000000 !important;
  padding: 15px !important;
  min-height: 239px;
}

#fbuilder .slots div {
  border: none !important;
  background: none;
  margin: 5px 5px 0 0 !important;
}

#fbuilder .availableslot a,
#fbuilder .slots div a {
  color: #000 !important;
  padding: 5px 12px !important;
  border: solid 1px #000000;
  background: none !important;
}

#fbuilder .slots div a:hover,
#fbuilder .slots div.currentSelection a {
  border: solid 1px #b90000;
  color: #b90000 !important;
}

#fbuilder .ui-datepicker,
.ahb_m #fbuilder .ui-datepicker-inline {
  box-shadow: none !important;
  z-index: 989 !important;
  padding: 0 !important;
  border: 1px solid #000000 !important;
}

#fbuilder .top_aligned .fields label {
  padding-top: 10px;
  display: block;
  line-height: 1.1;
}

#fbuilder .ui-datepicker-calendar .ui-state-active {
  background: #b90000;
  -webkit-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
  -moz-box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
  box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, .1);
  color: #e0e0e0;
  text-shadow: 0px 1px 0px #b90000;
  filter: dropshadow(color=#b90000, offx=0, offy=1);
  border: 1px solid #b90000;
  position: relative;
}

#fbuilder .ui-datepicker-inline {
  width: 100% !important;
  max-width: 100% !important
}

#fbuilder .medium {
  width: 100% !important;
  min-width: 100% !important
}

#fbuilder .dfield,
#fbuilder .captcha img {
  margin-top: 5px
}

#fbuilder .dfield input,
#fbuilder .dfield textarea {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

#fbuilder .pbSubmit {
      display: flex !important;
  margin: 0 auto !important;
      font-weight: 600;
      position: relative;
      font-size: var(--btnFont) !important;
      border: var(--btnBorder);
      border-radius: 0;
      color: var(--btnColor) !important;
      background-color: var(--btnBg) !important;
      font-style: normal;
      line-height: normal !important;
      padding: 14px 25px 10px !important;
      text-decoration: none;
      white-space: normal;
      -webkit-transform: perspective(1px) translateZ(0);
      transform: perspective(1px) translateZ(0);
      overflow: hidden;
      cursor: pointer;
      text-align: center;
      font-family: var(--btnFontFamily);
      text-transform: uppercase;
}

#fbuilder .pbSubmit:hover {
  color: var(--btnHoverColor);
  background-color: var(--btnHoverBg);
}

#fbuilder .slots div a {
  text-decoration: none
}

#fbuilder .captcha img {
  margin-bottom: -16px;
}

#fbuilder .pbreak .pbPrevious,
#fbuilder .pbreak .pbNext,
#fbuilder .pbSubmit {
  margin-top: 0 !important
}

body #fbuilder .ui-datepicker-inline {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0;
}

body #fbuilder .medium {
  width: 100% !important;
  min-width: 100% !important;
}


#fbuilder .ui-datepicker-title {
  min-height: 50px;
  padding: 8px 0 0;
}

#field_1-0 .dfield {
  display: flex !important;
  flex-wrap: wrap !important;
}

#fbuilder .slots>span {
  display: block;
  width: fit-content;
  margin: 0 auto 7px;
  font-weight: 700;
  color: #000000;
}

#fbuilder .slots>span+br {
  display: none;
}

.usedSlots .ahb_list {
  border: 1px solid #000000 !important;
  margin: 15px 15px 0 0;
  padding: 7px 10px 5px !important;
  display: inline-block;
  vertical-align: top;
}

.usedSlots>* {
  padding-top: 5px;
}

.usedSlots>*:first-child {
  padding-top: 15px;
}

.usedSlots a {
  text-decoration: unset;
  font-weight: 600;
}


#fbuilder .cancel {
  display: inline-flex;
  padding: 4px 12px 2px;
  font-size: 0;
  position: relative;
  top: -1px;
  color: #000000;
  background: #fff;
  border: 2px solid #b90000;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: normal;
}

#fbuilder .cancel::before {
  content: "Cancel";
  font-size: 12px;
  display: inline-flex;
  transition: unset;
  margin: 0 -6px 0 0;
}

#fbuilder .cancel:hover {
  background: #b90000;
  color: #fff;
  border-color: #b90000;
}

.usedSlots {
  border: 1px solid #000000 !important;
  margin: 15px 0 0 0;
  padding: 0 20px 13px;
}

.usedSlots:empty {
  display: none !important;
}

.ahb_m #fbuilder .ui-datepicker-next,
.ahb_m #fbuilder .ui-datepicker-prev {
  width: 12px !important;
  height: 12px !important;
  margin: 16px 25px !important;
}

#fbuilder .ui-datepicker .ui-datepicker-prev,
#fbuilder .ui-datepicker .ui-datepicker-next {
  width: 50px;
  height: 50px;
}

#fbuilder .ui-datepicker .ui-datepicker-prev {
  background-position: center -20px;
}

#fbuilder .ui-datepicker .ui-datepicker-next {
  background-position: center 10px;
}

.ahb_m #fbuilder .ui-datepicker-calendar .ui-state-active {
  color: #b90000;
  display: block;
  width: 30px;
  height: 30px;
  margin: auto;
  border: 2px solid #b90000;
  line-height: 27px;
  border-radius: 50%;
}

@media (max-width: 991px) {

  #fbuilder .ui-datepicker,
  .ahb_m #fbuilder .ui-datepicker-inline {
    padding-bottom: 20px !important;
  }

  #fbuilder .fieldCalendar.hasDatepicker {
    width: 100%;
    display: block !important;
    margin-bottom: 20px;
    padding: 0;
  }

  #fbuilder .slotsCalendar,
  #fbuilder .usedSlots {
    width: 100% !important;
  }

  #field_1-0 .dfield {
    display: block !important;
  }

  #fbuilder .slots {
    min-height: 140px;
    margin-top: 0;
  }

  #fbuilder .usedSlots {
    padding-inline: 0;
    padding-top: 0;
    overflow: hidden;
  }

  .usedSlots .ahb_list {
    display: block;
    margin-right: 0;
  }
}