/*
.home_slider {
	margin-top: 15px;
}
*/
.carousel_image {
  height: 350px !important;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.carousel-indicators {
  display: block !important;
  bottom: 7px;
}
.carousel-indicators li {
  border: none;
  width: 20px !important;
  height: 20px !important;
  background-color: var(--primary) !important;
  opacity: 0.4;
  border-radius: 0;
}
.carousel-indicators .active {
  opacity: 1;
  border: 1px solid #fff;
  margin: 1px;
}
.carousel {
  margin-bottom: 15px;
}
.carousel .carousel-inner {
  height: 350px;
}
/*
.carousel-control .icon-next i {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23139DFF'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.carousel-control .icon-prev i {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23139DFF'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}
*/
.carousel-control .icon-next i,
.carousel-control .icon-prev i {
  color: var(--primary) !important;
}
.carousel-control-next,
.carousel-control-prev {
  width: 10%;
}
.carousel-caption {
  bottom: auto;
}
.carousel-caption h5 {
  font-size: 5rem !important;
  position: relative;
  font-weight: 500;
  line-height: 60px;
}
.carousel-caption p {
  font-size: 20px !important;
  position: relative;
  margin: 0;
}
.carousel-caption h4 {
  font-size: 2rem !important;
  position: relative;
  color: #f41c50;
}
.home_slider .white_text h5 {
  color: #fff !important;
}
.home_slider .black_text h5 {
  color: #000 !important;
}
.home_slider .white_text p {
  color: #fff !important;
}
.home_slider .black_text p {
  color: #000 !important;
}
.home_slider .caption_right,
.home_slider .caption_left,
.home_slider .caption_center {
  width: 50%;
  top: 50%;
  left: 58%;
  right: auto;
  transform: translateY(-50%);
  padding: 0 20px;
}
.home_slider .caption_left {
  right: 63%;
  left: auto;
}
.home_slider .caption_center {
  right: 0;
  left: 0;
  width: 100%;
}
.home_slider .caption_center.summer_savings {
  width: 40%;
  margin: 0 auto;
}
.home_slider .caption_center.summer_savings h5 {
  font-size: 80px !important;
  line-height: 70px;
  text-transform: uppercase;
  font-weight: 600;
}
.home_slider .caption_center.summer_savings p {
  font-size: 25px !important;
  font-weight: 600;
}
.carousel-caption {
  text-shadow: none !important;
}
.carousel .carousel-item img {
  width: auto;
}
.carousel-control {
  text-shadow: none;
}
.home_slider .large_text h5 {
  font-size: 5.5rem;
}
.home_slider .large_text p {
  font-size: 2rem;
}

.home_slider .caption_right h5 {
  animation: right_to_left_header 1.5s ease;
  animation-fill-mode: both;
}
.home_slider .caption_left h5 {
  animation: left_to_right_header 1.5s ease;
  animation-fill-mode: both;
}
.home_slider .caption_right p {
  animation: right_to_left_p 1.5s ease;
  animation-fill-mode: both;
}
.home_slider .caption_left p {
  animation: left_to_right_p 1.5s ease;
  animation-fill-mode: both;
}
.home_slider .caption_right h4 {
  animation: right_to_left_header 1.5s ease;
  animation-fill-mode: both;
}
.home_slider .caption_left h4 {
  animation: left_to_right_header 1.5s ease;
  animation-fill-mode: both;
}

/* Desktop Keyframes Start */
@keyframes right_to_left_header {
  from {
    left: 0px;
  }
  to {
    left: -150px;
  }
}

@keyframes right_to_left_p {
  from {
    left: 50px;
  }
  to {
    left: -150px;
  }
}

@keyframes left_to_right_header {
  from {
    right: 0px;
  }
  to {
    right: -150px;
  }
}

@keyframes left_to_right_p {
  from {
    right: 50px;
  }
  to {
    right: -150px;
  }
}
/* Desktop Keyframes End */

.home_slider .caption_left.patch h5 {
  font-size: 5rem !important;
  font-weight: 600;
}
.home_slider .caption_left.patch p {
  font-size: 20px !important;
  color: #00f9ff !important;
}

.home_slider .training_slide .carousel_image {
  background-position: 0 50%;
}

.caption_right.white_text.training h5 {
  font-size: 4rem !important;
}

@media (max-width: 991px) {
  .carousel {
    padding: 0;
  }
}

@media only screen and (max-width: 768px) {
  .home_slider .caption_left,
  .home_slider .caption_right {
    width: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.4);
    height: 100%;
    margin: 0;
    top: 0;
    padding: 20% 20px;
    transform: none;
  }
  .home_slider .caption_right h5,
  .home_slider .caption_left h5,
  .home_slider .caption_left p,
  .home_slider .caption_right p {
    color: #fff;
  }
  .home_slider .caption_right h5 {
    animation: right_to_left_header_mobile 1.5s ease;
  }
  .home_slider .caption_right p {
    animation: right_to_left_p_mobile 1.5s ease;
  }
  .home_slider .caption_right h4 {
    animation: right_to_left_header_mobile 1.5s ease;
  }
  .home_slider .caption_left h5 {
    animation: left_to_right_header_mobile 1.5s ease;
  }
  .home_slider .caption_left p {
    animation: left_to_right_p_mobile 1.5s ease;
  }
  .home_slider .caption_left h4 {
    animation: left_to_right_header_mobile 1.5s ease;
  }
  .carousel_image {
    height: 406px !important;
  }
  .home_slider .caption_right h5,
  .home_slider .caption_right p {
    color: #fff !important;
  }
  .carousel-indicators {
    bottom: 20px;
  }
  .home_slider .caption_center.summer_savings {
    width: 80%;
  }
  .home_slider .carousel-caption {
    padding: 10% 20% !important;
  }
  .home_slider .carousel-caption p {
    margin: 0 !important;
  }
  .home_slider h5,
  .home_slider .caption_left.patch h5 {
    line-height: 40px;
    font-size: 3rem !important;
  }
  .caption_right.white_text.training h5 {
    font-size: 2.5rem !important;
  }
}

@media only screen and (max-width: 576px) {
  .home_slider .caption_center.summer_savings {
    display: none;
  }
  .home_slider .carousel .carousel-inner {
    height: 406px;
  }

  .home_slider .patch_quick_slide .carousel_image {
    background-position: 50% 0;
  }
  .home_slider .carousel-caption {
    padding: 20% 5% !important;
  }

  .home_slider .patch_quick_slide .carousel-caption,
  .home_slider .training_slide .carousel-caption {
    padding: 70% 5% !important;
  }
  .home_slider .halloween .carousel_image {
    background-position: 50% 21%;
  }
}

/* Mobile Keyframes Start */
@keyframes right_to_left_header_mobile {
  from {
    left: -100px;
  }
  to {
    left: 0px;
  }
}

@keyframes right_to_left_p_mobile {
  from {
    left: -150px;
  }
  to {
    left: 0px;
  }
}

@keyframes left_to_right_header_mobile {
  from {
    right: -100px;
  }
  to {
    right: 0px;
  }
}

@keyframes left_to_right_p_mobile {
  from {
    right: -150px;
  }
  to {
    right: 0px;
  }
}
/* Mobile Keyframes End */
