@media screen and (max-width: 840px) {
    html {
        width: 330px;
        min-width: 330px;
        min-width: auto;
        min-height: auto;
        padding: 0;
        margin: 0 auto;
        max-width: max-content;
        zoom: inherit !important;
    }

    .eighteen {
        margin-left: 0;
        margin-top: 0;
        opacity: 0.8;
        width: 26px;
        position: absolute;
        bottom: 5px;
        right: 5px;
    }

    .online_img {
        position: absolute;
        top: 7px;
        text-align: center;
        left: 70px;
    }

    .regInfo {
        flex-direction: column;
    }

    .regInfo .info {
        width: 100%;
    }

    div::-webkit-scrollbar-button {
        background-image: url('');
        background-repeat: no-repeat;
        width: 0px;
        height: 0px
    }

    div::-webkit-scrollbar-track {
        background-color: #EEE
    }

    div::-webkit-scrollbar-thumb {
        -webkit-border-radius: 0px;
        border-radius: 0px;
        background-color: #222222;
    }

    div::-webkit-resizer {
        background-image: url('');
        background-repeat: no-repeat;
        width: 0px;
        height: 0px
    }

    div::-webkit-scrollbar {
        width: 0px;
    }

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none;
    }

    .button {
        font-size: 16px;
        padding: 16px;
    }

    .reg_no_doc {
        top: 170px !important;
        left: 94px !important;
    }

    .progress {
        display: none;
    }

    .block-content {
        width: 100%;
    }

    h2 {
        font-size: 32px !important;
        border-bottom: 0 !important;
        width: 100% !important;
        font-style: normal;
        font-weight: bold;
        line-height: 30px;
    }

    h3 {
        font-size: 32px;
    }

    .desc {
        width: 100% !important;
        font-size: 16px !important;
        line-height: 28px !important;
    }

    .menu {
        display: none;
        position: fixed;
        margin-left: 72px;
        top: 0;
        z-index: 11111111;
        background-color: white;
        height: 100%;
    }

    .menu .list {
        top: 64px;
    }

    .menu .list a {
        color: black !important;
    }

    .menu .tlogo {
        display: none;
    }

    .menu .mobile_close_menu {
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .menu .underlogo {
        display: none;
    }

    .header {
        height: 688px;
        background-size: cover;
        background-position-x: 46%;
        position: relative;
    }

    .header .gosbiz {
        display: block;
        bottom: 40px;
        left: 24px;
        right: auto;
        top: auto;
    }

    .header .title2 {
        position: absolute;
        top: 72px;
        left: 22px;
    }

    .header .show {
        display: block;
        position: absolute;
        top: 135px;
        left: 0;
        width: 100%;
        height: 244px;
    }

    .header .show span {
        margin-top: 20px;
    }

    .header .show h1 {
        font-size: 32px;
        line-height: 30px;
    }


    .header .show h1 br {
        display: inline !important;
    }

    .header .show .sb1 {
        top: 156px;
        left: 10px;
    }

    .header .show .sb2 {
        top: 156px;
        left: 165px;
        padding-top: 8px;
        margin-right: 6px;
    }

    .mobile_menu {
        background-color: black;
        height: 80px;
        position: relative;
    }

    .mobile_menu .logo {
        width: 128px;
        margin-top: 30px;
        margin-left: 20px;
        ;
    }

    .mobile_menu .cacke {
        position: absolute;
        right: 30px;
        top: 30px;
    }

    .arrow {
        display: none;
    }


    .content {
        margin: 80px 16px 80px 16px !important;
    }

    .about {
        height: auto;
    }

    .about .text {
        display: inline;
    }

    .about .text td {
        display: contents;

    }

    .about .square_list_bf {
        width: 100%;
        height: 380px;
        overflow-x: scroll;
        overflow-y: hidden;
        -ms-overflow-style: none;
    }

    .about .square_list_bf2 {
        height: 360px;
        overflow-y: hidden;
    }

    .about .square_list_bf::-webkit-scrollbar {
        width: 0;
    }

    .about .square_list_bf::-webkit-scrollbar {
        width: 0;
    }

    .about .square_list_bf::-webkit-scrollbar {
        width: 0;
    }


    .about .square_list {
        height: 360px;
        display: inline-flex;
    }

    .about .square_list .square:last-child {
        /* display: none; */
    }

    .about .square_list .square {
        width: 276px;
        height: 310px;
        padding: 14px;
    }

    .about .square img {
        width: 32px;
        height: auto;
    }

    .about .square div {
        margin-top: 24px;
    }

    .about .square_list {
        margin-top: 40px;
    }

    .news {
        height: auto !important;
    }

    .news .square_list .square {
        width: 296px;
        margin-bottom: 30px;
    }


    .itprize {
        height: 868px;
        background: url(../img/itpize_mobile.png) no-repeat scroll 0px 0px transparent;
        position: relative;
        overflow: hidden;
        background-size: cover;
    }

    .itprize .itlogo {
        display: none;
    }

    .itprize .itlogo_mobile {
        display: block;
        position: absolute;
        top: 430px;
        left: 18px;
        width: 260px;
    }

    .itprize .text {
        position: absolute;
        width: 90%;
        height: 84px;
        left: 20px;
        top: 596px;
        font-size: 16px;
        line-height: 28px;
        color: rgb(167, 167, 167);
    }

    .itprize .block_button {
        display: none;
    }

    .itprize #more_prize {
        position: absolute;
        left: 20px;
        top: 740px;
    }

    .program {
        height: 1622px;
        padding: 104px 16px 16px 16px;
    }

    .program table {
        display: inline-table;
    }

    .program table tr {
        display: block;
        border-bottom: 1px solid #2D2D2D;
    }

    .program h3 {
        border-bottom: 1px solid #2D2D2D;
    }

    .program table td {
        width: 100% !important;
        height: auto;
        display: block;
    }

    .program table td:nth-child(1) {
        font-size: 32px;
        padding: 0;
        border: 0;
        padding-top: 40px;
        padding-bottom: 8px;
    }

    .program table td:nth-child(2) {
        font-size: 18px;
        line-height: 24px;
        padding: 0;
        border: 0;
        padding-bottom: 16px;
    }

    .program table td:nth-child(3) {
        padding: 0;
        padding-bottom: 40px;
    }

    .program table td:nth-child(3) span {
        font-weight: 500;
        font-size: 12px;
        line-height: 20px;
        padding: 0;
    }

    .program .block_button {
        display: none;
    }

    #program_more {
        position: absolute;
        bottom: 120px;
        left: 18px;
    }

    #program_pdf {
        position: absolute;
        bottom: 60px;
        left: 18px;
    }

    .scheme {
        height: auto;
    }

    .scheme .map {
        padding: 0;
    }

    .scheme .map div {
        left: 0;
        top: 0;
    }


    .scheme .map img {
        width: 100%;
    }

    .speaker {
        height: auto;
        padding-bottom: 120px;
    }

    .speaker .desc {
        width: 100%;
        font-size: 16px;
        line-height: 28px;
        text-shadow: 2px 2px 2px rgba(150, 150, 150, 0.1);
    }

    .speaker .faces {
        max-height: max-content;
        height: auto;
    }

    .speaker .faces>div img {
        width: 150px;
        border-radius: 5px;
        margin-bottom: 16px;
    }


    .speaker .faces>div {
        height: auto;
        width: 100%;
        margin-bottom: 40px;
    }

    .speaker .content>.faces>div:nth-child(n+11) {
        display: none;
    }


    .people {
        height: auto;
        padding-bottom: 80px;
    }

    .people .content {
        padding-right: 0;
        margin-right: 0 !important;
    }

    .people .people_gallery {
        height: 320px;
        overflow-x: scroll;
    }

    .people .people_gallery_bf {
        height: 295px;
        margin-bottom: 25px;
        overflow-y: hidden;
    }

    .people .people_gallery_inner div {
        height: auto;
    }

    .people .people_gallery_inner img {
        height: 80px;
        width: auto;
        border-radius: 5px;
    }

    .people table {
        display: inline-table;
        width: 100%;
    }

    .people table td {
        display: inline-block;
        width: auto !important;
    }

    .people table td:nth-child(1) {
        border-bottom: 0;
        padding-bottom: 8px;
        padding-top: 18px;
    }

    .people table td:nth-child(2) {
        padding-top: 0;
        padding-bottom: 18px;
    }

    .photos {
        height: 918px;
    }

    .photos .gallery {
        height: 320px;
        overflow-x: scroll;
    }

    .photos .gallery_bf {
        height: 295px;
        margin-bottom: 25px;
        overflow-y: hidden;
    }

    .photos .gallery img {
        height: 280px;
    }

    .photos .desc {
        margin-top: 20px;
        height: auto;
    }

    .video .content {
        padding-right: 0;
        margin-right: 0 !important;
    }

    .video .video_gallery {
        overflow-x: scroll;
    }

    .video .video_gallery_bf {
        margin-bottom: 20px;
        height: 240px;
        overflow-y: hidden;
    }

    .video .video_gallery_inner a::before {
        top: 55px;
        left: 115px;
    }

    .video .video_gallery_inner img {
        height: 155px;
        margin-right: 20px;
    }

    .video .desc {
        margin-top: 0;
        height: auto;
        margin-bottom: 40px;
    }

    .partner .logos a {
        width: 100%;
        max-width: 250px;
        height: auto;
        margin-bottom: 20px;
        margin-right: 30px;
        overflow: hidden;
    }

    .partner .logos a:nth-child(2n) {
        margin-right: 0;

    }

    .partner .logos a img {
        width: 250px;
        height: auto;
    }

    .partner .content {
        margin-bottom: 80px !important;
    }

    .contact footer {
        width: 100%;
        height: 120px;
        padding-top: 100px;
    }

    .contact .desc {
        position: absolute;
        width: 300px !important;
        top: 200px;
    }

    .contact footer div {
        position: absolute;
        top: 0px;
        /* z-index: 999999999; */
        line-height: 2.5;
        left: 0;
    }

    .modal {
        position: fixed;
        width: 330px;
        margin: auto;
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
        z-index: 100;
        top: 0;
        left: 0;
        z-index: 100;
        display: none;
        padding: 50px 20px;
        transform: none;
    }

    .modal_form .sect {
        width: auto;
    }

    .modal_form .sect_main {
        width: auto;
        padding: 32px 0;
    }

    .modal_form span {
        width: auto;
    }

    .close_modal {
        z-index: 10000;
    }

    .null .logo {
        position: absolute;
        top: 20px;
        height: 50px;
        text-align: center;
        margin: auto;
        left: 50%;
        margin-left: -150px;
        width: 300px;
        height: auto;
    }

    .rooms {
        padding: 0 15px;
    }

    .program .buttons .button {
        height: auto !important;
    }

    .main_numbers {
        position: inherit;
        margin: 0;
        left: 0;
        display: grid;
        gap: 2px;
        flex-direction: column;
        grid-template-columns: repeat(2, 1fr);
    }

    .main_numbers div {
        padding: 10px 10px;
        min-width: 48%;
        background-color: #DADADA;
        color: #4D86F3;
        font-size: 36px;
        text-align: center;
        border-radius: 0;
        font-weight: bold;
    }

    .main_numbers div span {
        font-weight: normal;
        display: block;
        text-align: center;
        font-size: 15px;
    }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .video-container {
        width: 300px !important;
        height: 150px !important;

    }

    .video {
        height: 400px;
    }

    .video .content {
        margin: 60px 16px 80px 16px !important;
    }

}