.page353 .custom-header {
    background: none;
    padding: 95px 0 69px;
    align-items: flex-start;
    height: auto;
}
.page353 .custom-header:after{
    display: none;
}
.page353 .main-bg{
    position: absolute;
    right: 0;
    top: 0;
}
.page353 .over-title{
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}
.page353 .over-title img{
    margin-right: 10px;
}
.page353 h1{
    font-size: 98px;
    margin-top: 40px;
    line-height: 77px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
}
.page353 h2{
    text-align: center;
    font-size: 36px;
    line-height: 48px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
}
.page353 h1 span{
    display: block;
    font-size: 70px;
}
.page353 .for-whom{
    margin-top: 18px;
    /*background-color: #582e88;*/
    display: inline-block;
    font-size: 32px;
    line-height: 36px;
    font-weight: 700;
    /*color: #ffffff;*/
    border-radius: 50px;
    padding: 7px 20px; 
}
.page353 .lessons{
    font-size: 28px;
    line-height: 32px;
    color: #fff;
    background-color: #582e88;
    font-weight: 700;
}
.page353 .conatiner > .for-whom {
    margin-top: 0;
}
.page353 .main-list{
   list-style-type: none;
   padding: 0; 
}
.page353 .main-list li {
    position: relative;
    padding-left: 40px;
    font-size: 22px;
    line-height: 40px;
    color: #000000;
}
.page353 .main-list li:before{
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 30px;
    height: 30px;
    background: url(/components/com_articles/img/free-school/check.png) no-repeat;
}
.page353 .btn-more{
    display: block;
    text-align: center;
    margin-top: 30px;
    background-color: #ffcd07;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    border-radius: 40px;
    display: inline-block;
    padding: 18px 15px;
    width: 365px;
    max-width: 100%;
}
.page353 .medal{
    position: absolute;
    right: 108px;
    bottom: 60px;
    background: url(/components/com_articles/img/free-school/medal.png) no-repeat;
    font-size: 24px;
    line-height: 26px;
    font-weight: 700;
    color: #ffffff;
    background-position: center;
    padding: 46px 40px;
    text-align: center;
    transform: rotate(19deg);
    background-size: contain;
}
.page353 .school {
    padding: 67px 0 65px;
    background: url(/components/com_articles/img/free-school/school-bg.png) no-repeat;
}

.page353 .school h2{
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    text-transform: uppercase;
    color: #ffffff;
}
.page353 .school-wrapper{
    display: flex;
    justify-content: space-between;
}
.page353 .school-item {
    color: #ffffff;
    background: rgba(130, 103, 200, .56);
    border-radius: 30px;
    margin-right: 30px;
    width: 314px;
    padding: 35px 35px 40px;
}
.page353 .school-item:last-child{
    margin-right: 0;
}
.page353 .school-title{
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}
.page353 .school-text{
    color: #fff;
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 0;
    margin-top: 37px;
}
.page353 .school h3{
    position: relative;
    font-size: 36px;
    line-height: normal;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    margin-top: 20px;
}
.page353 .how{
    padding: 60px 0;
    max-width: 1170px;
    background-color: #f2f2f2;
    margin: 45px auto;
    border-radius: 30px; 
}

.page353 .how-item:nth-child(2){
    margin-top: 42px;
}
.page353 .how-item{
    display: flex;
    align-items: center;
    max-width: 825px;
    margin: 20px auto 0;
}
.page353 .how-item img{
    margin-right: 25px;
}
.page353 .how-item p{
    font-size: 22px;
    line-height: 25px;
    color: #000000;
    margin-bottom: 0;
}
.page353 .btn-y{
    background-color: #ffcd07;
    font-size: 24px;
    line-height: normal;
    font-weight: 700;
    color: #ffffff;
    border-radius: 40px;
    display: block;
    text-align: center;
    max-width: 449px;
    margin: 30px auto 0;
    padding: 13px 0;
}
.page353 .why-us{
    padding: 85px 0 30px;
}

.page353 .why-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1270px;
    margin: 80px auto 0;
}
.page353 .why-item {
    margin-right: 130px;
    width: 50%;
}
.page353 .why-item p{
    margin-top: 60px;
}
.page353 .why-img{
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page353 .how-work{
    padding: 50px 0;
}
/*.page353 .how-work .container{
    max-width: 1700px;
}*/
.page353 .work-wrapper{
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
}
.page353 .work-item{
    width: 24%;
}
.page353 .work-item img{
    max-width: 100%;
}
.page353 .work-title {
    font-size: 30px;
    line-height: 38px;
    font-weight: 700;
    margin-top: 25px;
    color: #000000;
}
.page353 .work-text{
    color: #000000;
    font-size: 22px;
    line-height: 28px;
}
.page353 .teacher-practice{
    padding: 60px 0 50px;
}
.page353 .free-teacher{
    margin-top: 72px;
}
.page353 .t-title{
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    color: #000000;
}
.page353 .teach-slide {
    padding: 0 25px;
}
.page353 .teach-top p{
    font-size: 22px;
    line-height: 28px;
    font-weight: 400;
    color: #000000;
}
.page353 .teach-left{
    left: -75px;
    top: 110px;
}
.page353 .teach-right{
    right: -75px;
    top: 110px;
}
.page353 .t-title{
    margin-top: 35px;
}
.page353 .table{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
.page353 .variants-table{
    padding: 40px 0 60px;
}
.page353 .btn-div{
    padding-top: 22px;
}
.page353 .table-first {
    margin-bottom: 15px;
    padding: 15px 70px 30px 40px;
    font-size: 22px;
    margin-top: 0;
    line-height: 30px;
    color: #000000;
    box-shadow: rgb(100 100 111 / 10%) 7px 2px 22px 7px;
    border-radius: 30px;
    position: relative;
    z-index: -1;
}
.page353 .table-first .table-item {
    /*min-height: 55px;*/
    display: flex;
    align-items: center;
    margin-top: 20px;
}
.page353 .table-first .table-item:nth-child(5), 
.page353 .table-first .table-item:nth-child(6), 
.page353 .table-yellow .table-check:nth-child(5),
.page353 .table-yellow .table-check:nth-child(6){
    
    /*min-height: 70px;*/
}
.page353 .table-first h3{
    font-size: 22px;
    line-height: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000000;
}
.page353 .table-yellow h4{
    background: #ffcd07;
    border-radius: 30px 30px 0 0;
    padding: 40px 20px;
    font-weight: 700;
}
.page353 .table-yellow h4 span{
    display: block;
    font-weight: 400;
}
.page353 .table-yellow{
    text-align: center;
    box-shadow: rgb(100 100 111 / 20%) 0px 7px 29px 0px;
    margin-right: 10px;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    background: #fff;
    padding-bottom: 30px;
}
.page353 .medal-bl{
    background: url(/components/com_articles/img/free-school/medal-2.png);
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 20px;
    position: absolute;
    right: -37px;
    top: -51px;
    z-index: 1;
}
.page353 .medal-bl p{
    text-align: center;
    color: #fff;
    max-width: 113px;
    margin: 0 auto;
    line-height: 18px;
    transform: rotate(4deg);
    font-size: 15px;
}
.page353 .table-yellow.table-purple{
    z-index: 1;
}
.page353 .table-yellow.table-purple h4{
    color: #fff;
    background: #8267c8;
}
.page353 .table-check{
  /*min-height: 55px;*/
  display: flex;
  justify-content: center;
  align-items: center;  
}
.page353 .btn-div a{
     background-color: #ffcd07;
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: #000000;
    display: block;
    max-width: 255px;
    margin: 0 auto;
    border-radius: 30px;
    padding: 10px 0;
}
.page353 .table-purple .btn-div a{
    color: #fff;
    background: #8267c8;
}
.page353 .tab-content {
  display: none;
}
.page353 .tab-content.active {
  display: block;
}
.page353 .schedule .tab-content{
    background: none;
}
.page353 .schedule .container{
    width: 1700px;
    max-width: 100%;
}
.page353 .tabs{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.page353 .tabs span{
    padding: 6px 39px;
    margin: 0 25px;
}
.page353 .tabs span{
    font-size: 34px;
    line-height: 45px;
    font-weight: 700;
    text-transform: uppercase;
    color: #b6b6b6;
    cursor: pointer;
}
.page353 .tabs span.active{
    background-color: #8267c8;
    border-radius: 30px;
}
.page353 .tabs span.active{
    color: #ffffff; 
}
.page353 .tab_item { 
    display: none; 
}
.page353 .tab_item:first-child { 
    display: block;
}
.page353 .tab_item .tab-img{
    display: flex; 
    justify-content: space-between;
}
.page353 .schedule{
    padding: 50px 0 80px;
}
.page353 .tab_content{
    margin-top: 50px;
}
.page353 .tab-img img {
    max-width: 31%;
    box-shadow: rgb(0 0 0 / 20%) 0px 18px 50px -10px;
}


/* Form */
.page353 .feed-form{
    background-color: #582e88;
    background-size: cover;
    background-position: center;
    padding: 55px 0;
}
.page353 .feed-form h2{
    color: #ffffff;
text-align: center;
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: normal;
    text-transform: uppercase;
}
.page353 .feed-form .subtitle{
    color: #ffffff;
font-size: 18px;
font-weight: 500;
margin-bottom: 27px;
}
.page353 .space-right input:first-child{
    margin-top: 0;
}

.page353 .feed-form input, .page353 .feed-form select{
    width: 100%;
    height: 68px;
    border-radius: 50px;
    background-color: #ffffff;
    box-sizing: border-box;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.075em;
    color: #000;
    margin-top: 25px;
    border: none;
    padding: 0 12px;
}
.page353 .form-wrapper {
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.page353 .form-wrapper .right-side{
    width: 50%;
    padding-top: 50px;
}
.page353 .form-text{
     max-width: 850px;
    margin: 20px auto;
    text-align: center;
    font-size: 20px;
    color: #ffffff;
}
.page353 .form-subtitle{
    text-align: center;
    font-size: 24px;
    font-weight: 400;
    font-weight: 600;
    letter-spacing: 0.075em;
    color: #ffffff;
    margin-bottom: 15px;
}
.page353 .form-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
}
.page353 .form-subtitle span{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    background: #252525;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #fcfa57;
    font-weight: 600;
}
.page353 .feed-form button{
    color: #fff;
    width: 100%;
    font-size: 22px;
    margin-top: 20px;
}

.page353 .form-wrapper form{
    position: relative;
    width: 100%;
        text-align: center;
}
.page353 form label{
    display: block;
        color: #fff;
    padding-left: 12px;
    font-size: 24px;
    margin: 17px 0 0px;
    font-weight: 600;
}

.page353 .primary {
    border: none;
    border-radius: 40px;
    background-color: #ed6f0f;
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: normal;
    padding: 20px 10px;
    max-width: 455px;
    margin: 0 auto;
}
.page353 .secondary{
    background: #edb801;
    border: none;
    border-radius: 40px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
    line-height: normal;
    padding: 20px 10px;
    max-width: 455px;
    margin: 20px auto 0;
    display: block;
    text-align: center;
}
.page353 .twoToneButton{
    position: relative;
  }

 .page353  .twoToneButton.spinning::after {
      content: '';
      display: block;
      width: 1.2em;
      height: 1.2em;
      position: absolute;
      left: calc(50% - 0.75em);
      top: calc(50% - 0.75em);
      border: 0.15em solid transparent;
      border-right-color: white;
      border-radius: 50%;
      animation: button-anim 0.7s linear infinite;
      opacity: 0;
    }
  @keyframes button-anim {
      from {
        transform: rotate(0);
      }
      to {
        transform: rotate(360deg);
      }
    }
    .page353 .twoToneButton.spinning {
        color: transparent !important;
    }

    .page353 .twoToneButton.spinning::after {
      opacity: 1;
    }
  
  @keyframes rotate360 { 
      100% {
          transform: rotate(360deg);
      }
  }
  @keyframes exist { 
      100% {
          width: 15px;
          height: 15px;
          margin: -8px 5px 0 0;
      }
  }


.page353 .right-side, .page353 .right-side .total{
    color: #fff;
    font-size: 50px;
}
.page353 .right-side .total{
    font-size: 68px;
}
.page353 .right-side .price{
    text-align: center;
}
.page353 form .left-side .input-div{
    position: relative;
}
.page353 form .var-pack{
    padding-left: 120px;
    padding-top: 6px;
    margin-top: 35px;
}
.page353 form .var-pack label{
    text-align: left;
    position: absolute;
    top: 0;
    left: 0;
}
.page353 form .var-pack p{
    text-align: left;
}

.page353 [type="radio"]:checked + label,
.page353 [type="radio"]:not(:checked) + label
{
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
}

@media only screen and (max-width: 1679px) {
    .page353 .custom-header{
        overflow: hidden;
    }
    .page353 .main-bg{
        right: -250px;
    }
    .page353 .teach-slide img{
       max-width: 100%;
    }
    /*.page353 .table-first {
        max-width: 382px;
        padding: 57px 70px 30px 40px;
        font-size: 20px;
        margin-top: 55px;
    }*/
    .page353 .btn-div a{
        max-width: 220px;
    }
    .page353 .table-yellow h4 span{
        font-size: 20px;
    }
    .page353 h2{
        font-size: 34px;
    }
}
@media only screen and (max-width: 1479px) {
    .page353 h1 {
        font-size: 90px;
        margin-top: 25px;
    }
    .page353 h1 span{
        font-size: 60px;
    }
    .page353 .custom-header {
        padding: 60px 0 55px;
    }
    .page353 .over-title {
        font-size: 22px;
    }
    .page353 .for-whom{
        font-size: 28px;
    }
    .page353 .lessons {
        font-size: 26px;
    }
    .page353 .school-item {
        padding: 35px 22px 40px;
    }
    .page353 .school-text{
        margin-top: 20px;
    }
    .page353 .school h3{
        font-size: 32px;
    }
    .page353 .why-item p {
        margin-top: 40px;
    }
    .why-img img {
        max-height: 285px;
    }
    .page353 .why-img{
        min-height: inherit;
    }
    .page353 .work-title {
        font-size: 30px;
        line-height: 34px;
    }
    .page353 .work-text{
        font-size: 20px;
    }
    .page353 .teacher-practice {
        padding: 40px 0 10px;
    }
    .page353 .teach-left {
        left: -40px;
    }
    .page353 .teach-right {
        right: -40px;
    }
    .page353 .t-title {
        margin-top: 20px;
    }
    .page353 .teach-top p {
        font-size: 20px;
        line-height: 25px;
    }
    .page353 h2 {
        font-size: 32px;
    }
}
@media only screen and (max-width: 1279px) {
    .page353 .main-bg {
        right: -350px;
    }
    .page353 .over-title{
        max-width: 500px;
        position: relative;
        padding-left: 58px;
    }
    .page353 .over-title img{
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    .page353 .for-whom {
        font-size: 26px;
    }
    .page353 .lessons {
        font-size: 24px;
    }
    .page353 .main-list li{
        font-size: 20px;
    }
    .page353 .main-list {
        max-width: 437px;
    }
    .page353 .main-list li {
        font-size: 20px;
        line-height: normal;
        margin-top: 20px;
    }
    .page353 .main-list li:before{
        top: 0;
    }
    .page353 .school {
        padding: 35px 0 40px;
        background-size: cover;
    }
    .page353 .school-wrapper{
        flex-wrap: wrap;
    }
    .page353 .school-item {
        padding: 35px 22px 40px;
        width: 48%;
        margin-right: 0;
    }
    .page353 .school-item:nth-child(n+3){
        margin-top: 20px;
    }
    .page353 .how {
        padding: 45px 0;
        max-width: 90%;
    }
    .page353 .why-us {
        padding: 55px 0 20px;
    }
    .page353 h2 {
        font-size: 28px;
    }
    .page353 .why-wrapper {
        margin: 40px auto 0;
    }
    .page353 .why-img img {
        max-height: 240px;
    }
    .page353 .why-item p {
        margin-top: 25px;
    }
    .page353 .work-title {
        font-size: 25px;
        line-height: 30px;
    }
    .page353 .work-text {
        font-size: 18px;
        line-height: 26px;
    }
    .page353 .how-work {
        padding: 35px 0 20px;
    }
    .page353 .free-teacher {
        margin-top: 50px;
    }
    /*.page353 .table-first {
        max-width: 320px;
        padding: 57px 44px 30px 40px;
        font-size: 18px;
        line-height: 24px;
    }*/
    .page353 .btn-div a {
        max-width: 174px;
        font-size: 21px;
        padding: 7px 0;
    }
    /*.page353 .table-first {
        margin-bottom: 26px;
    }*/
    .page353 .tabs span {
        padding: 2px 39px;
        font-size: 25px;
        margin: 0 5px;
    }
    .page353 .feed-form h2{
        font-size: 32px;
    }
    .page353 .feed-form input, .page353 .feed-form select{
        height: 60px;
    }
    .page353 form .var-pack{
        margin-top: 25px;
    }
    .page353 form .var-pack {
        padding-left: 82px;
    }
    .page353 form label{
        font-size: 20px;
    }
    .page353 .right-side .total {
        font-size: 55px;
    }
    .page353 .primary, .page353 .secondary{
        font-size: 25px;
        padding: 14px 10px;
        max-width: 375px;
    }
}

@media only screen and (max-width: 1023px) {
    .page353 .custom-header .container > div{
        padding-top: 0;
    }
    .page353 .over-title {
        max-width: 409px;
        position: relative;
        padding-left: 58px;
        line-height: 22px;
    }
    .page353 .custom-header {
        padding: 0px 0 66px;
    }
    .page353 h1 {
        font-size: 76px;
        margin-top: 20px;
    }
    .page353 h1 span {
        font-size: 48px;
    }
    .page353 .for-whom {
        margin-top: 0;
        font-size: 22px;
    }
    .page353 .main-bg {
        right: -229px;
        max-width: 827px;
        top: 0;
    }
    .page353 .why-img img {
        max-height: 170px;
    }
    .page353 .medal {
        right: 40px;
        bottom: 60px;
        font-size: 18px;
        line-height: 22px;
        padding: 35px 38px;
    }
    .page353 .school h2{
        font-size: 26px;
    }
    .page353 .school-title {
        font-size: 20px;
        line-height: 24px;
    }
    .page353 .school-text {
        margin-top: 10px;
    }
    .page353 .how-item p {
        font-size: 18px;
        line-height: 22px;
    }
    .page353 .how-item img {
        margin-right: 15px;
        max-width: 65px;
    }
    .page353 .how {
        padding: 45px 40px;
    }
    .page353 .how-item:nth-child(2) {
        margin-top: 28px;
    }
    .page353 .work-title {
        margin-top: 13px;
        font-size: 22px;
        line-height: 25px;
    }
    .page353 .work-text {
        font-size: 16px;
        line-height: 26px;
    }
    .page353 .teacher-practice {
        padding: 20px 0 10px;
    }
    .page353 .t-title {
        font-size: 20px;
    }
    .page353 .teach-top p {
        font-size: 18px;
        line-height: 23px;
    }
    /*.page353 .table-first h3 {
        font-size: 20px;
        line-height: 26px;
    }
    .page353 .table-first {
        max-width: 319px;
        padding: 40px 40px 22px 18px;
    }*/
    .page353 .table-check img {
        max-width: 30px;
    }
    /*.page353 .table-first .table-item{
        font-size: 15px;
    }*/
    .page353 .table-yellow{
        margin-right: 0;
    }
    /*.page353 .table-first {
        max-width: 245px;
    }*/
    .page353 .medal-bl {
        padding: 22px 5px;
        background-size: contain;
        right: -37px;
        top: -41px;
    }
    .page353 .medal-bl p{
        font-size: 14px;
    }
    .page353 .table-yellow h4{
        padding: 30px 9px;
        font-size: 18px;
    }
    .page353 .table-yellow h4 span {
        font-size: 15px;
    }
    /*.page353 .table-first{
        margin-top: 25px;
        max-width: 210px;
    }*/
    .page353 .table-yellow:nth-child(n+2) .table-check:nth-child(4){
        margin-top: -12px;
    }
    .page353 .table-check.third-check {
        margin-top: 29px !important;
    }
    .page353 .btn-div a{
        font-size: 17px;
    }
    .page353 .table-check.last-check{
        margin-bottom: 10px;
    }
    .page353 .schedule {
        padding: 45px 0;
    }
    .page353 h2 {
        font-size: 24px;
    }
    .page353 .tabs span{
        font-size: 20px;
        line-height: 38px;
    }
    .page353 .feed-form{
        padding: 40px 0;
    }
    .page353 .form-subtitle{
        line-height: 26px;
    }
    .page353 .form-wrapper{
        flex-direction: column;
        align-items: center;
    }
    .page353 .feed-form input, .page353 .feed-form select {
        height: 55px;
    }
    .page353 .form-wrapper {
        max-width: 460px;
    }
    .page353 form label {
        font-size: 19px;
        margin: 10px 0 0px;
    }
    .page353 form .var-pack{
        padding-top: 2px;
        padding-left: 105px;
    }
    .page353 .form-wrapper form{
        margin-bottom: 0;
    }    
    .page353 .form-wrapper .right-side {
        width: 100%;
    }
    .page353 .form-wrapper .right-side{
        padding-top: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .page353 .teach-right {
        right: 0;
    }
    .page353 .teach-left {
        left: 0;
    }
    .page353 .free-teacher{
        padding: 0 25px;
    }
    .page353 .why-item {
        margin-right: 70px;
        width: 50%;
    }
    .page353 .why-item:last-child{
        margin-right: 0;
    }
    .page353 .over-title {
        font-size: 20px;
    }
    .page353 .custom-header > div.container {
        padding-top: 30px;
    }
    .page353 h1 {
        font-size: 65px;
        margin-top: 20px;
    }
    .page353 h1 span {
        font-size: 40px;
        line-height: normal;
    }
    .page353 .for-whom{
        font-size: 18px;
    }
    .page353 .lessons {
        font-size: 18px;
        line-height: normal;
        max-width: 500px;
    }
    .page353 .main-list li{
        font-size: 16px;
    }
    .page353 .main-bg{
        max-width: inherit;
        left: 100px;
    }
    .page353 .school-title {
        font-size: 18px;
        line-height: 22px;
    }
    .page353 .school-text {
        font-size: 18px;
        line-height: 22px;
    }
    .page353 .school h3 {
        font-size: 26px;
    }
    .page353 .work-wrapper{
        flex-wrap: wrap;
    }
    .page353 .work-item {
        width: 48%;
    }
    .page353 .teach-top p {
        font-size: 16px;
    }
    .page353 .t-title {
        font-size: 18px;
    }
    .page353 .tab_item .tab-img{
        flex-wrap: wrap;
        justify-content: center;
    }
    .page353 .tab_item .tab-img img{
        margin-right: 20px;
        max-width: 46%;
    }
    .page353 .tab_item .tab-img img:nth-child(n+3){
        margin-top: 20px;
    }
}

@media only screen and (max-width: 600px) {
    .page353 .tabs span{
        padding: 2px 31px;
        font-size: 18px;
    }
    .page353 .variants-table{
        padding: 0;
    }
    .page353 .table-first{
        font-size: 20px;
    }
    .page353 .medal {
        right: 6px;
        bottom: 105px;
        font-size: 13px;
        line-height: 18px;
        padding: 26px 38px;
    }
    .page353 .btn-more{
        width: 265px;
    }
    .page353 .btn-y{
        font-size: 19px;
    }
    .page353 .how-item p {
        font-size: 16px;
    }
    .page353 .why-item {
        margin-right: 10px;
        width: 46%;
    }
    .page353 .work-wrapper{
        margin-top: 25px;
    }
    .page353 .work-title{
        font-size: 20px;
    }
    .page353 .free-teacher {
        margin-top: 30px;
    }
    .page353 .t-title{
        line-height: normal;
    }
   /* .page353 .table-first h3 {
        font-size: 18px;
    }*/
    /*.page353 .table{
            transform: scale(.7);
        width: 140%;
        margin-right: 0;
        margin-left: -89px;
        margin-top: -99px;
        margin-bottom: -118px;
    }*/
    .page353 h2 {
        font-size: 22px;
        line-height: normal;
    }
    .page353 .tab_item .tab-img img {
        margin-right: 20px;
        max-width: 45%;
    }
    .page353 .tab_item .tab-img img:nth-child(2){
        margin-right: 0;
    }
}
@media only screen and (max-width: 480px) {
    .page353 .variants-table {
        padding: 38px 0 0;
    }
    .page353 .table {
        margin-top: 36px;
    }
    .page353 .table-first {
        padding: 13px 20px 28px 20px;
    }
    .page353 .schedule {
        padding: 15px 0 20px;
    }
    .page353 .table-first .table-item{
        margin-top: 10px;
    }
    .page353 .why-wrapper{
        flex-direction: column;
        align-items: center;
    }
    .page353 .why-item {
        margin-right: 0;
        width: 100%;
    }

    .page353 .custom-header > div.container{
        padding-left: 10px;
        padding-right: 10px;
    }
    .page353 .over-title {
        font-size: 16px;
    }
    .page353 h1 {
        font-size: 57px;
        margin-top: 20px;
        text-align: center;
    }
    .page353 h1 span {
        font-size: 33px;
        line-height: 30px;
    }
    .page353 .for-whom {
        font-size: 15px;
        margin: 14px auto;
        display: block;
        max-width: 300px;
    }
    .page353 .lessons{
        text-align: center;
        font-size: 16px;
    }
    .page353 .main-list li {
        font-size: 14px;
    }
    .page353 .medal {
        right: -2px;
        bottom: 28px;
        font-size: 12px;
        line-height: 18px;
        padding: 20px 38px;
    }
    .page353 .custom-header {
        padding: 0px 0 15px;
    }
    .page353 .school-item{
        width: 100%;
    }
    .page353 .school-item:nth-child(n+2) {
        margin-top: 20px;
    }
    .page353 .school h2 {
        font-size: 22px;
    }
    .page353 .school-item {
        padding: 20px 17px 24px;
    }
    .page353 .how{
        margin: 25px auto;
    }
    .page353 .how {
        padding: 27px 12px;
    }
    .page353 .btn-y {
        font-size: 16px;
    }
    .page353 .work-item {
    width: 100%;
}
    .page353 .btn-more {
        width: 228px;
    }
    .page353 .why-item:nth-child(n+2){
        margin-top: 30px;
    }
    .page353 .teach-slide {
        padding: 0;
    }
    .page353 .teach-slide img{
        margin: 0 auto;
    }
    .page353 form .var-pack {
        padding-left: 80px;
    }
    .page353 form label {
        font-size: 17px;
    }
    .page353 .feed-form {
        padding: 32px 0;
    }
    .page353 .feed-form h2 {
        font-size: 28px;
    }
   /* .page353 .table {
        transform: scale(.6);
        width: 174%;
        margin-right: 0;
        margin-left: -37%;
        margin-top: -129px;
        margin-bottom: -173px;
    }*/
    .page353 .primary {
        font-size: 20px;
        padding: 16px 10px;
        max-width: 325px;
    }
    .page353 .secondary {
        font-size: 20px;
        padding: 16px 10px;
        max-width: 325px;
    }
    .page353 .slick-list.draggable{
        margin-right: 0;
    }
}

