html {
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

html {
  box-sizing: content-box;
}

*, *::after, *::before {
  box-sizing: content-box;
}

.scroll__button {
  display: none;
}

/*Max 1000px*/
@media screen and (max-width: 1000px) {
  .content_shadow {
    display: none;
  }
  body {
    width: 100%;
  }
  #wrap {
    min-width: 410px;
    max-width: 1000px;
    width: 100%;
  }
  /*header*/
  header {
    min-height: 128px;
    height: auto;
    display: flex;
    max-width: 100%;
  }
  header * {
    box-sizing: border-box;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  header {
    flex-direction: column;
  }
}

@media screen and (max-width: 1000px) {
  header .left {
    display: flex;
    flex-direction: column;
    width: 25%;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  header .left {
    width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  header .left .logo {
    padding: 1em 0.5em;
    height: auto;
    margin: auto;
  }
  header .left .logo a {
    margin: auto;
  }
  header .left .logo img {
    max-width: 161px;
    height: auto;
    width: 100%;
    margin: 0;
    position: static;
    line-height: 160px;
  }
  header .left .linkh {
    height: auto;
    padding: 0.5em;
    text-align: center;
    width: 100%;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  header .left .linkh a {
    display: inline-block;
  }
}

@media screen and (max-width: 1000px) {
  header .right {
    width: 75%;
    background-color: rgba(34, 21, 15, 0.7);
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  header .right {
    width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  header .right__top {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  header .right__row {
    display: flex;
  }
  header .right__row-menu {
    flex-direction: column;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  header .right__row {
    flex-direction: column;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  header .right__row-breadscrumbs {
    flex-direction: row;
  }
}

@media screen and (max-width: 1000px) {
  header .right__row-breadscrumbs .breadcrumb {
    position: static;
    z-index: 0;
    box-sizing: border-box;
  }
  header .right__row__item {
    margin: auto;
    flex: 1 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  header .right__row__item-menu {
    flex-direction: row;
    width: 100%;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) and (max-width: 640px) {
  header .right__row__item-welcome {
    margin: 0;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  header .right__row__item-colors {
    flex-shrink: 3;
  }
  header .right__row__item-forms {
    flex-shrink: 4;
  }
}

@media screen and (max-width: 1000px) {
  header .right__row__item-icons {
    background-color: rgba(64, 44, 34, 0.7);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1em;
    margin: 0;
    flex-shrink: 6;
  }
  header .right__row__item-icons .home {
    position: static;
    display: inline-block;
  }
  header .right__row__item-icons .sitemap {
    position: static;
    display: inline-block;
  }
  header .right .header-top {
    min-height: 92px;
    height: 100%;
  }
  header .right .header-top .vuborzcveta {
    position: static;
    margin: 0 auto;
  }
  header .right .header-top .vuborzcveta span {
    background-size: cover;
  }
  header .right .header-top .ral {
    box-sizing: border-box;
    padding-top: 5px;
    height: 28px;
    margin: 0 auto;
    position: static;
    display: inline-block;
  }
  header .right .header-top .welcome {
    position: static;
    height: auto;
    margin: 0;
    padding: 0.5em;
    text-align: center;
    box-sizing: border-box;
  }
  header .right .header-top .forma_tel {
    position: static;
    z-index: 0;
    display: inline-block;
    vertical-align: middle;
  }
  header .right .header-top .forma_tel img {
    display: none;
  }
  header .right .header-top .forma_tel span {
    display: inline-block;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  header .right .header-top .forma_tel {
    order: 1;
  }
}

@media screen and (max-width: 1000px) {
  header .right .header-top .forma_tel img {
    height: 28px;
  }
  header .right .header-top .forma_zakaz {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    position: static;
    margin: 0 1em;
    z-index: 0;
  }
  header .right .header-top nav {
    position: static;
    float: none;
    height: auto;
    display: block;
  }
  header .right .header-top nav > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  header .right .header-top nav > ul li {
    font-size: 12px;
    display: block;
    margin: 0 1em;
  }
  header .right .header-top nav > ul li ul {
    left: -0.5em;
  }
  header .right .header-top nav > ul li ul li {
    display: block;
    padding: 0.5em;
  }
  header .right .header-top .breadcrumb {
    position: static;
    height: auto;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  .catalog__button {
    display: block;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) and (max-width: 640px) {
  .catalog__button {
    position: absolute;
    left: 17px;
    top: 0px;
  }
  .catalog__button .scroll__button {
    height: 40px;
    width: 40px;
    line-height: 40px;
    text-align: center;
  }
}

@media screen and (max-width: 1000px) {
  .catalog__button .scroll__button {
    color: #ebc49c;
  }
  .catalog__button .scroll__button:hover {
    color: #ff8800;
  }
  /*header*/
  .main-container .column_left {
    width: 25%;
    background-color: #EDEDED;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  .main-container .column_left {
    display: block;
    width: 0px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 11;
    transition: 1s;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 101vh;
  }
  .main-container .column_left.active {
    width: 261px;
  }
  .main-container .column_left.active .box.category {
    background-color: #22150f;
  }
  .main-container .column_left.active .box.category-scroll {
    padding-top: 30px;
  }
  .main-container .column_left.active .left-block-bottom {
    background-color: #EDEDED;
  }
  .main-container .column_left .boxlefttext {
    margin-bottom: 0;
  }
  .main-container .column_left .rk {
    margin-bottom: 0;
  }
  .main-container .column_left .rk_hover_text {
    height: 200px;
  }
}

@media screen and (max-width: 1000px) {
  .main-container .content {
    width: 75%;
  }
  .main-container .content img {
    max-width: 100%;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  .main-container .content {
    width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  .main-container .content .category-info {
    box-sizing: border-box;
    width: 100% !important;
    padding: 0 20px 0px;
  }
  .left-block-bottom {
    width: 100%;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }
  .b-search {
    width: 100%;
    background-size: 100% auto;
  }
  .f-search textarea {
    padding: 14px 10% 8px 20%;
  }
  .rk_foto {
    width: 100%;
    height: 100%;
  }
  .rk_foto img {
    width: 100%;
    height: 100%;
  }
}

@media screen and (max-width: 1000px) and (min-width: 800px) and (max-width: 1000px) {
  .box-category > ul > li.cat-header:hover, .box-category > ul > li.cat-header.active {
    background-image: none !important;
  }
  /*left-nav*/
  .box-category > ul > li > a {
    font-size: 13px;
  }
  .box-category > ul > li ul > li > a {
    font-size: 12px;
  }
  .box-category > ul > li {
    padding-left: 15px;
  }
  .box-category > ul > li ul {
    margin-left: -15px;
    padding-left: 15px;
  }
  .box-category > ul > li ul li ul {
    padding-left: 30px;
  }
}

@media screen and (max-width: 1000px) {
  /*footer*/
  .footer-wrap {
    width: 100%;
  }
  .footer-wrap .wrapper {
    display: flex;
    flex-wrap: wrap;
  }
  .footer-wrap .wrapper .column {
    flex: 1 auto;
    width: auto;
    margin: 0 0.5em 0.5em;
  }
  .footer-wrap .wrapper .column:last-child {
    margin-bottom: 0px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .footer-wrap .wrapper {
    flex-direction: column;
  }
  .footer-wrap .wrapper .column {
    text-align: center;
    margin: 0 0.5em 1em;
  }
}

@media screen and (max-width: 1000px) {
  .footer-wrap .wrap {
    justify-content: center;
  }
  .footer-wrap .wrap__item {
    margin: 0.5em 0.5em 0.5em !important;
    padding: 0.5em !important;
    flex: 1 auto;
    height: auto !important;
    box-sizing: border-box;
  }
  .footer-wrap .wrap__item .mendis {
    margin: 0;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .footer-wrap .wrap__item {
    flex: 1 100%;
    text-align: center !important;
    width: 100% !important;
    padding: 0 0.5em 0 !important;
    margin: 0px !important;
  }
  .footer-wrap .wrap__item a {
    display: inline-block !important;
  }
  .footer-wrap .wrap__item .mendis {
    width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  /*content*/
  .content .box {
    float: none;
  }
  .content .box-subcat ul li {
    width: 48%;
    margin-bottom: 20px;
  }
  .content .box-subcat ul li img {
    width: 100%;
    height: 100%;
  }
  .content .box-subcat ul li.first {
    margin-right: 4%;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .content .box-subcat ul li {
    width: 100%;
  }
  .content .box-subcat ul li.first {
    margin-right: 0px;
  }
}

@media screen and (max-width: 1000px) {
  .content .box-subcat ul li .descr {
    bottom: 0;
    width: 100%;
  }
  /*news*/
  .news {
    margin-right: 45px;
  }
  .news li {
    width: 100%;
    height: auto;
  }
  .news li .news-more {
    position: static;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .news li {
    height: auto;
  }
  .news li .news-title, .news li .news-text, .news li .news-more {
    position: static !important;
    display: block !important;
  }
  .news li .news-more {
    margin-top: 30px;
  }
  .news li .news-date {
    display: block !important;
    left: 20px;
    bottom: 60px;
  }
  .news li img {
    float: none;
    width: 100%;
    height: auto;
    margin: 0;
  }
  .news li span {
    float: none;
    width: 100%;
  }
}

@media screen and (max-width: 1000px) {
  /*box-list-photo*/
  .box-list-photo ul {
    width: 48% !important;
  }
  .box-list-photo ul:first {
    margin-right: 4% !important;
  }
  .box-list-photo ul img {
    width: 100% !important;
    height: auto !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .box-list-photo ul {
    width: 100% !important;
  }
  .box-list-photo ul:first {
    margin-right: 0 !important;
  }
}

@media screen and (max-width: 1000px) {
  /*products lists*/
  .product-list * {
    box-sizing: border-box;
  }
  .product-list .left:before, .product-list .left:after {
    content: "";
    display: block;
    clear: both;
  }
  .product-list .grid-link {
    float: none;
  }
}

@media screen and (max-width: 1000px) and (max-width: 600px) {
  .product-list .image {
    width: 100%;
    height: auto;
    float: none;
    max-width: 300px;
  }
  .product-list .image img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 1000px) {
  .pimage__right {
    position: relative;
    height: 256px;
    margin-left: 241px;
    padding-bottom: 50px;
  }
  .pimage__right .fon-price {
    width: 100%;
    left: 0;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 1000px) and (max-width: 600px) {
  .pimage__right {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 600px) {
  .product-list ul li {
    padding-bottom: 6px !important;
  }
}

@media screen and (max-width: 1000px) {
  .product-list .pimage__right {
    height: auto;
    padding-bottom: 10px;
  }
  .product-list .pimage__right__top {
    position: static;
  }
  .product-list .fon-price {
    position: static;
    background: none !important;
    color: black;
  }
  .product-list .fon-price span {
    display: inline-block;
    margin-top: 10px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 600px) {
  .product-list .fon-price {
    padding-left: 0px;
  }
}

@media screen and (max-width: 1000px) {
  .product-list .fon-price a {
    position: static;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .product-filter .display {
    margin: 0px 10px 5px 0 !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) and (max-width: 570px) {
  .product-filter .disp_subjects:last-child {
    clear: both;
    margin: 10px 0px 5px 0 !important;
  }
}

@media screen and (max-width: 1000px) {
  .product-grid ul li {
    width: 31%;
    margin: 15px 1%;
  }
}

@media screen and (max-width: 1000px) and (max-width: 600px) {
  .product-grid ul li {
    width: 100%;
    margin: 10px 0;
    padding: 0 5%;
  }
}

@media screen and (max-width: 1000px) {
  .product-grid .image2 {
    width: 100%;
    height: auto;
  }
  .product-grid .fon-price {
    width: 100%;
    font-size: 12px;
  }
  .product-grid img {
    width: 100%;
    height: auto;
    display: block;
  }
  /*form*/
  #popup * {
    box-sizing: border-box;
  }
  #popup .validate .errors {
    position: static;
    margin-bottom: 20px;
    width: 100%;
  }
  #order-form #my_submit, #phone-form #my_submit {
    position: static;
  }
  html #popup {
    width: 100% !important;
    height: auto !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  html #popup {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
  }
}

@media screen and (max-width: 1000px) {
  #popup .vercode {
    padding-left: 10px;
  }
  #popup .vercode img {
    margin: 7px 0 25px;
  }
  #popup .d-file {
    padding-left: 10px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  .rform {
    max-width: 68em;
    margin-left: auto;
    margin-right: auto;
  }
  .rform::after {
    clear: both;
    content: "";
    display: table;
  }
  .rform__left {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 65.88078%;
  }
  .rform__left:last-child {
    margin-right: 0;
  }
  .rform__left-zak {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 57.35098%;
  }
  .rform__left-zak:last-child {
    margin-right: 0;
  }
  .rform__right {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 31.76157%;
  }
  .rform__right:last-child {
    margin-right: 0;
  }
  .rform__right-zak {
    float: left;
    display: block;
    margin-right: 2.35765%;
    width: 40.29137%;
  }
  .rform__right-zak:last-child {
    margin-right: 0;
  }
  .rform .vericodeform {
    width: 100%;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) and (max-width: 640px) {
  .rform {
    max-width: 68em;
    margin-left: auto;
    margin-right: auto;
  }
  .rform::after {
    clear: both;
    content: "";
    display: table;
  }
  .rform__left {
    float: left;
    display: block;
    margin-right: 38.19821%;
    width: 100%;
    float: none;
    width: 400px;
    margin: 0 auto;
  }
  .rform__left:last-child {
    margin-right: 0;
  }
  .rform__right {
    float: left;
    display: block;
    margin-right: 38.19821%;
    width: 100%;
    float: none;
    width: 400px;
    margin: 0 auto !important;
    padding-left: 0px;
  }
  .rform__right:last-child {
    margin-right: 0;
  }
  .rform .d-file {
    padding-left: 25px !important;
  }
  .rform .vercode {
    padding-left: 45px !important;
  }
  .rform .vericodeform {
    width: 100%;
    margin-left: 30px;
  }
  .rform #my_submit {
    margin: 0 auto 10px;
  }
}

@media screen and (max-width: 1000px) {
  .ordTitle, .ordTitle2 {
    height: auto;
    padding: 10px 10px 10px 25px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .rform .d-file {
    padding-left: 0px !important;
  }
  .rform .vercode {
    padding-left: 0px !important;
  }
  .rform .vericodeform {
    margin-left: 20px !important;
  }
  .rform__left {
    width: 250px;
    margin: 0 auto;
  }
  .rform__right {
    width: 250px;
    padding-left: 0px;
  }
  .ordTitle, .ordTitle2 {
    font-size: 12px;
  }
  #order-form input, #phone-form input, #order-form textarea, #phone-form textarea {
    width: 120px;
  }
  #order-form label, #phone-form label {
    width: 120px;
    font-size: 12px;
    padding-right: 15px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  #phone-form #my_submit {
    margin-left: auto !important;
  }
}

@media screen and (max-width: 1000px) {
  /*scrolling*/
  #scrolling a, #scrolling span, #scrolling img {
    float: none;
    display: inline-block;
    vertical-align: middle;
  }
  #scrolling {
    text-align: center;
    width: 100%;
    /*catalog button*/
  }
  #scrolling .scrolling_tel {
    float: none;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
  }
  #scrolling a {
    float: none;
    display: inline-block;
    vertical-align: middle;
  }
  @font-face {
    font-family: 'menu';
    src: url("../fonts/menu.eot?64059449");
    src: url("../fonts/menu.eot?64059449#iefix") format("embedded-opentype"), url("../fonts/menu.woff?64059449") format("woff"), url("../fonts/menu.ttf?64059449") format("truetype"), url("../fonts/menu.svg?64059449#menu") format("svg");
    font-weight: normal;
    font-style: normal;
  }
  .menu-icon {
    font-family: "menu";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;
    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;
    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;
    /* You can be more comfortable with increased icons size */
    /* font-size: 120%; */
    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Uncomment for 3D effect */
    /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
  }
  .scroll__button {
    vertical-align: middle;
    color: #a47e58;
    cursor: pointer;
    display: none;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  .scroll__button {
    margin: 0 10px;
  }
  .scroll__button.active {
    display: inline-block;
  }
}

@media screen and (max-width: 1000px) {
  .leftmenu__button {
    background-color: #22150f;
    text-align: right;
    height: 40px;
    line-height: 40px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  .leftmenu__button {
    display: block;
  }
}

@media screen and (max-width: 1000px) {
  /*product-info*/
  .product-info {
    width: 100%;
    box-sizing: border-box;
  }
  .product-info * {
    box-sizing: border-box;
  }
  .wrapper {
    width: 100%;
  }
  .popup_box img {
    width: 100%;
    height: auto;
  }
  .image__mini a {
    width: 33%;
    float: left;
  }
  .image__mini a .mini2 {
    width: 34%;
  }
  .image__mini img {
    display: block;
    width: 100%;
    height: auto;
  }
  .extra-wrap {
    margin-left: 0px !important;
    width: 100%;
    position: static;
    padding: 0px !important;
    padding-top: 20px !important;
  }
  .calc {
    position: static !important;
    background-repeat: no-repeat;
    padding-top: 1px;
    height: auto !important;
    margin-top: 10px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .calc {
    width: 375px !important;
  }
}

@media screen and (max-width: 1000px) {
  .share42init {
    position: static !important;
  }
  .share42init.rightfix {
    display: none;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .calcMargin {
    margin-left: 4px !important;
  }
}

@media screen and (max-width: 1000px) {
  .calcTitle {
    margin-top: 12px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .calcTitle {
    padding-left: 4px !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  #calc_fullPrice {
    margin-left: 4px !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  #calc_userFilters {
    margin-left: 5px !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  #calc_form {
    width: 375px !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .calcFormLabel {
    margin-left: 4px !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  #calc_name, #calc_phone, #calc_email {
    margin-left: 4px !important;
  }
}

@media screen and (max-width: 1000px) {
  #calc_submit {
    /*width: 50px !important;
    height: 50px !important;
    background-size: 100% 100%;
    */
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  #calc_submit {
    margin-right: 5px !important;
  }
}

@media screen and (max-width: 1000px) {
  /*.calc {
    width: 100% !important;
    position: static !important;
    background-position: 0 -18px;
    height: auto !important;
    //padding-top: 30px;
    padding-top: 20px;
    background-repeat: no-repeat;
  }
  .calcTitle {
    position: static;
    height: auto !important;
  }
  #calc_slider {
    width: 90% !important;
    max-width: 380px;
  }
  #calc_order {
    padding-top: 5px;
    max-width: 428px;
    padding-left: 0px !important;
  }
  #calc_form {
    width: 100% !important;
    max-width: 428px;
    height: auto !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  #calc_submit {
    position: static;
    margin: 10px auto !important;
  }
  */
  .wrapper.tab {
    margin-left: 0px !important;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .tab-content {
    width: 100% !important;
  }
  .title_price {
    width: 100%;
    position: static;
    height: auto;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .product-info h1 {
    margin-top: 10px;
  }
}

@media screen and (max-width: 1000px) {
  /*news-full*/
  .news-full {
    width: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    border: none;
    box-shadow: none;
  }
  .news-date {
    right: 22px !important;
  }
  .tm_video {
    height: 400px !important;
    width: 100% !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .tm_video {
    height: 320px !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .tm_video {
    height: 260px !important;
  }
}

@media screen and (max-width: 1000px) {
  .news-full a.newsimg {
    width: 215px;
    height: auto;
    margin-right: 20px;
  }
  .news-full img {
    max-width: 100%;
    height: auto;
  }
  .news-full .news-title {
    width: 100%;
  }
  .box-content * {
    box-sizing: border-box;
  }
  .content table {
    max-width: 100%;
  }
  .content__table {
    box-sizing: border-box;
  }
  .content__table img {
    height: auto !important;
  }
  .content__table .category-info {
    width: 100%;
  }
  .content__table * {
    box-sizing: border-box;
  }
  .content__table table {
    width: 100% !important;
  }
  .content__table table td {
    vertical-align: top;
  }
}

@media screen and (max-width: 1000px) and (max-width: 800px) {
  .content__table table tr td:first-child {
    width: 40%;
  }
  .content__table table tr td:first-child img {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .content__table table tr td {
    display: block;
    width: 100%;
    padding-left: 0px !important;
  }
  .content__table table tr td:first-child {
    width: 100%;
  }
  .content__table table tr td:first-child img {
    width: 100%;
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 1000px) {
  .content .colors {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  /*color ral*/
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .color-table * {
    word-wrap: break-word;
  }
  .color-table td:first-child, .color-table th:first-child {
    padding-left: 0px;
    max-width: 50px !important;
  }
  .color-table td, .color-table th {
    padding-left: 5px !important;
  }
  .color-table td:nth-child(2), .color-table th:nth-child(2) {
    max-width: 80px !important;
  }
}

@media screen and (max-width: 1000px) {
  /*kalkulator*/
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .calc_block .sk {
    margin-right: 2px !important;
  }
}

@media screen and (max-width: 1000px) {
  .calc_block .sk_off {
    border-left: #e1e6eb 1px solid !important;
    border-right: #e1e6eb 1px solid !important;
  }
  .calc_block #sekt_switchers {
    height: auto !important;
  }
  .calc_block #sekt_cont {
    width: auto !important;
    position: static !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .calc_block .door {
    margin-right: 24px !important;
    border: #c0c8d1 1px solid !important;
  }
}

@media screen and (max-width: 1000px) {
  .calc_block #door_switchers {
    height: auto !important;
  }
  .calc_block #door_cont {
    width: auto !important;
    position: static !important;
  }
  #order-form label, #phone-form label {
    margin-left: 15px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  #order-form label, #phone-form label {
    margin-left: 0px;
  }
}

@media screen and (max-width: 1000px) {
  .rform__phone {
    margin-bottom: 20px;
  }
  .rform__submit__left {
    padding-top: 32px;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .rform__submit__left {
    padding-top: 0px;
  }
}

@media screen and (max-width: 1000px) {
  .rform__left-zak {
    width: 100% !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 640px) {
  .rform__left-zak {
    margin-left: 0px !important;
  }
}

@media screen and (max-width: 1000px) and (max-width: 480px) {
  .soc__popup, .zak-popup, .gallin {
    display: none;
  }
  /*ngal*/
  .ngal__cols2 {
    width: 100%;
  }
  .ngal__cols4 {
    width: 100%;
  }
}

@media (max-width: 361px) {
  .fancybox-wrap {
    margin-left: 25px;
  }
}
