/* Import default styles
----------------------------------------*/
@import "../../../../wabs_sitepackage_park/Resources/Private/Scss/fonts";
@import "../../../../wabs_sitepackage_park/Resources/Private/Scss/variables";
@import "fonts";
@import "variables";
@import "../../../../wabs_sitepackage_park/Resources/Private/Scss/park-styles";

/* 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 "attraction-details";
@import "hotelbooking";
@import "_custom-colors-components";

.news .news-body p {
  font-weight: 400;
  font-family: "Gotham", sans-serif;
}

li.text-center {
  font-family: "Gotham", sans-serif;
}

.form-text {
  color: #000000;
}

.form-label {
  margin-bottom: 10px;
}

.actions nav.form-navigation .submit .btn {
  border-radius: 0;
}

.feature-items .container {
  @include media-breakpoint-down(md) {
    margin-top: 0;
  }
}

.content-main {
  @include media-breakpoint-down(md) {
    padding-top: 0;
  }
}

/* FAQ Accordion */
.accordion .accordion-element.card {
  background: none;

  .card-header {
    background: $quaternary-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 $quaternary-color;
  }
}

/* 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;

        p {
          color: $black;

          a {
            color: $black;
          }
        }

        .cm-header h1 {
          color: $black;
        }
      }
    }
  }
}

header h1 {
  color: $secondary-color;
  font-weight: 700;
}

.container.twocol-50-50 .row.col2-grid.frame-space-before- .col-sm-12.col-md-6.col-lg-6:first-child {
  margin-bottom: 0px;
}

.events-cont .events-highlights ul {
  display: flex;
  flex-wrap: wrap;
}

.events-cont .events-highlights ul li {
  color: #000000;
  flex: 0 0 auto;
  width: calc(50% - 17px);
  font-size: 0.875rem;
}

section.frame-bg-blue {
  background: #009cde;
  padding: 40px 0px;

  >.container {
    padding-bottom: 0px;
  }

  header h2 {
    color: #ffffff;
  }

  .image-slider {
    .owl-carousel {
      .owl-dots {
        button.owl-dot {
          background: #ffffff;

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

      .owl-nav {

        .owl-prev,
        .owl-next {

          &::before,
          &::before {
            box-shadow: inset #353535 0 0 0 2px !important;
            // background: url(../../Images/Gruppe_119-yellow.svg) no-repeat center center !important;
            background-color: transparent;
          }
        }
      }
    }
  }
}

.image-wall {
  margin-top: 20px;

  .col.col-6 {
    .figure {
      padding-bottom: 20px;

      span.image-title {
        display: block;
        margin-top: 10px;
        max-width: 200px;
        font-size: 1.05rem;
        line-height: 1.3rem;
        font-weight: 600;
      }
    }
  }
}

ul.list-menu-nav {
  display: flex;
  align-items: center;
  justify-content: center;

  @include media-breakpoint-down(xl) {
    padding-left: 0px;
  }

  span.list-menu-arrow {
    background: url("/fileadmin/user_upload/isla_magica/background_pattern/Gruppe_119-white.svg") no-repeat center center;
    background-size: contain;
    width: 20px;
    height: 33px;
    margin-left: 20px;
    position: relative;
    bottom: 5px;

    @include media-breakpoint-down(xl) {
      display: none;
    }
  }

  >li {
    >a {
      @include media-breakpoint-down(xl) {
        display: none;
      }
    }

    &:before {
      display: none;
    }
  }

  li {
    display: flex;

    @include media-breakpoint-down(xl) {
      justify-content: center;
      padding-left: 0px;
      width: 100%;
    }

    &:first-child {
      &:before {
        display: none;
      }
    }

    &:before {
      width: 4px;
      height: 4px;
      background: #ffffff;
      top: 9px;
    }

    >ul {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      padding-left: 0px;
      justify-content: center;

      @include media-breakpoint-down(xl) {
        flex-direction: column;
        width: 100%;
        gap: 0px;
      }

      li {
        padding-bottom: 0px;

        @include media-breakpoint-down(xl) {
          &:first-child {
            padding-top: 20px;
          }
        }

        a {
          font-weight: 500;

          &:hover {
            color: #fff;
          }

          @include media-breakpoint-down(xl) {
            width: 100%;
            position: relative;
            text-align: center;
            padding-bottom: 20px;
            margin-bottom: 20px;

            &::after {
              content: "";
              background: linear-gradient(to right,
                  rgba(255, 255, 255, 0) 0%,
                  rgba(255, 255, 255, 1) 50%,
                  rgba(255, 255, 255, 0) 100%);
              width: 100%;
              height: 1px;
              position: absolute;
              bottom: 0px;
              left: 0px;
            }
          }
        }

        @include media-breakpoint-down(xl) {
          padding-left: 0px;

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

figure.table {
  width: 100% !important;

  table {
    font: 0.9em $font-family-roboto;
    width: 100%;

    thead tr {
      th {
        font-size: 0.8em;
        color: #fff;
      }
    }

    tbody tr {
      td {
        font-size: 1em;
        vertical-align: baseline;
      }
    }
  }
}

table {
  tr:nth-child(odd) {
    background-color: transparent;
  }
}

.table {
  overflow-y: auto;
}

iframe {
  max-width: 100%;
  padding: 0px 20px;
  max-height: calc(100vh - 70px);
}

@media screen and (max-width: 420px) {
  .row {
    .col-6 {
      width: 100%;
    }
  }
}

.bloque-img-der {
  @include media-breakpoint-down(md) {
    padding-top: 40px;
  }

  .row.col2-grid {
    --bs-gutter-x: 1.9rem;

    @include media-breakpoint-down(md) {
      flex-direction: column-reverse;
    }
  }

  .py-4,
  .py-lg-4 {
    padding: 0px !important;
  }

  .col-sm-12.col-md-6.col-lg-6 {
    &:last-child {
      position: absolute;
      right: 0;
      top: 0;
      height: 100%;
      padding: 0;

      @include media-breakpoint-down(md) {
        position: static;
        padding: 0px 15px;
      }

      * {
        height: 100%;
        float: none;
        position: static;

        @include media-breakpoint-down(md) {
          height: auto;
        }
      }

      img.image-embed-item {
        object-fit: cover;
        width: 100%;
      }
    }
  }

  .frame-type-text {
    h1 {
      padding-bottom: 15px;
      line-height: 1;
    }

    p {
      padding-bottom: 1em;
    }
  }
}

.bloque-img-izq {
  @include media-breakpoint-down(md) {
    padding-top: 40px;

    .ce-image.ce-left.ce-above {
      margin: 0px 20px;
    }
  }

  .py-4,
  .py-lg-4 {
    padding: 0px !important;
  }

  .row.col2-grid {
    justify-content: flex-end;
    --bs-gutter-x: 1.9rem;
  }

  .col-sm-12.col-md-6.col-lg-6 {
    &:first-child {
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      padding: 0;

      @include media-breakpoint-down(md) {
        position: static;
        padding: 0px 15px;
      }

      * {
        height: 100%;
        float: none;
        position: static;

        @include media-breakpoint-down(md) {
          width: 100%;
        }
      }

      img.image-embed-item {
        object-fit: cover;
        width: 100%;
      }
    }
  }

  .frame-type-text {
    h1 {
      padding-bottom: 15px;
      line-height: 1;
    }

    p {
      padding-bottom: 1em;
    }
  }
}

.mapplic-marker.thumb {
  width: 40px;
  height: 48px;
}

.section-bg-image .row:not(.parallax-window) {
  padding: 0px 0px;
}

.article.article-prensa {
  width: 50%;
  float: left;
  padding-left: 15px;
  padding-right: 15px;
  display: flex;
  flex-wrap: wrap;
  padding-bottom: 50px !important;

  .article-image {
    flex: 0 0 auto;
    width: 30%;

    img {
      width: 100%;
    }
  }

  .article-content {
    flex: 0 0 auto;
    width: 70%;
    padding-left: 20px;

    .t3-alignment {
      text-align: left !important;
    }

    .desc-text {
      p {
        padding-bottom: 10px;
      }

      a.more {
        color: #000;
        margin-bottom: 10px;
        display: block;
      }
    }
  }

  .teaser-text {
    a {
      color: #000;
    }
  }

  .footer {
    display: none;
  }

  &+ul.f3-widget-paginator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;

    li {
      padding: 0px;
      width: 30px;
      height: 30px;
      border-radius: 15px;
      border: 1px solid #851f23;
      background: #851f23;
      color: #fff;
      display: inline-block;
      margin: 0px 3px 0px 3px;
      text-align: center;
      padding: 5px;

      a:hover {
        color: $tertiary-color;
      }

      &::before {
        width: 0px;
        height: 0px;
      }

      &.next {
        font-family: "Font Awesome 6 Free";

        &::before {
          content: "\f061";
          left: 7px;
          top: 5px;
          font-style: normal;
          font-weight: 900;
          text-decoration: inherit;
        }

        a {
          font-size: 0px;
          line-height: 0px;
          width: 30px;
          height: 30px;
          border-radius: 15px;
          position: absolute;
          left: 0;
          top: 0;
        }
      }

      &.previous {
        font-family: "Font Awesome 6 Free";

        &::before {
          content: "\f060";
          left: 7px;
          top: 5px;
          font-style: normal;
          font-weight: 900;
          text-decoration: inherit;
        }

        a {
          font-size: 0px;
          line-height: 0px;
          width: 30px;
          height: 30px;
          border-radius: 15px;
          position: absolute;
          left: 0;
          top: 0;
        }
      }

      &.current {
        background: #fff;
        color: #851f23;
      }
    }
  }
}

.image-card {
  >.row {
    >.col-sm-12 {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px 0px;
      margin: 0px -20px;

      >.frame-type-text {
        flex: 0 0 auto;
        width: 100%;
      }

      >.frame-type-image {
        flex: 0 0 auto;
        width: 16.666%;
        padding: 0px 20px;
      }
    }
  }
}

.frame-class-image-card {
  .row {
    >.col-sm-12 {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 20px 0px;
      margin: 0px -20px;
      justify-content: center;

      @include media-breakpoint-up(xl) {
        margin: 0px auto;
        justify-content: center;
        max-width: 80%;
      }

      .frame-type-text {
        flex: 0 0 auto;
        width: 100%;

        h1.text-center {
          padding-bottom: 0px;
          margin-bottom: 0px;
        }
      }

      .frame-type-image {
        flex: 0 0 auto;
        width: auto;
        padding: 0px 20px;

        img {
          height: 110px;
          width: auto;

          @include media-breakpoint-down(md) {
            height: 70px;
          }
        }
      }
    }
  }
}

.feature-items .row>div {
  padding-bottom: 0px;
}

#languageLightbox .row .ff-round.ff-md:focus-visible {
  outline: none;
}

#languageLightbox .lightbox {
  overflow: visible !important;
}

.know-card,
.desc-card {
  text-align: initial;
}

.contentbox-fixed-inner.contentbox-fixed-left {
  position: relative;

  &>img.contentbox-fixed-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .contentbox-fixed-image-content {
    position: relative;
    z-index: 1;
  }
}

.t3-alignment.frame-layout-1 {
  position: relative;

  >a {
    width: 146px;
    height: 146px;
    min-width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: -73px;
    left: 50%;
    margin-left: -73px;
    background: #851f23;
    text-align: center;
    padding: 23px 12px 0px 12px;
    color: #fff;
    font-size: 1em;
    line-height: 1.2em;
    border: 2px solid #fff;
    z-index: 10;
    -webkit-border-radius: 73px;
    -moz-border-radius: 73px;
    border-radius: 73px;
    -webkit-transition: background-color 400ms linear;
    -ms-transition: background-color 400ms linear;
    transition: background-color 400ms linear;

    input.image-button.right {
      height: 45px;
      width: auto;
      margin: 8px auto;
    }
  }
}

tr:nth-child(even) {
  background: transparent;
}

.content .btn-out {
  transform: translate(0%, 30%);
}

.flags-gb {
  background-position: center 3.3325%;
}

.flags-pt {
  background-position: center 2.6674%;
}

.flags-es {
  background-position: left 2.8931%;
}

.frame-type-news_pi1 .news-list-view .article {
  background: #fff;
  box-shadow: 0px 0px 11px 0px #cdcaca;
  padding: 30px 20px;
  margin-bottom: 60px;

  &:last-child {
    padding-bottom: 30px;
    margin-bottom: 60px;
  }

  a.active {
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 10px;
    display: inline-block;
    border: 1px solid #851f23;
    color: #851f23;
    border-radius: 30px;
    font: 0.9em Roboto;
    margin-bottom: 10px;
  }

  .header h3 {
    text-align: center;
    font-size: 1.8em;
    color: #851f23;

    @include media-breakpoint-down(lg) {
      font-size: 1.5em;
    }
  }

  .crd-date {
    text-align: center;
  }

  .media-image {
    margin-bottom: 30px;
    text-align: center;
    margin-top: 30px;
  }

  .footer {
    margin-top: 30px;

    ul.news-tags {
      display: flex;
      gap: 20px;

      @include media-breakpoint-down(md) {
        gap: 10px;
        flex-direction: column;
      }

      li {
        padding-left: 0px;
        padding-bottom: 0px;

        a {
          color: #851f23;
          text-decoration: underline;
          font-weight: 500;
        }

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

.frame-type-news_categorylist,
.frame-type-news_taglist {
  background: #851f23;
  padding: 20px 20px 30px 20px;
  margin-bottom: 40px;

  header {
    h3 {
      color: #ffb718;
      font-size: 1.6em;
      padding-bottom: 10px;

      @include media-breakpoint-down(lg) {
        font-size: 1.4em;
      }
    }
  }

  .news ul.nav.nav-list {
    margin-bottom: 0px !important;

    li.nav-item {
      padding-left: 0px;
      padding-bottom: 0px;

      &::before {
        display: none;
      }

      a {
        color: #fff;
        border-top: 1px dotted #fff;
        display: block;
        width: 100%;
        font-weight: 500;
        padding: 12px 0px;
      }

      &:last-child {
        a {
          border-bottom: 1px dotted #fff;
        }
      }
    }
  }

  .news ul.news-tags {
    margin-bottom: 0px !important;

    li {
      padding-left: 0px;
      padding-bottom: 0px;
      color: #fff;
      border-top: 1px dotted #fff;
      padding: 12px 0px;

      &::before {
        display: none;
      }

      a {
        color: #fff;
        width: 100%;
        font-weight: 500;
      }

      &:last-child {
        border-bottom: 1px dotted #fff;
      }
    }
  }
}

@media screen and (max-width: 1199.98px) {
  .feature-items {
    margin-top: -150px;
  }

  .events-cont .calendar-box ul li span.date-wrap {
    font-size: 14px;
  }

  .events-cont .calendar-box ul li {
    margin: 0 0.88% 20px 0.88%;
  }

  .events-cont .calendar-box ul li a {
    width: 30px;
    height: 30px;
  }

  .events-cont .calendar-box .dates ul li a {
    border-width: 5px !important;
  }

  // .hero-main {
  //   .owl-carousel.image-slider {
  //     .slide-item.image-item {
  //       width: 100%;
  //       height: auto;
  //       padding-top: 70px;
  //       min-height: auto;

  //       .figure {
  //         position: static;
  //         width: 100%;
  //         height: auto;

  //         img {
  //           width: 100%;
  //           height: auto;
  //           position: static;
  //           top: 0%;
  //           left: 0%;
  //           transform: translate(0%, 0%);
  //         }
  //       }

  //       .hero-cont {
  //         width: 100%;
  //         float: none;
  //         padding: 0px 0 0 0;
  //         position: absolute;
  //         top: 60%;
  //         left: 50%;
  //         transform: translate(-50%, -50%);

  //         .sub-title {
  //           line-height: 1rem;

  //           h2 {
  //             line-height: 1;
  //           }
  //         }
  //       }
  //     }
  //   }
  // }
}

@media screen and (max-width: 1099px) {
  .feature-items .row {
    padding: 0;
    margin: 0 0px -30px 0px;
  }
}

@media screen and (max-width: 991px) {
  .section-bg-image .row:not(.parallax-window) {
    padding: 40px 0px;
  }

  .article.article-prensa {
    width: 100%;
  }

  .frame-space-after-extra-large {
    padding-bottom: 3em;
  }

  .frame-space-before-extra-large {
    padding-top: 3em;
  }

  .feature-items .row>div {
    padding-bottom: 0px;
    padding: 0 10px 20px 10px;
  }

  .frame-div-nowrap .row .col-12 {
    width: 33.33%;
    padding: 0px 0px;
  }

  .container .row>.col-sm-12:not(.col-md-6)>.frame-type-text {
    >figure.table {
      overflow: unset;

      table {
        tbody {
          tr {
            display: flex;
            flex-wrap: wrap;
            width: 100%;

            td {
              font-size: 0.8em;
            }

            &:first-child {
              td {
                flex: 0 0 auto;
                width: 33.33% !important;

                &:first-child {
                  display: none;
                }
              }
            }

            &:not(:first-child) {
              td {
                flex: 0 0 auto;
                width: 33.33%;
                display: unset;

                &:first-child {
                  width: 100%;
                }
              }
            }
          }
        }
      }
    }
  }

  .fourcol-25-25-25-25 .row .col-6 .kpi-box.iconbox {
    margin-bottom: 20px;
    height: auto;
  }
}

@media screen and (max-width: 767px) {
  .item .card.content-on-image-bottom .figure.gradient-overlay+.content span.subtitle {

    p,
    h2 {
      text-shadow: 0px 2px 5px #000;
    }
  }

  .footer-main .row .col-sm-12.col-md-4.col-lg-4.mb-3 {
    top: -50px;

    .card .figure {
      text-align: right;

      img {
        max-width: 25%;
      }
    }
  }

  .owl-carousel .owl-dots button.owl-dot {
    width: 13px;
    height: 13px;
    margin: 5px;
  }

  // .hero-main {
  //   .video-item {
  //     height: auto !important;
  //     min-height: auto !important;
  //     margin-top: 70px;

  //     .figure {
  //       left: 0;
  //       top: 0;
  //       transform: translate(0%, 0%);
  //       height: 100%;
  //       padding-bottom: initial;
  //       width: 100%;
  //       position: static;
  //       float: none;
  //       overflow: visible;
  //     }

  //     .hero-cont {
  //       display: none;
  //     }
  //   }
  // }
  .feature-items .row>div {
    padding: 0px 10px 20px 10px;
  }

  ul.list-menu-nav li>ul li {
    a {
      padding-bottom: 15px;
      margin-bottom: 15px;
    }

    &:first-child {
      padding-top: 0px;
    }

    &:last-child a {
      margin-bottom: 0;
    }
  }

  .container-fluid .row .col-sm-12 .frame-type-header {
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
  }
}

@media (max-width: 575.98px) {
  .image-wall .col.col-6 {
    width: 50%;
  }
}

@media (max-width: 420px) {
  .article.article-prensa .article-image {
    flex: 0 0 auto;
    width: 100%;
  }

  .article.article-prensa .article-content {
    width: 100%;
    padding-left: 0px;
  }
}

h1,
h2,
h3,
h4,
h5 {
  text-transform: none;
}

.accordion-wrapper h4 a:hover {
  color: #ffb718;
}

@media (max-width: 772px) {
  .tab-wrapper.frame-layout-1 {
    margin-top: -19px;
  }
}

.badge-wrapper .badge-label span.badge-text {
  font-size: 15px;
  line-height: 16px;
  position: static;
}

.calendar-event-details {
  padding-bottom: 20px;
}

// UAT internal review changes

@include media-breakpoint-down(md) {
  .section {
    &.section-bg-image {
      .container-fluid {
        .row {
          &.jarallax {
            .container {
              &.twocol-66-33 {
                .row {
                  .col-sm-12 {
                    &.col-md-12 {
                      &.col-lg-4 {
                        &.my-4 {
                          &.mb-lg-0 {
                            &.break-early {
                              padding-inline: 36px;
                            }
                          }
                        }
                      }
                    }
                  }
                }

                .image-slider {
                  .owl-carousel {
                    &.image-slider {
                      &.owl-loaded {
                        &.owl-drag {
                          padding: 0 24px;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  .footer-main {
    .section-bg-image {
      .container-fluid {
        .row:not(.parallax-window) {
          padding: 40px 12px;
        }
      }
    }

    .pre-footer {
      .footer-contact {
        text-align: center;
      }
    }
  }

  .container,
  .container-fluid {
    .t3-alignment.frame-layout-1>a {
      width: 100px;
      height: 100px;
      margin-left: 0;
      left: 35%;
      bottom: -50px;
      font-size: 0.7em;

      input.image-button.right {
        height: 28px;
      }
    }
  }

  .container {
    .container {
      &.twocol-50-50 {
        .card {
          &.cardtype-price {
            .content {
              .btn-out {
                transform: translate(0%, 50%);
              }
            }
          }
        }
      }
    }
  }
}

// UAT internal review changes : table

@include media-breakpoint-down(md) {
  .section {
    .container.table-responsive {
      .col-sm-12:not(.col-md-6)>.frame-type-text {
        >figure.table {
          table {
            tbody {
              tr {
                flex-wrap: nowrap !important;

                &:first-child {
                  td {
                    &:first-child {
                      display: block;
                      width: 100% !important;
                    }

                    width: 50% !important;
                  }
                }

                &:not(:first-child) {
                  td:not(:first-child) {
                    width: 50% !important;
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  .section {
    &.section-bg-color {
      .container {
        .container.resp-calender-table {
          .row {
            .col-sm-12:not(.col-md-6) {
              >.frame {
                &.frame-default {
                  &.frame-type-text {
                    >figure.table {
                      table.contenttable {
                        tbody {
                          tr {
                            flex-wrap: nowrap;
                            width: 100%;

                            &:first-child {
                              td {
                                &:first-child {
                                  display: block;
                                  width: 50% !important;
                                }

                                width: 50% !important;
                              }
                            }

                            &:not(:first-child) {
                              td {
                                &:first-child {
                                  width: 50%;
                                }

                                width: 50%;
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

.news-slider-2-container {
  .card {
    &.news-card {
      border: none;
    }
  }
}

.ridetile-container,
.tickettile-container,
.news-slider-2-container {

  .owl-carousel .owl-nav button.owl-prev.owl-prev:before,
  .owl-carousel .owl-nav button.owl-next.owl-prev:before {
    content: "";
    padding-right: 3px;
    transform: rotate(0deg);
    width: 100% !important;
    height: 100% !important;
    color: $tertiary-color;
    background: $quaternary-color;

    &:hover {
      color: $secondary-color;
      background: $tertiary-color;
    }
  }

  .owl-carousel .owl-nav button.owl-prev.owl-next:before,
  .owl-carousel .owl-nav button.owl-next.owl-next:before {
    content: "";
    padding-left: 3px;
    width: 100% !important;
    height: 100% !important;
    color: $tertiary-color;
    background: $quaternary-color;

    &:hover {
      color: $secondary-color;
      background: $tertiary-color;
    }
  }
}

.owl-carousel {
  &:has(.promotion-container) {

    .owl-nav button.owl-prev.owl-prev:before,
    .owl-nav button.owl-next.owl-prev:before {
      content: "";
      padding-right: 3px;
      transform: rotate(0deg);
      width: 100% !important;
      height: 100% !important;
      color: $tertiary-color;
      background: $quaternary-color;

      &:hover {
        color: $secondary-color;
        background: $tertiary-color;
      }
    }

    .owl-nav button.owl-prev.owl-next:before,
    .owl-nav button.owl-next.owl-next:before {
      content: "";
      padding-left: 3px;
      width: 100% !important;
      height: 100% !important;
      color: $tertiary-color;
      background: $quaternary-color;

      &:hover {
        color: $secondary-color;
        background: $tertiary-color;
      }
    }
  }
}

.news {
  .news-list-view {
    &:has(.news-slider-2-container) {
      display: block !important;
    }
  }
}

.container {
  .card {
    &.cardtype-price {
      .content {
        .price-wrap {
          ul.price-items {
            &.items-below {
              a.card.cardtype-price {
                justify-content: center;

                li.price-style1 {
                  width: 100%;
                }
              }
            }
          }
        }
      }
    }
  }
}

// 20729:#311228 5 columns visualization bug
.section {
  .container {
    .row {
      .container {
        &.fivecol-20-20-20-20-20 {
          .row.row-cols-xl-5 {
            >* {
              @media screen and (min-width: 992px) {
                width: calc(100% / 2);
              }

              @media screen and (min-width: 1200px) {
                width: calc(100% / 3);
              }

              @media screen and (min-width: 1500px) {
                width: calc(100% / 5);
              }
            }
          }
        }
      }
    }
  }
}

//20928:#311253 Change of logo image

#header-type-6 {
  nav.navbar {
    .container {
      a.navbar-brand {
        .brand-nav {
          transform: scale(1.3);
          padding: 0px 25px 0px 30px;

          @include media-breakpoint-down(md) {
            transform: scale(1);
            padding: 0px 0px 0px 10px;
          }
        }
      }
    }
  }
}

// teachersday-registration-es form styling
.teachersday-registration-es {
  font-family: $font-family-primary;
  color: $black;
  margin: 0 auto;
  max-width: 800px; // Gives some boundary if needed, based on typical form layout
  padding: 20px;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  .form-title,
  .status-message {
    color: $secondary-color;
    font-weight: 700;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 1.25rem;
  }

  &>.row {
    margin-bottom: 25px;

    @include media-breakpoint-down(md) {
      margin-bottom: 15px;
    }
  }

  // Label styling
  label {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 8px;
    display: block;
    color: $black;

    // Required asterisks
    span.required,
    &.required {
      color: $secondary-color;
    }
  }

  // Common input styling
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select,
  textarea {
    width: 100%;
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 25px; // Pill shape
    background-color: $white;
    color: $black;
    margin-bottom: 15px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
    box-shadow: none;

    &:focus {
      border-color: $secondary-color;
    }
  }

  // Set fixed height only for single-line inputs
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="date"],
  select {
    height: 40px;
    padding: 0 18px; // Reset top/bottom padding to let height & line-height center the text
  }

  // Custom Select styling
  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: $white;
    // 1st background: The white chevron arrow perfectly centered in the grey block
    // 2nd background: The grey rectangular block on the right, which will be natively clipped by the select's border-radius
    background-image:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M6,9 l6,6 l6,-6'/%3E%3C/svg%3E"),
      linear-gradient(to right, gray, gray);
    background-repeat: no-repeat, no-repeat;
    background-position: right 15px center, right top !important;
    background-size: 16px 16px, 45px 100% !important;
    padding-right: 50px;
    border: 1px solid #ccc;
    border-radius: 25px;
    overflow: hidden; // Ensures the grey background perfectly clips to the rounded corners
  }

  // Radio / Checkboxes generic fallback and specific wraps
  input[type="radio"],
  input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 2px 10px 0 0;
    font: inherit;
    color: currentColor;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    display: inline-block;
    vertical-align: top;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;

    &::before {
      content: "";
      width: 10px;
      height: 10px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(0);
      transition: 120ms transform ease-in-out;
      box-shadow: inset 1em 1em $secondary-color;
    }

    &:checked::before {
      transform: translate(-50%, -50%) scale(1);
    }
  }

  input[type="radio"] {
    border-radius: 50%;

    &::before {
      border-radius: 50%;
    }
  }

  input[type="checkbox"] {
    border-radius: 3px;

    &::before {
      clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    }
  }

  .form-check,
  .radio,
  .checkbox,
  .powermail_radio,
  .powermail_checkbox {
    margin-bottom: 10px;
    display: block; // Strictly block to prevent flex stacking issues and overlapping

    label {
      font-weight: 400;
      margin-bottom: 0;
      cursor: pointer;
      line-height: 1.4;
      display: inline-block;
    }
  }

  .radio-group,
  .checkbox-group {
    margin-bottom: 20px;

    >label {
      font-weight: 700;
      margin-bottom: 10px;
      display: block;
    }
  }

  // Error and Status Messages styling
  .error-message,
  .invalid-feedback,
  &.has-error .help-block,
  p.error,
  .status-message.error,
  .important-text {
    color: $red;
    font-size: 13px;
    font-weight: 700;
    margin-top: 5px; // Removed negative margin to prevent overlapping
    margin-bottom: 15px;
    display: block;
    width: 100%;
  }

  // Invalid Inputs styling (red border)
  input.error,
  input.is-invalid,
  textarea.error,
  select.error,
  .has-error input,
  .has-error select,
  .has-error textarea {
    border-color: $red;
  }

  // Description / Info Text
  p,
  .help-text,
  .info-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: $black;
  }

  .small-text {
    font-size: 11px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 15px;
  }

  // Submit button "Enviar"
  button[type="submit"],
  input[type="submit"],
  .submit-btn {
    background-color: $secondary-color;
    color: $white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 5px auto 0;
    text-align: center;

    &:hover {
      background-color: darken($secondary-color, 8%);
    }
  }

  .actions nav.form-navigation .submit .btn {
    border-radius: 25px;
  }

  .error,
  .static-text-warning {
    color: #ff0000;
  }


  .static-text-warning {
    font-weight: 700;
  }

  fieldset {
    margin-top: 25px;
  }

  fieldset legend {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
  }

  .actions {
    border-top: 1px solid #ccc;
  }

  fieldset>.form-group {
    margin-bottom: 20px;
  }

  .actions {
    .btn-group {
      display: block;
    }
  }

}