@media (max-width:1200px) {
    .second_nav_link {
        left: 10px;
    }
    .language_test_right {
        width: 540px;
    }
    .socials.opened {
        right: 15px;
    }
}
@media (max-width: 991.98px) {
    .footer .center {
        flex-wrap: wrap;
    }
    .portal {
        background: #f0f6f8;
        padding: 60px 0 40px 0
    }
    .calc-button {
        line-height: 24px;
        padding: 10px 30px;
    }

    .mango-call-site-mobile {
        display: block;
        position: fixed;
        bottom: 15px;
        left: calc(50% - 79px);
        z-index: 5;
    }
    .mango-call {
        margin: 0;
    }

    .bordered_button--new-students {
        margin: 0 0 10px 0;
    }
    .bordered_button .bordered_button {
        margin-top: 20px;
    }
    .for_mobile {
        display: block;
    }
    .logo {
        background-position: left center;
    }
    html, body, .wrapper {
        font-size: 18px;
        line-height: 26px;
        min-width: initial;
    }
    .center {
        width: auto;
        padding-left: 23px;
        padding-right: 23px;
        margin: 0;
        box-sizing: border-box;
    }
    .center .center {
        width: auto;
        padding: 0;
    }
    .mb {
        margin-bottom: 30px;
    }
    h1, .colored_title {
        font-size: 30px;
        line-height: 35px;
        margin: 0 0 30px 0;
    }
    h2 {
        font-size: 25px;
        line-height: 35px;
        color: #3F3A7E;
        margin: 60px 0 20px 0;
    }
    h1.colored_title {
        font-size: 32px;
        line-height: 40px;
    }

    .first_screen-online .colored_title {
        font-size: 22px;
        line-height: 30px;
    }
    .title_description {
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 30px;
        align-items: center;
        color: #96A1B2;
    }
    .fixed_buttons {
        display: none;
    }
    .float {
        width: auto;
        float: none;
        margin-right: 0;
    }
    .socials, .nav, .header_phones, .header_personal   {
        display: none;
    }
    .for_mobile .select_city {
        display: inline-block;
        color: #3F3A7E;
    }
    .mobile_select_city {
        margin: 20px 0;
    }
    .second_nav {
        margin-top: 30px;
    }
    .second_nav_link {
        left: auto;
        right: 35px;
    }
    .second_nav_left {
        margin-bottom: 30px;
    }
    .second_nav_button {
        display: block;
        font-size: 18px;
        line-height: 25px;
        padding: 15px 20px;
        height: auto;
        border-radius: 0;
    }
    .second_nav__item a {
        font-size: 18px;
        line-height: 40px;
    }
    .fancybox-content {
        padding: 20px;
    }
    .course_content {
        text-align: center;
        height: auto;
        padding: 0;
    }
    .more-course {
        margin-top: 20px;
        margin-left: 30px;
    }
    .tabs .tab {
        background: #f0f6f8;
        padding: 20px 0;
    }
    .courses_nav {
        overflow: hidden;
    }
    .tab_nav {
        white-space: nowrap;
        padding: 10px 0 15px 0;
    }
    .tab_nav_wrapper {
        overflow-x: scroll;
        overflow-y: hidden;
    }
    .tab_nav_item {
        margin-right: 40px;
    }
    .language_test {
        background: #fff;
    }
    .custom_radio_input {
        margin-right: 5px;
    }
    .language_test_right {
        display: none;
    }
    .school_experience span {
        font-size: 38px;
        line-height: 55px;
        text-transform: uppercase;
        color: #D72C25;
    }
    .school_experience {
        font-size: 18px;
        line-height: 30px;
        color: #3F3A7E;
        background: transparent;
        padding: 0 0 0 155px;
        margin: 20px 0 0 0;
        height: 200px;
        width: auto;
    }
    .school_experience_years {
        width: 137px;
        height: 178px;
        left: 0;
        top: 10px;
    }
    .pointed_map__map {
        width: 900px;
        height: 600px;
        top: -210px;
        left: -57px;
        background-position: left top;
    }
    .pointed_map__city {
        padding: 0 8px;
        font-size: 10px;
        line-height: 25px;
        border-radius: 10px 10px 10px 0;
    }
    .pointed_map__city:before {
        width: 7px;
        height: 7px;
        display: none;
    }
    .pointed_map__city-kaliningrad {
        top: 24px;
        left: 0;
    }
    .pointed_map__city-tver {
        top: 68px;
        left: 103px;
    }
    .pointed_map__city-nnovgorod {
        top: 157px;
        left: 148px;
    }
    .pointed_map__city-yaroslavl {
        top: 98px;
        left: 148px;
    }
    .pointed_map__city-ivanovo {
        top: 127px;
        left: 163px;
    }
    .pointed_map__city-kaluga {
        top: 127px;
        left: 74px;
    }
    .pointed_map__city-saratov {
        top: 187px;
        left: 104px;
    }
    .pointed_map__city-engels {
        top: 217px;
        left: 133px;
    }
    .pointed_map__city-volgograd {
        top: 261px;
        left: 59px;
    }
    .pointed_map__city-astrakhan {
        top: 291px;
        left: 89px;
    }
    .pointed_map__city-omsk {
        top: 246px;
        left: 222px;
    }
    .pointed_map__city-barnaul {
        top: 249px;
        left: 321px;
        border-radius: 10px 10px 0 10px;
    }
    .pointed_map_right {
        height: 430px;
    }
    .color_stats {
        padding: 0;
    }
    .stat-blue {
        border-radius: 0;
        height: auto;
        padding: 30px;
    }
    .stat_title {
        font-size: 25px;
        line-height: 35px;
    }
    .stat_title span {
        font-size: 45px;
        line-height: 55px;
    }
    .stat-red {
        border-radius: 0;
        height: auto;
        padding: 30px;
    }
    .gray_wrapper {
        margin-bottom: 40px;
        margin-top: 80px;
    }
    .stat {
        margin: 0 0 40px 0;
        font-size: 18px;
        line-height: 35px;
    }
    .stat.mr-0 {
        margin-bottom: 0;
    }
    .lk_block {
        width: auto;
        margin-bottom: 40px;
    }
    .lk_link {
        margin: 0;
        display: block;
    }
    .lk_bg {
        height: auto;
        padding: 0;
        background-position: calc(50% - 340px) 320px;
        background-size: 300px;
        background-repeat: no-repeat;
    }
    .lk__title_description {
        margin-bottom: 30px;
    }
    .quality_girl {
        display: none;
    }
    .london_office_text {
        padding: 0;
    }
    .london_office h2 {
        margin-bottom: 0;
    }
    .london_office {
        background: url('images/london-office.svg') -560px calc(100% + 50px) / 1000px no-repeat;
        background: url('images/london-office.svg')  calc(100% + 120px) calc(100% + 50px) / 1000px no-repeat;
        padding: 0 0 430px 0;
        height: 180px;
    }
    .quality {
        padding: 50px 0;
    }
    .quality h2 {
        margin-top: 0;
    }
    .speaking_test {
        padding: 40px 0;
        margin-bottom: 40px;
        text-align: center;
        height: auto;
        border-radius: 0;
        background: #153170;
    }
    .speaking_test__title {
        font-size: 25px;
        line-height: 55px;
    }
    .speaking_test__text {
        font-size: 18px;
        line-height: 30px;
        max-width: 250px;
        margin: 0 auto 40px auto;
    }
    .speaking_test__text:after {
        display: none;
    }
    .speaking_test_pill {
        margin: 0 0 30px 0;
    }
    .speaking_test_pill-red {
        margin-bottom: 0;
    }
    .speaking_test_booking {
        border-radius: 0;
        padding: 40px 15px 5px 15px;
        margin: 0 -23px;
    }
    .speaking_test_booking h2 {
        margin: 0 0 60px 0;
        text-align: center;
    }
    .speaking_test_communication_type {
        margin: 0 5px 10px;
    }
    .speaking_test_submit {
        display: block;
        margin: 10px 0 0 0;
    }
    .speaking_test_schedule_wrapper {
        overflow-x: scroll;
    }
    .speaking_test_success {
        margin: -50px -23px 0 -23px;
    }
    .speaking_test_step_description {
        margin-left: -60px;
    }
    .speaking_test_left .price_line__title {
        margin-bottom: 30px;
    }
    .speaking_test_communication_types {
        margin: 50px 0 40px 0;
        text-align: center;
    }
    .speaking_test_schedule_width {
        width: 560px;
        padding-bottom: 20px;
    }
    .quality {
        height: auto;
    }
    .get {
        width: auto;
        display: block;
        margin: 40px 0 20px 0;
        text-align: center;
    }
    .get_image {
        background-position: center;
    }
    .subscribe_bg {
        background: transparent;
    }
    .subscribe {
        padding: 0;
    }
    .pride {
        height: auto;
        background:transparent;
        margin-bottom: 60px;
    }
    .pride_text {
        width: auto;
        position: relative;
        right: initial;
        left: initial;
        top: initial;
    }
    .pride_person {
        display: none;
    }
    .feedback_head {
        height: auto;
        background: #F0F6F8;
    }

    .feedback_head__text {
        font-size: 25px;
        line-height: 35px;
        color: #3F3A7E;
        padding: 40px 0;
        max-width: initial;
    }
    .feedback_video {
        display: none;
    }
    .feedback_slider .owl-stage-outer {
        padding-bottom: 30px;
    }
    .feedback_list_button {
        text-align: center;
        padding: 25px 0 60px 0;
    }
    .feedback_right {
        margin-left: 30px;
    }

    .tab_nav_item {
        font-size: 20px;
    }
    .teachers_list__teacher {
        float: none;
        width: auto;
        margin: 0 0 40px 0;
    }
    .bordered_button {
        display: block;
        padding: 0 10px;
    }
    .tab.teachers_list_wrapper {
        margin: 0 -23px 40px;
        padding: 0 23px;
        background: transparent;
    }
    .trust_logos {
        padding: 30px 0;
    }
    .trust_logo {
        margin: 0 10px 20px 10px;
        width: 120px;
        height: 60px;
    }
    .corporate_bg {
        background-position: calc(50% + 20px) bottom;
        padding: 60px 0 250px 0;
    }
    .corporate {
        padding: 0;
    }
    .gift {
        padding: 40px 0 180px;
        margin-bottom: 150px;
    }
    .gift_image {
        bottom: -100px;
        top: initial;
        left: calc(50% - 180px);
        width: 320px;
        height: 265px;
    }
    .blue {
        padding: 50px 0;
    }

    .pointed_map__city-wr {
        left: calc(50% + 21px);
        top: 477px;
        height: auto;
    }
    .first_screen {
        height: auto;
        padding: 0;
        background: #fff;
    }
    .first_screen .center {
        /*background: rgba(25, 37, 63, 0.8);*/
        /*color: #fff;*/
        padding: 30px 15px 50px 15px;
    }
    .first_screen .colored_title, .first_screen .title_description {
        /*color: #fff;*/
    }
    .news_item {
        width: auto;
        margin-right: 0;
    }
    .school_contacts_head_left {
        line-height: 26px;
        margin-bottom: 10px;
    }
    .school_contacts_head_right {
        font-size: 16px;
        line-height: 22px;
    }
    .first_screen-free_lesson {
        background-size: cover;
        background-position: right bottom;
    }
    .price_form {
        border-radius: 0;
        margin: 0 -23px;
        padding: 40px 20px 10px 88px;
    }
    .price_line__title {
        font-size: 20px;
    }
    .price_button {
        margin: 0 0 10px 0;
        line-height: 20px;
        padding: 12px 15px;
        font-size: 14px;
    }
    .calc_result {
        margin: 0 -23px;
        border-radius: 0;
        width: auto;
        border: none;
    }
    .calc_result_td {
        line-height: 20px;
        font-size: 14px;
        padding: 10px;
    }
    .price_line_buttons {
        margin: 0 0 0 -70px;
        text-align: center;

        margin: 0 0 0 -70px;
        padding-left: 70px;
        text-align: left;
    }
    .footer_map {
        height: auto;
    }
    .footer_small {
        font-size: 11px;
    }
    .price_bg {
        background-position: center bottom;
        padding-bottom: 300px;
        height: auto;
    }
    .button {
        line-height: 55px;
        font-size: 16px;
        display: block;
        padding: 0 10px;
        width: 100%;
    }
    .question_answers {
        margin-bottom: 40px;
    }
    .course_title {
        font-size: 25px;
        line-height: 35px;
    }
    .feedback_list .center {
        margin-top: 0;
    }
    .feedback_list {
        padding-top: 0;
    }
    .feedback__text {
        font-size: 16px;
        line-height: 25px;
    }
    .schedule_lesson {
        margin-right: 0;
        padding: 65px 30px 25px 30px;
    }
    .schedule_day__title-left, .schedule_day__title-right {
        font-size: 20px;
        line-height: 25px;
        padding: 20px 0 20px 0;
    }
    .schedule_lesson__title {
        font-size: 16px;
        line-height: 45px;
        padding: 0 20px;
    }
    .schedule_lesson__date {
        font-size: 25px;
        margin-bottom: 10px;
    }
    .schedule_form_part {
        margin-bottom: 20px;
    }
    .london_price {
        width: auto;
        margin: 0 -23px 30px -23px;
        border-radius: 0;
        padding: 30px 23px 40px;
    }
    .london_price__title {
        font-size: 25px;
        line-height: 35px;
    }
    .london_price__text {
        margin-bottom: 30px;
    }
    .london_price_border {
        border: none;
        padding-right: 30px;
    }
    .london_price_border span {
        background: transparent;
        position: static;
        line-height: 25px;
    }
    .language_test_result span {
        font-size: 40px;
        line-height: 50px;
    }
    .london_price_table td {
        vertical-align: top;
    }
    .footer__top, .footer__bottom {
        padding: 40px 0;
    }
    .footer-grid__right {
        max-width: initial;
        margin: 0;
    }
    .footer__bottom .footer-grid__right {
        text-align: left;
    }
    .market-links {
        justify-content: flex-start;
    }
    .market-link {
        margin-right: 5px;
    }
    .bx-breadcrumb {
        margin: 20px 0;
    }
    .school_contacts_head {
        padding: 25px;
    }
    .contacts_bg {
        padding: 40px 0;
    }
    .step {
        padding: 0;
        font-size: 22px;
        line-height: 32px;
    }
    .step_number {
        position: relative;
        margin-bottom: 20px;
    }
    .language_test_result {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 60px;
    }
    .text_test {
        margin-bottom: 60px;
    }
    .teachers_bg {
        padding: 5px 0 250px 0;
    }
    .teacher__image {
        margin-bottom: 20px;
    }
    .reason {
        height: auto;
        padding: 30px 0 0 0;
        min-height: initial;
    }
    .reason .center {
        padding-bottom: 0;
    }
    .reason_number {
        width: 140px;
        height: 140px;
        left: -110px;
        top: -20px;
        padding: 25px 0;
    }
    .reasons_title {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 45px;
        max-width: 220px;
    }
    .reason_name {
        font-size: 25px;
        line-height: 35px;
        margin-bottom: 20px;
        max-width: 280px;
    }
    .reason_text {
        font-size: 16px;
        line-height: 28px;
        margin-bottom: 0;
    }
    .reason_number svg {
        height: 80px;
    }
    .reason_image {
        background: transparent;
        position: absolute;
        right: 0;
        top: 0;
        bottom: initial;
        left: initial;
    }
    .program_description {
        margin-bottom: 20px;
    }
    .program_image {
        position: static;
        width: auto;
        height: 250px;
        margin: 0 -23px 30px;
        background-position: calc(50% - 60px) center;
    }
    .adaptive_table, .adaptive_table__row, .adaptive_table__cell {
        display: block;
    }
    .adaptive_table__row {
        margin-bottom: 20px;
    }
    .london_button_form {
        padding: 35px 0 110px 0;
    }
    .london_price {
        background: #122859;
    }
    .image_person {
        display: none;
    }
    .faq_title {
        font-size: 23px;
        line-height: 32px;
    }
    .faq_wrapper {
        padding: 30px 0 0 0;
    }
    .faq_block {
        padding: 25px;
    }
    .faq_button {
        right: -12px;
        top: -15px;
    }
    .faq_question {
        font-size: 20px;
    }
    .faq_answer {
        font-size: 16px;
        line-height: 24px;
        padding-top: 15px;
    }
    .faq_title-2 {
        margin-top: 30px;
    }
    .have_questions span {
        font-size: 28px;
        line-height: 36px;
    }
    .have_questions {
        margin-bottom: 40px;
        font-size: 20px;
        line-height: 24px;
    }
    .have_questions_bg {
        height: auto;
        padding-bottom: 260px;
        background-position: calc(50% + 30px) bottom;
    }
    .tests_test {
        background-size: cover;
    }
    .test_age {
        padding: 0 20px;
        font-size: 18px;
    }
    .test_time {
        font-size: 16px;
        line-height: 24px;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    .test_title {
        font-size: 20px;
        line-height: 26px;
        bottom: 55px;
        left: 20px;
        right: 20px;
    }
    .tests_test_content {
        height: 250px;
    }
    .news_pictures img {
        max-width: 100%;
    }
    .courses_link .test_age {
        font-size: 16px;
        line-height: 45px;
    }
    .contacts_free_lesson__content {
        padding: 25px 30px 0 30px;
    }




    .contacts_free_lesson-course .contacts_free_lesson__shape {
        top: -405px;
        left: -205px;
    }
    .contacts_free_lesson-course {
        height: 310px;
    }


    .contacts_free_lesson {
        min-height: 200px;
    }

    .contacts_free_lesson:nth-child(odd) {
         grid-column-start: initial;
         grid-column-end: initial;
    }


    .contacts_free_lesson:nth-child(odd) {
        background-image: none;
    }



    .eye_picture {
        display: none;
    }
    .eye_text_line span {
        display: block;
    }
    .feedback_page .feedback {
        padding: 0;
        margin-bottom: 40px;
    }
    .career_left_title {
        font-size: 25px;
        line-height: 45px;
    }
    .career_left {
        margin-bottom: 20px;
    }
    .career_right {
        margin-bottom: 40px;
    }
    .career_wrapper {
        padding: 40px 0 260px 0;
        background-position: center bottom;
        background-size: 280px;
    }
    .history_bg {
        display: none;
    }
    .history_left {
        color: #153170;
        padding: 40px 0 0 0;
    }
    .history_left h2 {
        color: #153170;
        margin: 0 0 25px 0;
    }
    .years_exp {
        margin-bottom: 40px;
    }
    .header_buttons {
        display: none;
        -webkit-transition: 0.3s all;-moz-transition: 0.3s all;-ms-transition: 0.3s all;-o-transition: 0.3s all;transition: 0.3s all;
    }
    .header-fixed .header_buttons {
        display: block;
    }
    .header-fixed {
        padding: 12px 0 0 0;
    }
    .header-fixed .center {
        margin-bottom: 12px;
        display: flex;
        align-items: center;
    }
    .header-fixed .logo {
        background: url('images/normal/round_logo.svg') center no-repeat;
        background-size: contain;
        display: block;
        width: 46px;
        height: 46px;
        float: left;
        margin: 0;
    }
    .header_button {
        background: #153170;
        text-decoration: none;
        box-sizing: border-box;
        color: #fff;
        display: block;
        text-align: center;
        border-radius: 30px;
        line-height: 28px;
        font-weight: bold;
        padding: 0 10px;
        border: none;
        width: 180px;
        margin: 0 auto;
    }
    .second_nav_right {
        margin-top: 50px;
    }
    .header_button-left {
    }
    .header_button-right {
    }
    .second_nav_link {
        width: 25px;
        height: 25px;
    }
    .header-fixed .second_nav_link{
        top: 30px;
    }
    .images_test_question_answer {
        width: 70px;
        margin: 0 auto;
    }
    .images_test_question_answer_third {
        margin-bottom: 30px;
    }
    .ege_stat_item__number {
        width: 100px;
        margin-bottom: 20px;
        padding-top: 0;
    }
    .ege_stat_item {
        margin-bottom: 20px;
    }
    .lessons_contain_wrapper h2 {
        float: none;
        width: auto;
        margin-bottom: 20px;
    }
    .lessons_contain {
        margin: 0;
        width: auto;
        height: auto;
        background: transparent;
    }
    .lessons_contain__description {
        position: static;
        width: auto;
        text-align: left;
        font-size: 18px;
        color: #96A1B2;
        margin-bottom: 5px;
    }
    .lessons_contain_wrapper {
        margin: 60px 0;
    }
    .photo_gallery {
        width: 50%;
        height: 150px;
    }
    .select_city_link {
        display: none;
    }
    .confirm_city {
        background: #fff;
        padding: 20px;
        top: 90px;
        right: 10px;
        position: fixed;
        left: 10px;
    }
    .select_city {
        display: block;
    }
    .button-confirm_city {
        width: 60px;
        display: inline-block;
    }
    .confirm_city__current {
        white-space: initial;
    }
}



@media (max-width:575.98px) {
    .select_city__cities {
        grid-template-columns: 1fr;
        grid-gap: 5px;
    }
    .footer-nav {
        flex-wrap: wrap;
    }
    .quality_check_teacher {
        float: none;
        margin: 0 auto 50px auto;
    }
    .js-prev_question {
        margin: 20px auto 0 auto !important;
        text-align: center;
        display: block;
        width: max-content;
    }
    .mgo-mcw-widget:not(.mgo-mcw_state-mobile-menu) {
        width: 50px!important;
    }
}