@media (max-width: 992px) {
    .title_blocks span {
        text-align: center;
        text-transform: uppercase;
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 700;
        font-size: 36px;
        line-height: 40px;
        text-transform: uppercase;
        color: #333333;
    }
    span.title_slider {
        font-size: 36px;
        line-height: 40px;
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 700;
        font-size: 36px;
        line-height: 40px;
        text-transform: uppercase;
        color: #E7007F;
    }
    .sub_text {
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
        max-width: 540px;
        margin: auto;
    }
    .title_blocks {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 43px;
    }
    .block_gra.block_gra2 {
        max-width: 290px;
        width: 100%;
    }
    .blocks_graphics2 {
        display: flex;
        width: 100%;
        margin-top: 25px;
        flex-wrap: wrap;
        flex-direction: row;
        margin: auto;
        justify-content: center;
    }
    .block_gra2 .span {
        max-width: 276px;
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
        height: 110px!important;
    }
    .block_gra2 .time_gr {
        margin-top: 10px;
        margin-bottom: 15px;
    }
    a.btn_about.btn_about2 {
        height: 36px;
        width: 146px;
        left: 91px;
        top: 512px;
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0!important;
    }
    .blocks_graphics.blocks_graphics2 {
        margin-top: 23px;
    }   
    .block_gra2 .span {
        padding-left: 6px;
    }
    .block_gra2 .time_gr {
        padding-left: 6px;
    }
    .block_gra2 a.btn_about.btn_about2 {
        padding-left: 15px;
        margin-left: 6px!important;
    }
    .block_gra.block_gra2 {
        margin-right: 30px;
    }
    .imp_text {
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
        margin-top: 45px;
        margin-bottom: 30px;
    }
    .sub_text2 {
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
        max-width: 595px;
        margin: auto;
    }
    .left_part_deviz {
        width: 100%;
        text-align: left;
    }
    .right_part_deviz {
        width: 100%;
    }
    .blodk_deviz {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        max-width: 610px;
        margin: auto;
    }
    .blodk_deviz {
        margin-top: 4px;
    }
    .max_t {
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 18px;
        color: #333333;
        max-width: 98%;
    }
    img.img_in_text {
        width: 100%;
        height: 256px;
        margin-bottom: 4px;
        margin-top: 19px;
    }
    img.min_im {
        width: 301px;
        height: 255px;
        margin-top: 14px;
        margin-bottom: -10px;
    }
    .z{display: none;}
    .pedogog_info.pedogog_info2 {
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
        text-align: center;
    }
    .block_meropriyatia {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
        max-width: 610px;
        margin: auto;
    }
    .meropriyatia_item {
        height: 283px;
        width: 290px;
        left: 0px;
        top: 0px;
        border-radius: 5px;
        margin-bottom: 31px;
        margin-top: 2px;
    }
    .meropriyatia_item_img {
        height: 196px;
        width: 290px;
    }
    .meropriyatia_item_title {
        font-weight: 700;
        font-size: 16px;
        line-height: 18px;
    }
    .razv_sread:nth-child(3) {
        display: none;
    }
    .razv_sread_img {
        height: 196px;
        width: 100%;
        margin-bottom: 10px;
    }
    .razv_sread {
        height: 268px;
        width: 290px;
        left: 0px;
        top: 0px;
    }
    .newss {
        width: 261px;
        height: 536px;
    }
    .news_b {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .newss {
        margin-bottom: 30px;
    }
    .img_news {
        width: 100%;
        height: 196px;
    }
    .news {
        max-width: 610px;
        margin: auto;
    }
    .newss {
        width: 287px;
        height: 536px;
    }
    .news {
        padding-top: 0;
    }
    .title_news {
        margin-top: 7px;
        margin-left: 12px;
        margin-right: 10PX;
        margin-bottom: 21px;
    }
    .desc_news {
        font-family: Comfortaa;
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 16px;
        color: #333333;
        margin-bottom: 13px;
        margin-top: 8px;
    }
    .desc_news {
        max-width: 84%;
    }
    .block_fotoalbom {
        max-width: 610px;
        margin: auto;
        width: 100%;
        margin-bottom: 46px;
    }
    .foto_fal {
        height: 132px;
        width: 197px;
        border-radius: 5px;
    }
    .alls_photos {
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        text-align: center;
        color: #0079CD;
        cursor: pointer;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        margin-right: 10px;
        margin-top: 7px;
    }
    .pedagog_list_block {
        max-width: 610px;
        width: 100%;
    }
    .item_pedagog {
        height: 481px;
        width: 291.0034484863281px;
    }
    .pedagog_list_block {
        max-width: 610px;
        width: 100%;
        margin: auto;
    }
    .name_ped {
        margin-top: 14px;
        font-weight: 700;
        font-size: 16px;
        line-height: 18px;
    }
    .sub_ped_inf {
        max-width: 80%;
    }
    .right_part_pedogog {
        width: 289px;
        margin-left: 30px;
    }
    .right_part_pedogog p {
        font-family: 'Comfortaa';
        font-style: normal;
        color: #333333;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
    }
    .left_part_pedogog {
        width: 350px;
        height: 465px;
    }
    .item_pedagog2 {
        width: 290px;
        height: 412px;
    }
    .pedagog_list_block {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 610px;
        margin: auto;
    }
    .main_info.roww {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .main_info.roww .coll-lg-3 {
        width: 100%;
        max-width: 48%;
    }
    .main_info.roww {
        max-width: 610px;
        width: 100%;
    }
    .main_info_text {
        margin-bottom: 10px;
        width: 86%;
    }
    .coll-lg-3 {
        margin-bottom: 30px;
    }
    .main_info.roww {
        max-width: 610px;
        width: 100%;
    }
    .map_contacts {
        max-width: 610px;
        width: 100%;
    }
    .right_part_cb {
        display: none;
    }
    .left_part_cb {
        max-width: 610px;
        width: 100%;
    }
    .input_name_pl textarea {
        width: 610px;
        height: 188px;
        margin-top: 10px;
        outline: none;
        border: 2px solid #33333391;
        box-sizing: border-box;
        border-radius: 5px;
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #333333;
        padding-top: 10px;
        padding-left: 40px;
    }
    .inputs input {
        width: 299px;
        height: 42px;
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #333333;
        padding-left: 40px;
        border: 2px solid #33333391;
        box-sizing: border-box;
        border-radius: 5px;
    }
    .title_cb {
        font-family: 'Comfortaa';
        font-style: normal;
        color: #E7007F;
        margin-bottom: 30px;
        font-weight: 700;
        font-size: 28px;
        line-height: 31px;
    }
    .container_not_found_right_part {
        display: none;
    }
    .menu_404 ul li a {
        font-family: 'Comfortaa';
        font-style: normal;
        color: #0079CD;
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
    }
    .menu_404 ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: min-content;
    }
    .polit_text, .polit_text_main, .polit_text_main {
        max-width: 610px;
        width: 100%;
    }
    .news_det span {
        margin: 0px;
        font-weight: 700;
        font-size: 48px;
        line-height: 74px;
        max-width: 75%;
        margin-top: -103px;
        margin-bottom: -12px;
        font-weight: 700;
        font-size: 36px;
        line-height: 59px;
    }
    .img_detail {
        width: 87%;
        max-width: 610px;
        margin: auto;
        height: 209px;
    }
    .right_part_pedogog.new_col {
        max-width: 610px;
    }
}


.img_in_text{
    display:none;
}


@media (max-width:450px) {
    .blocks_graphics2 {
        display: flex;
        width: 100%;
        margin-top: 25px;
        flex-wrap: wrap;
        flex-direction: column;
        margin: auto;
        justify-content: center;
    }
    .block_gra.block_gra2 {
        width: 290px;
        height: 194px;
    }
    .block_gra2 .span {
        font-weight: 700;
        font-size: 18px;
        line-height: 20px;
    }
    .sub_text {
        font-weight: 700;
        font-size: 18px;
        line-height: 20px;
    }
    .title_blocks span {
        font-weight: 700;
        font-size: 22px;
        line-height: 25px;
    }
    .title_blocks img {
        height: 54px;
        width: 20px;
        height: 25px;
    }
    .title_blocks span {
        font-weight: 700;
        font-size: 22px;
        line-height: 25px;
    }
    .title_block_foto {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 30px;
        flex-direction: column;
    }
    .titll_g {
        font-family: 'Comfortaa';

        color: #E7007F;
        font-style: normal;
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
        text-align: center;
        width: 100%;
    }
    .block_fotoalbom {
        margin-top: -31px;
    }
    .img_block_forogal {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .foto_fal {
        width: 141px;
        height: 95px;
        margin-bottom: 10px;
    }
    .alls_photos {
        display: none;
    }
    .img_block_forogal {
        max-width: 290px;
        margin: auto;
        margin-top: -9px;
    }
    .alls_photos_new {
        display: flex;
        max-width: 290px;
        margin: auto;
        margin-top: 6px;
    }
    .alls_photos_new {
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        text-align: center;
        color: #0079CD;
        cursor: pointer;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        margin-right: 10px;
        margin-top: 7px;
    }
    .block_fotoalbom.g2 {
        margin-top: -11px;
    }
    .gg2{display: none;}
    .ggg4{width: 100%;}
    .ggg4 div p {
        max-width: 100%;
    }
    .blodk_deviz {
        max-width: 610px;
        margin: auto;
    }
    .img_block_forogal {
        max-width: 610px;
        margin: auto;
    }
    .img_block_forogal {
        max-width: 290px;
    }
    .foto_fal {
        width: 141px;
        height: 95px;
    }
    .text_elips p {
        font-family: 'Comfortaa';
        font-style: normal;
        color: #0079CD;
        margin-left: 10px;
        max-width: 460px;
        font-weight: 700;
        font-size: 16px;
        line-height: 18px;
    }
    .sub_text_dev {
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
    }
    .title_dev_blok {
        font-weight: 700;
        font-size: 28px;
        line-height: 31px;
    }
    .blodk_deviz {
        padding: 0 15px;
    }
    .title_dev_blok {
        font-weight: 700;
        font-size: 20px;
        line-height: 22px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .text_elips p {
        font-family: 'Comfortaa';
        font-style: normal;
        color: #0079CD;
        margin-left: 10px;
        max-width: 460px;
        font-weight: 700;
        font-size: 16px;
        line-height: 18px;
    }
    .sub_text_dev {
        max-width: 740px;
        font-family: 'Comfortaa';
        font-style: normal;
        color: #333333;
        margin: auto;
        font-weight: 700;
        font-size: 18px;
        line-height: 20px;
    }
    .title_blocks span {
        text-align: center;
        text-transform: uppercase;
        font-family: 'Comfortaa';
        font-style: normal;
        text-transform: uppercase;
        color: #333333;
        font-weight: 700;
        font-size: 22px;
        line-height: 25px;
    }
    .item_pedagog {
        width: 291px;
    }
    .item_pedagog {
        width: 291px;
        margin: auto;
        margin-bottom: 20px;
    }
    .title_blocks span {
        text-align: center;
        text-transform: uppercase;
        font-family: 'Comfortaa';
        font-style: normal;
        text-transform: uppercase;
        font-weight: 700;
        font-size: 22px;
        line-height: 25px;
        color: #333333;
    }
    .detail_pedogog {
        display: flex;
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .right_part_pedogog {
        width: 289px;
        margin-top: 20px!important;
        margin: auto;
    }
    .map_contacts {
        max-width: 290px;
        width: 100%;
        margin: auto;
        margin-bottom: 20px;
    }
    .main_info.roww {
        width: 100%;
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        flex-direction: column;
    }
    .main_info.roww .coll-lg-3 {
        width: 100%;
        max-width: 290px;
    }
    .title_main_info_col {
        font-family: 'Comfortaa';
        font-style: normal;
        color: #E7007F;
        margin-bottom: 30px;
        font-weight: 700;
        font-size: 18px;
        line-height: 20px;
    }
    .main_info_text {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
    }
    .callback_form {
        margin-top: 30px;
        margin-bottom: 120px;
    }
    .callback_form_main {
        max-width: 290px;
        width: 100%;
    }
    .inputs {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
        align-content: flex-start;
    }
    .inputs input {
        width: 290px;
        height: 42px;
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #333333;
        padding-left: 40px;
        border: 2px solid #33333391;
        box-sizing: border-box;
        border-radius: 5px;
        margin-bottom: 10px;
    }
    .input_name_pl textarea {
        width: 290px;
        height: 188px;
        margin-top: 10px;
        outline: none;
        border: 2px solid #33333391;
        box-sizing: border-box;
        border-radius: 5px;
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #333333;
        padding-top: 0;
        padding-left: 40px;
    }
    .input_name_pl textarea {
        width: 290px;
        height: 188px;
        margin-top: 10px;
        outline: none;
        border: 2px solid #33333391;
        box-sizing: border-box;
        border-radius: 5px;
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: #333333;
        padding-top: 13px;
        padding-left: 40px;
        margin-top: 0px;
    }
    .bts_priv {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 30px;
        flex-direction: column;
    }
    input.btn_sub {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 15px 35px;
        background: #E7007F;
        border-radius: 5px;
        font-family: 'Comfortaa';
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 18px;
        text-align: center;
        color: #FFFFFF;
        outline: none;
        border: 0;
        width: 290px;
    }
    .container_not_found_left_part {
        width: 100%;
        max-width: 290px;
        display: flex;
        flex-direction: column;
    }
    p.not_found {
        font-weight: 700;
        font-size: 22px;
        line-height: 25px;
        text-align: center;
    }
    p.not_found_text {
        font-weight: 700;
        font-size: 18px;
        line-height: 20px;
    }
    .menu_404 ul li a {
        font-family: 'Comfortaa';
        font-style: normal;
        color: #0079CD;
        font-weight: 700;
        font-size: 18px;
        line-height: 20px;
    }
    .menu_404 ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: min-content;
    }
    .polit_text, .polit_text_main, .polit_text_main {
        max-width: 290px;
        width: 100%;
    }
    .polit_text, .polit_text_main, .polit_text_main {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
    }
    .title_news {
        width: 234px;
        height: 55px;
    }
    .title_news {
        font-weight: 700;
        font-size: 16px;
        line-height: 18px;
    }
    .title_news {
        margin-top: 7px;
        margin-left: 12px;
        margin-right: 10PX;
        margin-bottom: 22px;
    }
    .desc_news {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        max-width: 84%;
        padding-bottom: 0;
        margin-bottom: 6px;
    }
    .newss > a {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 15px 35px;
        background: #E7007F;
        border-radius: 5px;
        width: 90%;
        height: 46px;
        font-family: Comfortaa;
        font-style: normal;
        font-weight: 500;
        font-size: 16px;
        line-height: 18px;
        text-align: center;
        color: #FFFFFF;
    }


}

.alls_photos_new{display: none;}

@media (max-width:1400px){
    .img_detail {
        width: 87%;
        margin: auto;
    }
    .right_part_pedogog.new_col {
        max-width: 750px;
        width: 100%;
        margin: auto;
        margin-top: 30px;
        font-weight: 400;
        font-size: 16px;
        line-height: 18px;
    }
    .news_det span {
        margin: 0px;
        font-weight: 700;
        font-size: 48px;
        line-height: 74px;
        max-width: 75%;
        margin-top: -103px;
        margin-bottom: -12px;
    }
    .name_ped {
        margin-top: 15px;
    }


}
.sub_text.sub_text2 {
    max-width: 59%;
    margin: auto;
}