@media (min-width: 1025px) and (max-width: 1440px) {
    .nums_number {
        font-size: 30vh;
        line-height: 30vh;
    }
}

@media (min-width: 1025px) and (max-width: 1200px) {
    .ns_pager span {
        padding: 0 10px;
    }

    .center_cnt {
        padding-left: 50px;
        padding-right: 50px;
    }

    .first_active .footer_text {
        left: 45px;
    }

    header .center_cnt {
        padding-top: 50px;
    }

    footer .center_cnt {
        padding-bottom: 50px;
    }

    .cs_slide_num {
        left: -50px;
    }

    .cs_slide_cnt {
        margin: 23vh 100px 100px;
        width: calc(100% - 200px);
    }

    .parallax {
        -webkit-transform: scale(0.6);
        -ms-transform: scale(0.6);
        transform: scale(0.6);
    }

    .nums_number {
        line-height: 32vh;
        font-size: 34vh;
    }

    .nums_cnt {
        margin: calc(23vh + 65px) 100px 150px;
        width: calc(100% - 200px);
    }

    .ns_pager_container {
        left: -10px;
    }

    .appeal_img {
        width: 40%;
        right: -40%;
    }

    .cs_slide_body {
        padding-top: 20px;
    }

    .appeal_cnt {
        max-width: 52%;
    }
}

@media screen and (max-width: 1024px) {
    .main_screen,
    body, html {
        height: auto;
    }

    body {
        overflow-y: auto;
    }

    header {
        background: white;
    }

    header .center_cnt {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .center_cnt {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main_slider,
    .main_page footer,
    .header_year,
    .parallax_container,
    .logo span {
        display: none;
    }

    .cs_slide {
        display: block;
        height: auto;
    }

    .cs_numbers {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }

    .content_slider {
        position: relative;
        height: auto;
    }

    .cs_slide_cnt {
        width: 100%;
        margin: 30px 0;
        padding: 0 15px;
    }

    .cs_slide_num span,
    .cs_slide_title span {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .cs_slide_header {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }

    .cs_slide_num {
        margin-right: 20px;
    }

    .content_slides_wrap,
    .cs_slide_num {
        position: relative;
        top: auto;
        left: auto;
    }

    .content_slides_wrap {
        height: auto;
        padding-top: 75px;
    }

    .nums_number_desc span, .nums_number span {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    [data-content-slide="1"] {
        padding-top: 100px;
        min-height: 80vh;
    }

    .cs_slide_body {
        padding-top: 25px;
    }

    .nums_number_desc {
        line-height: 20px;
        font-size: 18px;
        top: -6px;
    }

    .nums_number {
        top: -15px;
        font-size: 100px;
        line-height: 100px;
    }

    .content_slides_wrap {
        background: url("/wp-content/themes/mrsk/img/mobile_bg.jpg") bottom right -1075px no-repeat;
        -webkit-background-size: auto 100%;
        background-size: auto 100%;
        background-repeat: no-repeat;
    }

    [data-content-slide="1"] {
        background: white;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
    }

    [data-content-slide="1"] .cs_slide_cnt {
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        -ms-flex-line-pack: center;
        -webkit-align-content: center;
        align-content: center;
        margin-top: 0;
        padding-bottom: 100px;
    }

    [data-content-slide="1"] .cs_slide_body {
        height: auto;
    }

    .cs_slide:not([data-content-slide="4"]):not([data-content-slide="1"]) .cs_slide_footer {
        display: none;
    }

    .cs_slide_footer a.cs_slide_link {
        opacity: 0.6;
        visibility: visible;
    }

    [data-content-slide="1"] .cs_slide_footer {
        position: static;
        padding-left: 15px;
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        -webkit-order: -1;
        order: -1;
        margin-bottom: 30px;
    }

    .cs_slide_subtitle span {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    [data-content-slide="2"] .cs_slide_cnt,
    [data-content-slide="3"] .cs_slide_cnt,
    [data-content-slide="4"] .cs_slide_cnt {
        /*min-height: 230px;*/
        padding: 50px 15px;
    }

    .cs_news .cs_slide_body {
        height: auto;
    }

    .content_slides_wrap:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 120px;
        background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,1)),to(rgba(255,255,255,0)));
        background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
        background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 );
    }

    .cs_slide_cnt {
        margin: 0;
    }

    [data-content-slide="4"] .cs_slide_footer {
        margin: 50px 0 0;
        display: none;
    }

    .appeal_cnt {
        max-width: 100%;
        opacity: 1;
        visibility: visible;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .cs_mobile_slide_footer {
        position: fixed;
        bottom: 25px;
        left: 15px;
    }

    .cs_appeal .cs_slide_cnt {
        padding: 70px 15px 50px;
    }

    .appeal_img {
        position: relative;
        top: 0;
        right: auto;
        width: 200px;
        margin: 50px auto 0;
        height: 100%;
        background-image: none !important;
        padding: 0;
        color: #69696D;
        text-align: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    }

    .appeal_mobile_img {
        display: block;
        width: 150px;
        height: 150px;
        -webkit-background-size: cover;
        background-size: cover;
        -webkit-border-radius: 100%;
        border-radius: 100%;
        margin-bottom: 25px;
    }

    .ns_slide {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .cs_news {
        height: auto;
    }

    .ns_pager_wrap {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .ns_pager_container {
        left: 0;
        margin: 50px 0 0;
        width: 100%;
        overflow-x: auto;
        padding-bottom: 15px;
    }

    .news_slider {
        height: auto;
    }

    .active .search_input_wrap {
        width: calc(100% - 145px);
    }

    .search_input_wrap {
        left: 75px;
        position: absolute;
        background: #161924;
    }

    .hm_search {
        z-index: 10;
    }

    .cs_news .cs_slide_body {
        padding: 30px 0;
    }

    .header_menu {
        right: -100%;
        width: 100%;
    }

    .hm_body {
        height: calc(100vh - 155px);
        padding: 30px 50px 30px 25px;
    }

    .hm_footer {
        padding: 0 25px;
        margin: 25px 0;
    }

    .hm_header {
        margin: 30px 0 25px 0;
        padding: 0 70px 0 25px;
    }

    .hm_footer:before {
        top: -75px;
    }

    .hm_body a {
        display: inline-block;
    }

    .hm_body ol li a {
        max-width: none;
    }

    .cs_mobile_slide_footer.bottom {
        position: absolute;
    }

    .cs_mobile_slide_footer.white_text a,
    .cs_mobile_slide_footer.white_text {
        color: white;
    }

    .ns_pager span {
        width: auto;
        background: none;
        -webkit-transition: all 0.3s cubic-bezier(0.445, 0.050, 0.550, 0.950);
        -o-transition: all 0.3s cubic-bezier(0.445, 0.050, 0.550, 0.950);
        transition: all 0.3s cubic-bezier(0.445, 0.050, 0.550, 0.950);
        -webkit-border-radius: 20px;
        border-radius: 20px;
        background: transparent;
    }

    .ns_pager span.swiper-pagination-bullet-active {
        background: rgba(255, 255, 255, 0.2);
        opacity: 1;
    }
    .ns_sliding_bg {
        display: none;
    }

    body.overlay {
        height: 100vh;
        overflow: hidden;
    }

    .cs_slide[data-content-slide="2"],
    .cs_slide[data-content-slide="3"],
    .cs_slide[data-content-slide="4"] {
        opacity: 0;
    }
    .ns_pager span {
        padding: 0 10px;
    }

    .page_not_found h1 {
        margin-top: 150px;
        font-size: 30vw;
    }

    .page_not_found p {
        font-size: 12px;
        max-width: 250px;
    }

    #ars_msgField {
        top: 90px;
        right: 50px;
        left: auto;
    }
}

@media (min-width: 769px) and (max-width: 1024px){
    .cs_slide_cnt {
        padding: 0 30px;
    }

    .center_cnt {
        padding-left: 30px;
        padding-right: 30px;
    }

    [data-content-slide="1"] .cs_slide_footer {
        padding-left: 30px;
    }

    [data-content-slide="2"] .cs_slide_cnt,
    [data-content-slide="3"] .cs_slide_cnt,
    [data-content-slide="4"] .cs_slide_cnt {
        padding: 50px 30px;
    }
    .cs_appeal .cs_slide_cnt {
        padding: 70px 30px 50px;
    }

    .ns_sliding_bg {
        display: block;
    }

    .ns_pager span:last-child {
        padding-right: 10px;
    }

    .hm_header {
        padding: 0 85px 0 25px;
    }

    .active .search_input_wrap {
        width: calc(100% - 160px);
    }
}

@media screen and (max-width: 1024px) {
    .document_menu_wrap {
        width: 100%;
        visibility: inherit!important;
        opacity: 1!important;
        z-index: -1;
    }

    .document_menu_btn {
        right: 40px;
    }

    .document_menu {
        display: none !important;
    }

    .document_menu--mobile {
        position: absolute;
        bottom: calc(100% + 35px);
        right: 15px;
        background: white;
        -webkit-border-radius: 7px;
        border-radius: 7px;
        -webkit-box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 8px 40px rgba(0, 0, 0, 0.2);
        display: none;
    }

    .document_menu__list {
        list-style: none;
    }

    .document_menu__list .doc_link {
        padding: 15px 25px;
    }

    .doc_link {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        text-decoration: none;
        -webkit-transition: all .3s var(--animation);
        -o-transition: all .3s var(--animation);
        transition: all .3s var(--animation);
        color: #34343A;
        opacity: 0.6;
    }

    .document_menu__list .doc_link:hover,
    .document_menu__list .doc_link:focus {
        background: #F1F1F1;
        opacity: 1;
    }

    .doc_link p {
        margin: 0;
        margin-left: 15px;
    }

    .zakon152 {
        padding: 0 50px;
    }

    .zakon152 p {
        font-size: 12px;
    }
}

@-webkit-keyframes fadeIn{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn{
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media screen and (max-height: 600px) and (min-width: 1024px) {
    .last_active {
        overflow-y: auto;
        min-height: 600px;
    }

    .main_page footer {
        position: absolute;
    }

    .cs_slide_cnt {
        margin-top: 150px;
    }
}

@media screen and (max-width: 480px) {
    .bvi-open {
        display: none !important;
    }
}