/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */



@media only screen and (max-width : 1430px) {

    .tisers_item {
        width: 260px;   
    }

    .format_info_bottom_left {
        width: 40%;
    }

    .format_info_bottom_right {
        width: 57%;
    }

    .payment_page main {
        background-position: -355px 0px;
    }

    .order_body {
        width: 805px;
        padding-right: 20px;
    }

    .basket_inner .order_body {
        width: 760px;
    }

    .order_sidebar {
        width: 300px;
    }

    .basket_inner .order_sidebar {
        width: 360px;
    }

    .catalog_item {
        width: 240px;
    }

    .catalog_item_img {
        height: 160px;
    }

    .catalog_item_selected .button {
        width: 130px;
    }

    .program_content {
        top: 60px;
    }

}


@media only screen and (max-width : 1200px) {

   ul.main_menu li a {
        font-size: 16px;
   }

   a.logo {
        width: 150px;
   }

   ul.main_menu li {
        margin-right: 25px;
   }

   .main_slide_title {
        font-size: 45px;
   }

   .tisers {
        flex-wrap: wrap;
   }

   .tisers_item {
        width: 49%;
        margin-bottom: 20px;
    }

    .format_school {
        margin-top: 60px;
    }

    h2 {
        font-size: 80px;
    }

    .format_links {
        width: 100%;
        margin-bottom: 0;
    }

    .format_info_top_right_text br {
        display: none;
    }

    .format_info_bottom_left {
        width: 35%;
    }

    .format_info_bottom_right {
        width: 62%;
    }

    .format_discount_info_item {
        width: 250px;
    }

    .program {
        margin-bottom: 140px;
    }

    .program_inner .img_bg {
        height: 500px;
    }

    .pers_logo {
        display: none;
    }

    .numbers_item_title {
        font-size: 60px;
    }

    .about_title br {
        display: none;
    }

    .about {
        margin-top: 90px;
    }

    .advantages {
        margin-top: 70px;
    }

    .payment_info {
        margin-top: 70px;
    }

    .payment_info_title {
        font-size: 33px;
    }

    .map {
        height: 500px;
    }

    .order_inner {
        flex-direction: column;
    }

    .order_body, .order_sidebar {
        width: 100%;
    }

    .catalog_item {
        width: 280px;
    }

    .catalog_item_selected .button {
        width: 175px;
    }

    .basket_inner .order_body {
        width: 100%;
        margin-bottom: 25px;
        padding-right: 0;
    }

    .basket_inner .order_sidebar {
        width: 100%;
    }

    .program_content {
        top: 0;
        left: 0;
    }

    .head_mess {
        display: none;
    }

}


@media only screen and (max-width : 992px) {

    .header_left .main_menu {
        display: none;
    }

    .header_right .button {
        display: none;
    }

    .mobile_menu_btn {
        display: block;
        width: 40px;
        height: 40px;
        background-image: url('../img/mobile_mnu.svg');
        background-repeat: no-repeat;
        background-position: 50%;
        cursor: pointer;
        background-color: #2c568b;
        border-radius: 5px;
    }

    .mobile_menu_wrap {
        position: fixed;
        width: 100%;
        height: 100vh;
        background-color: #2c568b;
        left: -100%;
        top: 0;
        color: #fff;
        padding-top: 20px;
        z-index: 100;
        transition: all 0.5s ease;
        display: block;
    }

    .mobile_menu_wrap.active {
        left: 0;
    }

    .mobile_menu_wrap a {
        color: #fff;    
    }

    .mobile_menu_inner {
        position: relative;
    }

    .mobile_menu_item {
        margin-bottom: 20px;
    }

    .mobile_menu_item .logo {
        width: 125px;
        display: inline-block;
    }

    .mobile_menu_item_title {
        font-family: 'Roboto Condensed Medium';
        line-height: 1;
        margin-bottom: 15px;
        font-size: 18px;
    }

    .mobile_menu_item ul {
        list-style-type: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .mobile_menu_item ul li {
        margin-bottom: 5px;
    }


    .mobile_menu_item ul li a {
        font-family: 'Roboto Condensed';
    }

    .mobile_menu_item .button_transparent {
        color: #fff;
        border-color: #fff;
        width: 280px;
        height: 60px;
        margin-bottom: 20px;
    }   

    .mobile_menu_close {
        position: absolute;
        top: 10px;
        right: 0;
        width: 40px;
        height: 40px;
        background-image: url('../img/close_w.svg');
        background-repeat: no-repeat;
        background-position: 50%;
        cursor: pointer;
        border: 1px solid #fff;
        border-radius: 5px;
    }

    header {
        padding-bottom: 0;
    }

    .main_slide_content {
        width: 100%;
        position: static;
    }

    .tisers {
        margin-top: 40px;
    }

    .format_school {
        margin-top: 60px;
    }

    h2 {
        font-size: 60px;
    }

    .format_info_wrap {
        margin-top: 0;
    }

    .format_info_bottom {
        flex-direction: column;
        margin-top: 30px;
    }

    .format_info_bottom_left, .format_info_bottom_right {
        width: 100%;
    }

    .format_info_bottom_left {
        margin-bottom: 30px;
    }

    .format_discount_info {
        height: 350px;
    }

    .format_school .button {
        margin-top: 30px;
    }

    .program {
        margin-top: 60px;
    }

    .program_inner .img_bg {
        height: 350px;
    }

    .program_content {
        position: static;
        margin-top: 20px;
    }

    .program_logo {
        display: none;
    }

    .numbers {
        margin-bottom: 50px;
    }

    .numbers_item {
        width: 50%;
        margin-bottom: 20px;
    }

    .about {
        padding-top: 0;
        margin-top: 0;
    }

    .about_inner {
        flex-direction: column;
    }

    .about_left {
        width: 100%;
        order: 2;
    }

    .about_right {
        width: 100%;
        order: 1;
        margin-bottom: 30px;
    }

    .about_left .pers {
        display: none;
    }

    .advantages {
        margin-top: 60px;
    }

    .advantages_inner {
        flex-direction: column;
    }

    .advantages_left {
        width: 100%;     
        margin-bottom: 30px;          
    }

    .advantages_right {
        width: 100%;
    }

    .payment_info_inner {
        flex-direction: column;
    }

    .payment_info_left {
        width: 100%;
        order: 2;
        padding-top: 20px;
    }

    .payment_info_right {
        width: 100%;
        order: 1;
        padding-top: 0;
    }

    .footer_bottom {
        flex-wrap: wrap;
        margin-top: 0;
    }

    .order_title {
        font-size: 38px;
        margin-bottom: 35px;
        margin-top: 35px;
    }

    .basket_format_item_title {
        width: 340px;
    }

    .order_form_title, .sidebar_order_title, .sidebar_order_sum_title {
        font-size: 30px;
    }

    .map_contact {
        position: static;
        width: 100%;
        margin-top: 30px;
    }

    .numbers_title {
        font-size: 28px;
        margin-top: 0;
    }

    .program {
        margin-bottom: 60px;
    }

}

@media only screen and (max-width : 768px) {

   .format_links_item {
        height: 50px;
        font-size: 14px;
   }

   .format_info_top {
        flex-direction: column;        
   }

   .format_info_top_left {
        width: 100%;
        margin-bottom: 20px;
   }

   .format_info_top_right {
        width: 100%;
   }

   .format_info_slide {
        height: 420px;
   }

   .format_info_slide .img_bg img {
        -o-object-fit: contain;
        object-fit: contain;
   }

    .format_discount_info_item {
        width: 220px;
    }

    .format_price_item_title {
        width: 45%;
    }

    .format_price_item_val {
        width: 20%;
    }

    .format_price_item_price {
        text-align: right;
        width: 30%;
    }

    h3 {
        font-size: 32px;
    }

    .about_title {
        font-size: 20px;
    }
    
    .footer_bottom_col {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer_bottom_col:last-child {
        padding-top: 0;
    }


    .payment_page main {
        background-image: url('../img/pay_mobile.jpg');
        background-position: 0 0;
    }

    .payment_bg {
        display: block;
        width: 100%;
    }

    .payment_page_form {
        margin-top: 255px;
    }

    .catalog_item {
        width: 220px;
    }

    .catalog_item:nth-child(2n) {
        margin-right: 0;
    }

    .catalog_item_img {
        height: 140px;
    }

    .catalog_item_selected .button {
        width: 120px;
    }

    .basket_cat_title {
        font-size: 28px;
    }

    .basket_cat_item_head {
        display: none;
    }

    .basket_format_item {
        border: 1px solid #D4D4D4;
        padding: 15px 10px;
        flex-wrap: wrap;
        position: relative;
        font-size: 16px;
    }

    .basket_format_item_title {
        width: 100%;
        margin-bottom: 10px;
    }

    .basket_format_item_price {
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }

    .basket_format_item_cnt {
        width: 50%;
    }

    .item_cnt_inner {
        margin: 0;
    }

    .basket_format_item_sum {
        width: 50%;
        text-align: right;
    }

    .basket_format_item_del {
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .mobile_sum_title {
        display: block;
        font-size: 14px;
        color: rgba(22, 22, 22, 0.5);
        margin-bottom: 5px;
        line-height: 1;
    }

    .selected_photos_item {
        width: 80px;
        height: 80px;
    }

    .policy_wrap .checkbox_wrap {
        align-items: flex-start;
    }

    .numbers {
        flex-wrap: wrap;
    }

    .numbers_title br {
        display: none;
    }

    .numbers_item {
        width: 100%;
    }

    .numbers_title {
        font-size: 24px;
    }

    .numbers_item_title, .numbers_item_subtitle {
        text-align: center;
    }

}
    
@media only screen and (max-width : 576px) {

   .main_slide .img_bg {
        height: 300px;
   }

   .tisers_item {
        width: 100%;
        height: 200px;
   }

    .format_discount_info_inner {
        flex-direction: column;
        align-items: center;
    }

   .format_discount_info {
        height: auto;
   }

   .format_discount_info_item:nth-child(2) {
        left: 0;
        top: 0;
        margin-top: 20px;
   }

   .format_discount_info_bot {
        position: static;
        margin-top: 20px;
        text-align: center;
        font-size: 14px;
   }

   .discount_info_title {
        font-size: 28px;
        text-align: center;
   }

   .format_discount_info_item {
        width: 260px;
   }

   .numbers_item {
        width: 100%;
   }

   .about br {
        display: none;
   }

   .accordeon_item_top {
        font-size: 18px;
   }

   .accordeon_item_top:after {
        top: 4px;
   }

   .payment_info_left {
        padding: 20px;
   }

   .footer_top .pers {
        display: none;
   }

   .policy_wrap .checkbox_wrap span:last-child {
        width: calc(100% - 25px);
   }

   .policy_wrap .checkbox_wrap span br {
        display: none;
    }

    .payment_page main {
        background-image: none;
        height: auto;
        margin-top: 0;
    }

    .payment_page header {
        background-image: url('../img/pay_mobile.jpg');
        background-size: cover;
        height: 400px;
    }

    .payment_page_form {
        margin: auto;
        margin-top: 40px;
        margin-bottom: 40px;
        max-width: 100%;
    }

    .selected_photos_item {
        width: 70px;
        height: 70px;
    }

    .order_form_title, .sidebar_order_title, .sidebar_order_sum_title {
        font-size: 24px;
    }

    .order_coupon_inner {
        flex-direction: column;
    }

    .order_coupon_inner input[type='text'] {
        border-right: 1px solid rgba(22, 22, 22, 0.5);
        border-bottom: none;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .order_coupon_inner .button {
        width: 100%;
        border-top-right-radius: 0;
        border-bottom-left-radius: 5px;
    }

}


@media only screen and (max-width : 525px) {

    .catalog_item {
        width: 47%;
        padding: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .catalog_item_img {
        height: 115px;
    }

    .catalog_item .button, .catalog_item_selected, .catalog_item.active .catalog_item_selected {
        display: none;
    }

    .catalog_item_title {
        margin-bottom: 0;
        padding-left: 25px;
    }

    .catalog_item_format {
        font-size: 16px;
        position: relative;
        padding-left: 25px;
        cursor: pointer;
    }

    .catalog_item_format:before {
        content: '';
        position: absolute;
        left: 0;
        top: -2px; 
        width: 18px;
        height: 18px;
        border-radius: 50%;
        border: 1px solid rgba(0, 0, 0, 0.4);
    }

    .catalog_item.active .catalog_item_format:before {
        background-image: url('../img/check_w.svg');
        background-color: #2C568B;
        border-color: #2C568B;
        background-size: 80%;
        background-position: 50% 50%;
        background-repeat: no-repeat;
    }

    .order_title {
        font-size: 30px;
    }

    .modal_photo_img {
        height: 360px;
    }



}

@media only screen and (max-width : 480px) {

    a.logo {
        width: 90px;
    }

    .main_slide_title {
        font-size: 35px;
    }

    .main_slide_content {
        padding-right: 20px;
    }

    .program_buttons {
        flex-direction: column;
    }

    .program_buttons .button {
        width: 100%;
        margin-bottom: 20px;
    }

    .payment_info_title {
        font-size: 26px;
    }

    .payment_info_contact {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .payment_info_contact_item {
        margin-bottom: 20px;
    }

    .payment_info_buttons {
        flex-direction: column;
    }

    .payment_info_buttons .button {
        width: 100%;
        margin-bottom: 20px;
    }

    .map_contact {
        max-width: 100%;
        left: 0;
    }

    .order_body {
        padding-right: 0;
    }

    .payment_info_subtitle {
        font-size: 20px;
    }

}


@media only screen and (max-width : 380px) {

    .catalog_item {
        width: 100%;
        margin-right: 0;
    }

    .catalog_item_img {
        height: auto;
    }

}



/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
