/* Main Content */
.mainContent > .flexContainer{
    display: block;
}
.mainContent{
    margin: 90px 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;
}

/* Services Links */
.servicesLinks{
    display: flex;
    flex-wrap:wrap;
    margin: 50px 0 0px;
}
.servicesLinks > span{
    display: flex;
    align-content: center;
    align-items: center;
    width: 33%;
    line-height: 20px;
    height: 70px;
    padding: 5px 15px 5px 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    background-image: url(/wp-content/themes/irs_us/new-design/img/ir-arrow6.svg);
    background-position: top 24px left 30px;
    background-repeat: no-repeat;
    box-shadow: 0px 4px 18px rgba(166, 166, 166, 0.1);
    border-right:1px solid rgba(166, 166, 166, 0.10); 
    border-bottom:1px solid #E4EEFC; 
}
.servicesLinks > span a{
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    color: #333;
}
.servicesLinks a:hover{
    color: #5BBC6D;
}
.servicesLinks > span:nth-of-type(11){
     border-right:none; 
}
@media(min-width:1200px){
    .servicesLinks > span:nth-of-type(3),
    .servicesLinks > span:nth-of-type(6),
    .servicesLinks > span:nth-of-type(9),
    .servicesLinks > span:nth-of-type(12),
    .servicesLinks > span:nth-of-type(15),
    .servicesLinks > span:nth-of-type(18),
    .servicesLinks > span:nth-of-type(21){
        border-right:none; 
    }
    .servicesLinks > span:nth-of-type(19),
    .servicesLinks > span:nth-of-type(20),
    .servicesLinks > span:nth-of-type(21){
       border-bottom:none; 
    }
}

@media(min-width:768px) and (max-width:1199px){
   .servicesLinks > span{
        width: 50%;
    }
    .servicesLinks > span:nth-of-type(2),
    .servicesLinks > span:nth-of-type(4),
    .servicesLinks > span:nth-of-type(6),
    .servicesLinks > span:nth-of-type(8),
    .servicesLinks > span:nth-of-type(10),
    .servicesLinks > span:nth-of-type(12),
    .servicesLinks > span:nth-of-type(14),
    .servicesLinks > span:nth-of-type(16),
    .servicesLinks > span:nth-of-type(18),
    .servicesLinks > span:nth-of-type(20){
        border-right:none; 
    }
    .servicesLinks > span:nth-of-type(21){
       border-bottom:none; 
    }
}
@media(max-width:767px){
   .servicesLinks > span{
        width: 100%;
    }
    .servicesLinks > span{
        border-right:none; 
    }
    .servicesLinks > span:nth-of-type(21){
       border-bottom:none; 
    }
}


/* 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;
}
@media(max-width:1199px){
    

}
@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;
    }
    
}
@media(max-width:767px){
    .mainContent{
        font-size: 13px;
    }
    .mainContent h2 {
        font-size: 24px;
        line-height: 30px;
        color: #333333;
    }
    .blockWithSpace {
    margin-top: 60px;
  }
}
@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;
    }
}
/* 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-33.webp');
}

.noWebP .ctaTop .flexContainer:after{
    background-image: url('/wp-content/themes/irs_us/new-design/img/ir-student-33.png');
}
.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: 275px;
}

@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
      }
}