@media (max-width:1200px) {

    .contactsMap ul.tabs__caption {
        font-size: 16px;
    }

    body {
        overflow-x: hidden;
    }

    .header-top-domain {
        width: 15%;
    }

    .header-top-slogan {
        width: 16%;
    }

    .blue-style {
        font-size: 13px;
        padding: 10px 8px;
    }

    .arrow-container button.slick-prev.slick-arrow {
        left: -33px;
    }

    .arrow-container button.slick-next.slick-arrow {
        right: -33px;
    }

    .arrow-container button.slick-prev.slick-arrow:hover {
        left: -10px;
    }

    .arrow-container button.slick-next.slick-arrow:hover {
        right: -10px;
    }

    a.home-item.item-1 {
        top: 93px;
    }

    a.home-item.item-3 {
        bottom: 65%;
        right: 0%;
    }

    .contactsBlock_content.address, .contactsBlock_content.email a, .contactsBlock_content.phones a {
        font-size: 23px;
    }

    .contactsBlock_item .title {
        font-size: 25px;
    }

    .main-gallery-container {
        -ms-flex-pack: center;
        -webkit-box-pack: center;
        justify-content: center;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
    }

    .main-gallery-basis.item-2, .main-gallery-basis.item-5 {
        margin-right: 15px;
    }

    .main-gallery-basis.item-2, .main-gallery-basis.item-5 {
        margin-right: 15px;
    }

    .main-gallery-basis.item-2, .main-gallery-basis.item-5 {
        display: none;
    }

    .main-gallery-basis.item-0, .main-gallery-basis.item-3 {
        margin-left: 15px;
    }

    .item-4 .img.black {
        height: 86%;
    }

}

@media (max-width:991px) {

    .contactsMap ul.tabs__caption {
        height: 50px;
    }

    .contactsBlock {
        padding-left: 0;
    }

    .contactsBlock_item .title {
        font-size: 20px;
    }

    .contactsBlock_content.address, .contactsBlock_content.email a, .contactsBlock_content.phones a {
        font-size: 18px;
    }

    .top-top-background {
        display: block;
    }

    .top-top-background {
        height: 26px;
        background: #c6c9ce;
    }

    .contactsMap ul.tabs__caption {
        font-size: 15px;
        text-align: center;
    }

    .header-top-top {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
    }

    .header-top-top .header-top-domain {
        width: auto;
        margin-right: 27px;
    }

    .header-top-top .top-item.header-top-time span,
    .header-top-top .header-top-domain a {
        font-size: 14px;
        color: rgb(27, 70, 154);
        line-height: 1.429;
    }

    .header-top-top .top-item.header-top-time span {
        color: black;
    }

    .header-top-top .header-top-domain span.icon {
        width: 11px;
        height: 20px;
    }

    .header-top .top-item.header-top-domain,
    .header-top .top-item.header-top-time {
        display: none;
    }

    .header-top-top .top-item.header-top-time span {
        width: 15px;
        height: 20px;
        margin-top: 3px;
    }

    .header-top-logo {
        width: 13%;
    }

    .top-item.header-top-form {
        width: 21%;
    }

    .blue-style {
        padding: 10px 10px;
    }

    .header-top-slogan {
        width: 33%;
    }

    #horizontal-multilevel-menu li a.root-item {
        padding: 13px 12px;
        font-size: 14px;
    }

    .top-menu {
        width: 100%;
        margin-right: 20px;
    }

    .home-container {
        height: 450px;
    }

    a.home-item.item-3 {
        bottom: 43%;
        right: 0%;
    }

    a.home-item.item-1 .title {
        padding: 20px 15px;
    }

    a.home-item.item-7 .title {
        padding: 20px 50px;
    }

    a.home-item .title {
        padding: 20px 30px;
    }

    a.home-item.item-2 {
        position: absolute;
        left: 6%;
        bottom: 69%;
    }

    a.home-item.item-1 {
        top: 0;
    }

    a.home-item.item-4 {
        position: absolute;
        bottom: 0;
        right: 18%;
    }

    a.home-item.item-5 {
        left: 0;
    }

    section.presentation {
        height: 432px;
        background-position: bottom;
    }

    .presentation-mac-video {
        width: 69%;
        height: 65%;
        overflow: hidden;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        top: 14%;
    }

    .advantages-item-name {
        font-size: 13px;
    }

    .advantages-item {
        width: 24%;
        height: 150px;
        margin: 1%;
    }

    .main-news-block .item-3 {
        display: none;
    }

    .main-news-item {
        width: 31%;
    }

    .main-gallery-basis {
        width: 330px;
        height: 310px;
        margin: 5px;
    }

    .main-gallery-basis.item-3 a.gallery {
        width: 101%;
        position: absolute;
        left: -3px;
    }

    .contacts-block {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .contacts-block .footer-item {
        width: 100%!important;
        border-bottom: 1px solid #ccc;
        position: relative;
    }

    .contacts-item.email,
    .contacts-item.address {
        width: 60%;
        float: left;
        margin-bottom: 0;
    }

    .contacts-item.time,
    .contacts-item.phones {
        width: 40%;
        float: right;
        margin-bottom: 0;
    }

    .contacts-item.address {
        min-height: 50px;
    }

    section.advantages span.sh {
        left: 0;
    }

    section.advantages {
        background: none;
        background-repeat: no-repeat;
        background-size: cover;
        position: unset;
    }

    .mobileAdvantagesBackground {
        background: url(/bitrix/templates/kmktradeco/images/advantages.png);
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }

    section.front-form {
        background: none;
        background-repeat: no-repeat;
        background-size: cover;
        position: unset;
        background-position: center center;
    }

    .mobilefrontFormBackground {
        background: url(/bitrix/templates/kmktradeco/images/form-back.jpg);
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        background-position: center center;
    }

    span.sh {
        left: 0;
    }

}

@media (max-width:768px) {

    .cusDD_slick_d {
        width: 100%;
    }

    .mobile-menu .mobileMenu {
        -webkit-transform: translateX(-115%);
        -ms-transform: translateX(-115%);
        -o-transform: translateX(-115%);
        transform: translateX(-115%);
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
        transition: 0.5s;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        -webkit-box-shadow: 4px 4px 24px 0px rgba(0,0,0,0.59);
        -moz-box-shadow: 4px 4px 24px 0px rgba(0,0,0,0.59);
        box-shadow: 4px 4px 24px 0px rgba(0,0,0,0.59);
        width: 80%;
        height: auto;
        background: #6f98e7;
        padding: 20px;
        height: 100%;
    }

    .mobile-menu.active .mobileMenu {
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }

    .mobileMenu_footer {
        margin-top: 25px;
    }

    .mobileMenu_time {
        font-size: 14px;
        font-family: "Play";
        color: rgb(255, 255, 255);
        font-weight: bold;
        line-height: 1.917;
        padding-left: 25px;
        background: url(/bitrix/templates/kmktradeco/images/header/time.png);
        background-repeat: no-repeat;
        background-position-x: left;
        background-position-y: center;
    }

    .mobileMenu_btn .form-btn {
        width: 100%;
        margin-top: 15px;
    }

    .mobile-menu.active span.mobileMenu_shadow {
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.57);
        z-index: 100;
        display: block;
        position: fixed;
        left: 0;
        top: 0;
    }

    .mobile-menu.active .hamburger .bar {
        background-color: #ffffff;
    }

    div#header{
        display: none;
    }

    .mobile-menu.active .mobile-menu-btn {
        position: fixed;
        left: 285px;
        z-index: 100;
        top: 38px;
    }

    .bar2, .bar3 {
        top: 8.5px;
    }

    .contactsBlock {
        width: 100%;
    }

    .contactsMap {
        width: 100%;
        position: relative;
    }

    .tabs {
        max-height: 250px;
        overflow: hidden;
    }

    .tabs__content iframe {
        max-height: 200px;
    }

    .contactsBlock {
        min-height: auto;
    }

    .contactsPage {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        margin-bottom: 30px;
    }

    #header-mobile {
        display: block;
    }

    div#header-mobile .header-top-domain {
        width: auto;
        margin-right: 0;
        margin-top: 4px;
    }

    .slider-item {
        height: 205px;
    }

    .banner-img {
        width: 100%;
        float: right;
        /*height: 100%;*/
        overflow: hidden;
        -webkit-clip-path: none;
        clip-path: none;
        /*position: absolute;*/
        z-index: -1;
    }

    .banner-img span {
        width: 100%;
    }

    .slider-container.slick-initialized.slick-slider .container {
        height: 100%;
    }

    .banner-title {
        padding-top: 10px;
    }

    .banner-title div {
        font-size: 20px;
        font-weight: bold;
        color: #fff;
    }

    .banner-title span {
        font-size: 18px;
    }

    .banner-text span {
        color: #fff!important;
        font-size: 18px!important;
    }

    .banner-img img {
        -webkit-object-position: top center;
        -o-object-position: top center;
        -ms-object-position: top center;
        object-position: top center;
    }

    .banner-content {
        width: 100%;
    }

    .banner-botton {
        /*display: none;*/
        display: block;
        margin: 0 auto;
        /*transform: translateY(250%);*/
        position: absolute;
        bottom: 10px;
    }

    .header-top-logo {
        width: 20%;
    }

    .top-search input[type="submit"] {
        width: 22px;
        height: 21px;
        color: transparent;
        background-image: url(/bitrix/templates/kmktradeco/images/header/mobile-search.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }

    .header-bottom, .header-top {
        height: 80px;
    }

    .top-search input[type="text"] {
        width: 100%;
        height: 100%;
        background: transparent;
        border: none;
    }

    .top-search {
        width: 50px;
        height: 20px;
    }

    .top-search tr {
        margin-right: 0;
    }

    section.catalog-slider {
        position: relative;
        padding: 0 25px;
    }

    .arrow-container button.slick-prev.slick-arrow {
        left: -7px;
    }

    .arrow-container button.slick-next.slick-arrow {
        right: -7px;
    }

    .home-container {
        height: auto;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        background-image: none;
    }

    a.home-item {
        position: relative!important;
        width: 47%!important;
        left: 0!important;
        margin: 1%;
        height: 61px!important;
    }

    .home-content {
        height: 100%;
    }

    a.home-item .title {
        text-align: center;
    }

    .presentation-mac {
        height: 100%;
        width: 100%;
    }

    section.presentation {
        height: 250px;
        background: none;
    }

    .presentation-mac {
        background: none;
    }

    .presentation-mac-video {
        width: 100%;
        height: 100%;
    }

    .advantages-container {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .advantages-item-name {
        margin-top: 22%;
    }

    .advantages-item {
        width: 43%;
        height: 131px;
        margin: 3%;
    }

    .main-news-block .item-2 {
        display: none;
    }

    .main-news-item {
        width: 46%;
    }

    .main-gallery-basis {
        width: 47%;
        height: 217px;
        margin: 5px;
    }

    .feedback-left {
        width: 100%;
    }

    .feedback-right {
        width: 100%;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .advantages-title span {
        display: none;
    }

    .advantages-title {
        padding: 20px 0;
    }

    section.main-contacts {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column-reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
        justify-content: flex-end;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .main-contacts-block {
        width: 100%;
        margin: 20px 0 0 0;
    }

    section.main-contacts {
        padding-top: 55%;
    }

    .bx_vertical_menu_advanced {
        display: block;
    }

    .contacts-item.time, .contacts-item.phones {
        width: 100%;
        float: none;
        margin-bottom: 0;
    }

    .bx_vertical_menu_advanced>ul {
        list-style: none;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
        height: 72px;
    }

    .contacts-block .footer-item.tem-block {
        border-bottom: 0;
    }

    .footer-item.itb-block {
        display: none;
    }

    .leftBlock {
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: flex-start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .footer-item.footer-logo {
        min-width: 100%;
        margin-right: 20px;
    }

    .footer-item.copywriting-block{
        max-width: 350px;
    }

    .mobile-warp{
        flex-wrap: wrap;
    }

    .footer-title {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .main-gallery-basis .img.black {
        height: 88%;
        width: 99%;
    }

    .main-gallery-basis.item-3 a.gallery {
        width: 110%;
    }

    .main-gallery-basis.item-3 .img.black {
        left: -14px;
    }

    .front-title {
        font-size: 18px;
    }

    .front-title {
        margin-top: 30px;
        position: relative;
    }

    .front-title span {
        width: 40px;
        height: 40px;
        background-size: cover;
        position: absolute;
        top: 0;
        left: 0;
    }

    .front-title {
        margin-top: 30px;
        position: relative;
        padding-left: 40px;
        padding-top: 13px;
        height: auto;
        text-align: center;
    }

    @media (max-width: 768px){
        .front-title{
            text-align: left !important;
            padding-left: 40px !important;
        }
    }

    .contacts-item.email, .contacts-item.address {
        width: 100%;
    }

    .main-gallery-basis.item-0 a.gallery {
        -webkit-transform: perspective(1407px) rotateY(-19deg) !important;
        -moz-transform: perspective(1407px) rotateY(-19deg) !important;
        -ms-transform: perspective(1407px) rotateY(-19deg) !important;
        -o-transform: perspective(1407px) rotateY(-19deg) !important;
        transform: perspective(1407px) rotateY(-19deg) !important;
    }

    .main-gallery-basis.item-1 a.gallery {
        -webkit-transform: perspective(1351px) rotateY(20deg) !important;
        -moz-transform: perspective(1351px) rotateY(20deg) !important;
        -ms-transform: perspective(1351px) rotateY(20deg) !important;
        -o-transform: perspective(1351px) rotateY(20deg) !important;
        transform: perspective(1351px) rotateY(20deg) !important;
    }

    .main-gallery-basis.item-3 a.gallery {
        -webkit-transform: perspective(1407px) rotateY(19deg) !important;
        -moz-transform: perspective(1407px) rotateY(19deg) !important;
        -ms-transform: perspective(1407px) rotateY(19deg) !important;
        -o-transform: perspective(1407px) rotateY(19deg) !important;
        transform: perspective(1407px) rotateY(19deg) !important;
    }

    .main-gallery-basis.item-3 a.gallery {
        width: 100%;
        left: 0;
    }

    #horizontal-multilevel-menu li.dropdown a.root-item {
        padding: 13px 19px 15px 8px!important;
    }

}

@media (max-width:570px) {
    .main-gallery-basis.item-0, .main-gallery-basis.item-3 {
        margin-left: 8px;
    }

    .main-gallery-basis {
        height: 200px;
    }

    .main-gallery-container {
        width: 472px;
        margin: auto;
    }

}

@media (max-width:500px) {

    .bar2, .bar3 {
        top: 7.5px;
    }

    .header-top-phones span.icon {
        display: none;
    }

    .top-search {
        width: 22px;
    }

    .header-top-logo {
        width: 25%;
    }

    a.home-item {
        height: 81px!important;
    }

    a.home-item .title {
        padding: 0;
        width: 100%;
        height: 100%;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    section.presentation {
        height: 190px;
    }

    .advantages-item-name {
        margin-top: 45%;
    }

    .advantages-item {
        width: 43%;
        height: 140px;
        margin: 5% 3%;
    }

    .advantages-title {
        font-size: 18px;
    }

    .main-news-item-title {
        font-size: 13px;
    }

    section.gallery a.main-link {
        display: none;
    }

    .front-title {
        margin-top: 30px;
    }

    body {
        font-size: 14px;
    }

    .description-text {
        margin-bottom: 15px;
    }

    .main-gallery-basis {
        width: 49%;
        height: 130px;
        margin: 10px 1px;
    }

    .mobile-menu.active .mobile-menu-btn {
        position: fixed;
        left: 285px;
        z-index: 100;
        top: 10px;
    }

    .mobile-menu.active .mobile-menu-btn {
        left: 90%!important;
    }

    .main-gallery-basis.item-0 a.gallery {
        -webkit-transform: perspective(386px) rotateY(-15deg) !important;
        -moz-transform: perspective(386px) rotateY(-15deg) !important;
        -ms-transform: perspective(386px) rotateY(-15deg) !important;
        -o-transform: perspective(386px) rotateY(-15deg) !important;
        transform: perspective(386px) rotateY(-15deg) !important;
    }

    .main-gallery-basis.item-1 a.gallery {
        -webkit-transform: perspective(669px) rotateY(24deg) !important;
        -moz-transform: perspective(669px) rotateY(24deg) !important;
        -ms-transform: perspective(669px) rotateY(24deg) !important;
        -o-transform: perspective(669px) rotateY(24deg) !important;
        transform: perspective(669px) rotateY(24deg) !important;
    }

    .main-gallery-basis.item-3 a.gallery {
        -webkit-transform: perspective(507px) rotateY(14deg) !important;
        -moz-transform: perspective(507px) rotateY(14deg) !important;
        -ms-transform: perspective(507px) rotateY(14deg) !important;
        -o-transform: perspective(507px) rotateY(14deg) !important;
        transform: perspective(507px) rotateY(14deg) !important;
    }

    .main-gallery-basis.item-4 a.gallery {
        -webkit-transform: perspective(338px) rotateY(-13deg)!important;
        -moz-transform: perspective(338px) rotateY(-13deg)!important;
        -ms-transform: perspective(338px) rotateY(-13deg)!important;
        -o-transform: perspective(338px) rotateY(-13deg)!important;
        transform: perspective(338px) rotateY(-13deg)!important;
    }

    .main-gallery-basis.item-0, .main-gallery-basis.item-3 {
        margin-left: 0;
    }

    .main-gallery-container {
        width: 282px;
        margin: auto;
    }
}

