/*  V1 is done with Custom Component: https://apptegy.atlassian.net/wiki/x/NID6s */
/* ------------------------------------------ */
/* ------------- BY THE NUMBERS START V2 --------------- */
/* ------------------------------------------ */
#home .by-the-numbers-area {
  padding-top: 4em;
  padding-bottom: 1em;
}

.by-the-numbers-area {
  --current-section-bg-image: var(--byTheNumbersBgImage);
  --current-section-bg-color: var(--primary-color);
  --bg-opacity: 0.85;
  color: #fff;
}

.by-the-numbers-area .custom-header-slot-container {
  text-align: center;
}

.by-the-numbers {
  margin-top: 4em;
  margin-bottom: 4em;
}

.by-the-numbers-container:not(.swiper-initialized) .by-the-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media only screen and (max-width: 600px) {
  .by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--2 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media only screen and (max-width: 767px) {
  .by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--4,
.by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--8 {
  grid-template-columns: repeat(4, 1fr);
}

@media only screen and (max-width: 960px) {

  .by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--4,
  .by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--8 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 600px) {

  .by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--4,
  .by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--8 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--6 {
  grid-template-columns: repeat(3, 1fr);
}

@media only screen and (max-width: 960px) {
  .by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 600px) {
  .by-the-numbers-container:not(.swiper-initialized) .by-the-numbers.by-the-numbers--6 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.by-the-numbers-item {
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s linear;
  padding-left: 1.5em;
  padding-right: 1.5em;
  margin-bottom: 1em;
  margin-bottom: 1em;
}

.by-the-numbers-item.is-visible {
  opacity: 1;
}

.by-the-numbers-item__icon {
  width: 6em;
  height: 6em;
  margin: 2em auto;
}

@media only screen and (max-width: 1500px) {
  .by-the-numbers-item__icon {
    width: 5em;
    height: 5em;
  }
}

@media only screen and (max-width: 1200px) {
  .by-the-numbers-item__icon {
    width: 4em;
    height: 4em;
  }
}

.by-the-numbers-item__icon svg {
  fill: currentColor;
}

.by-the-numbers-item__icon svg path {
  fill: currentColor;
}

.by-the-numbers-item__number {
  font-size: 2.5em;
  font-weight: 400;
}

@media only screen and (max-width: 1500px) {
  .by-the-numbers-item__number {
    font-size: 2em;
  }
}

@media only screen and (max-width: 1200px) {
  .by-the-numbers-item__number {
    font-size: 1.8em;
  }
}

@media only screen and (max-width: 767px) {
  .by-the-numbers-item__number {
    font-size: 1.5em;
  }
}

@media only screen and (max-width: 600px) {
  .by-the-numbers-item__number {
    font-size: 1.2em;
  }
}

.by-the-numbers-item__number h1,
.by-the-numbers-item__number h2,
.by-the-numbers-item__number h3,
.by-the-numbers-item__number h4,
.by-the-numbers-item__number h5,
.by-the-numbers-item__number h6 {
  font-weight: inherit;
}

.by-the-numbers-item__text {
  margin-top: 0.25em;
  font-size: 1.5em;
}

@media only screen and (max-width: 1500px) {
  .by-the-numbers-item__text {
    font-size: 1.35em;
  }
}

@media only screen and (max-width: 1200px) {
  .by-the-numbers-item__text {
    font-size: 1.2em;
  }
}

/* ------------------------------------------ */
/* ------------- BY THE NUMBERS END V2 --------------- */
/* ------------------------------------------ */
/* ------------------------------------------ */
/* ------------- BY THE NUMBERS START V3 --------------- */
/* ------------------------------------------ */
#home .by-the-numbers-area--v3 {
  padding-top: 1em;
  padding-bottom: 1em;
}

@media only screen and (max-width: 767px) {
  #home .by-the-numbers-area--v3 {
    padding-bottom: 2em;
  }
}

#home .by-the-numbers-area--v3 .by-the-numbers {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

#home .by-the-numbers-area--v3 .by-the-numbers-item__number {
  font-size: 3em;
  font-weight: 700;
}

@media only screen and (max-width: 1500px) {
  #home .by-the-numbers-area--v3 .by-the-numbers-item__number {
    font-size: 2.5em;
  }
}

@media only screen and (max-width: 1200px) {
  #home .by-the-numbers-area--v3 .by-the-numbers-item__number {
    font-size: 2em;
  }
}

#home .by-the-numbers-area--v3 .by-the-numbers-item__text {
  margin-top: 0.25em;
  font-size: 1.15em;
}

@media only screen and (max-width: 1500px) {
  #home .by-the-numbers-area--v3 .by-the-numbers-item__text {
    font-size: 1em;
  }
}

#home .by-the-numbers-area--v3 .by-the-numbers-item__icon {
  width: 4em;
  height: 4em;
  margin: 1em auto;
  border: 2px solid currentColor;
  padding: 2em;
  border-radius: 50%;
}

@media only screen and (max-width: 1500px) {
  #home .by-the-numbers-area--v3 .by-the-numbers-item__icon {
    width: 3em;
    height: 3em;
    padding: 1.5em;
  }
}

@media only screen and (max-width: 1200px) {
  #home .by-the-numbers-area--v3 .by-the-numbers-item__icon {
    width: 2.5em;
    height: 2.5em;
  }
}

/* ---- HOMEPAGE COMPONENT ---- */
#home .homepage-component .by-the-numbers-area--v3 {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}

#home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item-wrap {
  display: flex;
  width: 100%;
  justify-content: space-around;
  margin-top: 25px;
}

#home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item-wrap>div {
  width: calc(25% - 15px);
}

#home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item__icon {
  display: flex;
  width: 164px;
  height: 164px;
  box-sizing: border-box;
}

#home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item__icon span {
  display: flex;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

#home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item__icon span svg {
  width: 80%;
  height: 80%;
}

#home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item__text {
  display: block;
  margin-top: 20px;
}

#home .homepage-component .by-the-numbers-area--v3 .btn-image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

#home .homepage-component .by-the-numbers-area--v3 .btn-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

#home .homepage-component .by-the-numbers-area--v3 .btn-image:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--current-section-bg-color);
  opacity: 0.9;
}


@media only screen and (max-width: 1500px) {
  #home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item__icon {
    width: 136px;
    height: 136px;
  }
}


@media only screen and (max-width: 1200px) {
  #home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item__icon {
    width: 110px;
    height: 110px;
  }
}

@media only screen and (max-width: 960px) {
  #home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item__icon {
    width: 80px;
    height: 80px;
    padding: 1em;
  }

  #home .by-the-numbers-area--v3 .by-the-numbers-item__number {
    font-size: 22px;
  }
}


@media only screen and (max-width: 767px) {
  #home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item-wrap {
    flex-wrap: wrap;
  }

  #home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item-wrap>div {
    width: calc(50% - 15px);
  }

  #home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item {
    padding-left: .5em;
    padding-right: .5em;
    margin-top: 15px;
    margin-bottom: 15px;
  }
}

@media only screen and (max-width: 360px) {
  #home .homepage-component .by-the-numbers-area--v3 .by-the-numbers-item-wrap>div {
    width: 100%;
  }
}

/* ---- HOMEPAGE COMPONENT END ---- */

/* ---- CMS STYLING START ---- */
.by-the-numbers-area:not(.is-not-in-cms) {
  color: #000;
}

.by-the-numbers-area:not(.is-not-in-cms) #by-the-numbers-title {
  font-size: 24px;
  text-align: center;
  margin-bottom: 1em;
}

.by-the-numbers-area:not(.is-not-in-cms) .by-the-numbers-item-wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #000;
}

.by-the-numbers-area:not(.is-not-in-cms) .by-the-numbers-item {
  opacity: 1;
  display: block;
  margin-top: 30px;
}

.by-the-numbers-area:not(.is-not-in-cms) .by-the-numbers-item svg {
  max-width: 80px;
  fill: #000;
}

.by-the-numbers-area:not(.is-not-in-cms) .by-the-numbers-item__icon {
  width: 90px;
  height: 90px;
  margin: auto;
  display: block;
  text-align: center;
}

.by-the-numbers-area:not(.is-not-in-cms) .by-the-numbers-item__number {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  text-align: center;
}

.by-the-numbers-area:not(.is-not-in-cms) .by-the-numbers-item__text {
  text-align: center;
  font-size: 16px;
}

.by-the-numbers-area:not(.is-not-in-cms) .btn-image {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}

.by-the-numbers-area:not(.is-not-in-cms) .btn-image img {
  width: auto;
  height: auto;
  max-height: 310px;
  margin: auto;
}

/* ---- CMS STYLING END ---- */


/* ------------------------------------------ */
/* ------------- BY THE NUMBERS END V3 --------------- */
/* ------------------------------------------ */