.grid-booking-box-1 {
  padding-top: 21px;
}

.grid-booking-box-1 .owl-stage {
  margin-left: auto;
  margin-right: auto;
}

.custom_slider_nav .owl-prev {
  margin-left: 15px;
}

.custom_slider_nav .owl-next {
  margin-right: 15px;
}

#booking-owl-reservation {
  max-height: 100%;
  overflow-y: auto;
}

.grid-booking-3box {
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  display: -ms-grid;
  display: grid;
  gap: 16px;
  -ms-grid-columns: 66% 16px 33%;
  grid-template-columns: 66% 33%;
  -ms-grid-rows: 370px 16px auto;
  grid-template-rows: 370px auto;
  position: relative;
  padding: 0 !important;
}

.grid-booking-3box > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}

.grid-booking-3box > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}

.grid-booking-3box > *:nth-child(3) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}

.grid-booking-3box > *:nth-child(4) {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
}

.grid-booking-box {
  background-color: #fff;
  border-radius: 16px;
}

.grid-booking-box-1 {
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 1;
  grid-row: 1;
  max-height: 360px;
  min-height: 360px;
  padding: 21px 72px;
  position: relative;
  /* align-content: center; */
}

.grid-booking-box-1 .time {
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.grid-booking-box-1 .time.active {
  background-color: #66c1bf;
  color: #fff;
}

.grid-booking-box-1 .owl-next,
.grid-booking-box-1 .owl-prev {
  background: none;
  border: none;
  position: absolute;
}

.grid-booking-box-1 .owl-next.owl-prev,
.grid-booking-box-1 .owl-prev.owl-prev {
  left: 21px;
  top: 28px;
}

.grid-booking-box-1 .owl-next.owl-next,
.grid-booking-box-1 .owl-prev.owl-next {
  right: 28px;
  top: 21px;
}

.grid-booking-box-2 {
  -ms-grid-row-align: start;
  align-self: start;
  -ms-grid-column: 1;
  grid-column: 1;
  -ms-grid-row: 2;
  grid-row: 2;
  height: 371px;
}

.grid-booking-box-3 {
  -ms-grid-row-align: stretch;
  align-self: stretch;
  background-color: transparent;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 16px;
  -ms-grid-column: 2;
  grid-column: 2;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-row: 1 / span 2;
  height: 100%;
  -webkit-box-pack: stretch;
  -ms-flex-pack: stretch;
  justify-content: stretch;
}

.grid-booking-box-3 .clinic-box {
  background-color: #fff;
  border-radius: 16px;
  padding: 0;
}

.grid-booking-box-3 .clinic-box .clinic-header {
  border-bottom: 1px solid #d9d9d9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
  padding: 15px 27px;
}

.grid-booking-box-3 .clinic-box .clinic-slots {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 13px;
  padding: 27px;
}

.grid-booking-box .time {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: rgba(211, 229, 241, 0.5);
  border-radius: 3px;
  color: #295782;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  line-height: normal;
  margin-bottom: 8px;
  padding: 10px;
}

.grid-booking-box .day {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-bottom: 13px;
}

.grid-booking-box .day .w-date,
.grid-booking-box .day .w-day {
  color: #565658;
  font-family: Inter, sans-serif;
  text-align: center;
}

.grid-booking-box .day .w-day {
  font-size: 16px;
  font-weight: 700;
}

.grid-booking-box .day .w-date {
  font-size: 14px;
  font-weight: 500;
}

.grid-booking-box .reservation_yes {
  display: none !important;
}

.grid-booking-box #google-booking-map {
  border-radius: 16px;
  height: 100%;
  overflow: hidden;
}

.grid-booking-box .time-header {
  background: #66c1bf;
  border-radius: 16px;
  padding: 19px 25px;
}

.grid-booking-box .time-header .h3,
.grid-booking-box .time-header h3 {
  color: #fff;
  font-family: Jost, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
}

.grid-booking-box .time-header span {
  font-weight: 700;
}

.grid-booking-box .loader {
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top-color: #66c1bf;
  height: 120px;
  width: 120px;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

.grid-booking-box-1 {
  padding: 0;
}

.grid-booking-box .owl-carousel {
  padding: 0 75px;
}
.grid-booking-box .owl-carousel .owl-item {
  padding: 21px 0;
}

.grid-booking-box-1 .custom_slider_nav .owl-prev {
  /* margin-left: -10px; */
  z-index: 999;
  margin-left: -10px;
}

.grid-booking-box-1 .custom_slider_nav .owl-next {
  margin-right: -10px;
  z-index: 999;
}

#body .booking-section .grid-booking-box-3 .time-header h3 {
  color: #fff;
  font-weight: 400;
  font-size: 22px;
  font-size: 20px;
  letter-spacing: -1px;
  margin-bottom: 0 !important;
}

#body .booking-section .grid-booking-box-3 .clinic-info h4 {
  color: #565658;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
}

#body .booking-section .grid-booking-box-3 .clinic-info p {
  color: #565658;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
}

.grid-booking-box-3 .go-maps {
  border: 1px solid transparent;
  border-radius: 50%;
  aspect-ratio: 1;
  width: 35px;
  height: 35px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: auto;
  background: #29578229;
  display: flex;
  -webkit-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

.grid-booking-box-3 .go-maps:hover {
  background: #2957824d;
}

.grid-booking-box-3 .go-maps svg {
  /* margin-top: -3px; */
  margin: auto;
}

.grid-booking-box-3 .clinic-header > svg {
  width: 24px;
}

.grid-booking-box-3 .single-slot {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}

.grid-booking-box-3 .single-slot .slot-btn {
  border: none;
  -webkit-box-flex: 50%;
  -ms-flex: 50%;
  flex: 50%;
  margin-bottom: 0;
}

.grid-booking-box-3 .single-slot .prenota-btn {
  -webkit-box-flex: 50%;
  -ms-flex: 50%;
  flex: 50%;
  background: -o-linear-gradient(180.61deg, #66c1bf 1.22%, #295782 100%);
  background: linear-gradient(269.39deg, #66c1bf 1.22%, #295782 100%);
  color: #fff;
  border: 0px solid transparent;
  border-radius: 3px;
  font-weight: 700;
}

.grid-booking-box-1 .owl-carousel {
  scrollbar-width: thin;
  scrollbar-color: #565658 #fff;
}

.grid-booking-box-1 .owl-carousel::-webkit-scrollbar-thumb,
.grid-booking-box-1 .owl-carousel::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.error.active {
  padding: 20px 30px;
  background: #fff;
  margin: 10px 0;
  max-width: 66%;
  width: 100%;
  background: rgba(246, 200, 199, 0.53);
}

.error.active p {
  /* color: #dc3545;
  margin-bottom: 0 !important;
  font-size: 17px !important;
  font-weight: 600 !important; */

  color: #ff0500;
  font-family: "Inter", sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 25px !important;
  margin-bottom: 0 !important;
}
/*
::-webkit-scrollbar-track {
  border-radius: 10px;
} */

.booking-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: white;
  border-radius: 16px;
}

.grid-booking-box.grid-booking-box-1 div.time:hover {
  background: #c3d0dc;
}

.owl-prev,
.owl-next {
  -webkit-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}

.owl-prev svg circle,
.owl-next svg circle {
  -webkit-transition: fill-opacity 300ms ease;
  -o-transition: fill-opacity 300ms ease;
  transition: fill-opacity 300ms ease;
}

.owl-prev svg path,
.owl-next svg path {
  -webkit-transition: fill 300ms ease;
  -o-transition: fill 300ms ease;
  transition: fill 300ms ease;
}

.owl-prev:not(.disabled) svg:hover circle,
.owl-next:not(.disabled) svg:hover circle {
  fill-opacity: 1;
}

.owl-prev:not(.disabled) svg:hover path,
.owl-next:not(.disabled) svg:hover path {
  fill: #fff;
}

.owl-prev.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.grid-booking-box.grid-booking-box-1 .owl-prev.owl-prev {
  top: 21px;
}

.owl-next.disabled svg circle {
  fill-opacity: 1;
}

.owl-next.disabled svg path {
  display: none;
}

.owl-next.disabled:after {
  content: "";
  color: #fff;
  position: absolute;
  height: 14px;
  top: 50%;
  right: 50%;
  width: 14px;
  -webkit-transform: translate(50%, -50%);
  -ms-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
  background: url("../static/img/icon_plus.svg");
  background-size: contain;
}

.owl-next.cta.cta-loading {
  -webkit-filter: none;
  filter: none;
  opacity: 1;
  padding: 0 4px;
}

.owl-next.cta:not(.cta-inline):not(.cta-btn-grandient):hover {
  background: transparent;
}

.owl-next.cta:not(.cta-inline):not(.cta-btn-grandient):focus {
  background: transparent;
}

.owl-next.cta.cta-loading svg circle {
  fill-opacity: 1;
}

.owl-next.cta.cta-loading svg path {
  display: none;
}

.owl-next.cta {
  max-height: 36px;
  max-width: 42px;
  padding: 0 4px;
}

.owl-next.cta:not(.cta-inline):not(.cta-header)::before {
  background: none;
}

.owl-next.cta.cta-loading .lds-ripple {
  position: absolute;
  width: 1px;
  height: 1px;
  top: 2px;
  left: 6px;
}

@media screen and (max-width: 767px) {
  .grid-booking-3box {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    grid-template-areas:
      "a a"
      "b b"
      "c c";
  }

  .grid-booking-box-1 {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    grid-area: a;
  }

  .grid-booking-box-2 {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    grid-area: c;
  }

  .grid-booking-box-3 {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    grid-area: b;
    padding-bottom: 10px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    flex-direction: row;
    overflow-x: scroll;
    border-radius:0 !important;
  }

  .booking-section .row.times .row {
    -webkit-box-pack: center;

    -ms-flex-pack: center;

    justify-content: center;
  }

  .grid-booking-box-3 .time-header {
    display: none;
  }

  .grid-booking-box-3 .clinic-box {
    width: 300px;
    min-width: 300px;
    position: relative;
  }

  .grid-booking-box-3 .clinic-box .clinic-info h4 {
    padding-right: 30px;
  }

  .grid-booking-box-3 .clinic-box .go-maps {
    position: absolute;
    right: 15px;
  }

  .grid-booking-box-3 .clinic-header > svg {
    width: 33px;
    height: 30px;
    min-width: 33px;
    min-height: 30px;
  }

  .grid-booking-box-3 .single-slot .slot-btn {
    -webkit-box-flex: 25%;
    -ms-flex: 25%;
    flex: 25%;
  }

  .grid-booking-box-3 .single-slot .prenota-btn {
    -webkit-box-flex: 75%;
    -ms-flex: 75%;
    flex: 75%;
  }
}

@media screen and (max-width: 767px) {
  .grid-booking-box-1 {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
  }

  .grid-booking-box-2 {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
  }

  .grid-booking-box-3 {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
  }
}

.bookedby-field {
  display: none;
}

.bookedby-field.active {
  display: block;
}

.booking-section {
  display: none;
}

.booking-section.active {
  display: flex;
}

.booking-section.section-5.active {
  display: flex !important;
}

.no-slots-message {
  border-radius: 10px;
  border: 1px solid #e9f2f8;
  width: fit-content;
  margin: auto;
  padding: 42px 76px;
  margin-top: 14%;
}

.no-slots-message p {
  color: #565658;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.no-slots-message button {
  display: flex;
  border-radius: 3px;
  border: 1px solid #ccd5e3;
  padding: 12px 67px;
  background-color: transparent;
}

.section-3.done .times {
  display: none !important;
}

.no-slots-message.disabled {
  display: none !important;
}


.booking-date-container.disabled,
.section-2 .reservation_no.disabled,
.section-2 .reservation_yes.disabled{
  display: none !important;
}

.booking-date{
  min-width: 50px;
}

#booking-date{
  min-height: 50px;
}