.tnb,.tnb>tbody>tr>td{border: none !important}
.mobile {display:none;}
.header_vote_btn__two {display: none;}

@media screen and (max-width: 599px) {

    /* default */
    .mobile {display: block;}
    .mobile_table {display: table;}
    .mobile_inline {display: inline-block !important;}
    .mobile_hide {display: none;}

    .to_div {display: block; width: 100%;}
    .to_div > tbody {display: block; width: 100%;}
    .to_div > tbody > tr {display: block; width: 100%;}
    .to_div > tbody > tr > td {display: block; width: 100%;}

    .align_center, .align_center td {text-align: center;}
    .align_left, .align_left td {text-align: left;}
    .align_justify, .align_justify td {text-align: justify;}
    .max_width {
        max-width: 100vw;
        min-width: auto;
        padding: 0 15px;
    }

    /* ftext */
    .ftext, .ftext ul, .ftext p, .ftext table, .ftext_center, .ftext_center ul, .ftext_center table, .ftext_center p {
        font-size: 14px;
    }
    .ftext table td:first-child {
        padding-left: 0;
    }
    .ftext table td:last-child {
        padding-right: 0;
    }


    /* HEADER */
    .header_mobile_wrap {position: relative;min-height: 100px;}
    .header_address_mobile {
        font-size: 11px;
        padding: 8px 0 9px;
    }
    .header_mobile {
        width: 100%;
        background-color:  #fda870;
        height: 50px;
        position: relative;
        z-index: 202;
        top: 0;
    }
        .header_mobile.fixed {
            position: fixed;
        }
    .header_mobile__container {
        padding: 10px;
        height: 100%;
        position: relative;
    }
    .header_mobile__logo {
        display: block;
        width: 150px;
        height: 30px;
        background-image: url(/i/logo-header-mobile.png);
        background-size: contain;
        background-repeat: no-repeat;
    }
    .header_mobile__menu_icon {
        width: 28px;
        height: 20px;
        background-image: url(/i/header-mobile-menu.svg);
    }
    .header_mobile__search_icon {
        width: 28px;
        height: 20px;
        background-image: url(/i/header-mobile-lupe.svg);
        background-position: right center;
        background-repeat: no-repeat;
        position: relative;
        z-index: 2;
        visibility: hidden;
    }
    .header_mobile__search {
        background-color:  #fda870;
        position: absolute;
        width: 0;
        height: 50px;
        right: 0;
        top: 0;
        z-index: 1;
        padding: 12px 10px;
        overflow: hidden;
        transition: width 0.3s ease-in-out;
    }
        .header_mobile__search.show {
            width: 100%;
        }
    .header_mobile__search_close {
        display: inline-block;
        width: 28px;
        height: 20px;
        opacity: 0;
        vertical-align: middle;
        background-image: url(/i/cross.svg);
        background-size: contain;
        background-repeat: no-repeat;
        transition: all 0.2s ease-in-out;
    }
        .header_mobile__search.show .header_mobile__search_close {
            opacity: 1;
        }
    .header_mobile__search input {
        display: inline-block;
        vertical-align: middle;
        background-color: transparent;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid #6c7ab2;
        width: calc(100% - 32px);
        height: 26px;
        padding-left: 1px;
        color: #ffffff;
    }
        .header_mobile__search input::-webkit-input-placeholder {color:#6c7ab2; font-family: 'neueitalic';}
        .header_mobile__search input::-moz-placeholder {color:#6c7ab2; font-family: 'neueitalic';}/* Firefox 19+ */
        .header_mobile__search input:-moz-placeholder {color:#6c7ab2; font-family: 'neueitalic';}/* Firefox 18- */
        .header_mobile__search input:-ms-input-placeholder {color:#6c7ab2; font-family: 'neueitalic';}
    .header_mobile__menu {
        background-image: url(/i/header-mobile-menu-background.png);
        height: 0;
        width: 100%;
        overflow: hidden;
        z-index: 201;
        transition: height 0.2s ease-in-out, top 0.05s ease-in-out;
    }
    .header_mobile__menu__ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .header_mobile__menu__ul li {
        padding: 10px;
    }
        .header_mobile__menu__ul li.active {
            background-color: rgba(255,255,255,0.5);
        }
    .header_mobile__menu__ul li a {
        font-size: 1.3em;
        color: #ffffff;
        border-bottom: 1px solid;
    }
        .header_mobile__menu__ul li.active a {
            border-bottom: none;
        }
    .header_mobile__menu__btn {
        padding: 14px 23px;
        margin-top: 25px;
        font-size: 15px;
        line-height: 15px;
    }

    .header_news_item {
        right: 10px;
    }

    .header_slider_wrap {
        height: auto;
        max-height: 380px;
        overflow: hidden;
    }
    .header_slider_item {
        height: 380px;
    }
    .header_slider_item__title {
        font-size: 23px;
    }
    .header_slider_item__text {
        font-size: 16px;
        line-height: 25px;
    }
    .header_slider_item__btn {
        margin-top: 25px;
        padding: 10px 20px;
        font-size: 14px;
    }
    .header_slider_wrap video {
        transform: scale(2.3);
        height: 185px;
    }

    .header_banner {
        height: 130px;
        margin-bottom: 30px;
    }
    .header_banner_title {
        font-size: 40px;
    }
    .header_sub_menu {
        overflow-x: auto;
        overflow-y: hidden;
    }
    .header_sub_menu_ul {
        white-space: nowrap;
    }


    /* CONTENT */
    .section_title {
        font-size: 20px;
        padding-top: 25px;
        padding-bottom: 30px;
    }
    .page_title {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 15px;
    }
    .page_wrap {
        margin-bottom: 40px;
    }
    .breadcrumbs {
        margin-top: 10px;
        margin-bottom: 25px;
    }
    .breadcrumbs_link {
        line-height: 23px;
    }

    .document {
        margin-right: 0;
        margin-bottom: 20px;
    }

    /* courses */
    .courses_wrap {padding-bottom: 35px;}
    .course_item {
        margin-right: 0;
        margin-bottom: 35px;
    }
        .course_item:last-child {
            margin-bottom: 0;
        }
    .course_item__img {
        height: 150px;
        background-size: contain;
    }
    .course_item__text {
        font-size: 14px;
    }
    .distance_course__title {
        display: none;
    }

    .course_page__img {
        width: 100%;
    }

    /* reviews */
    .reviews_slider {
        width: 100%;
        height: 215px;
    }
    .reviews_slider_left, .reviews_slider_right {display: none;}
    .reviews_slider .cycle-pager {
        margin-top: 25px;
    }
    .reviews_slider .reviews_item {
        height: 175px;
    }
    .reviews_slider .reviews_item__date {
        margin-bottom: 10px;
    }
    .reviews_slider .reviews_item__text {
        margin-bottom: 15px;
    }

    /* shedule */
        .timetable_table:first-child .timetable_table__head td:last-child {
            border-radius: 5px 5px 0 0;
        }
    .timetable_table__days li a {
        font-size: 14px;
        line-height: 16px;
        padding: 10px 17px;
        font-family: 'neueregular';
    }
    .timetable_table__content {
        padding-bottom: 1px;
    }
    .timetable_table__content__item {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }
    .timetable_table__zaglushka {margin-bottom: 10px;}

    .schedule_wrap .timetable_table__title {font-size: 18px;}

    /* teachers */
    .teachers_slider_item {text-align: center;}
    .teachers_slider_item .teacher_item {
        margin-right: 0;
        margin-bottom: 35px;
        width: 190px;
    }

    /* cert */
    .check_cert_wrap {padding: 25px 0;}
    .check_cert {
        width: 100%;
        height: 235px;
        padding: 30px 30px;
        background-size: cover;
        position: relative;
    }
        .check_cert:after {
            content: "";
            width: calc(100% - 58px);
            height: calc(100% - 10px);
            position: absolute;
            right: 0;
            bottom: 0;
            background-image: url(/i/check-sert-item_background.jpg);
            background-position: right bottom -2px;
            z-index: 0;
        }
    .check_cert__title {
        font-size: 20px;
        margin-bottom: 20px;
        position: relative;
        z-index: 1;
    }
    .check_cert table {
        position: relative;
        z-index: 1;
    }
    .check_cert__input[type="text"] {
        width: 100%;
        height: 40px;
        line-height: 40px;
        padding: 0 10px !important;
    }
    .check_cert__btn {
        width: 100%;
        height: 40px;
        line-height: 40px;
        margin-top: 15px;
    }

    /* teachers */
    .teachers_slider.mobile {
        width: 100%;
        height: 345px;
    }
    .teachers_slider.mobile .teachers_slider_item {
        height: 305px;
    }
    .teachers_slider.mobile .cycle-pager {
        margin-top: 25px;
    }

    /* video */
    .video_item {
        width: 100%;
        height: 180px;
        margin-right: 0;
    }
        .video_item:last-child {
            margin-bottom: 0;
        }

    /* photos */
    .photos_albums__item {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
        .photos_albums__item:last-child {
            width: 100%;
            margin-right: 0;
            margin-bottom: 0;
        }
    .photos_wrap {}
    .photos_item {
        width: 100% !important;
        max-width: 100% !important;
        height: 60vw !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
        .photos_item:nth-child(n+4) {
            display: none;
        }
        .photos_item:last-child {
            display: inline-block;
        }
    .photos_item_more {
        width: 100%;
        height: 60vw;
        bottom: 10px;
    }

    .photos_album {
        height: auto;
    }
    .photos_album__item {
        float: none;
        display: block;
        width: 100% !important;
        height: 200px !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
        .photos_album__item:nth-child(n+4) {
            display: none;
        }

    /* reviews */
    .reviews_letters_wrap {text-align: center;}
    .reviews_letters__item {
        width: 100%;
        margin-right: 0;
    }
        .reviews_letters__item:last-child {
            margin-bottom: 0;
        }

    /* news */
    .news_item {
        max-width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
        .news_item:last-child {margin-bottom: 0;}
    .news_item__date {margin-bottom: 5px;}

    /* FOOTER */
    .footer_wrap {padding: 15px 0 10px}
    .footer_table {font-size: 14px;}
    .footer_table td:nth-child(3) {display:inline-block;width: 49%;}
    .footer_table td:nth-child(4) {display:inline-block;width: 0;}
    .footer_table td:nth-child(5) {display:inline-block;width: 48%;}
    .footer_table__menu li {
        white-space: normal;
    }

    /* forms */
    .form_type_1 {
        width: 100%;
        padding: 35px 15px 30px;
    }

    /* popup */
    .popup_wrap {
        max-width: 95%;
        max-height: 97vh;
        overflow-y: auto;
    }
    .popup_close {
        top: 0px;
        right: 0px;
        background-color: rgba(0,0,0,0.5);
    }
    .popup__title {
        font-size: 22px;
        line-height: 22px;
    }
    .popup_news {
        padding: 20px 10px 15px;
        width: 100%;
    }
    .popup_news__item {
        font-size: 13px;
        line-height: 20px;
    }
    .popup__video iframe {
        width: 92vw;
        height: 58vw;
    }

    /* error 404 */
    .error_404__top,
    .error_404__bottom {
        height: 30px;
        background-size: auto 7px;
    }
    .error_404__logo {
        display: none;
    }
    .error_404__numbers {
        max-width: 100%;
        width: 246px;
    }
    .error_404__text {
        font-size: 20px;
        line-height: 26px;
        margin-top: 30px;
    }
    .error_404__ul {
        margin-top: 30px;
    }
    .error_404__ul > li {
        display: block;
    }

    /* test */
    #sfWebDebug {
        display: none;
    }
    .pages_map__card {
        width: 90%;
    }
}

@media screen and (max-width: 330px) {
    /* HEADER */
    .header_mobile__menu__ul li {
        padding: 7px;
    }
    .header_mobile__menu__ul li a {
        font-size: 1.3em;
    }
}

@media screen and (min-width: 600px) and (max-width: 699px) {
    .body_wrapper > tbody > tr > td {overflow-x: hidden;}
    .header_block_first__table > tbody > tr > td:nth-child(2),
    .header_block_first__table > tbody > tr > td:nth-child(3) {
        display: none;
    }
    .header_block_first__table__info {
        font-size: 13px;
    }
    .header_menu_ul li {margin-right: 15px;}
    .header_menu_ul li a {font-size: 13px;}
    .header_vote_btn {display: none;}
    .header_vote_btn__two {ont-size: 13px; padding: 5px 10px;display: inline-block}

    .header_slider_wrap.cycle-slideshow {height: 320px;}
    .header_banner {height: 200px;}

    /* header slider video */
    .header_slider_video_info {}
    .header_slider_video_info .br20 {display: none;}
    .header_slider_item__title {font-size: 26px;}
    .header_slider_item__text {display: none;}
    .header_slider_item__btn {margin-top: 25px; padding: 12px 30px;}

    /* sub menu */
    .header_sub_menu_ul li {margin-right: 5px;}
    .header_sub_menu_ul li a {
        font-size: 14px;
        line-height: 15px;
    }

    /* Курсы */
    .course_page > tbody > tr > td:nth-child(2) {display: none;}
    .course_page > tbody > tr > td:nth-child(3) {display: none;}
    .course_page__img {
        width: 250px;
        height: 300px;
    }
    .course_page__btn {
        font-size: 14px;
        line-height: 14px;
        padding: 12px 7px;
        margin-bottom: 10px;
    }
    .course_item {
        width: 180px;
        margin-right: 55px;
    }
        .course_item:nth-child(2n+2) {
            margin-right: 0;
        }
        .course_item:last-child {
            margin-right: 0;
        }
        .course_item:nth-last-child(1),
        .course_item:nth-last-child(2) {
            margin-bottom: 0;
        }
    .course_item__img {
        height: 185px;
        background-size: contain;
    }
    .course_item__text {
        padding: 0 0px;
        font-size: 13px;
    }

    /* Расписание */
    .timetable_table__title {display: none;}
    .timetable_table__days li a {padding: 14px 9px; font-size: 13px;}

    /* Преподаватели */
    .teacher_item:nth-last-child(1),
    .teacher_item:nth-last-child(2),
    .teacher_item:nth-last-child(3),
    .teacher_item:nth-last-child(4),
    .teacher_item:nth-last-child(5) {
        margin-bottom: 0;
    }
    .teacher_item:nth-child(5n+5) {
        margin-right: 0;
    }
    .teachers_slider_item .teacher_item:last-child {
        margin-right: 0;
    }


    /* Документы */
    .document:nth-child(3n+3) {
        margin-right: 0;
    }
    .document:nth-last-child(1),
    .document:nth-last-child(2),
    .document:nth-last-child(3) {
        margin-bottom: 0;
    }
    .document:last-child {
        margin-right: 0;
    }

    /* Видео */
    .video_item {
        width: calc(50% - 13px);
        height: 150px;
    }
    .video_item:nth-child(2n+2) {
        margin-right: 0;
    }
    .video_item:nth-last-child(1),
    .video_item:nth-last-child(2){
        margin-bottom: 0;
    }

    /* Фото */
    .photos_albums__item {
        width: calc(50% - 12px);
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .photos_albums__item:nth-child(2n + 2) {
        margin-right: 0;
    }
    .photos_albums__item:last-child {
        margin-bottom: 0;
    }
    .photos_wrap {}
    .photos_item {
        width: calc(50% - 1px) !important;
        max-width: 100% !important;
        height: 35vw !important;
        margin-right: 1px !important;
        margin-bottom: 1px;
    }
    .photos_item:nth-child(2n+2) {
        width: 50% !important;
        margin-right: 0 !important;
    }
    .photos_item:last-child {
        display: inline-block;
    }
    .photos_item_more {
        width: 50%;
        height: 35vw;
        bottom: 1px;
    }

    .photos_album {
        height: auto;
    }
    .photos_album__item {
        width: calc(50% - 1px) !important;
        max-width: 100% !important;
        height: 35vw !important;
        margin-right: 1px !important;
        margin-bottom: 1px;
        margin-left: 0 !important;
    }
    .photos_album__item:nth-child(2n+2) {
        width: 50% !important;
        margin-right: 0 !important;
    }

    /* Новости */
    .news_item:nth-child(3n+3) {margin-right: 0;}
    div:not(.news_vertical) > .news_item:nth-last-child(1),
    div:not(.news_vertical) > .news_item:nth-last-child(2),
    div:not(.news_vertical) > .news_item:nth-last-child(3) {
        margin-bottom: 0;
    }
    div.news_vertical > .news_item {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Благодарственные письма */
    .reviews_letters__item {
        width: calc(33% - 37px);
        height: 180px;
        margin-right: 30px;
    }
    .reviews_letters__item:nth-child(3n+3) {
        margin-right: 0;
    }
    .reviews_letters__item:nth-last-child(1),
    .reviews_letters__item:nth-last-child(2),
    .reviews_letters__item:nth-last-child(3) {
        margin-bottom: 0;
    }

    /* Контакты */
    .pages_map__card {transform: scale(0.8);top:0;right: 0;}

    /* page right wrap */
    .page_right_wrap__clear {display: none;}
    .page_right_wrap {display: none;}

    /* Footer */
    .footer_wrap .max_width {padding: 0;}
    .footer_table {font-size: 13px;}
    .footer_table > tbody > tr > td:nth-child(3),
    .footer_table > tbody > tr > td:nth-child(5) {
        display: none;
    }
    .atma_table {width: 150px;}
    .atma_logo {display: none;}

    /* ftext */
    .ftext, .ftext ul, .ftext p, .ftext table, .ftext_center, .ftext_center ul, .ftext_center table, .ftext_center p {
        font-size: 14px;
    }

    /* others */
    .form_type_1.mobile_hide {
        display: none;
    }
}

@media screen and (min-width: 700px) and (max-width: 799px) {
    .body_wrapper > tbody > tr > td {overflow-x: hidden;}
    .header_block_first__table__info {
        font-size: 13px;
    }
    .header_menu_ul li {margin-right: 15px;}
    .header_menu_ul li a {font-size: 14px;}
    .header_vote_btn {font-size: 13px; padding: 5px 10px;}
    .header_vote_btn__hide {display: none;}

    .header_slider_wrap.cycle-slideshow {height: 320px;}
    .header_banner {height: 250px;}

    /* header slider video */
    .header_slider_video_info {}
    .header_slider_video_info .br20 {display: none;}
    .header_slider_item__title {font-size: 36px;}
    .header_slider_item__text {display: none;}
    .header_slider_item__btn {margin-top: 30px; padding: 12px 30px;}

    /* sub menu */
    .header_sub_menu_ul li {margin-right: 5px;}
    .header_sub_menu_ul li a {
        font-size: 14px;
        line-height: 15px;
    }

    /* Курсы */
    .course_page > tbody > tr > td:nth-child(2) {display: none;}
    .course_page > tbody > tr > td:nth-child(3) {display: none;}
    .course_page__btn {
        font-size: 14px;
        line-height: 14px;
        padding: 12px 7px;
        margin-bottom: 10px;
    }
    .course_item {
        margin-right: 45px;
    }
    .course_item:nth-child(2n+2) {
        margin-right: 0;
    }
    .course_item:last-child {
        margin-right: 0;
    }
    .course_item:nth-last-child(1),
    .course_item:nth-last-child(2) {
        margin-bottom: 0;
    }

    /* Расписание */
    .timetable_table__title {font-size: 18px;}
    .timetable_table__days li a {padding: 14px 9px; font-size: 13px;}

    /* Преподаватели */
    .teacher_item:nth-last-child(1),
    .teacher_item:nth-last-child(2),
    .teacher_item:nth-last-child(3),
    .teacher_item:nth-last-child(4),
    .teacher_item:nth-last-child(5) {
        margin-bottom: 0;
    }
    .teacher_item:nth-child(5n+5) {
        margin-right: 0;
    }
    .teachers_slider_item .teacher_item:last-child {
        margin-right: 0;
    }


    /* Документы */
    .document:nth-child(3n+3) {
        margin-right: 0;
    }
    .document:nth-last-child(1),
    .document:nth-last-child(2),
    .document:nth-last-child(3) {
        margin-bottom: 0;
    }
    .document:last-child {
        margin-right: 0;
    }

    /* Видео */
    .video_item {
        width: calc(50% - 13px);
        height: 185px;
    }
    .video_item:nth-child(2n+2) {
        margin-right: 0;
    }
    .video_item:nth-last-child(1),
    .video_item:nth-last-child(2){
        margin-bottom: 0;
    }

    /* Фото */
    .photos_albums__item {
        width: calc(50% - 12px);
        margin-right: 20px;
        margin-bottom: 20px;
    }
    .photos_albums__item:nth-child(2n + 2) {
        margin-right: 0;
    }
    .photos_albums__item:last-child {
        margin-bottom: 0;
    }
    .photos_wrap {}
    .photos_item {
        width: calc(50% - 1px) !important;
        max-width: 100% !important;
        height: 35vw !important;
        margin-right: 1px !important;
        margin-bottom: 1px;
    }
    .photos_item:nth-child(2n+2) {
        width: 50% !important;
        margin-right: 0 !important;
    }
    .photos_item:last-child {
        display: inline-block;
    }
    .photos_item_more {
        width: 50%;
        height: 35vw;
        bottom: 1px;
    }

    .photos_album {
        height: auto;
    }
    .photos_album__item {
        width: calc(50% - 1px) !important;
        max-width: 100% !important;
        height: 35vw !important;
        margin-right: 1px !important;
        margin-bottom: 1px;
        margin-left: 0 !important;
    }
    .photos_album__item:nth-child(2n+2) {
        width: 50% !important;
        margin-right: 0 !important;
    }

    /* Новости */
    .news_item:nth-child(3n+3) {margin-right: 0;}
    div:not(.news_vertical) > .news_item:nth-last-child(1),
    div:not(.news_vertical) > .news_item:nth-last-child(2),
    div:not(.news_vertical) > .news_item:nth-last-child(3) {
        margin-bottom: 0;
    }
    div.news_vertical > .news_item {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Благодарственные письма */
    .reviews_letters__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .reviews_letters__item:nth-last-child(1),
    .reviews_letters__item:nth-last-child(2),
    .reviews_letters__item:nth-last-child(3),
    .reviews_letters__item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Контакты */
    .pages_map__card {transform: scale(0.8);top:0;right: 0;}

    /* page right wrap */
    .page_right_wrap__clear {display: none;}
    .page_right_wrap {display: none;}

    /* Footer */
    .footer_wrap .max_width {padding: 0;}
    .footer_table {font-size: 13px;}
    .atma_table {width: 150px;}
    .atma_logo {display: none;}

    /* ftext */
    .ftext, .ftext ul, .ftext p, .ftext table, .ftext_center, .ftext_center ul, .ftext_center table, .ftext_center p {
        font-size: 15px;
    }
}

@media screen and (min-width: 800px) and (max-width: 939px) {
    .body_wrapper > tbody > tr > td {overflow-x: hidden;}
    .header_block_first__table__info {
        font-size: 13px;
    }
    .header_menu_ul li {margin-right: 20px;}
    .header_menu_ul li a {font-size: 14px;}
    .header_slider_wrap.cycle-slideshow {height: 320px;}
    .header_banner {height: 250px;}

    /* header slider video */
    .header_slider_video_info {}
    .header_slider_video_info .br20 {display: none;}
    .header_slider_item__title {font-size: 36px;}
    .header_slider_item__text {display: none;}
    .header_slider_item__btn {margin-top: 40px;}

    /* sub menu */
    .header_sub_menu_ul li {margin-right: 15px;}
    .header_sub_menu_ul li a {
        font-size: 14px;
        line-height: 15px;
    }

    /* Курсы */
    .course_page > tbody > tr > td:nth-child(3) {display: none;}
    .course_page__btn {
        font-size: 14px;
        line-height: 14px;
        padding: 12px 7px;
        margin-bottom: 10px;
    }
    .course_item {
        margin-right: 45px;
    }
    .course_item:nth-child(2n+2) {
        margin-right: 0;
    }
    .course_item:last-child {
        margin-right: 0;
    }
    .course_item:nth-last-child(1),
    .course_item:nth-last-child(2) {
        margin-bottom: 0;
    }

    /* Расписание */
    .timetable_table__title {font-size: 18px;}
    .timetable_table__days li a {padding: 15px 14px; font-size: 14px;}

    /* Преподаватели */
    .teacher_item:nth-last-child(1),
    .teacher_item:nth-last-child(2),
    .teacher_item:nth-last-child(3),
    .teacher_item:nth-last-child(4),
    .teacher_item:nth-last-child(5) {
        margin-bottom: 0;
    }
    .teacher_item:nth-child(5n+5) {
        margin-right: 0;
    }
    .teachers_slider_item .teacher_item:last-child {
        margin-right: 0;
    }


    /* Документы */
    .document:nth-child(3n+3) {
        margin-right: 0;
    }
    .document:nth-last-child(1),
    .document:nth-last-child(2),
    .document:nth-last-child(3) {
        margin-bottom: 0;
    }
    .document:last-child {
        margin-right: 0;
    }

    /* Видео */
    .video_item {
        width: calc(50% - 13px);
        height: 200px;
    }
    .video_item:nth-child(2n+2) {
        margin-right: 0;
    }
    .video_item:nth-last-child(1),
    .video_item:nth-last-child(2) {
        margin-bottom: 0;
    }

    /* Фото */
    .photos_albums__item:nth-last-child(1),
    .photos_albums__item:nth-last-child(2),
    .photos_albums__item:nth-last-child(3),
    .photos_albums__item:nth-last-child(4) {
        margin-bottom: 0;
    }
    .photos_albums__item:nth-child(4n+4) {
        margin-right: 0;
    }

    /* Новости */
    .news_item:nth-child(3n+3) {margin-right: 0;}
    div:not(.news_vertical) > .news_item:nth-last-child(1),
    div:not(.news_vertical) > .news_item:nth-last-child(2),
    div:not(.news_vertical) > .news_item:nth-last-child(3) {
        margin-bottom: 0;
    }
    div.news_vertical > .news_item {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Благодарственные письма */
    .reviews_letters__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .reviews_letters__item:nth-last-child(1),
    .reviews_letters__item:nth-last-child(2),
    .reviews_letters__item:nth-last-child(3),
    .reviews_letters__item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Контакты */
    .pages_map__card {transform: scale(0.8);}

    /* page right wrap */
    .page_right_wrap__clear {display: none;}
    .page_right_wrap {display: none;}

    /* Footer */
    .footer_wrap .max_width {padding: 0;}
    .footer_table {font-size: 13px;}
    .atma_table {width: 150px;}
    .atma_logo {display: none;}

    /* ftext */
    .ftext, .ftext ul, .ftext p, .ftext table, .ftext_center, .ftext_center ul, .ftext_center table, .ftext_center p {
        font-size: 15px;
    }
}

@media screen and (min-width: 940px) and (max-width: 1039px) {
    .body_wrapper > tbody > tr > td {overflow-x: hidden;}
    .header_block_first__table__info {
        font-size: 13px;
    }
    .header_menu_ul li {margin-right: 25px;}
    .header_menu_ul li a {font-size: 14px;}
    .header_slider_wrap.cycle-slideshow {height: 350px;}
    .header_banner {height: 230px;}

    /* header slider video */
    .header_slider_video_info {}
    .header_slider_video_info .br30 {display: none;}
    .header_slider_item__title {font-size: 40px;}
    .header_slider_item__text {margin-top: 15px;line-height: 27px;}
    .header_slider_item__btn {margin-top: 10px;}

    /* sub menu */
    .header_sub_menu_ul li {margin-right: 15px;}
    .header_sub_menu_ul li a {
        font-size: 14px;
        line-height: 15px;
    }

    /* Курсы */
    .course_page > tbody > tr > td:nth-child(3) {display: none;}
    .course_item {
        margin-right: 45px;
    }
    .course_item:nth-child(3n+3) {
        margin-right: 0;
    }
    .course_item:last-child {
        margin-right: 0;
    }
    .course_item:nth-last-child(1),
    .course_item:nth-last-child(2),
    .course_item:nth-last-child(3) {
        margin-bottom: 0;
    }

    /* Расписание */
    .timetable_table__title {
        font-size: 20px;
    }

    /* Преподаватели */
    .teacher_item:nth-last-child(1),
    .teacher_item:nth-last-child(2),
    .teacher_item:nth-last-child(3),
    .teacher_item:nth-last-child(4),
    .teacher_item:nth-last-child(5) {
        margin-bottom: 0;
    }
    .teacher_item:nth-child(5n+5) {
        margin-right: 0;
    }
    .teachers_slider_item .teacher_item:last-child {
        margin-right: 0;
    }


    /* Документы */
    .document:nth-child(3n+3) {
        margin-right: 0;
    }
    .document:nth-last-child(1),
    .document:nth-last-child(2),
    .document:nth-last-child(3) {
        margin-bottom: 0;
    }
    .document:last-child {
        margin-right: 0;
    }

    /* Видео */
    .video_item:nth-child(3n+3) {
        margin-right: 0;
    }
    .video_item:nth-last-child(1),
    .video_item:nth-last-child(2),
    .video_item:nth-last-child(3) {
        margin-bottom: 0;
    }

    /* Фото */
    .photos_albums__item:nth-last-child(1),
    .photos_albums__item:nth-last-child(2),
    .photos_albums__item:nth-last-child(3),
    .photos_albums__item:nth-last-child(4) {
        margin-bottom: 0;
    }
    .photos_albums__item:nth-child(4n+4) {
        margin-right: 0;
    }

    /* Новости */
    .news_item:nth-child(3n+3) {margin-right: 0;}
    div:not(.news_vertical) > .news_item:nth-last-child(1),
    div:not(.news_vertical) > .news_item:nth-last-child(2),
    div:not(.news_vertical) > .news_item:nth-last-child(3) {
        margin-bottom: 0;
    }
    div.news_vertical > .news_item {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Благодарственные письма */
    .reviews_letters__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .reviews_letters__item:nth-last-child(1),
    .reviews_letters__item:nth-last-child(2),
    .reviews_letters__item:nth-last-child(3),
    .reviews_letters__item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Контакты */
    .pages_map__card {transform: scale(0.9);}

    /* page right wrap */
    .page_right_wrap__clear {width: 40px;}
    .page_right_wrap {width: 250px;}
    .page_right__item {margin-bottom: 35px;}
    .page_right__item.page_right__quote {
        font-size: 14px;
        line-height: 22px;
        padding: 10px 15px;
    }

    /* Footer */
    .footer_wrap .max_width {padding: 0;}
    .footer_table {font-size: 13px;}
    .atma_table {width: 240px;}
}

@media screen and (min-width: 1040px) and (max-width: 1199px) {
    .body_wrapper > tbody > tr > td {overflow-x: hidden;}
    .header_block_first__table__info {font-size: 13px;}
    .header_banner {height: 230px;}

    /* header slider video */
    .header_slider_video_info {}
    .header_slider_video_info .br30 {display: none;}
    .header_slider_item__title {font-size: 48px;}
    .header_slider_item__text {margin-top: 15px;}
    .header_slider_item__btn {margin-top: 10px;}

    /* sub menu */
    .header_sub_menu_ul li {margin-right: 15px;}
    .header_sub_menu_ul li a {
        font-size: 14px;
        line-height: 15px;
    }

    /* Курсы */
    .course_page {}
    .course_page > tbody > tr > td:nth-child(2) {width: 3%;}
    .course_page__btn {
        font-size: 14px;
        line-height: 14px;
        padding: 12px 7px;
    }
    .course_item {
        margin-right: 45px;
    }
    .course_item:nth-child(3n+3) {
        margin-right: 0;
    }
    .course_item:last-child {
        margin-right: 0;
    }
    .course_item:nth-last-child(1),
    .course_item:nth-last-child(2),
    .course_item:nth-last-child(3) {
        margin-bottom: 0;
    }

    /* Расписание */
    .timetable_table__content__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .timetable_table__content__item:nth-last-child(1),
    .timetable_table__content__item:nth-last-child(2),
    .timetable_table__content__item:nth-last-child(3),
    .timetable_table__content__item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Преподаватели */
    .teacher_item:nth-last-child(1),
    .teacher_item:nth-last-child(2),
    .teacher_item:nth-last-child(3),
    .teacher_item:nth-last-child(4),
    .teacher_item:nth-last-child(5) {
        margin-bottom: 0;
    }
    .teacher_item:nth-child(5n+5) {
        margin-right: 0;
    }
    .teachers_slider_item .teacher_item:last-child {
        margin-right: 0;
    }

    /* Документы */
    .document:nth-child(3n+3) {
        margin-right: 0;
    }
    .document:nth-last-child(1),
    .document:nth-last-child(2),
    .document:nth-last-child(3) {
        margin-bottom: 0;
    }
    .document:last-child {
        margin-right: 0;
    }

    /* Видео */
    .video_item {
        width: calc(33% - 13px);
        height: 185px;
    }
    .video_item:nth-child(3n+3) {
        margin-right: 0;
    }
    .video_item:nth-last-child(1),
    .video_item:nth-last-child(2),
    .video_item:nth-last-child(3) {
        margin-bottom: 0;
    }

    /* Фото */
    .photos_albums__item {
        width:calc(25% - 15px);
        margin-right: 15px;
    }
    .photos_albums__item__img {height: 150px;}
    .photos_albums__item:nth-last-child(1),
    .photos_albums__item:nth-last-child(2),
    .photos_albums__item:nth-last-child(3),
    .photos_albums__item:nth-last-child(4) {
        margin-bottom: 0;
    }
    .photos_albums__item:nth-child(4n+4) {
        margin-right: 0;
    }

    /* Новости */
    .news_item:nth-child(3n+3) {margin-right: 0;}
    div:not(.news_vertical) > .news_item:nth-last-child(1),
    div:not(.news_vertical) > .news_item:nth-last-child(2),
    div:not(.news_vertical) > .news_item:nth-last-child(3) {
        margin-bottom: 0;
    }
    div.news_vertical > .news_item {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Благодарственные письма */
    .reviews_letters__item {height: 270px;}
    .reviews_letters__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .reviews_letters__item:nth-last-child(1),
    .reviews_letters__item:nth-last-child(2),
    .reviews_letters__item:nth-last-child(3),
    .reviews_letters__item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Контакты */
    .pages_map__card {transform: scale(0.9);}

    /* page right wrap */
    .page_right_wrap {width: 290px;}
    .page_right__item {margin-bottom: 50px;}
    .page_right__item.page_right__quote {
        font-size: 16px;
        line-height: 25px;
        padding: 14px 30px;
    }

    /* FOOTER */
    .footer_table {font-size: 13px;}
}

@media screen and (min-width: 1200px) and (max-width: 1279px) {
    /* header */
    .header {
        position: fixed;
    }

    /* header slider video */
    .header_slider_video_info {}
    .header_slider_video_info .br20 {display: none;}
    .header_slider_item__btn {margin-top: 20px;}

    /* Курсы */
    .course_item {
        margin-right: 45px;
    }
    .course_item:nth-child(4n+4) {
        margin-right: 0;
    }
    .course_item:last-child {
        margin-right: 0;
    }
    .course_item:nth-last-child(1),
    .course_item:nth-last-child(2),
    .course_item:nth-last-child(3),
    .course_item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Расписание */
    .timetable_table__content__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .timetable_table__content__item:nth-last-child(1),
    .timetable_table__content__item:nth-last-child(2),
    .timetable_table__content__item:nth-last-child(3),
    .timetable_table__content__item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Преподаватели */
    .teacher_item:nth-last-child(1),
    .teacher_item:nth-last-child(2),
    .teacher_item:nth-last-child(3),
    .teacher_item:nth-last-child(4),
    .teacher_item:nth-last-child(5) {
        margin-bottom: 0;
    }
    .teacher_item:nth-child(5n+5) {
        margin-right: 0;
    }
    .teachers_slider_item .teacher_item:last-child {
        margin-right: 0;
    }

    /* Документы */
    .document:nth-child(3n+3) {
        margin-right: 0;
    }
    .document:nth-last-child(1),
    .document:nth-last-child(2),
    .document:nth-last-child(3) {
        margin-bottom: 0;
    }
    .document:last-child {
        margin-right: 0;
    }

    /* Видео */
    .video_item {width: calc(33% - 12px);}
    .video_item:nth-child(3n+3) {
        margin-right: 0;
    }
    .video_item:nth-last-child(1),
    .video_item:nth-last-child(2),
    .video_item:nth-last-child(3) {
        margin-bottom: 0;
    }

    /* Фото */
    .photos_albums__item {
        width:calc(25% - 15px);
        margin-right: 15px;
    }
    .photos_albums__item:nth-last-child(1),
    .photos_albums__item:nth-last-child(2),
    .photos_albums__item:nth-last-child(3),
    .photos_albums__item:nth-last-child(4) {
        margin-bottom: 0;
    }
    .photos_albums__item:nth-child(4n+4) {
        margin-right: 0;
    }

    /* Новости */
    .news_item:nth-child(3n+3) {margin-right: 0;}
    div:not(.news_vertical) > .news_item:nth-last-child(1),
    div:not(.news_vertical) > .news_item:nth-last-child(2),
    div:not(.news_vertical) > .news_item:nth-last-child(3) {
        margin-bottom: 0;
    }
    div.news_vertical > .news_item {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Благодарственные письма */
    .reviews_letters__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .reviews_letters__item:nth-last-child(1),
    .reviews_letters__item:nth-last-child(2),
    .reviews_letters__item:nth-last-child(3),
    .reviews_letters__item:nth-last-child(4) {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1399px) {
    /* header */
    .header {
        position: fixed;
    }

    /* header slider video */
    .header_slider_video_info {}
    .header_slider_video_info .br20 {display: none;}
    .header_slider_item__btn {margin-top: 20px;}

    /* Курсы */
    .course_item:nth-child(4n+4) {
        margin-right: 0;
    }
    .course_item:last-child {
        margin-right: 0;
    }
    .course_item:nth-last-child(1),
    .course_item:nth-last-child(2),
    .course_item:nth-last-child(3),
    .course_item:nth-last-child(4) {
        margin-bottom: 0;
    }
    .course_page__btn {font-size: 18px;padding: 12px 20px;}

    /* Расписание */
    .timetable_table__content__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .timetable_table__content__item:nth-last-child(1),
    .timetable_table__content__item:nth-last-child(2),
    .timetable_table__content__item:nth-last-child(3),
    .timetable_table__content__item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Преподаватели */
    .teacher_item:nth-last-child(1),
    .teacher_item:nth-last-child(2),
    .teacher_item:nth-last-child(3),
    .teacher_item:nth-last-child(4),
    .teacher_item:nth-last-child(5) {
        margin-bottom: 0;
    }
    .teacher_item:nth-child(5n+5) {
        margin-right: 0;
    }
    .teachers_slider_item .teacher_item:last-child {
        margin-right: 0;
    }

    /* Документы */
    .document:nth-child(3n+3) {
        margin-right: 0;
    }
    .document:nth-last-child(1),
    .document:nth-last-child(2),
    .document:nth-last-child(3) {
        margin-bottom: 0;
    }
    .document:last-child {
        margin-right: 0;
    }

    /* Видео */
    .video_item:nth-child(3n+3) {
        margin-right: 0;
    }
    .video_item:nth-last-child(1),
    .video_item:nth-last-child(2),
    .video_item:nth-last-child(3) {
        margin-bottom: 0;
    }

    /* Фото */
    .photos_albums__item:nth-last-child(1),
    .photos_albums__item:nth-last-child(2),
    .photos_albums__item:nth-last-child(3),
    .photos_albums__item:nth-last-child(4) {
        margin-bottom: 0;
    }
    .photos_albums__item:nth-child(4n+4) {
        margin-right: 0;
    }

    /* Новости */
    .news_item:nth-child(3n+3) {margin-right: 0;}
    div:not(.news_vertical) > .news_item:nth-last-child(1),
    div:not(.news_vertical) > .news_item:nth-last-child(2),
    div:not(.news_vertical) > .news_item:nth-last-child(3) {
        margin-bottom: 0;
    }
    div.news_vertical > .news_item {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Благодарственные письма */
    .reviews_letters__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .reviews_letters__item:nth-last-child(1),
    .reviews_letters__item:nth-last-child(2),
    .reviews_letters__item:nth-last-child(3),
    .reviews_letters__item:nth-last-child(4) {
        margin-bottom: 0;
    }
}

@media screen and (min-width: 1400px) {
    /* header */
    .header {
        position: fixed;
    }

    /* Курсы */
    .course_item:nth-child(4n+4) {
        margin-right: 0;
    }
    .course_item:last-child {
        margin-right: 0;
    }
    .course_item:nth-last-child(1),
    .course_item:nth-last-child(2),
    .course_item:nth-last-child(3),
    .course_item:nth-last-child(4) {
        margin-bottom: 0;
    }
    .course_page__btn {font-size: 18px;padding: 12px 20px;}

    /* Расписание */
    .timetable_table__content__item:nth-child(4n+4) {
        margin-right: 0;
    }
    .timetable_table__content__item:nth-last-child(1),
    .timetable_table__content__item:nth-last-child(2),
    .timetable_table__content__item:nth-last-child(3),
    .timetable_table__content__item:nth-last-child(4) {
        margin-bottom: 0;
    }

    /* Преподаватели */
    .teacher_item:nth-last-child(1),
    .teacher_item:nth-last-child(2),
    .teacher_item:nth-last-child(3),
    .teacher_item:nth-last-child(4),
    .teacher_item:nth-last-child(5) {
        margin-bottom: 0;
    }
    .teacher_item:nth-child(5n+5) {
        margin-right: 0;
    }
    .teachers_slider_item .teacher_item:last-child {
        margin-right: 0;
    }

    /* Документы */
    .document:nth-child(3n+3) {
        margin-right: 0;
    }
    .document:nth-last-child(1),
    .document:nth-last-child(2),
    .document:nth-last-child(3) {
        margin-bottom: 0;
    }
    .document:last-child {
        margin-right: 0;
    }

    /* Видео */
    .video_item:nth-child(3n+3) {
        margin-right: 0;
    }
    .video_item:nth-last-child(1),
    .video_item:nth-last-child(2),
    .video_item:nth-last-child(3) {
        margin-bottom: 0;
    }

    /* Фото */
    .photos_albums__item:nth-last-child(1),
    .photos_albums__item:nth-last-child(2),
    .photos_albums__item:nth-last-child(3),
    .photos_albums__item:nth-last-child(4) {
        margin-bottom: 0;
    }
    .photos_albums__item:nth-child(4n+4) {
        margin-right: 0;
    }

    /* Новости */
    .news_item:nth-child(3n+3) {margin-right: 0;}
    div:not(.news_vertical) > .news_item:nth-last-child(1),
    div:not(.news_vertical) > .news_item:nth-last-child(2),
    div:not(.news_vertical) > .news_item:nth-last-child(3) {
        margin-bottom: 0;
    }
    div.news_vertical > .news_item {
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 100%;
    }

    /* Благодарственные письма */
    .reviews_letters__item:nth-child(4n+4) {margin-right: 0;}
    .reviews_letters__item:nth-last-child(1),
    .reviews_letters__item:nth-last-child(2),
    .reviews_letters__item:nth-last-child(3),
    .reviews_letters__item:nth-last-child(4) {
        margin-bottom: 0;
    }
}
