.side-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100519;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  background: rgb(0 0 0 / 0.6);
}
.side-overlay.show {
  opacity: 1;
  visibility: visible;
}
.side-btn {
  position: relative;
  left: -11px;
  padding: 5px 10px 5px 20px;
  display: block;
  width: 100px;
  margin-bottom: 10px;
  text-align: center;
  background: url("/front/image/menu-white.svg") 10px 50% / 15px no-repeat, #DC0000 url(/front/graphic/redgradient_bg.png) repeat-x scroll 0px 0px;
  border-radius: 0 50px 50px 0;
  font: 18px arial;
  color: #fff;
}
.content-wrap iframe {
  max-width: 100%;
}
span.table-big-alert {
  color: red;
  font-weight: 700;
}
.menu_group_btn {
  width: 40px;
  height: 40px;
  font-size: 0;
  background: url("/front/image/menu.svg") 50% / 30px no-repeat;
  float: left;
}
.menu-expand {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 0 auto 15px;
  right: 0;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  margin-left: 15px;
  line-height: 1;
  text-decoration: none;
  box-sizing: border-box;
  border: 1px solid;
}


@media (max-width: 1082px) {
  .wrap {
    min-width: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
  }
  .l-header {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
  }
  .l-header .logo {
    min-width: 110px;
    margin-left: 0;
    margin-right: 10px;
    position: relative;
  }
  .l-header .search {
    margin-top: 0;
  }
  .l-header .logo img {
    max-width: 100%;
    height: auto;
  }
  ul.menu_group > li.item.l {
    display: none;
  }
  ul.menu_group {
    display: flex;
    flex-wrap: wrap;
    height: auto;
  }
  .l-header .top_right {
    flex-shrink: 0;
    margin-left: 10px;
  }
  .startpage.grey_wrap {
    width: 100%;
    height: auto;
    margin: 0 auto 10px;
  }
  .startpage.grey_wrap.last {
    margin-left: 0;
  }
  .l-footer {
    height: auto;
    margin-bottom: 10px;
  }
  .content-wrap .content-wrap-gradient {
    display: none;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .sales-details_tpl img.sales-photo {
    max-width: none;
  }
  .startpage .col_side-rtl .inner_wrap {
    margin: 0 1.5em 0 0.5em;
  }
  .content-wrap .col_side-rtl {
    width: 240px;
  }
  .content-wrap .col_center-container.rtl .col_center {
    margin-left: 230px;
  }

  .slogan {
    display: none;
  }
}

@media (min-width: 1025px) {
  .menu_group_btn {
    display: none;
  }
}

@media (max-width: 1024px) {
  .menu-expand:after {
    content: "+";
    text-decoration: none;
  }
  li.item.expanded .menu-expand:after {
    content: "-";
  }

  .menu-expand {
    display: inline-flex;
  }
  ul.menu_group {
    display: none;
  }
  ul.menu_group > li.item {
    display: block;
    float: none;
    width: 100% !important;
    height: auto;
    box-sizing: border-box;
  }
  ul.menu_group > li.item > ul.submenu_group,
  ul.menu_group > li.item:hover > ul.submenu_group {
    position: relative;
    top: 0;
    width: auto;
    margin: auto;
    border: none;
  }
  ul.menu_group > li.item:hover > ul.submenu_group {
    display: none;
  }
  ul.menu_group > li.item > a {
    position: relative;
    height: auto;
  }
  ul.menu_group > li.item > ul.submenu_group > li.subitem {
    border: none;
  }
  ul.menu_group > li.item > ul.submenu_group > li.subitem > a {
    text-align: center;
  }
}

@media (max-width: 880px) {
  form#form_order {
    font-size: 11px;
  }
  .listTable img.sales-photo {
    max-width: 60px;
    max-height: 60px;
  }
}

@media (min-width: 769px) {
  .side-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .content-wrap .col_side-ltr {
    display: none;
  }
  .content-wrap .col_center-container .col_center {
    margin-right: 0;
    padding: 0;
  }
  .content-wrap .col_center-container.rtl .col_center {
    margin-right: 0;
    margin-left: 0;
    padding: 0;
  }
  h1, .h1 {
    text-align: center;
  }
  /* MENU LEFT */
  .content-wrap .content-rel {
    z-index: 100520;
  }
  .content-wrap .col_side-rtl {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100520;
    transform: translateX(-260px);
    height: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    box-shadow: 1px 1px 10px rgb(0 0 0 / 0.5);
    background: #fff;
    transition: .3s;
    overflow-y: auto;
  }
  .content-wrap .col_side-rtl.show {
    transform: translateX(0);
  }
}

@media (max-width: 680px) {
  .content-wrap table {
    width: 100%;
  }
  .startpage .col_center .table-news {
    margin-left: 0;
  }
  .l-header {
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
  }
  .l-header .logo {
    order: 0;
    width: auto;
  }
  .l-header .search {
    order: 2;
    width: 100%;
  }
  .l-header .search #topsearch_field {
    height: 30px;
    padding: 0 15px;
    box-sizing: border-box;
    width: 86%;
    display: inline-block;
    margin-top: 4px;
  }
  #topsearch_button {
    top: 12px;
  }
  .l-header .top_right {
    order: 1;
  }
  .startpage.grey_wrap .grey_block.short {
    height: auto;
    padding-bottom: 10px;
  }
  .icon.phone {
    margin-left: auto;
    float: right;
    background-size: 20px 20px;
    padding-left: 34px;
    width: auto;
    height: auto;
    min-height: 22px;
    font-size: 18px;
    margin-top: 10px !important;
  }
  .l-footer > table > tbody > tr > td {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100% !important;
    margin-bottom: 10px;
  }
  .l-footer .gap2 {
    width: 2%;
    display: none;
  }
  .l-footer .td_r {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .sales-details_tpl img.sales-photo {
    max-width: 100%;
    float: none;
  }
  .col_center.sales-details_tpl > table td {
    display: block;
    width: 100%;
  }
  .sales-relative td {
    display: block;
    width: 100%;
    float: left;
  }
  form[name="review"] table {
    margin: 0 auto !important;
  }
  form[name="review"] td {
    display: block;
    width: 100%;
    margin: 0 auto 10px;
  }
  form[name="review"] td textarea,
  form[name="review"] td input {
    width: 100% !important;
    height: 25px;
  }
  .i_agree .i_agree_one input[type=checkbox] {
    width: auto !important;
  }
  .col_center.news_details .mTopBottom-1em.flLeft,
  .col_center.news_details .mTopBottom-1em.flRight {
    float: none;
  }
  /* table.sales-list_tpl th,
  table.sales-list_tpl td {
    display: block;
    width: 100%;
    margin: auto !important;
    padding: 6px;
    box-sizing: border-box;
    border: none;
    text-align: center !important;
  } */
}

@media (min-width: 668px) {
  .table-big-alert {
    display: none;
  }
}

@media (max-width: 667px) {
  .l-header .logo {
    min-width: 150px;
    height: 50px;
  }
  .l-header .top_right {
    width: auto;
    height: auto;
  }
  img#Image-Maps-Com-image-maps {
    display: none;
  }

  map#ImageMapsCom-image-maps {
      display: none;
  }

  div[style*="width:600px;"] {
    width: 100% !important;
  }

  div[style*="width:600px;"]:after {
    content: "Внимание! Для просмотра карты требуется ширина экрана более 667 пикселей";
    color: red;
    font-weight: 700;
  }

  form#confirm_order table td {
    display: block;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #confirm_order input[type=text],
  #confirm_order select {
    width: 100%;
    height: 25px;
    box-sizing: border-box;
  }
  form#form_order {
    overflow: auto;
  }
  /* form#form_order:before {
    content: 'Для просмотра всей таблицы, тащите ее влево';
    color: red;
    font-weight: 700;
  } */
  /* table.listTable.sales-preorder_tpl td,
  table.listTable.sales-preorder_tpl th {
    display: block;
    width: 100%;
    padding: 5px 0;
    border: none;
    text-align: center !important;
  } */
  table.listTable.sales-preorder_tpl .delete-block br {
    display: none;
  }
  table.listTable.sales-preorder_tpl .delete-icon {
    position: static;
    margin-top: 5px;
  }
}

@media (max-width: 390px) {
  .l-header .logo {
    min-width: 130px;
  }
  .icon.phone {
    font-size: 15px;
    margin-top: 0px !important;
  }
  .l-header .top_right .lang {
    margin: 5px 0px 0 0;
  }
  .col_center > table td[width*="%"] {
    width: 100%;
    display: block;
  }
}
