/**
* CSS Styles
*/

/**
Stats Slider 
*/

.stats-slider-section-testimonial {
  margin-bottom: 2rem;
  width: 100%;
  position: relative;
}

.stats-slider-swiper-testimonial {
  width: 100%;
  background-color: #e4e4e4;
  padding: 2rem 0;
}

.swiper-card-testimonial {
    padding: 0px 30px;
}

.stats-slider-card-testimonial,
.stats-slider-card-testimonial__upper-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stats-slider-card-testimonial__upper-container {
  border-right: 1px solid gray;
  border-left: 1px solid gray;
  width: 100%;
}

.stats-slider-card-testimonial__stat {
  font-size: 2.75rem;
}

.stats-headline {
  font-family: Mercury Display;
}

.stats-slider-swiper-testimonial [class^="swiper-button-"]::after {
  content: "";
}
.stats-slider-section {
  margin-bottom: 2rem;
  width: 100%;
  position: relative;
}

.stats-slider-swiper {
  width: 100%;
  background-color: #e4e4e4;
  padding: 2rem 0;
}

.swiper-card {
    padding: 0px 50px;
	border-left: 3px solid lightgrey;
}

.student-westx-profiles{
	padding: 0px 30px;
}

.stats-slider-card,
.stats-slider-card__upper-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stats-slider-card__upper-container {
  border-right: 1px solid gray;
  border-left: 1px solid gray;
  width: 100%;
}

.stats-slider-card__stat {
  font-size: 2.75rem;
}

.stats-headline {
  font-family: Mercury Display;
}

.stats-slider-swiper [class^="swiper-button-"]::after {
  content: "";
}

/* Rotates svg to face opposite direction of the "next" svg */
.stats-slider-prev svg {
  transform: rotate(180deg);
}

.stats-slider-next svg,
.stats-slider-prev svg {
  height: 75px;
  width: 75px;
}

.stats-slider-prev button,
.stats-slider-next button {
  background: none;
  border: none;
}

.stats-slider-next {
  right: 0;
  top: 0;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 34%,
    rgba(228, 228, 228, 1) 100%
  );
  width: 400px;
  height: calc(100% + 4rem);
}

.stats-slider-prev {
  left: 0;
  top: 0;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    270deg,
    rgba(255, 255, 255, 0) 34%,
    rgba(228, 228, 228, 1) 100%
  );
  width: 400px;
  height: calc(100% + 4rem);
}

@media (max-width: 768px) {
  .stats-slider-next {
    background: none;
    width: unset;
    right: 10px !important;
  }
  .stats-slider-prev {
    background: none;
    width: unset;
    left: 10px !important;
  }
}

@media (max-width: 576px) {
  .stats-slider-next svg,
  .stats-slider-prev svg {
    height: 45px;
    width: 45px;
  }
}

@media (max-width: 768px) {
  .stats-slider-testimonial-next {
    background: none;
    width: unset;
    right: 10px !important;
  }
  .stats-slider-testimonial-prev {
    background: none;
    width: unset;
    left: 10px !important;
  }
}

@media (max-width: 576px) {
  .stats-slider-testimonial-next svg,
  .stats-slider-testimonial-prev svg {
    height: 45px;
    width: 45px;
  }
}

/**
Sticky Button 
*/

.sticky-button-section {
  width: 100%;
  min-height: 500px;
  background-color: #211551;
  /* position: relative is important for the button. Think of this as a reference to where the button will be placed. */
  position: relative;
}

.sticky-button-wrapper {
  width: 100%;
  height: 100%;
}

.sticky-button-content-container {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem;
}

.sticky-button-content-headline,
.sticky-button-content-headline-two {
  color: #ffffff;
  font-size: 44px;
  margin: 0.5rem 0;
}

.sticky-button-content-marketing-headline {
  color: #8252c7;
  margin: 1rem 0;
}

.sticky-button-content {
  color: #ffffff;
}

/* Sticky Button Initial State */

.sticky-button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #8252c7;
  height: 30%;
  width: 475px;
  /* transition time between initial state and scroll state */
  transition: all 0.5s;
  /* position: absolute will position the element in referrence to the ancestor element (the ancestor element that is position: relative). This allows your to control and move the element anywhere in referrence to said ancestor element. Use properities like  top, botton, left, right to control the position. */
  position: absolute;
  bottom: -2rem;
  right: 0;
  left: auto;
  /* setting for z-index will have this element position over other elements. */
  z-index: 10;
  /* clip path creates a region of the element that gets clipped (liking clipping a piece of paper with scissors). Parts inside where clipped is shown, parts on the outside is not shown. */
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.sticky-button-container__inner-container {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem 0 1rem 3rem;
}

.sticky-button-container p {
  color: #211551;
  width: 90%;
}

.sticky-button {
  background: #211551;
  border: none;
  padding: 1rem 1.5rem;
  transition: all 0.5s;
}

.sticky-button a {
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.sticky-button:hover a {
  color: #8252c7;
}

/* Sticky Button: Scroll State */

.sticky-button-container.beyond-threshold {
  background: none;
  position: fixed;
  bottom: 2rem;
  height: auto;
  width: auto;
  clip-path: none;
}

.sticky-button-container.beyond-threshold p {
  display: none;
}

.sticky-button-container.beyond-threshold
  .sticky-button-container__inner-container {
  align-items: flex-end;
  padding: 0 2rem 0 0;
  width: 100%;
}

.sticky-button-container.beyond-threshold .sticky-button {
  background-color: #8252c7;
  border-radius: 30px !important;
  box-shadow: 2px 2px 6px 1px rgba(0, 0, 0, 0.1);
}

.sticky-button-container.beyond-threshold .sticky-button:hover a {
  color: #211551;
}

.stats-slider-swiper {
    width: 100%;
    background-color: #ffffff;
    padding: 2rem 0;
}

.stats-slider-swiper-testimonial {
    width: 100%;
    background-color: #ffffff;
    padding: 2rem 0;
	padding-left: 250px;
}

.stats-slider-next {
    background: rgb(255, 255, 255);
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 3) 100% );  
}

.stats-slider-prev {
    background: rgb(255, 255, 255);
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 100%, rgba(255, 255, 255, 3) 100% );  
}
.stats-slider-prev-testimonial {
    background: rgb(255, 255, 255);
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 100%, rgba(255, 255, 255, 3) 100% );  
}
.stat {
    font-size: 7em !important;
    font-weight: bolder !important;
    font-family: Mercury Display Bold !important;
    color: #211551 !important;
}

.stats-slider-testimonial-next {
		background: rgb(255, 255, 255);
		background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 3) 100% );
	}

.swiper-slide-testimonial {
    flex-shrink: 0;
    width: 100%;
    height: 420px;
    position: relative;
    transition-property: transform;
    display: block;
	padding-left: 250px;
	}

.swiper-horizontal {
    touch-action: pan-y;
}

.swiper-testimonial, swiper-container {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    display: block;
}

