//all hero section css

.headline {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 0 15px 0 0;
  display: inline-block;
  transition: all 0.3s ease-out;
  font-size: 14px;
  i {
    height: 30px;
    width: 30px;
    line-height: 30px;
    text-align: center;
    background: lighten($accent, 12%);
    -webkit-animation: ripple-white 1s linear infinite;
    animation: ripple-white 1s linear infinite;
    -webkit-transition: 0.5s;
  }
}

@-webkit-keyframes ripple-white {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 10px rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 10px rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1);
  }
  100% {
    -webkit-box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 30px rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 30px rgba(255, 255, 255, 0);
  }
}

@keyframes ripple-white {
  0% {
    -webkit-box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 10px rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1),
      0 0 0 10px rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1);
  }
  100% {
    -webkit-box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 30px rgba(255, 255, 255, 0);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.1),
      0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 30px rgba(255, 255, 255, 0);
  }
}

.hero-slider-content {
  h1 {
    font-weight: $font-weight-bold;
  }
}

.single-counter-item span.h4 {
  margin-bottom: 5px;
  display: block;
  font-weight: $font-weight-semibold;
}
.single-counter-item h6 {
  font-size: 13px;
  font-weight: $font-weight-medium;
}

/*background bg slider*/
.hero-equal-height {
  position: relative;
  min-height: 722px;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%;
}
@media (min-width: 320px) and (max-width: 768px) {
  .hero-equal-height {
    min-height: auto;
  }
}
.hero-slider-section {
  position: relative;
  overflow: hidden;
}

.custom-dot.owl-theme .owl-dots {
  position: absolute;
  bottom: 15px;
}

.custom-dot.dot-bottom-center.owl-theme .owl-dots {
  width: 100%;
}
.custom-dot.dot-bottom-center.owl-theme .owl-dots button {
  margin: 0 4px;
}
.client-testimonial-1.dot-bottom-center .owl-dots,
.client-testimonial-2.dot-bottom-center .owl-dots {
  bottom: -25px !important;
}
.custom-dot.owl-theme .owl-dots button {
  border-radius: 100%;
}
.owl-theme .owl-dots button:focus {
  outline: none;
}

.custom-dot.owl-theme .owl-dots button.owl-dot.active,
.custom-dot.owl-theme .owl-dots button.owl-dot span {
  background: $gray-300;
}
.custom-dot.owl-theme .owl-dots button.owl-dot span:hover {
  background: $tertiary;
}
.custom-dot.owl-theme .owl-dots button.owl-dot.active span {
  background: $tertiary;
}
.custom-dot.owl-theme .owl-dots .owl-dot span {
  margin: 2px;
}

//offer price
.big-price-wrap {
  span.regular-price {
    position: absolute;
    left: 45%;
    transform: translateX(-50%);
    bottom: -20%;
    font-size: 14px;
    color: lighten($body-color, 65%) !important;
  }
  @media (min-width: 990px) and (max-width: 1280px) {
    span.regular-price {
      bottom: -10%;
    }
  }
  @media (min-width: 320px) and (max-width: 989px) {
    span.regular-price {
      bottom: -5%;
    }
  }
}
.price-block {
  .offer-price {
    font-weight: $font-weight-bold;
    font-size: 20rem;
    line-height: 15rem;
    font-family: $headings-font-family;
  }

  .price-currency {
    font-weight: $font-weight-bold;
    font-size: 4rem;
    line-height: 3rem;
    font-family: $headings-font-family;
  }
  .cent-value {
    font-weight: $font-weight-bold;
    font-size: 5rem;
    line-height: 4rem;
    font-family: $headings-font-family;
  }
  .right-block {
    align-items: flex-end;
  }
  .per-value {
    font-size: 2rem;
  }
  @media (min-width: 990px) and (max-width: 1280px) {
    .offer-price {
      font-size: 14rem;
    }
    .price-currency {
      font-size: 3rem;
      line-height: 6rem;
    }
    .cent-value {
      font-size: 3rem;
      line-height: inherit;
    }
    .per-value {
      line-height: 4rem;
    }
  }
  @media (min-width: 320px) and (max-width: 989px) {
    .offer-price {
      font-size: 10rem;
    }
    .price-currency {
      font-size: 2rem;
      line-height: 7rem;
    }
    .cent-value {
      font-size: 2rem;
      line-height: 7rem;
    }
    .per-value {
      line-height: 7rem;
    }
  }
}

.custom-overlay {
  &:before {
    position: absolute;
    content: "";
    background: $primary;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0.9;
  }
}

.big-text {
  position: relative;
  span {
    position: absolute;
    font-size: 16px;
    top: -65px;
  }
  font-size: 120px;
  line-height: 130px;
  font-weight: $font-weight-bold;
  @media (min-width: 320px) and (max-width: 767px) {
    span {
      top: -35px;
    }
    font-size: 60px;
    line-height: 80px;
  }
}
//offer box

.single-offer-box {
  background: rgba($dark, 0.25);
  border: 2px solid rgba($white, 0.25);
  margin: 20px 0;
  border-radius: 1rem;
  .offer-header {
    width: 100%;
    display: block;
    background: rgba($white, 0.9);
    border-radius: 0.9rem 0.9rem 0 0;
    font-size: 14px;
  }
  .offer-content {
    position: relative;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    padding: 5px 5px 35px;
    span {
      font-size: 14px;
      color: rgba($white, 0.65);
    }
    .starting-price {
      small {
        font-weight: $font-weight-regular;
        font-size: 55%;
        margin-right: 2px;
      }
    }
  }
  .save-now-btn {
    position: absolute;
    bottom: -16px;
    right: auto;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }
  @media (min-width: 320px) and (max-width: 575px) {
    .save-now-btn {
      font-size: 10px;
      i {
        display: none;
      }
    }
  }
}

//single offer page
.single-offer-wrap {
  width: 310px;
  height: 310px;
  background: $gray-100;
  border-radius: 100%;
  text-align: center;
  position: relative;
  @media (min-width: 320px) and (max-width: 575px) {
    width: 280px;
    height: 280px;
    margin: auto;
  }
  .offer-content-wrap {
    background: $tertiary;
    border: 1px dashed $white;
    padding: 15%;
    border-radius: 100%;
    width: 90%;
    height: 90%;
  }
  .offer-header {
    border-radius: 30px;
    position: relative;
    background: rgba(darken($headings-color, 100%), 0.55);
    .triangle {
      display: block;
      height: 0;
      width: 0;
      border: 10px solid transparent;
      border-top-color: rgba(darken($headings-color, 100%), 0.55);
      position: absolute;
      bottom: -20px;
      left: calc(50% - 10px);
    }
  }
  .offer-content {
    .starting-price {
      font-size: 65px;
      small {
        font-size: 35%;
      }
    }
  }
}

//new offer text
.hero-content-wrap {
  position: relative;
  display: block;
}
.offer-text {
  position: relative;
  font-size: 100px;
  line-height: 110px;
  font-weight: $font-weight-bold;
  span {
    position: absolute;
    font-size: 16px;
    top: -55px;
    left: 10px;
  }
  @media (min-width: 320px) and (max-width: 767px) {
    span {
      top: -35px;
    }
    font-size: 60px;
    line-height: 80px;
  }
}

.limited-time-text {
  background: $danger;
  border-radius: 35px 0 35px 0;
  position: absolute;
}
.hero-overlay-dark:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba($dark, 0.75);
}
//background video
.background-video-overly {
  background-image: linear-gradient(
    to right,
    rgba($dark, 0.64),
    rgba($dark, 0.65),
    rgba($dark, 0.72),
    rgba($dark, 0.62),
    rgba($dark, 0.6)
  );
}
.fit-cover {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}
.z--1 {
  z-index: -1;
}

//gradient overlay color
.custom-indicators {
  bottom: 0;
  z-index: 2;
  li {
    min-width: 200px;
    transition: $transition-base;
    & button {
      background: rgba($white, 0.12);
      color: $white;
      width: 100%;
      padding: 10px;
      justify-content: center;
      border-radius: 4px 4px 0 0;
      transition: $transition-base;
      &:focus {
        outline: none;
      }
    }
    &.active button {
      background: $white;
      color: $dark;
    }
  }
}

.gradient-overly-right-light,
.gradient-overly-right-color,
.gradient-overly-left,
.gradient-overly-bottom,
.gradient-overly-top {
  z-index: 1;
  width: 100%;
  min-width: 100%;
  position: relative;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
}
.gradient-overly-right-light:before,
.gradient-overly-right-color:before,
.gradient-overly-left:before,
.gradient-overly-bottom:before,
.gradient-overly-top:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.gradient-overly-right-light:before {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(0, $primary),
    to(transparent)
  );
  background: linear-gradient(
    to right,
    $gray-200 30%,
    rgba(26, 44, 121, 0.18) 100%
  );
}
.gradient-overly-right-color:before {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(0, $dark),
    to(transparent)
  );
  background: linear-gradient(
    to right,
    $dark 30%,
    rgba(26, 44, 121, 0.18) 100%
  );
}
.gradient-overly-left:before {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(0, $dark),
    to(transparent)
  );
  background: linear-gradient(
    to left,
    $dark 30%,
    rgba(26, 44, 121, 0.18) 100%
  );
}
.gradient-overly-bottom:before {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(0, $primary),
    to(transparent)
  );
  background: linear-gradient(
    to bottom,
    $primary 45%,
    rgba(26, 44, 121, 0.18) 100%
  );
}
.gradient-overly-top:before {
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    color-stop(0, $primary),
    to(transparent)
  );
  background: linear-gradient(
    to top,
    $primary 35%,
    rgba(26, 44, 121, 0.18) 100%
  );
}

.owl-carousel .owl-item {
  .single-order-wrap {
    border-radius: 1rem;
    background: rgba($black, 0.25);
    box-shadow: 0 5px 15px 0 rgba(110, 110, 110, 0.1%);
    img {
      width: 160px;
      margin: auto;
    }
  }
}

@media (min-width: 1300px) and (max-width: 1920px) {
  .img-custom-width {
    min-width: 720px;
  }
}
