@media (min-width: 1200px) and (max-width: 1650px) {
    html {
        zoom: 0.9;
    }

    @-moz-document url-prefix() {
        html {
            transform: scale(0.9);
            transform-origin: left top;
            width: calc(100% / 0.9);
            height: calc(100% / 0.9);
        }
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    html {
        zoom: 0.7;
    }

    @-moz-document url-prefix() {
        html {
            transform: scale(0.7);
            transform-origin: left top;
            width: calc(100% / 0.7);
            height: calc(100% / 0.7);
        }
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .mob {
        display: none;
    }

    .phone-svg {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .major {
        padding: 0 50px;
        margin: 0;
    }

    .container {
        padding: 0 50px;
    }

    #tabs {
        padding: 50px 30px 30px;
    }

    .tab-head {
        margin-right: 30px;
    }
}

@media (min-width: 768px) {
    h1 {
        max-width: 600px;
    }
}

@media (max-width: 768px) {

    .bx-yandex-view-layout {
        display: none;
    }

    .tabs-wrap {
        padding-bottom: 30px !important;
    }

    .nav li {
        padding: 15px 40px;
    }

    .nav li a {
        color: white;
        display: flex;
    }

    .nav li a:hover, .nav li a:active, .nav li a:focus {
        color: #FFC42D;
        border-bottom: unset;
    }

    header {
        position: fixed;
        z-index: 3;
        width: 100%;
        left: 0;
        right: 0;
        top: 0;
        border-radius: 0px 0px 30px 0px;
        box-shadow: 0px 3px 5px rgb(0 0 0 / 15%);
    }

    header .container {
        background: white;
        border-radius: 0px 0px 30px 0px;
        z-index: 999;
    }

    .logotype img {
        width: 150px;
    }

    .nav-item {
        padding: 10px 0;
    }

    .head-wrap img {
        display: none;
    }

    .nav-tel {

    }

    .nav-tel span {
        display: none;
    }

    .phone-svg {
        border: 2px solid #8125F5;
        border-radius: 100%;
        padding: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -5px;
    }

    .svg-inline-phone {
        fill: #8125F5;
        display: flex;
        align-items: center;
    }

    .desk {
        display: none;
    }

    .callback {
        display: none;
    }

    .menu-toggle.open ~ .main-menu {
        transform: translateY(0);
    }

    .d-flex {
        flex-wrap: wrap;
    }

    .container {
        padding: 0 20px;
    }

    .major {
        padding: 10px;
        margin: 0;
    }

    #tabs {
        padding: 0;
    }

    .big-form {
        padding: 30px;
        width: 300px;
    }

    h1 {
        font-size: 21px;
    }

    .head-wrap img {
        width: 20px;
    }

    .tabs-nav, .top-row, .news-item {
        flex-wrap: nowrap;
    }

    .tab-head {
        margin-right: 10px;
        display: flex;
    }

    .tabs-nav a {
        padding: 10px 50px 10px 20px;
        font-size: 14px;
    }

    .tabs-nav a.active:after {
        transform: rotateZ(90deg);
        top: 15px;
    }

    .tabs-nav a:after {
        background-size: 7px 12px;
        top: 13px;
        right: 20px;
    }

    .head-wrap {
        min-height: unset;
        background-image: unset;
    }

    .main-block {
        background-image: url('/images/bg-main.png');
        border-radius: 0 0 0 60px;
        background-repeat: no-repeat;
        background-size: auto;
        margin-top: 40px;
        padding-top: 40px;
        background-color: #FFC42D;
    }

    .fancy-item img {
        max-width: 180px;
    }

    .fancy-item {
        padding: 30px 10px;
        border-radius: 20px 20px 0 0;
        margin: 10px 10px 0;
    }

    .fancy-row {
        align-items: stretch;
    }

    .fancy-item .name {
        font-size: 10px;
        overflow: hidden;
    }

    h2 {
        padding: 10px !important;
        font-size: 20px;
    }

    .tabs-item {
        padding: 10px 20px;
    }

    .news-title {
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .news-title img {
        width: 70px;
    }

    .news-title small {
    font-size: 10px;
    }

    .info-value {
        font-size: 12px;
    }

    .info-title {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .info-hint {
        font-size: 10px;
        white-space: nowrap;
        margin-left: 3px;
    }

    .field-submit input, .main-btn {
        font-size: 10px;
        padding: 13px 17px;
        margin-left: auto;
    }

    .four-col .tab-col {
        padding-right: 15px;
    }

    .top-item {
        padding: 0;
        font-size: 14px;
    }

    .top-item img {
        width: 30px;
    }

    .tabs-nav {
        margin: 15px 0;
    }

    .main-menu {
        width: 300px;
        right: 0;
        top: 70%;
        position: absolute;
        padding: 30px 0;
        text-align: center;
        transform: translateY(-100%);
        transition: transform 500ms ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: -1;
        background: #8125F5;
        border-radius: 0px 0px 30px 30px;
    }

    ul.nav {
        display: block;
    }

    .footer-wrap .nav-row {
        display: none !important;
    }

    .icon-block {
        margin: 20px 0;
    }

    .icon-block h4 {
        margin: 0;
        font-size: 18px;
    }

    .icon-part {
        padding-right: 0;
    }

    .contact-block {
        padding: 15px 30px 0;
        font-size: 14px;
        position: relative;
    }

    .map-wrap {
        min-height: unset;
        background-color: #ffc42d;
    }

    .bx-yandex-map {
        height: 0 !important;
    }

    p {
        font-size: 14px;
    }

    .icon-item {
        margin: 15px 25px 15px 0;
    }

    .errortext {
        background: white;
    }

    .tabs-title {
        display: none;
    }

    .main-row {
        flex-wrap: nowrap;
        padding: 20px;
    }

    .field-item, .field-submit, .form-desc {
        margin-top: 15px;
    }

    .form-desc {
        font-size: 12px;
    }

    .cat-desc {
        font-size: 12px;
        padding: 30px 0;
    }

    .modal {
        padding: 50px 30px;
        max-width: 400px;
    }

    .four-col .tab-col {
        min-width: 20%;
    }

    .five-col .tab-col {
        min-width: 25%;
    }

    .five-col .tab-last {
        display: none;
    }

    h3 {
        font-size: 18px;
        margin-top: 7px;
    }


    footer .main-btn {
        margin-left: unset;
        display: inline-block;
        margin-bottom: 10px;
    }

    .fancy-wrap {
        padding: 30px 30px 0;
    }

    .five-col .news-item {
        flex-wrap: wrap;
        justify-content: space-between;
        padding-bottom: 15px;
    }

    .news-title-inner {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .top-row .tab-col {
        font-size: 14px;
    }

    .top-row .tab-col p {
        font-size: 10px;
    }

    .five-col .tab-col {
        min-width: 15%;
    }

    .icon-block {
        flex-wrap: nowrap;
    }

}

@media (max-width: 500px) {

    .news-title-inner {
        flex-direction: row;
        align-items: center;
    }

    .five-col .top-row {
        display: none;
    }

    .five-col .news-col:first-of-type {
        width: 100% !important;
        padding-bottom: 0;
    }

    .five-col .news-col {
        min-width: 25%;
    }

    .five-col .news-item {
        flex-wrap: wrap;
    }

    .news-item .main-btn {
        font-size: 8px;
    }

    .contact-block {
        margin: 0 -20px;
    }

    .footer-end-item:first-of-type {
        display: none;
    }

    .footer-end-item {
        width: 100%;
    }

    .top-row .news-item, .main-row, .icon-block {
        flex-wrap: wrap !important;
    }

    .form-wrap {
        margin: auto;
    }

    font.errortext {
        color: red;
        font-size: 12px;
        background: white;
    }

    .top-row .tab-col {
        font-size: 12px;
    }

    .top-row .tab-col p {
        font-size: 10px !important;
    }

    .news-item {
        padding-bottom: 15px;
        justify-content: space-between;
    }

    .five-col .hid {
        display: block;
    }

    .four-col .top-row .tab-col p {
        display: none;
    }

    .tariff-name {
        font-size: 18px;
    }

}

@media (max-width: 400px) {

    h1 {
        font-size: 18px;
    }

    .news-item {
        flex-wrap: wrap !important;
    }

    .tabs-nav a:after {
        right: 5px;
    }

    .tabs-nav a.active:after {
        right: 10px;
    }

    .tabs-nav a {
        padding: 10px 30px 10px 15px;
    }


    .modal {
        width: 280px !important;
    }

    .form-desc {
        font-size: 10px;
    }

    h3 {
        font-size: 14px;
    }

    .tariff-name {
        font-size: 16px;
    }

    .icon-item {
        width: 100%;
    }

    .top-row .top-item:last-of-type {
        display: none;
    }

    .info-hint {
        font-size: 8px;
    }

    .big-form {
        padding: 30px;
        width: 100%;
    }

    .info-title {
        font-size: 10px;
    }

    .modal {
        padding: 30px 20px;
    }

}