a:link,
a:visited {
  color: #555;
  text-decoration: underline;
}
body#shadow {
  max-width: 1130px;
}
#all {
  max-width: none;
}
#wrapper2 {
  width: auto;
  flex: 1 1 auto;
  max-width: 805px;
}
.wrapper1 {
  width: 175px;
}
#wrapper {
  width: 100%;
}
.wrapper-container {
  display: flex;
}
#contentarea,
#contentarea2 {
  position: relative;
  overflow: hidden;
  padding: 20px 55px 40px !important;
  margin: 0;
}
.catalog_menu li {
  font: 14px Arial;
  font-weight: bold;
  padding-bottom: 5px;
  margin: 0;
}
.catalog_menu li a {
  font: 14px Arial;
  color: #000;
  text-decoration: none;
}
.catalog_menu {
  list-style: none;
  padding: 0px;
  margin: 0;
}
.catalog_menu li a:hover {
  font: 14px Arial;
  color: #000;
  text-decoration: underline;
}
a:link,
a:visited {
  color: #555;
  text-decoration: underline;
}
hr {
  color: #e1e1e1;
  background-color: #e1e1e1;
  border: 0px none;
  height: 1px;
}
a:hover {
  text-decoration: none;
}
.browseCategoryImage {
  border: solid 3px #000;
  box-shadow: 0 3px 15px;
  -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}
h1,
h2,
h3,
h4,
h5,
h6,
.h3 {
  margin: 0;
  font-family: inherit;
  font-weight: normal;
  color: inherit;
  text-rendering: optimizelegibility;
  word-wrap: break-word;
}
.main-catalog h3,
.h3 {
  margin-bottom: 10px;
  padding-top: 15px;
}
.main-catalog h3.catalog_title,
.h3 {
  font: bold 14px Arial;
  color: #000;
}
#contentarea.catalog .category-view {
  margin-top: 20px;
}
.products-view h4 {
  display: none;
}
.products-view {
  padding-top: 20px;
  border-top: 1px solid #e1e1e1;
}
.spacer.product-container {
  border: none;
}
.name-product a {
  font-size: 20px;
  font-weight: bold;
}
.PricesalesPrice.vm-display.vm-price-value span {
  font: bold 12px Arial;
  color: #3f7f91 !important;
}
span.vm-price-desc {
  margin: 0px 2px 0px 0px;
}
.vm-product-media-container {
  margin-bottom: 0;
}
.vm-product-descr-container-1 {
  margin-bottom: 0;
}
.vm-product-descr-container-0 {
  min-height: initial;
  text-align: center;
}
.browseProductImage {
  border: solid 3px #000;
  margin: 0px;
  box-shadow: 0 3px 15px;
  -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
}
.wrapper1_portfolio {
  max-width: 114px;
}
#wrapper2-portfolio {
  flex: 1 1 auto;
}
.container-pict {
  display: flex;
  flex-wrap: wrap;
}
.portfolio__item {
  width: calc(25% - 40px);
  margin: 20px;
  margin-bottom: 0;
}
.gallery__item {
  width: calc(25% - 40px);
  margin: 20px;
  margin-bottom: 0;
}
.portfolio__img,
.gallery__img,
.img {
  border: solid 3px #000;
  box-shadow: 0 3px 15px;
  -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.portf_name {
  display: block;
  font: bold 12px Arial;
  text-align: center;
  margin: 10px;
  margin-bottom: 0;
}
.line {
  background-color: #e1e1e1;
  border: 0px none;
  height: 1px;
  margin-top: 5px;
}
.wrapper1-gallery {
  min-width: 175px;
}
.bg.active {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 999;
}
#header {
  overflow: initial;
}
#header .header_content {
  /*overflow: hidden;*/
}
.main #header {
  overflow: hidden;
}
.main #header .header_content {
  overflow: hidden;
}
.gallery__item span {
  display: block;
  text-align: center;
  margin: 10px;
}
.portfolio__item span {
  display: block;
  text-align: center;
  margin: 10px;
}
#wrapper1_portfolio {
  min-width: 114px;
}
body h3 {
  font-weight: bold;
  font-size: 1.17em;
}
.pull-left ~ h3 {
  margin-bottom: 5px;
}
#contentarea h3 {
  margin-bottom: 10px;
  padding-top: 15px;
}
.article-img {
  max-width: 750px;
  width: 100%;
  height: auto;
}
td[rowspan='2'] {
  vertical-align: middle;
}
body p {
  margin-bottom: 10px;
}
table {
  border: 1px solid;
}
table td {
  border: 1px solid;
}
img.browseCategoryImage {
  width: 106px;
  height: 106px;
}
.main-catalog .horizontal-separator {
  display: none;
}
.fasd-gallery {
  display: flex;
  flex-wrap: wrap;
  margin: 0px -10px;
}
.fasd-gallery .gallery_item {
  width: 145px;
  margin: 0 10px 20px;
}
#header .search form .search-query {
  background: #626262;
}
#header .search form .search-query::placeholder {
  color: white;
}
#header .search {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0px, -50%);
  margin-right: 30px;
}

#header .search form {
  margin: 0;
  text-align: center;
  display: flex;
  align-items: center;
  width: 230px;
  background: url(/images/bg_search.png) no-repeat;
  background-size: 100%;
  background-position: 50%;
  padding: 0 15px;
  box-sizing: border-box;
}

#header .search form .search-query {
  min-height: 26px;
  outline: none;
  border: none;
  max-width: 155px;
}
#header .search form .button.btn.btn-primary {
  background: url(/img/search.png);
  width: 41px;
  height: 32px;
}
#header .search form {
  text-align: center;
  display: flex;
  align-items: center;
}

.header_promo {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 25px);
  width: 100%;
  text-align: center;
}

#back {
  overflow: hidden;
}
.moduletable ul.menu a:link {
  font: 14px Arial;
  color: #000;
  text-decoration: none;
  border-bottom: none;
  padding: 0px 0 5px 0;
}
#contentarea .moduletable h3,
#contentarea .moduletable h1 {
  padding: 0;
  margin: 0;
  border-bottom: none;
  margin-bottom: 10px;
  font: bold 20px Arial;
}
#contentarea .moduletable ul.menu a:hover,
#contentarea .moduletable ul.menu a:active,
#contentarea .moduletable ul.menu a:focus {
  background: none;
  text-decoration: underline;
  color: black;
}
#contentarea .moduletable ul.menu a.active {
  font-weight: bold;
}
.product .addtocart-button {
  margin: auto;
}
@media screen and (min-width: 999px) {
  div[class*='-view'] .row {
    margin-right: 145px;
  }
  div[class*='-view'].main-catalog .row {
    margin: 0;
  }
}
@media screen and (min-width: 840px) {
  .gallery__img {
    height: 128px;
  }
}
@media screen and (max-width: 1024px) {
  .portfolio__item,
  .gallery__item {
    width: calc(49% - 40px);
  }
}
@media screen and (max-width: 1000px) {
  .category_description.description_top > div:nth-child(1) {
    margin-top: 0 !important;
    float: none !important;
  }
}
@media screen and (max-width: 840px) {
  .wrapper-container {
    flex-wrap: wrap;
  }
  .width20 {
    width: 50%;
  }
  .fasd-gallery .gallery_item {
    width: 45%;
  }
}
@media screen and (max-width: 500px) {
  .portfolio__item,
  .gallery__item {
    width: 100%;
    margin: 0;
  }
  .portfolio__link {
    width: 100%;
  }
  .category_description.description_top > div:nth-child(1) {
    padding-right: 0 !important;
    width: 100% !important;
  }
  .category_description.description_top > div:nth-child(1) .gallery_block {
    width: calc(100% - 20px) !important;
  }
  img.browseCategoryImage {
    width: 100%;
    height: auto;
  }
  .fasd-gallery .gallery_item {
    width: 100%;
  }
  #header .search {
    margin-top: 20px;
    transform: translate(0, 0);
    margin-right: 0;
  }
  #header .search form {
    margin: auto;
  }
}

.moduletable ul.menu li.current.active a {
  font-weight: bold;
}

body#shadow {
  max-width: 100%;
}
#shadow div#all,
#header.header_main div.header_content {
  box-shadow: none;
}
div#back {
  max-width: 1200px;
  margin: 0 auto;
  overflow: inherit;
}
div#all,
#all,
body#shadow,
body div h1,
input,
ul#bottom_menu,
div.moduletable ul.menu a:link,
span.portf_name,
div .PricesalesPrice.vm-display.vm-price-value span,
.callback_btn button,
div.main-catalog h3.catalog_title,
.exform_wrapper.request,
.h3 {
  font-family: 'Rubik', Arial, sans-serif !important;
}
div.exform_wrapper.head-call input[type='text'],
div.exform_wrapper.head-call textarea,
div.exform_wrapper.head-call,
div.exform_wrapper.head-call .exform_addmsg {
  font-family: 'Rubik', Arial, sans-serif;
  color: #333333 !important;
}
div#all,
body#shadow {
  color: #333333 !important;
}
div#all h1,
div#all h2,
div#all h3,
div#all h4,
div#all h5,
div#all h6,
.h3 {
  font-weight: 700;
}
.breadcrumbs span,
.breadcrumbs a {
  font-size: 16px;
}
div#all h1 {
  font-size: 28px;
  text-align: center;
}
div#all .category-view h1 {
  margin-bottom: 50px;
}
div#all h2 {
  font-size: 23px;
}
div#all h3,
div#all h4,
div#all h5,
div#all h6,
.h3 {
  font-size: 19px;
}
div#contentarea,
div#contentarea2 {
  padding: 20px 0px 40px !important;
}
nav.wrapper1 {
  width: 290px;
}
div#wrapper2 {
  box-sizing: border-box;
  max-width: 1200px;
  width: 100%;
  padding: 0 15px;
}
/* Header slider */
div.header_top-slider-container {
  top: 0px;
  margin-bottom: 25px;
}
/*  */
#header.header_main div.header_content {
  min-height: 130px;
}
#header div.header_content {
  float: none;
  height: 145px;
  background: #fff;
  border: none;
}
.header_container {
  height: 130px;
  justify-content: space-between;
  align-items: center;
}
#logo.header_logo,
.header_text,
.header_search,
.header_phone,
.header_button {
  display: flex;
  align-items: center;
}
#logo.header_logo {
  max-width: 163px;
  margin: 0;
}
div.header_text {
  width: 215px;
  margin: 0;
}

.item-page table {
  width: 99% !important;
}

div.header_text span {
  font-size: 35px;
  color: #286779;
}
#header .header_search {
  min-width: 350px;
  position: relative;
  height: 100%;
}
#header .search form {
  position: relative;
  width: 290px;
  background: none;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
}
#header .search form::after {
  content: '';
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 12px;
  right: 15px;
  background: url('/images/search-icon.png');
  background-size: contain;
}
#header .header_search .search form .search-query {
  height: 45px;
  background: transparent;
}
#header .header_search .search form .search-query::placeholder {
  font-family: 'Rubik', sans-serif;
  font-weight: 400;
  color: #696969;
}
.header_search .button.btn.btn-primary {
  display: none;
}
div.header_phone {
  margin: 0;
  max-width: 160px;
  flex-wrap: wrap;
  align-content: center;
}
div.header_phone a {
  display: block;
  position: relative;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #333;
}
div.header_phone a + a {
  margin-top: 10px;
}
div.header_phone a:first-child::before {
  content: '';
  display: block;
  position: absolute;
  width: 15px;
  height: 15px;
  top: 2px;
  left: -25px;
  background-image: url(/img/phone-icon.png);
}
div#callback_btn.callback_btn {
  position: static;
  right: 0;
}
.callback_btn button {
  width: 185px;
  height: 45px;
  border-radius: 10px;
  background: #468597;
  box-shadow: none;
  font-size: 16px;
  border: none;
  color: #fff;
  cursor: pointer;
}

.moduletable_head-menu .nav-child {
  display: none;
}
.moduletable_head-menu ul {
  position: relative;
  height: 50px;
  display: flex;
  justify-content: space-between;
  background-color: #468597;
}
.moduletable_head-menu li {
  display: flex;
  align-items: center;
}
.moduletable_head-menu ul.menu a {
  display: inline-block;
  border: none;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}
.moduletable_head-menu ul.menu a:link,
.moduletable_head-menu ul.menu a:visited,
.moduletable_head-menu ul.menu a:hover,
.moduletable_head-menu ul.menu a:active {
  color: #fff;
}
.moduletable_head-menu li.current a,
ul.menu li.active.current a {
  text-decoration: underline;
  font-weight: 400;
}
.moduletable_head-menu ul.menu a:hover,
.moduletable_head-menu ul.menu a:active,
.moduletable_head-menu ul.menu a:focus {
  background: none;
}

.wrapper1.leftbigger ul.menu {
  padding-right: 15px;
}
.wrapper1.leftbigger ul.menu li a {
  line-height: 1.5;
  font-size: 16px;
  color: #333;
}
#contentarea .wrapper1.leftbigger ul.menu li a:hover,
.wrapper1.leftbigger ul.menu li a:active {
  text-decoration: none;
  color: #333;
}
.wrapper1.leftbigger ul.menu li.current.active a {
  text-decoration: none;
  color: #468597;
}
.price-pdf-item {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 60px;
  margin-bottom: 15px;
  border-radius: 10px;
  background-color: #f5f5f5;
}
.price-pdf-item::after {
  content: '';
  display: block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 10px;
  left: 20px;
  background: url('/images/pdf-icon.png');
  background-size: contain;
}
.price-pdf-item a {
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.price-pdf-item a:link,
.price-pdf-item a:visited {
  color: #333;
}

img.browseCategoryImage {
  border: none;
  box-shadow: none;
}
div.main-catalog .cat-name a {
  text-decoration: none;
}

.vm-product-container .vm-product-media-container {
  width: 390px;
}
.vm-product-details-container {
  width: calc(100% - 175px);
}
.main-image img {
  min-width: 390px;
  min-height: 140px;
}
div.vm-product-details-container > h1 {
  margin-bottom: 25px;
  text-align: right;
}
div.spacer-buy-area,
.vm-price-value span {
  display: block;
}
.vm-product-details-container {
  padding-left: 20px;
}
.vm-product-details-container .spacer-buy-area {
  padding-left: 0;
}
.PricesalesPrice.vm-display.vm-price-value span {
  font-size: 20px;
  color: #333 !important;
  font-family: 'Rubik', Arial, sans-serif !important;
}
.PricesalesPrice.vm-display.vm-price-value span.PricesalesPrice {
  font-weight: 700;
  display: inline-block;
}
.PricesalesPrice.vm-display.vm-price-value span.vm-price-desc {
  font-weight: 400;
  display: inline-block;
}
.product .addtocart-button {
  width: 185px;
  height: 50px;
  border-radius: 10px;
  margin: 25px 0 0 0;
  background-color: #468597;
  color: #fff;
  border: none;
}

img.portfolio__img {
  height: 240px;
  object-fit: cover;
}

img.portfolio__img,
img.gallery__img {
  box-shadow: none;
  border: none;
}

div.name-product a:link,
div.name-product a:visited {
  color: #333;
}

.footer-wrap {
  height: 160px;
  padding: 20px 0 15px 0;
  background-color: #174755;
}
.footer-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
.footer-menu {
  display: flex;
  padding-top: 5px;
}
.footer-menu ul {
  list-style: none;
}
.footer-menu ul:not(:last-child) {
  margin-right: 15px;
}
.footer-menu ul li a {
  text-decoration: none;
  color: #fff;
}
.footer-badge a:link,
.footer-badge a:visited,
.footer-phones a:link,
.footer-phones a:visited {
  text-decoration: none;
  color: #fff;
}
.footer-badge {
  display: flex;
  padding-top: 10px;
}
.footer-badge-link {
  margin-left: 15px;
}
.footer-phones a {
  display: block;
  text-decoration: none;
}
.callback_footer button {
  margin-top: 15px;
  background-color: transparent;
  box-shadow: none;
  border: 1px solid #fff;
}
.footer-cop p {
  text-align: center;
  color: #fff;
}
.like-h2 {
  font-size: 23px;
  font-weight: 700;
}
.popular-main .product-container img {
  height: 160px;
}
@media (max-width: 1100px) {
  #header.header_main div.header_content,
  #header div.header_content {
    min-height: 200px;
  }
  .header_container .header_logo {
    order: 1;
    flex: 0 25%;
    margin: 0 0 0 25px !important;
  }
  .header_container .header_text {
    order: 2;
    flex: 0 50%;
  }
  .header_container .header_text span {
    text-align: center;
    width: 100%;
  }
  .header_container .header_phone {
    order: 3;
    flex: 0 25%;
    margin: 0 25px 0 0;
  }
  .header_container .header_search {
    order: 5;
    flex: 0 100%;
    margin: 15px 0 0 0;
    height: 45px;
  }
  .header_container .header_search .search {
    position: relative !important;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 !important;
  }
  .header_container .header_button {
    order: 4;
    flex: 0 100%;
    display: flex;
    justify-content: center;
  }

  .advantages-itm {
    flex-direction: column;
    align-items: center;
  }
  .imgtext-row4 {
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
  }
  .imgtext-block4 {
    min-height: fit-content;
    justify-content: flex-start;
    align-items: center;
  }
  .imgtext-block4-img {
    height: 100%;
    align-items: center;
    justify-content: center;
  }
  #shadow_r,
  #shadow_l {
    display: none;
  }
  .header_top-slider_prevBtn {
    right: 35px !important;
  }
  .header_top-slider_nextBtn {
    left: 35px !important;
  }
}

@media screen and (max-width: 840px) {
  .header_top-slider_prevBtn {
    right: 1% !important;
  }
  .header_top-slider_nextBtn {
    left: 1% !important;
  }
  .wrapper-container {
    flex-wrap: wrap;
  }
  nav#nav.wrapper1-portfolio,
  nav#nav.wrapper1-gallery.leftbigger {
    width: 100%;
  }
  nav#nav.wrapper1-portfolio h1,
  nav#nav.wrapper1-gallery.leftbigger h1 {
    text-align: center;
  }
  nav#nav.wrapper1-portfolio ul.nav.menu.mod-list,
  nav#nav.wrapper1-gallery.leftbigger ul.nav.menu.mod-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 0 15px;
  }

  nav#nav.wrapper1-portfolio ul.nav.menu.mod-list li,
  nav#nav.wrapper1-gallery.leftbigger ul.nav.menu.mod-list li {
    width: 25%;
    height: 35px;
  }
}

@media (max-width: 768px) {
  .moduletable_head-menu ul.menu a {
    font-size: 20px;
    height: 30px;
  }

  .header_promo {
    transform: translate(-50%, 85px);
  }
  #header.header_main div.header_content,
  #header div.header_content {
    min-height: 405px;
  }
  .header_container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    height: auto;
    gap: 15px 0;
  }
  #logo.header_logo,
  .header_container .header_phone,
  .header_container .header_search {
    margin: 0 !important;
  }
  .header_container .header_text {
    width: auto;
  }

  .imgtext-row4 {
    flex-wrap: wrap;
  }
  .imgtext-block4 {
    width: 49%;
    height: 65px;
  }

  .section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    border: 2px solid #468597;
    border-radius: 50%;
    z-index: 99999;
    left: 15px;
    top: 20%;
  }
  .menu-btn {
    display: block;
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    position: relative;
  }
  .menu-btn span,
  .menu-btn span::before,
  .menu-btn span::after {
    position: absolute;
    top: 50%;
    margin-top: -1px;
    left: 50%;
    margin-left: -10px;
    width: 20px;
    height: 2px;
    background-color: #468597;
  }
  .menu-btn span::before,
  .menu-btn span::after {
    content: '';
    display: block;
    transition: 0.2s;
  }
  .menu-btn span::before {
    transform: translateY(-5px);
  }
  .menu-btn span::after {
    transform: translateY(5px);
  }
  .menu-btn_active span {
    height: 0;
  }
  .menu-btn_active span:before {
    transform: rotate(45deg);
  }
  .menu-btn_active span:after {
    transform: rotate(-45deg);
  }
  .moduletable_head-menu ul {
    display: none;
  }
  .moduletable_head-menu.mob-menu-active {
    position: fixed !important;
    top: calc(20% + 60px);
    width: 100%;
    transform: translateX(0%);
    transition: all 0.3s ease-out;
  }
  .moduletable_head-menu {
    transform: translateX(-105%);
    transition: all 0.3s ease-out;
  }

  .mob-menu-active ul {
    display: block;
    height: 100%;
  }

  .mob-menu-active ul li {
    margin: 0 auto;
    display: block;
    text-align: center;
  }
  .mob-menu-active .deeper.parent.open > ul {
    display: block !important;
    position: relative;
    top: 0;
    left: 0;
    background-color: #3e7484;
    border: 1px solid #325e6b;
  }
  .moduletable_head-menu ul .deeper.parent::after {
    content: '\25BC';
    position: absolute;
    left: calc(50% + 35px);
    z-index: 100;
    top: 0;
    transform: rotate(-90deg);
    color: #fff;
    transition: all 0.2s ease-out;
  }
  .moduletable_head-menu ul .deeper.parent.open::after {
    transform: rotate(0deg);
  }
  ul.nav.menu.mod-list {
    /* width: 100%; */
  }

  nav#nav.wrapper1.leftbigger {
    width: auto;
    padding: 0;
  }

  nav#nav.wrapper1.leftbigger ul.nav.menu.mod-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 15px 0;
    justify-content: flex-start;
  }

  nav#nav.wrapper1.leftbigger ul.nav.menu.mod-list li {
    width: 25%;
    padding: 0 15px;
    margin: 0 auto;
  }
  .product .addtocart-button {
    margin: 0 auto;
  }
  span.vm-price-desc {
    text-align: center;
  }
  .browseProductImage {
    width: 150px !important;
  }
  .PricesalesPrice.vm-display.vm-price-value span.PricesalesPrice {
    text-align: center;
  }
  .mob-menu-active:after {
    content: '';
    width: 100vw;
    height: 200vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
    position: absolute;
    top: -100%;
    left: 0;
  }
}

@media (max-width: 500px) {
  .imgtext-block4 {
    width: 100% !important;
  }

  nav#nav.wrapper1-portfolio ul.nav.menu.mod-list li,
  nav#nav.wrapper1-gallery.leftbigger ul.nav.menu.mod-list li {
    width: 50%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .vm-product-container .vm-product-media-container {
    float: none !important;
    margin: 0 auto;
    width: 80% !important;
  }
  .vm-product-container > div {
    padding: 0 15px !important;
    width: auto;
  }
  .PricesalesPrice.vm-display.vm-price-value span.PricesalesPrice,
  #productPrice9 > div,
  #main
    > div.product-container.productdetails-view.productdetails
    > div.vm-product-container
    > div.vm-product-details-container
    > h1 {
    text-align: center;
  }
}

@media (max-width: 400px) {
  #header.header_main div.header_content,
  #header div.header_content {
    min-height: 450px;
  }

  .advantages {
    flex-direction: column;
    align-items: center;
    gap: 15px 0;
  }
  .advantages-itm {
    width: 100% !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 990px) {
  .header_container {
    justify-content: space-around;
  }
  #header .header_search {
    min-width: 200px;
    flex: none;
  }
  .div.header_phone {
    max-width: 49%;
  }
  .div.header_phone,
  .header_button {
    width: 49%;
  }
  .footer-wrap {
    height: auto;
  }
  .footer-content-wrap {
    display: grid;
    grid-template-areas:
      'footer-menu footer-links'
      'footer-badge footer-badge';
  }
  .footer-menu {
    grid-area: footer-menu;
  }
  .footer-badge {
    grid-area: footer-badge;
    margin: 15px auto;
  }
  .footer-links {
    grid-area: footer-links;
  }
}
@media only screen and (min-width: 950px) {
  #header div.header_content {
    height: 145px;
  }
}
@media (max-width: 850px) {
  .vm-product-container .vm-product-media-container {
    width: 32%;
  }
  .vm-product-details-container {
    width: 65%;
  }
  .main-image img {
    min-width: auto;
    min-height: auto;
  }
}
@media (max-width: 635px) {
  .footer-content-wrap {
    display: flex;
    flex-wrap: wrap;
  }
  .footer-menu ul {
    margin-bottom: 10px;
  }
  .footer-badge {
    padding-top: 0;
  }
  .footer-menu,
  .footer-badge,
  .footer-links {
    width: 100%;
    margin: 0 0 15px 0;
    justify-content: center;
  }
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 440px) {
  .moduletable_head-menu ul {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 50px 50px 50px;
  }
  .moduletable_head-menu ul::before {
    height: 150px;
  }
  .footer-menu ul {
    margin-left: 0;
    margin-right: 0;
  }
  .footer-badge {
    flex-wrap: wrap;
  }
  .footer-badge .footer-badge-link {
    width: 100%;
    margin: 10px 0 0 0;
    text-align: center;
  }
}

span.portf_name {
  font-size: 16px;
}
nav.wrapper1 {
  padding-right: 20px;
}
.main #header {
  overflow: initial;
}

@media (min-width: 768px) {
  .moduletable_head-menu li.parent:hover .nav-child {
    display: block;
  }
  .menu-line {
    position: relative;
  }
  .menu-line::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 50px;
    top: 4px;
    /* left: -700px; */
    background-color: #468597;
    /* z-index: -1; */
  }
  .moduletable_head-menu ul {
    padding: 0 15px;
  }
}

.moduletable_head-menu .nav-child {
  height: auto;
  padding: 10px;
  position: absolute;
  top: 50px;
  left: -10px;
}
.moduletable_head-menu .nav-child li:not(:last-child) {
  margin-bottom: 10px;
}
.moduletable_head-menu .nav-child li:hover a {
  text-decoration: underline;
}
.moduletable_head-menu ul li {
  position: relative;
}
.moduletable_head-menu li.parent:hover .nav-child {
	width: 200px;
}
div.moduletable_head-menu li.deeper.parent > ul.nav-child.unstyled.small > li.deeper.parent a {
	text-decoration: none;
}
div.moduletable_head-menu li.deeper.parent > ul.nav-child.unstyled.small > li.deeper.parent a:hover {
	text-decoration: underline;
}
div.moduletable_head-menu li.deeper.parent > ul.nav-child.unstyled.small > li.deeper.parent > ul.nav-child.unstyled.small {
	display:none; 
	position: absolute;
	left: 200px;
	top: 0px;
	width: 220px;
}
div.moduletable_head-menu li.deeper.parent > ul.nav-child.unstyled.small > li.deeper.parent:hover  ul.nav-child.unstyled.small {
	display:block !important; 
}

ul.menu ul li a {
  background: transparent;
}
#header .search {
  top: 50%;
}
body #all {
  font-size: 16px;
}

.advantages-container {
  padding: 30px 0 30px 0;
  background-color: #f5f5f5;
}
.advantages {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}
.advantages-itm {
  display: flex;
  width: 24%;
}
.advantages-icon {
  margin-right: 25px;
}
.advantages-icon img {
  min-width: 50px;
  min-height: 50px;
}
.advantages-txt {
  font-weight: 500;
}

.tabs {
  margin-bottom: 40px;
}
.tabs__content {
  display: none;
}
.tabs__content.active {
  display: block;
}
.tabs__caption {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.tabs__caption li {
  padding-bottom: 5px;
  font-size: 16px;
  cursor: pointer;
}
.tabs__caption li:not(:last-child) {
  margin-right: 20px;
}
.tabs__caption li.active {
  padding-bottom: 3px;
  border-bottom: 2px solid #468597;
  font-weight: 700;
}
.delivery-item {
  margin-bottom: 25px;
}
.delivery-heading {
  font-weight: 500;
  margin: 10px 0;
}

.vm3pr-0 {
  text-align: center;
}
/*Блок на странице услуги*/
.preview-4 {
  text-align: center;
  margin-bottom: 20px;
}
.preview-4 .preview-item {
  display: inline-block;
  vertical-align: top;
  width: 30%;
  margin: 1%;
}
.preview-4 .preview-item img {
  width: 100%;
  height: 230px;
	object-fit: contain;
}
.preview-4 .preview-title {
  margin-top: 5px;
  font-size: 16px;
}
@media screen and (max-width: 690px) {
  .preview-4 .preview-item {
    width: 45%;
    margin: 10px;
  }
  .preview-4 .preview-item img {
    height: 200px;
  }
}
@media screen and (max-width: 490px) {
  .preview-4 .preview-item {
    width: 100%;
    margin: 15px 0;
  }
  .preview-4 .preview-item img {
    height: auto;
  }
}

.floatleft {
  float: left;
}
.width20 {
  width: 20%;
}
@media (max-width: 840px) {
  .width20 {
      width: 50%;
  }
}
@media (max-width: 400px) {
  .row div[class*="width"] {
      width: 100%;
      float: none;
      margin-bottom: 15px;
  }
}
.just{
text-align:justify;
}


.tabs__wrap{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.tabs__wrap li{
  margin: 10px 0px;
  font-size: 25px;
  text-decoration: none;
  list-style-type:none;
}

.tab__content{
  display: none;
}

.tab__content:target{
  display: block;
}

.tab-content {
  z-index: 0;
  background-color: white;
  position: absolute;
  top: 100px;
  width: 100%;
  height: 300px;
}
.tab-content:first-child {
  z-index: 1;
}
.tab-content:target {
  z-index: 2;
}

.tab-content table th{
  text-align: center !important;
}

.contact__container{
  display: flex;
}

.contact__container__map{
  padding-left: 20px;
}

.tab__content{
  width: 50%;
  margin: 0 auto;
}

table tr{
  text-align: center;

}

table tr:first-child th{
  background-color: #8f7039;
  background-image: -webkit-linear-gradient(top, #8f7039, #957743);
  font-weight: 500;
}

table tr:nth-child(2) th{
  background-color: #007f7e;
  background-image: -webkit-linear-gradient(top, #007f7e, #0e8484);
  font-weight: 500;
}


.tabs__wrap__title{
  padding: 15px 30px;
  border-radius: 15px;
  color: white !important;
  text-decoration: none !important;
  background-color: #468597;
  font-size: 20px;
}

.tabs__wrap li{
    margin: 20px 10px;
}

/* Ensure Montserrat font is available for titles, if desired.
   If you don't have it globally, you can add:
   @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
*/

/* --- Styles for Category Rows --- */
.row {
    display: flex;
    flex-wrap: wrap;
    /* Optional: Negative margins can help align rows if items have margins.
       Adjust or remove if your main container handles spacing.
       For example, if .category has margin: 10px;, these negative margins counteract it
       for the items at the very start/end of the row. */
    /* margin-left: -10px; */
    /* margin-right: -10px; */
    /* Add some space below each row of categories */
    margin-bottom: 20px;
}

/* --- Individual Category Card Styling --- */
.category {
    /* Layout: 4 items per row */
    /* Each item takes 25% of the width minus margins.
       Here, margin: 10px; means 10px on each side, so 20px total horizontal margin per item. */
    flex-basis: calc(25% - 20px); /* (100% / 4) - (left_margin + right_margin) */
    margin: 10px; /* Provides 10px spacing on all sides of the card (20px between cards) */
    
    /* Frame styles from your Figma example */
    background: #FFFFFF;
    /* The shadow 0px 4px 20px rgba(0, 0, 0, 0.1) is equivalent to 0px 4px 20px 0px #0000001A */
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;

    /* Override old layout styles if .floatleft or .width20 classes are present */
    float: none !important; 
    width: auto !important; /* Let flex-basis control the width */
    
    /* Card content styling */
    padding: 15px; /* Internal padding for content within the card */
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */

    display: flex; /* Use flex to structure content inside the card */
    flex-direction: column; /* Stack image and title vertically */
    /* text-align: center; /* Center-align text content if desired */
    /* Optional: Set a min-height if you want all cards to have a somewhat uniform height,
       e.g., min-height: 280px; Adjust based on your content. */
}

/* If you cannot remove .width20 from HTML, this rule helps, but flex-basis on .category is preferred. */
.category.width20 {
    /* This class likely sets width: 20%. flex-basis will override it in a flex context. */
    /* No specific override needed here if .row is display:flex and .category has flex-basis. */
}

/* --- Content within the Card --- */
/* The .spacer div might not need much styling if .category handles padding and flex layout. */
.category .spacer {
    flex-grow: 1; /* Allows spacer to fill vertical space if card has fixed/min-height */
    display: flex;
    flex-direction: column;
    width: 100%;
}

.category .cat-name {
    flex-grow: 1; /* Allows cat-name to fill vertical space within spacer */
    display: flex; /* Make the anchor fill this */
    flex-direction: column; /* Ensure anchor content stacks correctly */
    width: 100%;
}

.category .cat-name a {
    text-decoration: none;
    color: #333333; /* Default text color, consistent with Figma example's text */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center image and title horizontally */
    text-align: center;  /* Center text under the image */
    width: 100%;
    height: 100%; /* Make anchor fill the .cat-name space */
}

.category .browseCategoryImage {
    max-width: 100%; /* Ensure image is responsive and fits within the card */
    height: auto;   /* Maintain aspect ratio */
    margin-bottom: 10px; /* Space between image and title */
    /* Optional: if images have different aspect ratios and you want them to be uniform:
    /* object-fit: cover; */
    /* height: 150px; /* Set a fixed height for images */
    /* border-radius: 10px; /* Optional: Slightly rounded corners for images */
}

.category .catalog_title.h3 {
    /* Font from Figma example's text items, adjusted for a title */
    font-family: 'Montserrat', sans-serif; /* Use Montserrat if available */
    font-style: normal;
    font-weight: 700; /* Titles are generally bolder */
    font-size: 16px;  /* Adjust as needed for your design */
    line-height: 1.3; /* Adjust for readability */
    color: #333333;   /* Consistent text color */
    margin-top: auto; /* Pushes title to bottom if image doesn't take all space and card has min-height */
    margin-bottom: 0; /* Remove default margins */
}

form[name="exform"] input[type="text"],
form[name="exform"] input[type="email"],
form[name="exform"] textarea {
    width: 100% !important;
    padding: 18px 20px !important;
    margin-bottom: 20px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    background-color: #f8f9fa !important;
    font-family: 'Rubik', sans-serif !important;
}

form[name="exform"] textarea {
    min-height: 100px !important;
    resize: vertical !important;
}

form[name="exform"] input[type="text"]::placeholder,
form[name="exform"] input[type="email"]::placeholder,
form[name="exform"] textarea::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.exform_wrapper.request {
    background-color: #fff !important;
    padding: 40px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    width: 480px !important;
    max-width: 95% !important;
    box-sizing: border-box !important;
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1000 !important;
}

.exform_wrapper.request .close_btn_req {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    line-height: 30px !important;
    text-align: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 1001 !important;
}

.exform_main_header {
    font-size: 32px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-bottom: 8px !important;
    color: #333 !important;
}

.exform_subtitle {
    font-size: 18px !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    color: #555 !important;
}

.send_btn {
    background-color: #468597 !important;
    background: #468597 !important;
    color: white !important;
    border: none !important;
    padding: 18px 25px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    transition: background-color 0.3s ease !important;
    box-sizing: border-box !important;
    position: relative !important;
    opacity: 1 !important;
}

.send_btn:hover {
    background-color: #3a707f !important;
}

.send_btn .arrow {
    font-size: 24px !important;
    line-height: 1 !important;
    margin-left: 10px !important;
    position: absolute !important;
    right: 25px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.mf_submit {
    text-align: center !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

.exform_consent {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 25px !important;
    font-size: 14px !important;
    color: #555 !important;
}

.exform_consent input[type="checkbox"] {
    margin-right: 10px !important;
    width: 20px !important;
    height: 20px !important;
    accent-color: #468597 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

.exform_consent label {
    cursor: pointer !important;
    line-height: 1.4 !important;
}

.exform_consent a {
    color: #468597 !important;
    text-decoration: none !important;
}

.exform_consent a:hover {
    text-decoration: underline !important;
}

.exform_header {
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    color: #333 !important;
}
.exform_addmsg {
    font-size: 14px !important;
    margin-bottom: 15px !important;
    color: #555 !important;
}

.exform_addmsg_original_style {
    font-size: 13px !important;
    color: #666 !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
    text-align: left !important;
}
.exform_addmsg_original_style a {
    color: #468597 !important;
    text-decoration: none !important;
}
.exform_addmsg_original_style a:hover {
    text-decoration: underline !important;
}

input.name {
    display: none !important;
}

div[class*='-view'] .row {
  width: 100%;
}

.vm-col-4 {
  width: 24.9%;
  margin-bottom: 20px;
}