/* Main Content */
.mainContent > .flexContainer{
    display: block;
}
.mainContent{
    margin: 75px 0 0;
    font-size: 16px;
}
.mainContent h2{
    font-size: 34px;
    line-height: 44px;
    color: #333333;
    margin: 40px 0 20px;
}
.mainContent h3 {
    font-size: 20px;
    line-height: 40px;
    margin: 30px 0 20px;
}


/* statistic */
.statistic {
    padding-bottom: 0;
    margin: 75px 0 0;
}

.statistic .flexContainer {
    justify-content: space-between;
    flex-wrap: wrap;
}
.statistic__item {
    width: 20%;
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    line-height: 26px;
    color: #333333;
}

.statistic__item span {
    display: block;
    font-weight: 800;
    font-size: 72px;
    line-height: 72px;
    text-align: center;
    color: #5BBC6D;
    width: 100%;
    margin-bottom: 10px;
}
@media(max-width: 1199px){
    .statistic__item {
        width: 25%;
    }
}

@media(max-width: 991px){
/*    .statistic__item {
        font-size: 14px;
    }*/
    .statistic__item span {
        font-size: 60px;
    }
    .statistic {
        padding-bottom: 0;
        margin: 60px 0;
    }
}
@media(max-width:767px){
    .statistic__item {
        width: 100%;
        margin-bottom: 50px;
    }
    .statistic {
        padding-bottom: 20px;
    }
    .statistic__item span {
        font-size: 72px;
    }
    .statistic {
        margin: 0;
    }
    .statistic {
        margin: 70px 0 0;
        padding-bottom: 0;
    }
}

/* Green CTA */

.blockWithSpace {
  margin-top: 80px;
}
.greenSimpleCta {
    position: relative;
  background-color: #5BBC6D;
  width: 100%;
  padding: 60px 0;
  text-align: center;
}
.greenSimpleCta__title{
    font-family: 'Roboto',sans-serif;
    color: #FFF;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 24px
}

.greenSimpleCta .flexContainer{
    display: block;
    
}

.greenSimpleCta::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  display: block;
  width: 185px;
  height: 115px;
  background-image: url(/wp-content/themes/irs_us/new-design/img/dots-field.svg);
  background-repeat: no-repeat;
}
.greenSimpleCta::after {
  content: "";
  position: absolute;
  bottom: 3px;
  right: 0;
  display: block;
  width: 250px;
  height: 75px;
  background-image: url(/wp-content/themes/irs_us/new-design/img/dots-field.svg);
  background-repeat: no-repeat;
}




.eightBlocks {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.eightBlocks__item {
  border-radius: 4px;
  background: #FFF;
  box-shadow: 0px 4px 18px 0px rgba(166, 166, 166, 0.10);
  width: 23%;
  padding: 24px 16px;
  margin-bottom: 37px;
  color: #626262;
}
.eightBlocks__title {
  min-height: 44px;
  display: block;
  line-height: 22px;
  margin-bottom: 8px;
  color: #333;
}
.twoLineBlock__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.twoLineBlock__line-1{
    border-bottom: 1px solid #E1E0E0;
    padding-bottom: 40px;
    margin-bottom: 40px;
}
.twoLineBlock__text {
  max-width: 652px;
}
.twoLineBlock__btn,
.twoLineBlock__title{
    max-width: 391px;
}
.twoLineBlock__line h2{
    margin-top: 0;
}

.twoLineBlock__text .greenBtn{
    display: none;
}


@media(max-width:1199px){
    
.twoLineBlock__text {
  max-width: 529px;
}
}
@media(max-width:991px){
    .mainContent{
        margin: 40px 0 0
    }
   .greenSimpleCta::before {
        width: 105px;
        height: 140px;
    }
    
    .greenSimpleCta::after {
        width: 115px;
    }
    .greenSimpleCta__title{
        max-width: 424px;
        margin-left: auto;
        margin-right: auto;
    }
    .eightBlocks__item {
        width: 32%;
    }
    .twoLineBlock__btn .greenBtn{
          display: none;
    }
    .twoLineBlock__text .greenBtn{
          display: inline-block;
          margin-top: 40px;
    }
    .twoLineBlock__btn,
    .twoLineBlock__title,
    .twoLineBlock__text{
        max-width: unset;
    }
    .eightBlocks::after {
        content: "";
        display: block;
        width: 32%;
      }
    
}
@media(max-width:767px){
/*    .mainContent{
        font-size: 13px;
    }*/
    .mainContent h2 {
        font-size: 24px;
        line-height: 30px;
        color: #333333;
    }
    .blockWithSpace {
        margin-top: 60px;
      }
      .eightBlocks__item {
      width: 48%;
    }
    .eightBlocks::after {
      display: none;
    }
}
@media(max-width:575px){
     .greenSimpleCta {
        padding: 40px 0;
      }
    .greenSimpleCta__title{
        font-size: 24px;
    }
    .greenSimpleCta::before {
        width: 50px;
        height: 112px;
    }
    
    .greenSimpleCta::after {
        width: 75px;
        height: 60px;
    }
    .eightBlocks__item {
  width: 100%;
}
}
/* TOP CTA */
.ctaTop .flexContainer {
    height: 440px;
}
.hasWebP .ctaTop .flexContainer:after,
.noWebP .ctaTop .flexContainer:after{
    width: 466px;
    height: 400px;
    right:0;
    background-size: cover;
}
.hasWebP .ctaTop .flexContainer:after{
    background-image: url('/wp-content/themes/irs_us/new-design/img/ir-student-34.webp');
    background-position: bottom right -45px;
}

.noWebP .ctaTop .flexContainer:after{
    background-image: url('/wp-content/themes/irs_us/new-design/img/ir-student-34.png');
    background-position: bottom right -45px;
}
.ctaTop .flexContainer::before {
    width: 400px;
    height: 337px;
    background-size: 12px;
}

.ctaTop .ctaTopText > h1 {
    font-size: 40px;
}
.ctaTop .ctaTopText > div:nth-of-type(1) {
    font-size: 16px;
    margin-bottom: 10px;
}
.ctaTop .ctaTopText {
  max-width: 675px;
  max-height: 218px;
}

@media(max-width:1199px){
    .ctaTop .flexContainer::before {
        width: 335px;
        height: 314px;
    }
    .ctaTop .ctaTopText {
      max-width: 522px;
      max-height: 320px;
    }
}
@media(max-width:991px){
    .ctaTop .flexContainer:after{
        display: none;
    }
    .ctaTop .flexContainer::before {
        width: 340px;
        height: 100px;
        background-size: 10px;
    }
    .ctaTop .ctaTopText {
        max-width: 100%;
    }
    .ctaTop .ctaTopText > h1 {
        font-size: 48px;
    }
    .ctaTop .flexContainer {
        height: 395px;
    }
    .ctaTop .ctaTopText {
        height: 290px;
    }
}
@media(max-width:767px){
    .ctaTop .ctaTopText > h1 {
        font-size: 30px;
    }
    .ctaTop .ctaTopText > div:nth-of-type(1) br {
        display:none;
    }
    .ctaTop::before {
        display: block;
        width: 340px;
        height: 91px;
        background-size: 10px;
    }
    .ctaTop .flexContainer {
        height: 400px;
    }
    .ctaTop .flexContainer {
        padding-bottom: 80px;
        padding-top: 20px;
    }
}
@media(max-width:575px){
    .ctaTop::before {
        width: 300px;
        height: 81px;
    }
    .ctaTop .ctaTopText {
        height: inherit;
    }.ctaTop .flexContainer,
          .ctaTop .ctaTopText {
        height: inherit;
        max-height: inherit;
      }
      .ctaTop .flexContainer {
        padding-bottom: 40px;
        padding-top: 40px;
      }
      .ctaTop::before {
       display: none
      }
}