.flex-sb {
  justify-content: space-between;
}
.flex-sa {
  justify-content: space-around;
}
.flex-r {
  justify-content: flex-end;
}
.flex-c {
  justify-content: center;
}
.flex-t {
  align-items: flex-start;
}
.flex-bt {
  align-items: flex-end;
}
.flex-m {
  align-items: center;
}
.flex-s {
  align-items: stretch;
}
.nowrap {
  flex-wrap: nowrap
}
.section-header .left-description {
    width: 480px;
}
.section-header .inside {
    width: 1170px;
}
.section-header .left-description .with-bg {
    background: url(../images/pl.png) no-repeat center;
    padding: 16px 10px 10px;
    height: 89px;
    box-sizing: border-box;
    color: #febe29;
    font-size: 56px;
    text-align: center;
    line-height: 1;
    font-family: FiraSans-Bold; 
}

.section-header .right-image {
    margin-top: -20px;
}
.section-header .left-description {    
    margin-left: 70px;   
    padding-top: 80px;    
}
.section-header .left-description .text {
    line-height: 1.25;
    font-family: FiraSans-Bold;
    font-size: 45px;
    padding-left: 46px;
    color: #fff;
    margin-top: -4px;
}
.section-header .left-description .text span {
    font-size: 35px;
    display: block;
    margin-top: 4px;
}

.section-header {
    background: url(../images/bg.svg) no-repeat center 0;
}
.section-header .button-right a {
    background: #febe29 none repeat scroll 0 0;
    border: medium none;
    border-radius: 5px;
    box-sizing: border-box;
    color: #000;
    cursor: pointer;
    display: block;
    font-family: FiraSans-SemiBold;
    font-size: 20px;
    font-weight: 500;
    height: 70px;
    letter-spacing: 0.6px;
    line-height: 1.1;
    padding-bottom: 16px;
    padding-top: 16px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    width: 290px;
    margin: 40px 0 0 48px;
    letter-spacing: 0.2px;
}
.section-header .button-right a span {
    font-size: 16px;
    display: block;
    margin-top: -2px;
}
.section-header {
    padding-bottom: 60px;
}
.section-header .caption-wrapper {
    height: 228px;
    width: 500px;
    text-align: center;
    background: #fff;
    border-radius: 150px;
    box-shadow: 0px 28px 40px 0px rgba(48, 38, 59, 0.04);
    font-family: FiraSans-SemiBold;
    line-height: 1.4;
    color: #333;
    margin-top: -92px;
    position: relative;
    z-index: 1;
}
.section-header .quarantine {
    position: relative;
    z-index: 1;
}
.section-header .quarantine:before {
    position: absolute;
    width: 308px;
    height: 200px;
    left: 164px;
    top: -24px;
    content:"";
    z-index: -1;
    background: url(../images/mask_1.png) no-repeat center;
}
.section-header .quarantine:after {
    position: absolute;
    width: 308px;
    height: 240px;
    right: 150px;
    top: -90px;
    content:"";
    z-index: -1;
    background: url(../images/mask_2.png) no-repeat center;
}


.section-header .caption-wrapper .title {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    line-height: 1.3;
    font-family: FiraSans-SemiBold;
}
.section-header .caption-wrapper .title span {
    color: #e2005b;
}
.section-header .caption-wrapper .description {
    font-family: FiraSans-Regular;
    line-height: 1.45;
    font-size: 16px;
}
.online-courses {
    padding: 60px 0;
}
.online-courses .item {
    width: 300px;
    max-width: 32%;
    border-radius: 8px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 58px;
    padding: 40px 24px 24px; 
}
.online-courses .item.simple {
       
    background: #f6f9ff;    
    line-height: 1.5;
    font-family: FiraSans-Regular;
    font-size: 16px;
}
.online-courses .item.simple strong {
    color: #8257b0;
    font-family: FiraSans-Bold;
}
.online-courses .item.simple span {
    font-size: 60px;
    color: #8257b0;
    font-family: FiraSans-Bold;
    position: absolute;
    top: -38px;
    left: 24px
}
.online-courses .inside {
    width: 940px;
    max-width: 100%;
}
.online-courses .oc-title {
    font-size: 45px;
    line-height: 1.3;
    color: #000;
    text-align: center;
    margin-bottom: 100px;
    letter-spacing: 0.6px;
}
.online-courses .item.violet {
    background: #8257b0;
    color: #fff;
    text-align: center;
    padding: 24px 24px 24px;
    font-family: FiraSans-Bold;
    font-size: 25px;
    line-height: 1.35;
}
.online-courses .item.violet .button {
    margin-top: 13px;
    width: 100%;
}
.online-courses .item.violet .button a {
    background: #febe29 none repeat scroll 0 0;
    border: medium none;
    border-radius: 5px;
    box-sizing: border-box;
    color: #000;
    cursor: pointer;
    display: block;
    font-family: FiraSans-SemiBold;
    font-size: 20px;
    font-weight: 500;
    height: 58px;
    letter-spacing: 0.6px;
    line-height: 1.1;
    padding-bottom: 16px;
    padding-top: 12px;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    width: 100%;
    
    letter-spacing: 0.2px;
}
.online-courses .item.violet .button a span {
    font-size: 14px;
    display: block;
    margin-top: 0px;
    font-family: FiraSans-Regular;
}
.online-courses .item.violet .girl {
    position: absolute;
    left: 40px;
    bottom: -30px
}


@media screen and (max-width: 1300px) {
    {}
    .section-header .inside {
        width: 1024px;
        max-width: 100%;
    }
    .section-header .left-description {
        width: 434px;
        margin-left: 22px;
    }
    .section-header .left-description .text {
        padding-left: 24px;
    }
    .section-header .button-right a {
        margin-left: 24px;
    }
    .section-header .right-image {
        margin-left: -34px;
    }
    .section-header .quarantine:before {
        left: 100px;
    }
    .section-header .quarantine:after {
        right: 86px;
    }
}
@media screen and (max-width: 1024px) {
    {}
    .section-header .right-image {
        width: 574px;
        overflow: hidden;
    }
}
@media screen and (max-width: 1020px) {
    {}
    .section-header .right-image {
        width: calc(100% - 460px);
        margin-right: 10px;
    }
    .section-header .right-image img {
        max-width: 100%;
    }
    .section-header .right-image {
        min-height: 530px;
    }
    .section-header .left-description {
        margin-left: 10px;
    }
    .section-header div.caption {
        padding-top: 10px;
    }
    .section-header .quarantine:before {
        left: 80px;
        top: 20px;
    }
    .section-header .quarantine:after {
        top: -50px;
        right:56px;
    }
}
@media screen and (max-width: 960px) {
    {}
    .section-header {
        overflow: hidden;
    }
    .section-header .inside {
        width: 768px;
    }
    .section-header .left-description {
        width: 300px;
        padding-top: 50px;
    }
    .section-header .left-description .text {
        font-size: 31px;
        padding-left: 12px;
    }
    .section-header .left-description .text span {
        font-size: 24px;
    }
    .section-header .left-description .with-bg {
        background-size: 100%;
        font-size: 40px;
        height: 66px;
        padding-top: 14px;
    }
    .section-header .button-right a {
        margin-left: 12px;
        width: 262px;
        margin-top: 25px;
    }
    .section-header .right-image {
        width: 450px;
        min-height: 460px;
    }
    .section-header .quarantine:before {
        left: -26px;
        top: -26px;
    }
    .section-header .quarantine:after {
        top: -92px;
        right: -50px;
    }
    .online-courses .inside {
        width: 740px;
    }
    .online-courses .item {
        width: 360px;
        max-width: 49%;
    }
    .online-courses .oc-title {
        font-size: 36px;
        margin-bottom: 80px;
        line-height: 1.2;
    }
    .online-courses .item.violet {
        width: 100%;
        max-width: 100%;
        padding: 28px 25px 34px 30px;
    }
    .online-courses .item.violet .ttl {
        text-align: left;
        width: auto;
    }
    .online-courses .item.violet .button a {
        width: 248px;
    }
    div.cont-teachers {
        margin-top: 0;
    }
    .online-courses .item.violet .girl {
        left: 260px;
    }
    .online-courses .item.violet .button {
        margin-top: 0;
    }
    .online-courses .item.violet .button {
        width: auto;
    }
}
@media screen and (max-width: 768px) {
    {}
    .section-header .right-image {
        width: 420px;
    }
    .online-courses .item {
        margin-bottom: 50px;
    }
    .online-courses .oc-title {
        font-size: 32px;
    }
    .online-courses .inside {
        padding-left: 12px;
        padding-right: 12px;
        box-sizing: border-box;
    }
    .online-courses .item.violet .girl {
        left: 220px;
    }
    .online-courses .item.violet .ttl {
        font-size: 22px;
    }
    .online-courses .item.violet .button a {
        width: 230px;
    }
}
@media screen and (max-width: 730px) {
    {}
    .section-header .right-image {
        width: 400px;
    }
    .online-courses .oc-title {
        font-size: 25px;
    }
    .online-courses .item {
        width: 100%;
        max-width: 100%;
    }
    .online-courses .oc-title {
        margin-bottom: 50px;
    }
    .online-courses .inside {
        width: 480px;
    }
    .online-courses .item.violet .ttl {
        text-align: center;
    }
    .online-courses .item.violet {
        padding-bottom: 170px;
    }
    .online-courses .item.violet .flex {
        width: 250px;
        max-width: 100%;
        display: block;
        text-align: center;
        margin: 0 auto;
    }
    .online-courses .item.violet .button {
        margin-top: 20px;
    }
    .online-courses .item.violet .button a {
        width: 100%;
    }
    .online-courses .item.violet .girl {
        left: 50%;
        margin-left: -110px;
    }
}
@media screen and (max-width: 700px) {
    {}
    .section-header .left-description .text {
        text-align: center;
    }
    .section-header .inside {
        width: 480px;
        padding: 0 10px;
        box-sizing: border-box;
    }
    .section-header .inside > .flex {
        justify-content: center;
    }
    .section-header .left-description {
        margin-left: 0;
        position: relative;
    }
    .section-header .right-image {
        margin-right: 0;
        margin-left: 0;
    }
    .section-header .left-description .text {
        margin-top: 0;
    }
    .section-header .caption-wrapper {
        margin-top: 0;
        height: 210px;
    }
    .section-header .quarantine:after {
        top: -188px;
        right: -60px;
    }
    .section-header .quarantine:before {
        left: -80px;
        top: -120px;
    }
    .section-header .left-description .text {
        padding-left: 0;
    }
    .section-header .button-right a {
        margin: 0 auto;
        margin-top: 25px;
    }
    
}
@media screen and (max-width: 500px) {
    {}
    .section-header .right-image {
        min-height: 430px;
    }
    .section-header .quarantine:before {
        left: -30px;
        top: -110px;
    }
    .section-header .quarantine:after {
        top: -190px;
        right: 16px;
    }
    .section-header .quarantine:before {
        width: 190px;
        background-size: 190px;
    }
    .section-header .quarantine:after {
        background-size: 140px;
        width: 140px;
    }
}
@media screen and (max-width: 400px) {
    {}
    .section-header .caption-wrapper .description br {
        display: none;
    }
    .section-header .caption-wrapper .title {
        font-size: 18px;
    }
    .section-header .quarantine:after {
        top: -170px;
    }
    .section-header .right-image {
        min-height: 1px;
        padding-bottom: 40px;
    }
    .section-header .quarantine:after {
        right: -10px
    }
    .section-header .caption-wrapper {
        border-radius: 100px;
    }
}
@media screen and (max-width: 375px) {
    .online-courses .oc-title {
        font-size: 22px;
    }
    
}



