@media (max-width: 1280px) {
  .new-wrapper {
    width: 100%;
  }
  header #mega-menu-wrap-main_menu {
    width: auto;
  }
  header #mega-menu-wrap-main_menu #mega-menu-main_menu li.mega-menu-item a.mega-menu-link {
    font-size: 14px;
    padding: 0 15px;
  }
  .sub-header #scene .layer:first-child img {
    margin-left: -120px;
  }
  .main-categories .picture-menu_item-facade span {
    width: auto;
    padding-right: 20px;
  }
  .main-categories .picture-menu_item-color span {
    width: auto;
    padding-right: 20px;
  }
  .main-categories .picture-menu_item-liquid span {
    width: auto;
    padding-right: 20px;
  }
}
@media (max-width: 1035px) {
  header .new-wrapper:after {
    content: '';
    display: block;
    height: 50px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.5);
  }
  .social {
    display: none;
  }
  header .new-wrapper {
    padding-left: 20px;
    padding-right: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  header #mega-menu-wrap-main_menu {
    position: absolute !important;
    top: 120px !important;
    left: 20px !important;
    border-radius: 5px !important;
    z-index: 1;
  }
  .phones a {
    color: #898989;
  }
  .sub-header {
    background: none;
    margin-top: 40px;
  }
  #mega-menu-wrap-main_menu .mega-menu-toggle {
    height: 27px !important;
    line-height: 27px !important;
    width: 103px;
    left: 0 !important;
    background-color: #343432 !important;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    -ms-border-radius: 5px !important;
    -o-border-radius: 5px !important;
    border-radius: 5px!important;
    -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3) !important;
  }
  #mega-menu-wrap-main_menu .mega-menu-toggle:before {
    content: "\e902";
    font-family: 'icomoon' !important;
    color: #fff;
    position: absolute;
    left: 9px;
  }
  #mega-menu-wrap-main_menu .mega-menu-toggle .mega-toggle-block-2:before {
    content: '\e900' !important;
    font-family: 'icomoon' !important;
    font-size: 10px !important;
  }
  #mega-menu-wrap-main_menu .mega-menu-toggle .mega-toggle-block-2:after {
    content: 'Меню' !important;
    font-family: 'Caveat', cursive;
    font-weight: 400;
    font-size: 18px;
    padding-right: 5px;
  }
  #mega-menu-wrap-main_menu .mega-menu-toggle .mega-toggle-block-1 {
    float: left !important;
  }
  #mega-menu-wrap-main_menu .mega-menu-toggle.mega-menu-open .mega-toggle-block-2:before {
    content: '\e904' !important;
  }
  #mega-menu-wrap-main_menu .mega-menu-toggle.mega-menu-open + #mega-menu-main_menu {
    background-color: #343432 !important;
    border-radius: 5px;
    margin-top: 5px;
    -webkit-box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.3) !important;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item {
    display: block !important;
    border-top: 1px solid #fff !important;
    padding-left: 0 !important;
    position: relative;
    width: 280px !important;
    letter-spacing: 1px !important;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item:first-child {
    border-top: none !important;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-flyout.mega-menu-item-has-children.mega-toggle-on {
    background-color: #555 !important;
    text-transform: none !important;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-flyout.mega-menu-item-has-children.mega-toggle-on > a.mega-menu-link:after {
    content: "\e904" !important;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-flyout.mega-menu-item-has-children.mega-toggle-on > ul.mega-sub-menu {
    background-color: #555 !important;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-flyout.mega-menu-item-has-children.mega-toggle-on > ul.mega-sub-menu > li.mega-menu-item-has-children a:after {
    background: none !important;
    right: 10px !important;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-flyout.mega-menu-item-has-children.mega-toggle-on > ul.mega-sub-menu > li a:before {
    content: '·';
    color: #fff;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-flyout.mega-menu-item-has-children.mega-toggle-on > ul.mega-sub-menu > li {
    padding-left: 10px !important;
  }
  .mega-menu-close-nd {
    display: block;
    width: 100%;
    background-color: #555;
    border-top: 1px solid #fff;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    color: #fff;
    font-family: 'Caveat', cursive;
    font-weight: 400;
    font-size: 16px;
    padding-right: 10px;
    height: 40px;
    line-height: 40px;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    text-transform: none !important;
    font-size: 20px !important;
  }
  #mega-menu-wrap-main_menu #mega-menu-main_menu > li.mega-menu-item > a.mega-menu-link {
    text-transform: none !important;
    font-size: 20px !important;
  }
  header #mega-menu-wrap-main_menu #mega-menu-main_menu li.mega-menu-flyout.mega-menu-item-has-children > a.mega-menu-link:after {
    content: "\e900" !important;
    font-family: 'icomoon' !important;
    color: #fff;
    background: none;
    font-size: 10px !important;
    top: 50%;
    right: 10px;
    left: auto;
    margin: 0;
    line-height: 12px;
  }
  #scene div:last-child {
    display: none !important;
  }
  .sub-header_content .eplast-box {
    display: none;
  }
  .main-categories {
    padding-top: 20px;
  }
  .menu-glavnaya-stranitsa-container {
    display: none;
  }
  .picture-menu {
    clear: both;
    padding-top: 20px;
  }
  header .find-on-site {
    display: block;
    position: absolute;
    top: 120px;
    right: 20px;
    width: 162px;
  }
  header .find-on-site input {
    width: 145px;
    height: 27px;
    font-size: 16px;
    padding-left: 10px;
  }
  header .find-on-site button {
    height: 27px;
    width: 27px;
    background-size: 60% 60%;
    border-radius: 5px;
    position: absolute;
    right: 0;
  }
  header .find-on-site button:hover {
    background-size: 60% 60%;
  }
  .main-categories .find-on-site {
    display: none;
  }
  .contacts_title {
    margin-top: 40px;
  }
  .main-new-products-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  .main-new-products-wrapper .main-new-products_item:last-child {
    display: none;
  }
  .main-contaxt_text {
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .main-contaxt_text > div {
    width: 50%;
    text-align: center;
    margin-bottom: 30px;
  }
  .main-contaxt_text .main-contacts_fb a:first-child {
    width: 140px;
    margin: auto;
  }
  .main-contaxt_text .main-contacts_fb .main-contacts-feedback {
    max-width: 160px;
    margin: auto;
    margin-top: 10px;
  }
}
@media (max-width: 800px) {
  .main-categories .picture-menu_item {
    position: relative;
  }
  .main-categories .picture-menu_item span {
    width: auto;
    height: auto;
    padding: 10px 20px;
    line-height: 16px;
    font-size: 18px;
  }
  .main-categories .picture-menu_item-interior span {
    width: 140px;
    height: auto;
    line-height: 16px;
    margin-left: -70px;
    text-align: center;
    bottom: 60px;
    padding: 10px 0;
  }
  .main-categories .picture-menu_item-facade span {
    bottom: 30px;
  }
  .main-categories .picture-menu_item-wallpaper span {
    left: 5px;
    margin-left: 0;
    margin-top: 0;
    bottom: 25px;
    top: auto;
  }
  .main-categories .picture-menu_item-color span {
    bottom: 30px;
    right: auto;
    left: 0;
  }
  #scene div:first-child img {
    width: 90%;
  }
  .main-new-products-wrapper {
    display: table;
    margin: auto;
  }
  .main-new-products-wrapper .main-new-products_item {
    float: left;
    margin-bottom: 20px;
  }
  .main-new-products-wrapper .main-new-products_item:nth-child(2n-1) {
    margin-right: 20px;
  }
  .main-new-products-wrapper .main-new-products_item:nth-child(3) {
    clear: both;
  }
  footer .new-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
  footer .new-wrapper .header-logo {
    display: none;
  }
  footer .new-wrapper .footer-menu {
    margin-left: 0;
  }
}
@media (max-width: 640px) {
  header .new-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  header #mega-menu-wrap-main_menu {
    left: 15px !important;
  }
  header .find-on-site {
    right: 15px;
  }
  .sub-header {
    min-height: 310px;
    height: auto;
    overflow: hidden;
    border-bottom: none;
    margin-top: 0;
  }
  .sub-header_content .slogan {
    font-size: 28px;
    margin-left: 15px;
    font-weight: 400;
    margin-bottom: 125px;
  }
  .sub-header_content .new-wrapper {
    background: url(../images/layer-1.png) bottom left no-repeat;
    -webkit-background-size: 90% auto;
    background-size: 90% 125px;
  }
  .sub-header_content .logo-slider {
    display: none;
  }
  #scene {
    display: none;
  }
  .mobile-slider {
    display: block;
    background-color: #e9e9e9;
    padding: 20px;
    margin-top: 15px;
  }
  .slick-slide > img {
    margin: 0 auto;
    max-width: 70%;
  }
  .slick-slide > img:first-child {
    margin-bottom: 20px;
  }
  .slick-prev {
    left: 5px;
  }
  .slick-prev:before {
    content: "\e901";
  }
  .slick-next {
    right: 5px;
  }
  .slick-next:before {
    content: "\e903";
  }
  .slick-prev:before,
  .slick-next:before {
    font-family: 'icomoon' !important;
    color: #333331;
    opacity: 1;
  }
  .main-categories .picture-menu_item-beams {
    width: 100%;
  }
  .main-categories .picture-menu_item-interior {
    width: 50%;
  }
  .main-categories .picture-menu_item-liquid {
    width: 47.4%;
  }
  .main-categories .picture-menu_item-facade {
    width: 47.4%;
    margin-left: 0;
    margin-top: 2%;
  }
  .main-categories .picture-menu_item-wallpaper {
    width: 100%;
  }
  .main-categories .picture-menu_item-color {
    width: 100%;
  }
  .main-new-products_item {
    width: 190px;
    height: 210px;
  }
  .main-news .main-news_block {
    width: 100%;
  }
  .main-news .main-news_block:first-child {
    border-right: none;
  }
  .main-news .main-news_block:nth-child(2) {
    display: none;
  }
  .main-contaxt_text > div {
    width: 100%;
  }
  footer .new-wrapper {
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -o-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 15px;
  }
  footer .new-wrapper .footer-menu {
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
  }
  footer .new-wrapper .footer-menu li {
    margin-right: 60px;
    margin-bottom: 30px;
  }
  footer .new-wrapper .footer-cat {
    margin-right: 40px;
    margin-bottom: 30px;
  }
  footer .new-wrapper .footer-cat li {
    margin-bottom: 10px !important;
  }
  footer .new-wrapper .social-phones {
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    position: relative;
  }
  footer .new-wrapper .social-phones .phones a {
    margin: 0;
  }
  footer .new-wrapper .social-phones .footer-contact-us {
    display: block;
  }
  footer .new-wrapper .social-phones .footer-contact-us a {
    display: block;
    color: #fff;
    height: 36px;
    line-height: 36px;
    padding: 0 20px;
    background-color: #2d2d2d;
    font-family: 'Fira Sans Condensed', sans-serif;
    font-weight: 400;
    font-size: 14px;
    margin-top: 20px;
    margin-left: -20px;
  }
}
@media (max-width: 450px) {
  .header-logo {
    width: 45%;
  }
  .main-categories .picture-menu {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
  }
  .main-categories .picture-menu_item-interior span {
    width: 120px;
    margin-left: -60px;
  }
  .main-new-products {
    margin-bottom: 20px;
  }
  .main-new-products h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .main-new-products-wrapper {
    padding: 0;
  }
  .main-new-products_item {
    width: 135px;
    height: 140px;
  }
  .main-new-products_item img {
    height: 105px;
  }
  .main-new-products_capture {
    height: 30px;
  }
  .main-news {
    padding-top: 25px;
    margin-bottom: 0;
  }
  .main-news .main-news_block {
    padding: 0 15px;
  }
  .main-news_button {
    margin: 30px auto 25px 15px;
    border: none;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
  }
  .main-contacts h1 {
    margin-top: 30px;
    font-size: 28px;
    margin-bottom: 20px;
  }
  .main-contacts .main-contaxt_text {
    padding-bottom: 0;
  }
  .main-contacts .main-contaxt_text .main-contacts_fb .main-contacts-feedback {
    display: table;
    border: none;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.4);
  }
  footer .new-wrapper {
    justify-content: flex-start;
  }
  footer .new-wrapper .footer-menu {
    width: 100%;
    justify-content: space-between;
  }
  footer .new-wrapper .footer-menu li {
    margin-right: 35px;
    margin-bottom: 30px;
  }
  footer .new-wrapper .footer-menu li:last-child {
    margin-right: 0;
  }
  footer .new-wrapper .footer-info {
    margin-right: 0;
  }
  footer .new-wrapper .footer-cat {
    margin-right: 0;
    width: 50%;
  }
  footer .new-wrapper .social-phones {
    display: block;
    margin-left: 20px;
    position: relative;
  }
  footer .new-wrapper .dekor-mail {
    margin-top: 30px;
  }
  footer .new-wrapper .footer-contact-us a {
    margin-left: 0;
    margin-top: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-bottom: -9px;
  }
}
