.btn-custom {padding: 6px 10px; border: 2px solid #030303; border-radius: 4px; background: #fff; color: #030303 !important; cursor: pointer; text-decoration: none !important;}
.btn-custom:hover {background: #030303; color: #fff !important;}

.btn-custom.btn-custom-light {border-color: #eaedf2; background: #eaedf2; color: #030303 !important;}
.btn-custom.btn-custom-light:hover {border-color: #2b2e33; background: #2b2e33; color: #fff !important;}

.btn-custom.btn-custom-dark {border-color: #2b2e33; background: #2b2e33; color: #fff !important;}
.btn-custom.btn-custom-dark:hover {border-color: #030303; background: #030303; color: #fff !important;}

.btn-custom.btn-custom-primary {border-color: #ea0c08; background: #ea0c08; color: #fff !important;}
.btn-custom.btn-custom-primary:hover {border-color: #c50000; background: #c50000; color: #fff !important;}


#form_vopros, #form_contacts, #form_zayvka_popup, #form_callback_popup, #form_zamer_popup, #form_zamer_calc, #form_slider_uslugi, #form_catalog_popup {
  background: #f2f4f7 !important; border: none; border-radius: 12px; overflow: hidden;
}

#header_logo:hover {opacity: 1;}
#header .hdtopmenu {width: 124px; line-height: 1.35;}
#header .head_slide .hdtopmenu .fa {top: 11px;}
#header .hdtopmenu ul li {width: 230px;}
#header .hdtopmenu ul li a {padding: 10px 25px 10px 20px;}
#header_nomer, #header_top_email {display: flex; gap: 1rem; justify-content: center;}
#header_top_email {border-left: none;}
#header_logo_img img {max-width: 280px;}
#header .hdslide_contact_nomer {display: flex; gap: 1rem;}
.bx-filter.bx-green .bx-ui-slider-handle {filter: hue-rotate(250deg) saturate(5) brightness(0.9);}
.bx-filter.bx-green .bx-filter-input-container input:focus {border-color: #ea0c08;}
.bx-filter.bx-green .bx-ui-slider-pricebar-vn {background: #eaedf2;}
.bx-filter .bx-ui-slider-pricebar-v {background: #2b2e33 !important;}
.bx-filter .bx-filter-popup-result.right {background-color: #ea0c08 !important;}
.bx-filter .bx-filter-popup-result.right::before {border-right-color: #ea0c08 !important;}
.bx-filter .checkbox input[type="checkbox"]:checked + .ch_text::after {background-color: #ea0c08 !important;}
#catalog_element .pr-elemright .status_nal {color: #ea0c08;}
#catalog_section ul li a.link_name:hover {color: #ea0c08;}
#header .hdslide_contact_callback a:hover, #header .hdslide_contact_zayvka a:hover {opacity: 1;}
#catalog_element .pr-elemright .zakaz_doma a:hover, #section_element_menu ul#vertical-multilevel-menu li a.menu-name-active2:hover, #header .hdslide_contact_callback a:hover, #header .hdslide_contact_zayvka a:hover, #form_vopros button:hover {background: #c50000;}

#tabs > .tabs_block ul li {margin-bottom: 15px;}

#content {overflow: visible;}
#content a {color: #2b2e33;}
#content a:hover {color: #ea0c08;}
#content h1 {display: flex; flex-direction: row; align-items: center;}
#content h1::after {content: ''; display: inline-block; width: 80px; height: 3px; margin-left: 13px; background: #ea0c08; /*border-radius: 50rem;*/}

#catalog_section_list .box {border: none;}


#footer_bottom_main {display: flex; justify-content: space-between; align-items: center;}
#footer_copyrait, #developer {font-size: 0.8em;}
#footer_copyrait, #developer, #developer a {color: #b1b4b9;}

@media (min-width: 768px) {
#header_main {display: flex; justify-content: space-between; align-items: center;}
#header_logo, #header_contact, #header_top_search {margin-top: 0;}
#header_logo {order: 1;}
#header_top_search {order: 2; margin-right: auto; margin-left: 80px;}
#header_contact {order: 3;}
#header_nomer {font-size: 1.25rem; margin-bottom: 6px;}

#header_top {padding: 2px 0px 6px 0px;}
#header_top_main {display: flex; justify-content: space-between;}
#horizontal-multilevel-menu {display: flex !important; /*gap: 6px;*/ justify-content: space-between;}
#top_menu {height: 57px;}
#top_menu_main {background: #2b2e33/*#ea0c08*/;}
#top_menu ul li.item-selected, #top_menu ul li.root-item-selected {background: #030303/*#030303 #2b2e33 #eaedf2 #c50000*/; /*position: relative;*/}
#top_menu ul li.item-selected > a, #top_menu ul li.root-item-selected > a {color: #fff/*#ea0c08 #030303*/;}
#top_menu ul li.item-selected:hover > a, #top_menu ul li.root-item-selected:hover > a {color: #fff;}

#top_menu ul ul li.item-selected {background: #fff /*#eaedf2*/;}
#top_menu ul ul li.item-selected > a {color: #ea0c08;}

/*#top_menu #flvmenu > ul > li.item-selected::after, #top_menu #flvmenu > ul > li.root-item-selected::after {content: ''; display: block; position: absolute; bottom: 0px; left: 0px; right: 0px; height: 4px; background-color: #ea0c08;}*/
#top_menu #flvmenu > ul > li.item-selected > a:not(.flarr), #top_menu #flvmenu > ul > li.root-item-selected > a:not(.flarr) {position: relative;}
#top_menu #flvmenu > ul > li.item-selected > a:not(.flarr)::after, #top_menu #flvmenu > ul > li.root-item-selected > a:not(.flarr)::after {content: ''; display: block; position: absolute; bottom: 0px; left: 37px; right: 37px; height: 4px; background-color: #ea0c08;}
#top_menu #flvmenu > ul > li.item-selected:hover > a:not(.flarr)::after, #top_menu #flvmenu > ul > li.root-item-selected:hover > a:not(.flarr)::after {/*background-color: #fff;*/}

/*#top_menu ul li:hover {background: #c50000 !important;}
#top_menu ul ul li:hover {background: #ea0c08 !important;}*/
#flvmenu > ul > li {font-size: 16px;}
#flvmenu.menu-is-loaded > ul > li {flex-grow: 1; text-align: center;}
#flvmenu > ul > li > ul {top: calc(100% - 1px); min-width: 100%; text-align: left;}
#flvmenu > ul > li ul li {width: auto;}
#flvmenu > ul > li ul li a {white-space: nowrap;}

#uslugi_box .box, #uslugi .block_uslugi {/*width: 31.55%; margin: 0 2% 30px 0; margin-right: 2%;*/}

#tabs > .tabs_block {padding-top: 0px;}

#footer_top_main {padding: 40px 10px;}
#footer_menu > ul {display: flex; justify-content: space-around;}
#footer_nomer {font-size: 1.2rem; margin-top: 20px; /*display: none;*/}
#footer_email {width: 62%;}
}

#header .hdslide_home {background-color: #ea0c08;}
#header_top_search {/*margin: 12px 12px 0 0;*/}

.not-catalog-page #breadcrumb, .not-catalog-page #content {margin-left: 0;}
@media (max-width: 767px) {
.not-catalog-page #breadcrumb {padding-left: 3%; padding-right: 3%;}
#header_logo_img img {max-width: 200px;}
#header {display: flex; flex-direction: column;}
#header_top {order: 2; margin-bottom: 0;}
#header_main {order: 1;}
#top_menu_main {background-color: transparent; max-width: 100vw; min-width: 100vw;}
#top_menu {position: absolute; z-index: 10; right: 0px; top: 15px; width: auto; min-width: 0;}
#top_menu.admin-is-here {top: 50px;}
.minmenu {display: flex; justify-content: flex-end;}
.minmenu i {padding: 0px 15px; color: #000;}
.minmenu > a {display: none;}
#flvmenu > ul {background-color: #2b2e33;}
#flvmenu > ul li ul {background-color: #2b2e33;}

#catalog_section ul li {max-width: none;}
#catalog_element #tabs > ul {margin: 0px;}
#catalog_element .pr-elemright {padding: 0 0 50px 0;}
#catalog_element .pr-elemright .zakaz_doma {margin: 30px 0 0 0;}

#footer_top_main {padding-top: 30px;}
#footer_email {width: auto; display: flex; flex-wrap: wrap; justify-content: center; margin-bottom: 40px;}
#footer_nomer {font-size: 1.1rem; justify-content: center;}
#footer_menu ul li {padding: 0 0 15px 0; font-size: 1rem;}
#footer_bottom_main {flex-direction: column; gap: 1rem; padding: 30px 0;}
}

#contacts .right {float: right;}
#form_contacts {box-sizing: border-box;}
#contacts .left .fa-map-marker {margin-bottom: 30px;}
@media (max-width: 479px) {
#header_nomer {font-size: 1.1rem;}
#header_contact, #header_callback {margin-bottom: 15px;}
#contacts .left .fa-map-marker {margin-bottom: 60px;}

#content h1 {font-size: 1.25rem;}
#content h1::after {width: 60px; height: 2px;}
#content h4 {font-size: 1rem; margin: 20px 0 10px 0;}
}



.paymant-n-delivery {/*box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;*/ border: 5px solid #eaedf2; border-radius: 12px; background: #fff; overflow: hidden; padding: 15px; margin-top: 50px; background-image: url("i/bg-fixed2.jpg"); background-size: auto; background-position: bottom center; background-attachment: fixed; position: relative;}
.paymant-n-delivery::before {content: ''; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.95); z-index: 5;}
.paymant-n-delivery .pnd-inner {position: relative; z-index: 10;}
.paymant-n-delivery .btn-custom-wrapper {margin: 30px 0px 15px 0px;}

.too-advanced {margin-top: 50px;}
.too-advanced ul {list-style-type: none !important; margin: 0 !important; padding: 0; display: flex;}
.too-advanced ul li {margin: 0; padding: 0; flex: 0 0 33.33333%; max-width: 33.33333%;}
.too-advanced ul li > * {padding-right: 15px;}
.too-advanced h4 {display: flex; flex-direction: row; align-items: center; font-size: 1.25rem !important; font-weight: bold; margin-top: 0 !important;}
.too-advanced h4::after {content: ''; display: inline-block; width: 40px; height: 2px; margin-left: 9px; background: #ea0c08;}
.too-advanced h4 .fa {margin-right: 12px; color: #ea0c08; font-size: 150%;}
.too-advanced p {margin-bottom: 0 !important;}

.too-advanced.too-digits h4 {font-size: 1.875rem !important; /*color: #ea0c08;*/}
.too-advanced.too-digits h4::after {display: none;}
.too-advanced.too-digits h4 .fa {margin-right: 12px; color: #ea0c08; font-size: 100%;}

.form-vopros-phones {display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;}
.form-vopros-phones > span {display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;}
.form-vopros-phones > span a {text-decoration: none !important;}

#uslugi_box {margin-top: 50px;}
#uslugi_box .box {border-color: #fff /*#eaedf2*/;}
#uslugi_box .box-products ul {list-style-type: none; margin: 15px;}
.box-products img {width: 80px;}
#uslugi_box .img a {display: block; height: 100%;}
#uslugi_box .img img {border: none; mix-blend-mode: darken;}
#uslugi_box .img img:hover {opacity: 1;}
#uslugi_box .text h2 a:hover {opacity: 1; color: #ea0c08;}
.box-products li {margin-bottom: 10px;}
.box-products li a {padding: 2px 4px; border: 2px solid #fff /*#eaedf2*/; border-radius: 4px; display: flex; align-items: center; text-decoration: none !important; color: #ea0c08 !important; background: #fff; box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075) !important;}
.box-products li a:hover {border-color: #2b2e33; color: #2b2e33 !important;}
.box-products li a .fa {display: none;}
#uslugi_box .box, #uslugi .block_uslugi {width: auto; height: auto; margin: 0; margin-bottom: 30px; max-width: none; border-width: 1px; /*box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;*/ border-radius: 12px; background: #f2f4f7; overflow: hidden;}
#uslugi_box .btn-custom {margin: auto 0px 25px 15px;}

@media (min-width: 768px) {
#uslugi_box {display: -ms-grid;
  display: grid;
  grid-gap: 32px;
  -ms-grid-columns: 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr 32px 1fr;
  grid-template-columns: repeat(6,1fr);}
#uslugi_box .box, #uslugi .block_uslugi {width: auto; margin: 0; max-width: none; grid-column-start: span 3; display: flex; flex-wrap: wrap; align-content: start /*initial start*/;}
#uslugi_box .box:nth-child(3) {grid-column-start: span 6;}

#uslugi_box .img {width: 240px;}
#uslugi_box .img img {width: 100%; height: 100%; object-fit: cover; object-position: center;}
#uslugi_box .text {width: calc(100% - 240px); box-sizing: border-box;}
#uslugi_box .box-products {width: 100%;}
#uslugi_box .box-products ul {margin-top: 0px;}

#uslugi_box .img a {padding-left: 15px;}
}

@media (max-width: 767px) {
#uslugi_box .box, #uslugi .block_uslugi {display: flex; flex-direction: column; align-items: start;}
#uslugi_box .box-products, .box-products li a {width: 100%; box-sizing: border-box;}
#uslugi_box .box:nth-child(3n), #uslugi .block_uslugi:nth-child(3n) {margin-right: 0;}
#uslugi_box .img {width: 100%;}

#uslugi_box .img a {height: auto; padding-top: 60%; position: relative;}
#uslugi_box .img img {position: absolute; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;}
#uslugi_box {margin-top: 30px;}

.too-advanced {margin-top: 30px;}
.too-advanced ul {flex-direction: column;}
.too-advanced ul li {flex: 0 0 100%; max-width: 100%;}
.too-advanced ul li + li {margin-top: 20px;}
}

@media (max-width: 479px) {
.box-products img {width: 60px;}
#uslugi_box .text {padding-bottom: 0;}
}

