/*** Override Bootstrap colors */
/* stylelint-disable-next-line scss/no-global-function-names */
footer {
  padding-top: 0;
}

.modal.show.flip-animation .modal-dialog {
  height: 100%;
  margin: 0;
}

.modal.show .modal-content {
  box-shadow: none;
}

#advent-calendar-modal {
  padding-right: 0 !important;
}

.advent {
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 3.75em;
  position: relative;
  overflow: hidden;
}
.advent .scroll-indicator {
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: #303e48;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  opacity: 0;
  display: flex;
}
.advent .scroll-indicator svg {
  stroke-width: 1px;
  margin-right: 8px;
}
.advent .scroll-indicator span {
  background: #303e48;
  color: #fff;
  text-wrap: nowrap;
  border-radius: 20px;
  font-size: 0.75rem;
}

.form-replace {
  display: block;
  height: 64px;
}

#common-footer {
  padding-top: 0;
}

.advent-title-wrapper {
  margin: 48px auto;
}

#advent-title {
  opacity: 0;
  margin: 0 auto 16px;
}

#advent-sub-title {
  opacity: 0;
}

.experience-boxes {
  opacity: 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  width: 1180px;
}
.experience-boxes .advent-box {
  width: 380px;
  height: 304.5px;
  margin-bottom: 15px;
}
.experience-boxes .advent-box:not([class*=balance]) {
  backdrop-filter: blur(5px);
}
.experience-boxes .advent-box.balance-three, .experience-boxes .advent-box.balance-four {
  display: none;
}

.box-grid {
  display: flex;
  justify-content: center;
}

.experience-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.experience-background .media-wrapper img {
  top: 0;
  left: 0;
  transform: none;
  position: fixed;
  height: 130vh;
  opacity: 0;
}

.email-signup {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  opacity: 0;
}
.email-signup .email-signup-inner {
  padding: 64px 8%;
  background: #fff;
  transition: opacity 0.3s ease;
  opacity: 1;
}
.email-signup .email-signup-inner .form-group:has(#advent-hp-mobile-phone-signup) {
  display: none;
}
.email-signup .subscribed-success {
  flex: 0 0 100%;
  color: #038858;
}
.email-signup .footer-email-subscription {
  display: flex;
  flex-wrap: wrap;
  min-width: 100%;
}
.email-signup .footer-email-subscription #advent-email-newsletter-group {
  flex: 1;
  margin-right: 8px;
}
.email-signup .footer-email-subscription #advent-email-newsletter-group #advent-hp-email-signup {
  min-height: 48px;
}
.email-signup .footer-email-subscription #advent-email-newsletter-group .form-control-placeholder {
  line-height: unset;
}
.email-signup .footer-email-subscription .footer-email-checkbox {
  width: 100%;
}
.email-signup .footer-email-subscription .subscribe-email {
  padding: 1px 16px;
  height: 48px;
}
.email-signup .footer-email-subscription .body-alt {
  color: #303e48;
}
.email-signup .footer-email-subscription .body-alt a {
  color: #303e48;
}
.email-signup .footer-email-subscription input[type=checkbox]:not(.bv-checkbox) + label::before {
  background: #fff;
  border: 1px solid #303e48;
}

/* stylelint-disable-next-line selector-class-pattern */
.experience-assets-adventCouponBox {
  max-width: 380px;
  aspect-ratio: 1.25;
}

.grid-wrap {
  margin: 10px auto 0;
  width: 100%;
  padding: 0;
  perspective: 1500px;
}

.grid {
  position: relative;
  transition: all 0.5s cubic-bezier(0, 0, 0.25, 1);
  transform-style: preserve-3d;
  gap: 20px;
  justify-content: flex-start;
}

.view-full .grid {
  transform: translateZ(-1500px);
}
.view-full .email-signup-inner {
  opacity: 0;
}

.vertical .placeholder {
  position: absolute;
  transform-style: preserve-3d;
  transition: all 0.5s ease-out;
}

.placeholder > div {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.placeholder .front {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.placeholder .back {
  background: #fff;
  opacity: 1;
  transform: rotateY(180deg);
}

.view-full .placeholder {
  transition: all 0.5s 0.1s cubic-bezier(0, 0, 0.25, 1);
}

.vertical.view-full .placeholder {
  transform: translateZ(1500px) rotateX(-179.9deg);
}

.break {
  flex-basis: 100%;
}

.calendar-box {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  transform: rotate(0deg);
  box-shadow: 0 20px 40px 0 rgba(48, 62, 72, 0.05);
}
.calendar-box:not([data-is-open=true]):hover {
  transform: rotate(-5deg);
}
.calendar-box:not([data-is-open=true]):hover .calendar-box-cta {
  opacity: 1;
}
@media (hover: hover) {
  .calendar-box[data-is-open=true]:hover {
    transform: rotate(-5deg);
  }
  .calendar-box[data-is-open=true]:hover .calendar-box-cta {
    opacity: 1;
  }
}
.calendar-box:has(.current-day-bg) {
  cursor: pointer;
}
.calendar-box:has(.current-day-bg) .calendar-box-day,
.calendar-box:has(.current-day-bg) .calendar-box-month {
  /* stylelint-disable-next-line custom-property-pattern */
  color: var(--current_day_box_text_color, #fff);
  transition: color 0.3s ease;
}
.calendar-box:has(.current-day-bg) .calendar-box-cta {
  /* stylelint-disable-next-line custom-property-pattern */
  background: var(--current_day_cta_background_color, #fff);
  /* stylelint-disable-next-line custom-property-pattern */
  color: var(--current_day_cta_text_color, inherit);
}
.calendar-box.flipped {
  opacity: 0;
}
.calendar-box .calendar-box-bg,
.calendar-box .calendar-box-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
  object-position: left;
  border-radius: 4px;
}
.calendar-box:hover, .calendar-box:focus-within {
  /* stylelint-disable-next-line custom-property-pattern */
  background-color: var(--box_background_color_hover, inherit);
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}
.calendar-box:hover .calendar-box-day,
.calendar-box:hover .calendar-box-month, .calendar-box:focus-within .calendar-box-day,
.calendar-box:focus-within .calendar-box-month {
  /* stylelint-disable-next-line custom-property-pattern */
  color: var(--box_text_color_hover, inherit);
  transition: color 0.3s ease;
}
.calendar-box:hover:has(.current-day-bg), .calendar-box:focus-within:has(.current-day-bg) {
  /* stylelint-disable-next-line custom-property-pattern */
  background: var(--current_day_box_background_color_hover, inherit);
}
.calendar-box:hover:has(.current-day-bg) .calendar-box-day,
.calendar-box:hover:has(.current-day-bg) .calendar-box-month, .calendar-box:focus-within:has(.current-day-bg) .calendar-box-day,
.calendar-box:focus-within:has(.current-day-bg) .calendar-box-month {
  /* stylelint-disable-next-line custom-property-pattern */
  color: var(--current_day_box_text_color_hover, #fff);
}
.calendar-box .calendar-box-bg {
  /* stylelint-disable-next-line custom-property-pattern */
  background: var(--box_background_color, #e0f3fe);
  opacity: 0.95;
  border-radius: 4px;
}
.calendar-box .calendar-box-bg.current-day-bg {
  /* stylelint-disable-next-line custom-property-pattern */
  background: var(--current_day_box_background_color, #2f8a9d);
}
.calendar-box .calendar-box-date {
  display: flex;
  flex-direction: column;
  text-align: center;
}
.calendar-box .calendar-box-day {
  /* stylelint-disable-next-line custom-property-pattern */
  color: var(--box_text_color, inherit);
  font-family: custom-heading-font, andrade-pro-fallback, sans-serif;
  font-style: oblique;
  font-size: 64px;
  line-height: 64px;
  letter-spacing: -2px;
  z-index: 1;
}
.calendar-box .calendar-box-month {
  /* stylelint-disable-next-line custom-property-pattern */
  color: var(--box_text_color, inherit);
  font-size: 16px;
  line-height: 19px;
  z-index: 1;
}
.calendar-box .calendar-box-cta {
  /* stylelint-disable-next-line custom-property-pattern */
  background-color: var(--cta_background_color, #fff);
  /* stylelint-disable-next-line custom-property-pattern */
  color: var(--cta_text_color, inherit);
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 16px;
  border: none;
  border-radius: 100px;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.2px;
  opacity: 0;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.calendar-box .calendar-box-cta:focus {
  opacity: 1 !important;
}

.adventcalendar-dialog {
  height: auto;
  /* stylelint-disable-next-line selector-class-pattern */
}
.adventcalendar-dialog .experience-assets-imageAndCaption .media-wrapper {
  padding-bottom: 100%;
}
.adventcalendar-dialog .cta > * {
  width: 100%;
}
.adventcalendar-dialog:has(.calendar-box-modal-image) {
  max-width: 1200px;
}
.adventcalendar-dialog:has(.calendar-box-modal-image) .modal-content .modal-body {
  flex-shrink: 0;
  flex-basis: 50%;
  width: 50%;
}
.adventcalendar-dialog .modal-content {
  display: flex;
  flex-direction: row;
  height: auto;
}
.adventcalendar-dialog .modal-content .modal-header {
  padding: 16px 16px 0;
  position: absolute;
  right: 0;
  z-index: 1;
}
.adventcalendar-dialog .modal-content .modal-header .modal-header-close {
  display: flex;
  justify-content: center;
  align-items: center;
}
.adventcalendar-dialog .modal-content .modal-header .close {
  padding: 0;
  margin: 0;
}
.adventcalendar-dialog .modal-content .modal-header .close-text {
  font-weight: 400;
  font-family: custom-body-font, roboto-fallback, sans-serif;
  font-size: 1rem;
  line-height: 20px;
  letter-spacing: -0.5px;
}
.adventcalendar-dialog .modal-content .icon-close {
  background: transparent;
  border: none;
  font-size: 1rem;
  padding: 17px;
}
.adventcalendar-dialog .modal-content .calendar-box-modal-image {
  height: auto;
  object-fit: cover;
  background-color: #f1f1f1;
  aspect-ratio: 1;
  flex-basis: 100%;
  width: 50%;
}
.adventcalendar-dialog .modal-content .modal-body {
  padding: 84px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: unset;
  flex-shrink: unset;
  width: 100%;
}
.adventcalendar-dialog .calendar-box-modal-title,
.adventcalendar-dialog .calendar-box-modal-subtitle {
  text-align: center;
  padding: 0 20px;
}
.adventcalendar-dialog .calendar-box-modal-title {
  margin-bottom: 16px;
  font-size: 30px;
  line-height: 32px;
  letter-spacing: -1px;
}
.adventcalendar-dialog .calendar-box-modal-subtitle {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: -0.5px;
}
.adventcalendar-dialog .calendar-box-modal-coupon-container {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}
.adventcalendar-dialog .calendar-box-modal-coupon-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  background-color: #e3f0f8;
  padding: 17px 24px;
  border-radius: 8px;
}
.adventcalendar-dialog .calendar-box-modal-coupon-display .calendar-box-modal-coupon {
  overflow-wrap: anywhere;
}
@media (max-width: 846.98px) {
  .adventcalendar-dialog .calendar-box-modal-coupon-display {
    padding: 17px 20px;
  }
}
.adventcalendar-dialog .calendar-box-modal-copy-coupon {
  padding: 0;
  border: none;
  border-radius: 0;
  color: #303e48;
  background-color: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.adventcalendar-dialog .calendar-box-modal-copy-coupon:hover {
  font-weight: 600;
}
.adventcalendar-dialog .dynamic-tooltip {
  position: absolute;
  padding: 8px 16px;
  background-color: #fff;
  color: black;
  border-radius: 4px;
  white-space: normal;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  word-wrap: break-word;
  max-width: 250px;
  right: -40px;
  bottom: 40px;
  text-align: center;
  box-shadow: 10px 10px 10px 10px rgba(0, 0, 0, 0.1);
}
.adventcalendar-dialog .dynamic-tooltip.fade-out {
  opacity: 0;
}

@media (max-width: 767px) {
  .adventcalendar-dialog .modal-content {
    height: 100%;
  }
  .adventcalendar-dialog .modal-content .modal-header {
    position: relative;
    padding: 0;
  }
  .adventcalendar-dialog .modal-content .modal-header .modal-header-close {
    justify-content: flex-end;
  }
}
@media (max-width: 991.98px) {
  .calendar-box .calendar-box-cta {
    padding: 4px 12px;
    font-size: 10px;
    line-height: 12px;
  }
  .adventcalendar-dialog:has(.calendar-box-modal-image) {
    max-width: 500px;
  }
  .adventcalendar-dialog:has(.calendar-box-modal-image) .modal-content .modal-body {
    flex-shrink: 0;
    flex-basis: 50%;
    width: 100%;
    top: 0;
  }
  .adventcalendar-dialog .modal-content {
    flex-direction: column;
  }
  .adventcalendar-dialog .modal-content .calendar-box-modal-image {
    flex-basis: 50%;
    width: 100%;
  }
  .adventcalendar-dialog .modal-content .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis: unset;
    width: 100%;
    margin-top: auto;
    margin-bottom: auto;
  }
  .adventcalendar-dialog .modal-content .modal-body .calendar-box-modal-coupon-container {
    width: 100%;
  }
  .adventcalendar-dialog .calendar-box-modal-title,
  .adventcalendar-dialog .calendar-box-modal-subtitle {
    padding: 0 10px;
  }
}
@media (max-width: 846.98px) {
  .adventcalendar-dialog .calendar-box-modal-coupon-display {
    padding: 17px 20px;
  }
}
@media (max-width: 767px) {
  #advent-calendar-modal {
    background-color: #fff;
  }
  #advent-calendar-modal .modal-content {
    box-shadow: none;
  }
  .calendar-box .calendar-box-day {
    font-size: 32px;
    line-height: 32px;
  }
  .adventcalendar-dialog {
    height: 100%;
    margin: 0;
  }
  .adventcalendar-dialog:has(.calendar-box-modal-image) {
    height: inherit;
    max-width: unset;
  }
  .email-signup .footer-email-subscription {
    flex-direction: column;
  }
}
@media (min-width: 544px) {
  .experience-boxes .advent-box.balance-two {
    display: none;
  }
}
@media (min-width: 847px) {
  .email-signup {
    margin-top: 50px;
  }
  .email-signup .email-signup-inner {
    max-width: 50%;
  }
}
@media (max-width: 767px) {
  .experience-boxes {
    width: 327px;
    grid-template-columns: repeat(2, auto);
  }
  .experience-boxes .advent-box {
    width: 159px;
    height: 128px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .experience-boxes {
    width: 592px;
  }
  .experience-boxes .advent-box {
    width: 192px;
    height: 153.6px;
  }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  .experience-boxes {
    width: 760px;
  }
  .experience-boxes .advent-box {
    width: 248px;
    height: 198.5px;
  }
}
@media (min-width: 366px) and (max-width: 1439px) {
  #advent-title .text-area {
    font-size: 56px;
    line-height: 64px;
    letter-spacing: -2px;
  }
  #advent-sub-title .text-area {
    font-size: 16px;
    line-height: 24px;
  }
}
@media (min-width: 768px) and (max-width: 1439px) {
  .experience-boxes .advent-box.balance-three {
    display: block;
  }
}
@media (min-width: 1440px) {
  .advent-title-wrapper {
    margin: 88px auto;
  }
  .desktop-4-columns .experience-boxes {
    grid-template-columns: repeat(4, auto);
  }
  .desktop-4-columns .experience-boxes .advent-box {
    width: 280px;
    height: 304.5px;
  }
  .desktop-4-columns .experience-boxes .advent-box.balance-four {
    display: block;
  }
  .desktop-4-columns .experience-boxes .advent-box.balance-three {
    display: none;
  }
  .experience-boxes .advent-box.balance-three {
    display: block;
  }
  .email-signup .email-signup-inner {
    max-width: 40%;
  }
}
@media (min-width: 2200px) {
  .email-signup .email-signup-inner {
    max-width: 33%;
  }
}
