/* 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;
}




@media(max-width:1199px){

}
@media(max-width:991px){
    .mainContent{
        margin: 40px 0 0
    }
   
}
@media(max-width:767px){
    .mainContent h2 {
        font-size: 24px;
        line-height: 30px;
        color: #333333;
    }

   
}
@media(max-width:575px){
     
    
}
/* TOP CTA */
.ctaTop .flexContainer {
    height: 440px;
}
.hasWebP .ctaTop .flexContainer:after,
.noWebP .ctaTop .flexContainer:after{
    width: 415px;
    height: 440px;
    right:0;
    background-size: cover;
}
.hasWebP .ctaTop .flexContainer:after{
    background-image: url('/wp-content/themes/irs_us/new-design/img/ir-student-35.webp');
    background-position: bottom right -45px;
}

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

/* Tabs */

.tabsBlock{
    padding: 55px 0 0;
}
@media(min-width:767px){
    .tabsBlock_label,
    .tabsBlock_select{
        display: none;
    }
}
.tabsBlock_nav{
    display: flex;
    justify-content:flex-start;
    flex-wrap:wrap;
    width:100%;
    border-bottom: 1px solid #E0E0E0;
    align-items:center;
}
.tabsBlock_nav > span{
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    min-height: 30px;
    text-align:center;
    color: #626262;
    cursor: pointer;
    position: relative;
    transition: all .3s ease-out;
    padding-right: 40px;
}
.tabsBlock_nav > span:last-of-type{
    padding-right: 0;
}
.tabsBlock_nav > span:hover{
    color: #333;
}
.tabsBlock_nav > span.active{
    color: #000;
}
.tabsBlock_nav > span.active:before{
    content: "";
    display: block;
    width: calc(100% - 40px);
    left: 0;
    bottom: 0;
    height: 3px;
    position: absolute;
    background-color: #5bbc6d;
}
@media(min-width:1199px){
    .tabsBlock_nav > span > br{
        display: none;
    }
}
@media(max-width:767px){
    .tabsBlock_nav{
        display: none;
    }
}

.tabsBlock_label{
    font-size: 12px;
    line-height: 12px;
    margin: 0;
    width: 100%;
}
.tabsBlock_select{
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    padding: 12px;
    width: 100%;
    margin-bottom: 25px;
    width: 100%;
}
.tabsBlock_contentTab{
    display: none;
    width: 100%;
}
.tabsBlock_contentTab.active{
    display: block;
}

.tabsBlock_contentTab h2{
    font-weight: 700;
    font-size: 34px;
    line-height: 44px;
    color: #333333;
    margin-bottom: 50px;
    margin-top: 20px;
}

.tabsBlock_contentTab h3{
    margin-bottom: 30px;
}

.tabsBlock_contents{
    width: 100%;
}
@media(max-width:1199px){
    
}
@media(max-width:991px){
    .tabsBlock_contentTab h2{
        text-align: center;
    }
    .tabsBlock_nav > span {
        width: 25%;
        padding: 0;
        min-height: 50px;
      }
      .tabsBlock_nav > span.active::before {
        width: 100%;
      }

}
@media(max-width:767px){
    
    .tabsBlock_contentTab h2{
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 30px;
        margin-top: -30px;
    }
}
@media(max-width:575px){
    
}


/* FAQ */

.faqs{
    margin-top: 30px;
}



.faqs .item{
    border-bottom: 1px solid #EBEBEB;
    padding-top: 15px;
    padding-bottom: 15px;
    cursor: pointer;
}
.faqs .item.opened{
    border-color: transparent;
    padding-bottom: 0;
}
.faqs .item .question{
    padding: 15px 17px 15px 0;
    line-height: 30px;
    font-weight: 600;
    font-size: 16px;
    line-height: 28px;
    color: #000;
    position: relative;
}
.faqs .item.opened .question{
    color: #5BBC6D;
}
.faqs .item .question:before{
    content: "+";
    display: block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    position: absolute;
    right: 0;
    top: 20px;
    color: #5BBC6D;
    font-size: 30px;
    font-weight: 300;
    transition: all .3s ease-out;
}
.faqs .item .question:hover:before{
    color: #5BBC6D;
}
.faqs .item.opened .question:before{
    content: "–";
}
.faqs .item .answer {
  padding: 30px 30px 8px;
  display: none;
  transition: all .3s ease-out;
  border-radius: 4px;
  background: #E4EEFC;
}
.faqs .item.opened .answer{
    display: block;
    margin-top: 15px;
}

@media(max-width:991px){
      .faqs .item .answer{
          padding: 20px 20px 1px;
      }
}

@media(max-width:767px){
    .faqs {
      margin-top: 0;
    }
    .tabsBlock_select{
        margin-bottom: 5px;
    }
}