@use '../../../../src/scss/utilities.scss';
.carouselWithTextBullets {
  &__title {
    color: #004976;
  }
  position: relative;
  background-color: var(--b-g);
  .masterHeadSlier {
    &__bg {
      position: absolute;
      top: 0;
      bottom: 0;
      right: 0;
      left: 0;
      z-index: -1;
    }
    &__btn {
      @extend %VFSans-font;
      font-size: 25px;
      font-weight: 600;
      color: var(--a-blanco);
      display: block;
      width: 100%;
      border: 1px solid var(--a-blanco);
      img {
        width: 30px;
      }
      &:hover {
        background-color: var(--b-cereza);
        border: none;
      }
      @media (max-width: 991.98px) {
        font-size: 20px;
      }

    }

    .swiper-slide {
      position: relative;
      min-height: 536px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
      &::after {
        z-index: -1;
        display: block;
        content: '';
        position: absolute;
        top: 0%;
        left: 0%;
        width: 100%;
        height: 100%;
        background: rgb(13, 30, 47);
        background: linear-gradient(0deg, rgba(13, 30, 47, 0.75), rgba(13, 30, 47, 0) 160%);
      }
      &::before{
        z-index: 1;
        content: attr(data-counter);
        position: absolute;
        top: 30%;
        left: 0;
        width: 20%;
        height: 100%;
        color: var(--a-blanco);
        font-size: 400px;
        font-weight: 900;
        @extend %VFSans-font;
        opacity: 0.3;
        @media (max-width: 991.98px) {
          display: none;
        }
      }
      .title {
        font-weight: normal;
        line-height: 1.17;
        color: var(--a-blanco);
        @extend %VFSans-font;
        font-size: 38px;
        line-height: normal;
        font-weight: 600;
        @media (max-width: 768px) {
          font-size: 25px !important;
        }
      }
      .description {
        &,
        strong {
          @extend %VFSans-font;
        }
        p {
          margin-top: 0px;
          margin-bottom: 0px;
        }

        @for $i from 1 through 6 {
          h#{$i} {
            margin-top: 0px;
            margin-bottom: 0px;
          }
        }

        font-size: 30px;
        font-weight: normal;
        color: var(--a-blanco);
        strong {
          font-weight: 600;
          font-size: 35px;
        }
        p:first-child,
        p:not(:first-child) {
          @extend %animateHidden;
        }

        @for $i from 1 through 6 {
          h#{$i}:first-child,
          h#{$i}:not(:first-child) {
            @extend %animateHidden;
          }
        }
      }
    }
    &__img {
      @extend %img-absolute;
      z-index: -1;
    }
  }
  .swiper-button{
    &-next{
        left: calc(90% + 35px);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cg stroke='%23FFF' fill='none' fill-rule='evenodd'%3E%3Ccircle cx='25' cy='25' r='24.5'/%3E%3Cpath stroke-linecap='square' d='M11.905 25H37.03'/%3E%3Cpath d='M25.584 13.095 37.49 25 25.584 36.905'/%3E%3C/g%3E%3C/svg%3E");
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        width: 30px;
        height: 30px;
        &::after{
            display: none; 
        }
        @media (max-width: 768px) {
          left: calc(85% + 35px);
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Cg stroke='%23991E66' fill='none' fill-rule='evenodd'%3E%3Ccircle cx='21' cy='21' r='20.5'/%3E%3Cpath stroke-linecap='square' d='M10 21h21.106'/%3E%3Cpath d='m21.49 11 10 10-10 10'/%3E%3C/g%3E%3C/svg%3E");
        }
    }
    &-prev{
        left: 90%;
        width: 30px;
        height: 30px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' viewBox='0 0 50 50'%3E%3Cg stroke='%23FFF' fill='none' fill-rule='evenodd'%3E%3Ccircle cx='25' cy='25' r='24.5'/%3E%3Cpath stroke-linecap='square' d='M37.489 25H12.363'/%3E%3Cpath d='M23.81 13.095 11.905 25 23.81 36.905'/%3E%3C/g%3E%3C/svg%3E");
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        &::after{
           display: none;
        }
        @media (max-width: 768px) {
          left: 85%;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='42' viewBox='0 0 42 42'%3E%3Cg stroke='%23991E66' fill='none' fill-rule='evenodd'%3E%3Ccircle cx='21' cy='21' r='20.5'/%3E%3Cpath stroke-linecap='square' d='M31.49 21H10.386'/%3E%3Cpath d='M20 11 10 21l10 10'/%3E%3C/g%3E%3C/svg%3E");
        }
    }
  }
  .swiper-button-next, .swiper-button-prev{
    width: 30px;
    height: 30px;
    top: 70%;
    @media (max-width: 768px) {
      top: calc(100% + 42px);
    }
    
  }
  .swiper-pagination {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    bottom: -50px;
    .swiper-pagination-bullet {
      color:#27251f;
      background-color: transparent;
      border: 1px solid #27251f;
      height: 30px;
      width: 30px;
      font-size: 1rem;
      opacity: 1;
      display: flex;
    justify-content: center;
    align-items: center;
      &-active {
        border: 1px solid #5c068c;
        background-color: #5c068c;
        color: white;
      }
    }
  }
  .paginationSlider {
    left: 0%;
    bottom: 0%;
    z-index: 1;
    background: var(--pale-grey);
    border-bottom: 5px solid var(--cerulean);
    &__content {
      position: relative;
      &::before {
        position: absolute;
        content: '';
        top: 1%;
        left: 0%;
        width: 100%;
        height: 0.5px;
        background-color: rgba($color: #ffffff, $alpha: 0.41);
      }
    }
  }
  .masterHeadThumbs {
    position: relative;
    background-color: transparent;

    .swiper-slide {
      min-height: 100px;
      font-family: 'Open Sans';
      font-size: 16px;
      font-weight: 600;
      line-height: 1.31;
      letter-spacing: normal;
      font-weight: normal;
      color: #27251f;
      &,
      .number {
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .number {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        border: solid 0.6px var(--a-blanco);
        flex-direction: column;
        font-size: 12px;
        font-weight: normal;
        border: solid 1px #27251f;
      }
      .title {
        cursor: pointer;
      }
      @media (max-width: 991.98px) {
        & {
          flex-direction: column;
          padding-top: 1.2rem;
          padding-bottom: 0.5rem;
        }
        .title {
          text-align: center;
        }
      }
    }
    .swiper-slide-thumb-active {
      position: relative;
      .title {
        color: #5c068c;
      }
      .number {
        border: 0px;
        font-weight: 600;
        background: #5c068c;
        border: solid 1px #5c068c;
        color: var(--a-blanco);
      }
    }
  }
  .masterHeadSlier_container {
    position: absolute;
    bottom: 10%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}
