/* Imports
----------------------------------------*/
@import "base";
@import "form-elements";
@import "navigations";
@import "mega-menu";
@import "header";
@import "footer";
@import "cards";
@import "multiselect";
@import "newsletter";
@import "slider";
@import "info-popup";
@import "social";
@import "feature-items";
@import "filter-elements";
@import "events";
@import "reviews";
@import "badge";
@import "button";
@import "weatherinfo";
@import "hotelbooking";
@import "attraction-details";
@import "cookie_consent";
@import "custom-colors-components";

body {
  color: $tertiary-color;
  font-family: museo-sans, sans-serif !important;
}

h1,
h2,
h3,
p,
a,
span,
div,
ul,
li,
label {
  font-family: museo-sans, sans-serif !important;
}

.filter-elements .box.filter-red {
  background: #41448e !important;
}

.t3-alignment {
  clear: both;
}

.ce-headline-left {
  clear: both;
}

.events-highlights ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.mobile-view {
  display: none;
}

.accordion .accordion-element.card {
  background: none;

  .card-header {
    background: $tertiary-color;
    position: relative;

    .card-title {
      color: $primary-color;
      font-weight: $font-weight-bold;
      padding-top: 10px;
      padding-bottom: 10px;
      padding-right: 25px;
      position: initial;

      a:hover {
        text-decoration: none;
      }
    }
  }

  .card-body {
    margin-top: 0 !important;
    border: 3px solid $tertiary-color;
  }
}

.hero-main .owl-carousel .slide-item .figure img {
  width: 100%;
  // height: 712px;
  height: auto;
  max-height: calc(100vh - 140px);
  position: static;
  transform: translate(0px, 0px);

  @include media-breakpoint-down(xl) {
    max-height: calc(100vh - 80px);
  }
}

.tx-indexedsearch-title a {
  color: $tertiary-color;
  text-transform: none;
  font-weight: 900;
}

.frame-type-news_newsdetail .news .news-body p {
  font-family: "Gotham", sans-serif;
}

/* Cookies */
#klaro {
  .klaro.we_cookie_consent {
    .cookie-notice,
    .cookie-modal {
      .cn-body,
      .cm-modal.cm-klaro,
      .cm-modal.cm-klaro .cm-footer {
        background: $tertiary-color;
      }
    }
  }
}

/* Attraction / Animal Detail */
.tx-wabs-attractions {
  .filter-elements .box.filter-green {
    background: #004008 !important;

    .figure:before {
      background: transparent
        linear-gradient(180deg, transparent 0%, #004008 100%) !important;
    }
  }

  .filter-elements .box.filter-forestgreen {
    background: #195e2f !important;

    .figure:before {
      background: transparent
        linear-gradient(180deg, transparent 0%, #195e2f 100%) !important;
    }
  }

  .hero-cont p.ce-headline-center {
    font-style: italic;
  }

  .primary-bg {
    background: #02c31926 !important;

    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
      &:before {
        color: #004008;
        box-shadow: inset #004008 0 0 0 3px;
      }
    }

    .owl-carousel .owl-dots button.owl-dot {
      background: #004008;

      &.active {
        background: #004008;
        box-shadow: #004008 0 0 0 3px;
      }
    }
  }

  .animal-details p {
    color: #004008;
  }

  #animal-slider {
    p {
      color: #004008;
      font-weight: $font-weight-normal;
      line-height: $line-height-22;
      padding: 30px;
      text-align: center;
    }

    .owl-dots {
      margin-top: 0;
    }
  }

  .grey-box {
    background: #f0f0f0;
    border-radius: $border-radius-card;
    padding: 45px;
    margin-bottom: 25px;

    p,
    h3 {
      color: $black;
    }

    .iucn-title {
      font-weight: $font-weight-normal;
      font-size: $font-size-16;
    }

    .iucn-status {
      color: #fe5b5b;
      font-weight: $font-weight-bold;
      font-size: $font-size-24;
      text-transform: uppercase;
    }

    .iucn-details {
      color: #686868;
      font-weight: $font-weight-normal;
      font-size: $font-size-14;
      line-height: $line-height-18;

      a {
        color: #fe5b5b;
        font-weight: $font-weight-normal;
      }
    }
  }

  img.rounded {
    aspect-ratio: 1;
  }
}

#hs-eu-cookie-confirmation {
  display: none;
}

.container {
  h1 {
    color: $secondary-color;
    font-weight: 900;
    text-transform: none;
  }
}

#hIj09wYcH {
  &:before {
    display: none;
  }
}

#CDSWIDCOE {
  margin: auto !important;
}

#container-53322 .row {
  --bs-gutter-x: 0 !important;
}

.outer-dark-green .accordion-element.card .card-header {
  background: #195e2f;
  position: relative;
}

.outer-dark-green.accordion .accordion-element.card .card-body {
  margin-top: 0 !important;
  border: 3px solid #195e2f;
}

.hero-main .slide-item .hero-cont .content-header-container .header-button,
.hero-main.attraction-details
  > .figure
  .hero-cont
  .content-header-container
  .header-button {
  text-transform: uppercase !important;
}

.slider-at-homepage .owl-carousel .owl-dots button.owl-dot:hover {
  background-color: #41448e !important;
  opacity: 0.6;
}

.slider-at-homepage .owl-carousel .owl-dots button.owl-dot.active:hover {
  background-color: #41448e !important;
  opacity: 1;
}

@media (max-width: 1400px) {
  .owl-carousel .owl-nav button.owl-next::before,
  .owl-carousel .owl-nav button.owl-prev::before {
    line-height: 4rem;
  }
}

@media (max-width: 991px) {
  .tx-wabs-attractions .grey-box {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 45px 7px;
    margin-bottom: 25px;
  }

  .tx-wabs-attractions .grey-box .iucn-status {
    color: #fe5b5b;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
  }

  .owl-carousel .owl-nav button.owl-next::before,
  .owl-carousel .owl-nav button.owl-prev::before {
    width: 100%;
    height: 100%;
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    font-size: 2.5rem;
    color: #ffffff !important;
    line-height: 4rem;
    text-align: center;
    text-indent: 0;
    background: #41448e !important;
    border: none;
    box-shadow: inset #41448e 0 0 0 3px;
    border-radius: 360px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
  }

  .desktop-view {
    display: none;
  }

  .mobile-view {
    display: block;
  }

  .mobile-view .owl-carousel {
    display: block;
  }
}

@media (max-width: 767px) {
  .owl-carousel .owl-nav button.owl-next::before,
  .owl-carousel .owl-nav button.owl-prev::before {
    font-size: 2rem;
    line-height: 3.4rem;
  }

  .slider-at-homepage .owl-carousel .owl-dots {
    bottom: -10px !important;
  }

  .slider-at-homepage .hero-cont:before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    transform: rotate(180deg);
    height: 50%;
    bottom: 99%;
    left: 0;
    right: 0;
    background-image: linear-gradient(
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0.9) 19%,
      rgba(255, 255, 255, 0.7) 34%,
      rgba(255, 255, 255, 0.5) 47%,
      rgba(255, 255, 255, 0.4) 56.5%,
      rgba(255, 255, 255, 0.3) 65%,
      rgba(255, 255, 255, 0.2) 73%,
      rgba(255, 255, 255, 0.15) 80.2%,
      rgba(255, 255, 255, 0.1) 86.1%,
      rgba(255, 255, 255, 0.05) 91%,
      rgba(255, 255, 255, 0.02) 95.2%,
      rgba(255, 255, 255, 0.01) 98.2%,
      rgba(255, 255, 255, 0)
    );
  }

  .slider-at-homepage .content-header-container {
    bottom: 30px;
    position: relative;
    z-index: 1001;
  }

  .slider-at-homepage .owl-carousel .owl-dots button.owl-dot {
    width: 14px;
    height: 14px;
    background: #41448e;
  }

  .slider-at-homepage .owl-carousel .owl-dots button.owl-dot.active {
    background: #41448e;
    width: 14px;
    height: 14px;
  }

  .frame-type-text {
    ul {
      padding: 0 0 0 0px;
    }
  }
}

@media (max-width: 575px) {
  .slider-at-homepage .hero-cont:before {
    bottom: 139px;
  }

  .tx-wabs-attractions .hero-inner .hero-cont .aside {
    h1 {
      font-size: 2.325rem;
      line-height: 1.1em;
      letter-spacing: 0px;
    }

    p.ce-headline-center {
      font-size: 0.95rem;
    }
  }

  // .desktop-view{
  //   display: none !important;
  // }
  // .mobile-view{
  //   display: block !important;
  // }

  .owl-nav {
    display: none;
  }

  .slider-at-homepage .content-header-container a.header-button {
    width: 100%;
    border-radius: 10px;
    margin-top: 10px !important;
  }

  .slider-at-homepage .content-header-container .header-title {
    width: 100%;
    margin-right: auto;
    border-top-left-radius: 0px !important;
  }

  .slider-at-homepage .content-header-container .header-title h1 {
    font-size: 17px !important;
  }

  .slider-at-homepage .content-header-container .header-subtitle {
    background: #41448e;
    margin-bottom: 0px !important;
    margin-right: auto;
    border-top-right-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }

  .slider-at-homepage .content-header-container a.header-button {
    padding: 14px 20px;
  }

  .copy-rights-content p {
    text-align: center !important;
  }

  .footer-main .copy-rights p {
    float: none;
    padding: 0;
    margin: 0 auto;
  }

  .social-links ul {
    margin: 0 -10px 10px -10px;
  }

  .footer-menu-content {
    padding: 50px 0px 100px !important;
  }

  .footer-span h2 {
    padding: 0;
  }

  .footer-main .copy-rights img.copy-rights-bg {
    top: -50px;
  }

  .hero-main .owl-carousel .slide-item .figure img {
    width: 100%;
    height: auto;
    position: static;
    transform: translate(0px, 0px);
    max-height: 100%;
  }

  // .w--content{
  //   top: 0 !important ;
  // }
}

.awards-wrap div#CDSWIDTC {
  width: 100% !important;
  height: auto;
}

.awards-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  gap: 25px;
}

.social-feeds {
  padding: 0;
}

.current span,
input {
  font-family: museo-sans, sans-serif !important;
}

.copy-rights .copy-rights-content .frame-type-html p {
  width: 48vw;
}

p.text-center {
  font-weight: 500;
}

.footer-menu ul li a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 200;
}

.custom-button a {
  background-color: #ffc107;
  /* Yellow background (default state) */
  color: #3a3b99 !important;
  /* Blue text (default state) */
  font-family: "Arial", sans-serif;
  /* Font similar to the image */
  font-weight: bold;
  /* Bold text */
  text-transform: uppercase;
  /* Uppercase text */
  border: none;
  /* No border */
  border-radius: 50px;
  /* Rounded edges */
  padding: 10px 20px;
  /* Padding for size */
  cursor: pointer;
  /* Pointer cursor on hover */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  /* Subtle shadow for depth */
  transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
  /* Smooth transition */
  margin: 0 auto;
  /* Add margin from both sides */
}

.custom-button a:hover {
  background-color: #3a3b99;
  /* Blue background on hover */
  color: #ffffff !important;
  /* White text on hover */
}

.accordion-wrapper.accordion {
  .accordion-element.card {
    .card-body {
      @include media-breakpoint-down(md) {
        padding: 1rem 1rem;
      }
    }

    .card-header {
      .card-title {
        @include media-breakpoint-down(md) {
          padding-top: 6px;
          padding-bottom: 5px;

          a.accordion-toggle {
            &[aria-expanded="true"] {
              color: #fab700;

              &:hover {
                color: #fab700;
              }
            }

            &:hover {
              color: $white;
            }
          }
        }
      }
    }

    ul {
      @include media-breakpoint-down(md) {
        padding: 0 0 0 0px;

        li {
          font-size: 0.875rem;
          line-height: 1.225rem;
          padding-left: 15px;
          padding-bottom: 12px;

          &::before {
            width: 5px;
            height: 5px;
            top: 7px;
          }
        }
      }
    }

    .container {
      @include media-breakpoint-down(md) {
        --bs-gutter-x: 0px;
      }
    }
  }
}

@include media-breakpoint-down(md) {
  .tx-indexedsearch-browsebox:not(ul) {
    margin-bottom: 30px;
  }

  ul.tx-indexedsearch-browsebox {
    margin-bottom: 20px;
  }

  .tx-indexedsearch-res {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgb(236 236 236);
  }
}

// UAT- internal review changes
// Responsive adjustments
@include media-breakpoint-down(md) {
  .card {
    .content {
      padding: 12px 20px 10px;

      .price-wrap {
        .items-below {
          margin-bottom: 0;
        }
      }
    }
  }

  .owl-carousel {
    .owl-item {
      .item {
        .card {
          &.img-top {
            &.border-rounded {
              padding-bottom: 15px;
            }
          }
        }
      }
    }
  }

  .owl-carousel.ticket-card-slider {
    .owl-item {
      display: flex;
      height: auto;
    }
  }

  .social-links {
    ul {
      margin-bottom: 10px;
    }
  }

  .footer-menu {
    padding: 0 20px;
  }

  #header-type-6 {
    .navbar-nav {
      .park-status-info {
        &::after {
          transform: rotate(90deg);
        }
      }
    }
  }
}

.container-fluid {
  .split-cont {
    &.jarallax {
      .container {
        &.threecol-33-33-33 {
          .row {
            @media screen and (orientation: landscape) {
              @include media-breakpoint-down(md) {
                flex-direction: row-reverse;
              }
            }
          }
        }
      }
    }
  }
}

.container {
  .item {
    .card {
      &.img-top {
        &.border-rounded {
          @include media-breakpoint-down(md) {
            padding-bottom: 15px;
          }
        }
      }
    }
  }
}

.offcanvas-body {
  .navbar-nav {
    .park-status-info {
      &:has(.btn-bx.date.rounded-pill.status-icon) {
        &:after {
          display: none;
        }
      }
      a {
        .btn-bx.date.rounded-pill.status-icon {
          display: contents;
          font-weight: 700 !important;
        }
      }
    }
  }
}
