/* Home page css */

/*@font-face {
  font-family: 'DIN Condensed Bold';
  src: url('/content/dam/intelligentcontent/unbranded/epicascade/us/en/assets/update_image/fonts/DIN-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}*/

.mob-only {
  display: none;
}

.desk-only {
  display: block;
}

#main-home-container {
  background: #fff;
}

p.teaser-pre-title {
  font-size: 21.87px;
  font-family: 'din-2014';
  line-height: 25.97px;
  color: hsla(0, 0%, 100%, 1);
  text-indent: 10px;
  text-shadow: 0px 5.6px 10px hsla(0, 0%, 0%, 0.7);
  font-weight: 700;
  margin-bottom: 0;
}

.teaser-right h2 {
  margin-top: 0;
}

.teaser-right h3 {
  margin: 0;
}

p.teaser-description {
  color: hsla(0, 0%, 100%, 1);
  font-family: 'din-2014-narrow';
  font-size: 25px;
  line-height: 24px;
  padding-left: 8px;
  text-shadow: 0px 5.6px 10px hsla(0, 0%, 0%, 0.7);
  font-weight: normal;
}

.cmp-teaser__top-content {
  margin-top: 156px;
}

.cmp-teaser__top-content h2, .cmp-teaser__top-content h3, .cmp-teaser__top-content h6 {
  padding: 0;
  margin: 0;
}

.teaser-subtitle img {
  max-height: 73px;
}

p.teaser-description span {
  display: block;
  /*max-width: 635px;*/
  max-width:648px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.3px;
}

p.teaser-sub-description {
  color: #FFFFFF;
  font-size: 14px;
  line-height: 24px;
  font-weight: 800;
  font-family: 'din-2014';
  text-indent: 10px;
  margin-top: 57px;
      margin-top: 65px;
    /*padding-top: 10px;*/
}

.cmp-teaser {
  justify-content: flex-end;
}

.cmp-teaser.cmp-teaser__center-image .cmp-teaser__top-content {
  width: 59%!important;
}

.cmp-teaser__content {
  width: 100%!important;
  padding: 0!important;
  background: url(/content/dam/intelligentcontent/unbranded/epicascade/us/en/assets/update_image/home/desktop/teaser-rain-background.jpg) no-repeat;
  background-size: 100% 117%;
  min-height: 610px;
}

h6.cmp-teaser__pretitle {
  margin-top: 130px!important;
  display: flex;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.teaser-left {
  margin-left: -75px;
}

.teaser-right {
  margin-left: -40px;
  margin-top: -10px;
}

/* section 2 */
#home-section-2-title h1 span {
  background: #fff;
  font-family: din-condensed;
  color: #1d4758;
  font-size: 48px;
  font-weight: 500;
}

#home-section-2-title h1.cmp-title__text.cmp-title__text--h1 {
  margin-top: 0;
}

#home-section-2 > div {
  max-width: 1210px;
  margin: 0 auto;
  display: flex;
  align-items: end;
}

#home-section-2 div div {
  display: flex;
  justify-content: center;
}

#home-section-2 {
  background: #fff;
  padding-bottom: 15px;
  max-width: 1150px;
  margin: 0 auto;
  margin-top: -1px;
}

#home-section-2 h1, #home-section-2 h2 {
  margin: 0;
}

#section-2-title-a > h2, #section-2-title-b > h2, #section-2-title-c > h2 {
  font-size: 26px;
  line-height: 28px;
}

#section-2-top-title {
  text-align: center;
}

#section-2-bottom-container {
  background: #fff;
  width: 85%;
  max-width: 1110px;
  margin: 30px auto 90px;
  box-shadow: 0px 7px 10px 0px rgb(0 0 0 / 40%);
  background-blend-mode: multiply;
  border-radius: 19px;
  height: 200px;
}

div#sec2-conta,
div#sec2-contb,
div#sec2-contc {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 300px;
  text-align: center;
}

#home-section-2 .title {
  font-family: 'DIN-2014';
  font-size: 16px;
  color: #1d4758;
}

#home-section-2 .title sup {
  font-size: 14px;
  line-height: 0;
  font-weight: 400;
}

#home-section-2 img.cmp-image__image.cmp-image--desktop {
  width: 100%;
}

#home-section-2 #common-cta-btn {
  width: 300px;
  display: flex;
  height: 80px;
  background: #1C4758;
  border-radius: 40px;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: 'DIN-2014';
  font-weight: 700;
  font-size: 20px;
  padding: 0 25px;
}

#home-section-2 #common-cta-btn:after {
   /* content: url(/content/dam/intelligentcontent/unbranded/epicascade/us/en/assets/update_image/global_icons/desktop/next_icon.svg);*/
  content: url(/content/dam/intelligentcontent/unbranded/epicascade/us/en/assets/update_image/home/desktop/default-icon-wrapper.png);
  position: relative;
  left: 25px;
}

#home-section-2 span.cmp-button__text {
  width: 175px;
  line-height: 24px;
}

#section-2-bottom-left-text h2 {
  text-align: right;
  text-transform: uppercase;
  font-family: 'DIN-2014';
  font-size: 34px;
  font-weight: 700;
  line-height: 34px;
  color: #1d4758;
  padding-top: 27px;
}

#section-2-bottom-left-text h2 span span {
  color: #B70028;
}

#section-2-bottom-container #take-the-quiz-cta {
  border-radius: 40px;
  background: linear-gradient(90deg, #B70028 0%, #0092CA 100%);
  padding: 3px 3px;
}

#section-2-bottom-container #take-the-quiz-cta span {
  font-family: 'din-2014-narrow';
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #fff;
  padding: 0 25px;
  background: #681934;
  text-transform: uppercase;
  display: flex;
  border-radius: 40px;
  width: 277px;
  height: 78px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

#section-2-bottom-container #take-the-quiz-cta span:after {
  content: url(/content/dam/intelligentcontent/unbranded/epicascade/us/en/assets/update_image/global_icons/desktop/download_icon_wht.svg);
  padding-left: 7px;
}

#section-2-bottom-right-btn div {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

/*Mobile*/
#epicascade-homepage .theNum {
  color: #E6E7E8;
  text-align: center;
  font-family: 'din-condensed';
  font-size: 38px!important;
  font-style: normal;
  font-weight: 100!important;
  line-height: 1;
  text-transform: uppercase;
  position: relative;
  top: -22px;
    left: -7px;
  right: 0;

}

#epicascade-homepage .theNum sup {
  font-family: 'din-condensed';
  font-weight: 100!important;
}

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

  #home-section-2 .title sup {
    font-family: 'din-2014';
    font-size: small;
    font-weight: 400;
  }
p.teaser-subtitle{
    margin-top:-10px;
}
  .teaser-sub-description.mob-only {
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.80);
  }

  .mob-only {
    display: block;
    margin: 0 auto;
  }

  .desk-only {
    display: none;
  }

  div#section-2-title-a h2, div#section-2-title-b h2, div#section-2-title-c h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .cmp-teaser__content {
    background: url(/content/dam/intelligentcontent/unbranded/epicascade/us/en/assets/update_image/home/mobile/mobile-background.jpg) no-repeat;
    background-size: 100% 100%;
    min-height: 550px;
    max-height: 600px;/*600*/
  }

  h6.cmp-teaser__pretitle {
    flex-direction: column-reverse;
    width: 80%;
    margin: 143px auto!important;/*130*/
    text-align: center;
  }

  .teaser-left, .teaser-right {
    margin-left: 0!important;
    margin-top: 0;
  }

  .teaser-right h2 {
    margin-top: -12px!important;
  }

  .teaser-right sup {
   /* font-size: 10px;
    line-height: 0;*/
    font-size: xx-small;
    line-height: 0;
    font-weight: 400;
    vertical-align: 4px;
    font-family: 'din-2014';
  }

  p.teaser-pre-title {
    font-size: 16px;
    line-height: 19px;
    padding-bottom: 7px;
  }

  .teaser-subtitle img {
    max-height: 49px;
  }

  p.teaser-description {
    font-family: 'DIN-2014';
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
    padding-left: 0;
    padding-top: 5px;
  }

  p.teaser-description span {
    line-height: 16px;
  }

  .teaser-left img {
    width: 65%;
    max-width: 250px;
    margin: 0 auto;
  }

  p.teaser-sub-description {
    display: none;
  }

  .teaser-sub-description.mob-only {
    display: block!important;
    margin-top: -31px;/*-26*/
    white-space: nowrap;
    text-indent: 0;
    font-weight: 600;
    line-height: 29px;
    text-shadow: 0 0 10px #000;
  }

  #home-section-2 > div {
    flex-direction: column;
  }

  #home-section-2 > div > div:nth-child(1),
#home-section-2 > div > div:nth-child(2),
#home-section-2 > div > div:nth-child(3) {
    width: 100%;
  }

  #home-section-2 #sec2-conta,
#home-section-2 #sec2-contb,
#home-section-2 #sec2-contc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  #home-section-2-title {
    width: 65%;
    margin: 0 auto;
  }

  #home-section-2-title h1 span {
    font-size: 32px;
    letter-spacing: -1px;
  }

  #home-section-2-title h1.cmp-title__text.cmp-title__text--h1 {
    margin-bottom: 0;
  }

  #home-section-2 .title {
    font-size: 18px;
    line-height: 35px;
    padding-top: 20px;
  }

  #section-2-bottom-container {
    height: 175px;
    margin: 30px auto 30px;
    box-shadow: 0px 7px 10px 0px rgb(0 0 0 / 40%),   /* original strong bottom shadow */
  0px -1px 3px rgb(0 0 0 / 10%);
       /* very light top edge shadow */
    background-blend-mode: multiply;
  }

  #section-2-bottom-container div {
    width: 100%;
  }

  #section-2-bottom-left-text h2 {
    font-family: 'din-2014-narrow';
    font-size: 20px !important;
    font-weight: 700;
    line-height: 24px;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: center;
    padding-top: 13px;
  }

  #section-2-bottom-right-btn div {
    height: 80px;
    padding-bottom: 5px;
  }

  #section-2-bottom-container #take-the-quiz-cta span {
    width: 165px;
    height: 45px;
    font-size: 16.65px;
    padding: 0 20px;
    font-weight: 700;
    line-height: 23.79px;
  }

  #section-2-bottom-container #take-the-quiz-cta span:after {
    content: '';
    padding-left: 7px;
    display: block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    background: url(/content/dam/intelligentcontent/unbranded/epicascade/us/en/assets/update_image/global_icons/desktop/download_icon_wht.svg);
    background-size: 100%;
  }
}

@media only screen and (min-width: 991px) {
  p.teaser-description span sup {
    font-weight: 400;
    vertical-align: super;
    font-size: initial;
    line-height: 0;
  }
p.teaser-sub-description {
    padding-top:10px;
}
  #home-section-2 #sec2-contb .title {
    min-width: 378px !important;
  }

  #home-section-2 #sec2-contc .title {
    padding-bottom: 20px;
  }

  #home-section-2 #common-cta-btn:after {
    position: relative;
    left: 25px;
  }
}
/* to hide the iframe from initial load for few sections */
.modal {
  display: none;
}

@media only screen and (max-width: 1280px) {
  #epicascade-homepage .theNum {
    position: relative !important;
    top: -24px;
    right: unset;
    left: unset;
    margin: 10px 15px 0 0 !important;
  }

  br.break-temp {
    display: none;
  }
}

@media only screen and (min-width: 1480px) {
  #home-section-2-title h1.cmp-title__text.cmp-title__text--h1 {
    margin-bottom: 25px;
  }
}

@media (min-width: 700px) and (max-width: 1360px) and (orientation: landscape) {
  #section-2-bottom-container {
    box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.1),   /* slight top shadow */
  2px 7px 5.3px rgba(0, 0, 0, 0.25);
  }

  #section-2-bottom-container #take-the-quiz-cta span {
    width: 221px !important;
  }
}

@media (min-width: 700px) and (max-width: 1160px) {
  #section-2-bottom-container #take-the-quiz-cta span {
    width: 221px !important;
  }
}

@media (min-width: 0px) and (max-width: 370px) {
  p.teaser-description span ,.teaser-sub-description.mob-only {
    text-shadow: 0px 5.6px 10px rgba(0, 0, 0, 0.70);
  }
}

@media (min-width: 0px) and (max-width: 340px) {
  .cmp-teaser__content {
    max-height: 570px;
  }

  .explore-more-txt {
    font-weight: 700;
    font-size: 15px;
  }
}

@media only screen and (max-width: 991px) {
  #epicascade-homepage .theNum {
    position: relative !important;
    top: -30px;
  }
}

@media only screen and (max-width: 400px) {
  #epicascade-homepage .theNum {
    position: relative !important;
    margin: -10px -1px 0 10px !important;
  }

  p.teaser-subtitle img {
    position: relative;
    left: 10px;
  }
}

.modal.exit-ramp-modal.modal--visible {
  display: block;
}

@media (min-width: 1360px) and (max-width: 1460px) {
    p.teaser-sub-description{
        padding-top: 18px;
        text-shadow: 0 0 10px #000;
    }
    .teaser-right{
        margin-top:0;
    }
}
