:root {
    --mc: #0084c9;
}
header .navbar-header > .row:first-child > .col .box h4 {
    margin: 0;
    font-size:19px;
}
.main-info h1{text-align:center;line-height:30px;color:#0084c9;margin:20px 0 40px 0;}
.info-big{font-size:18px;font-weight:600;}
.features .item a {
    padding: 20px 10px 20px 10px;
    text-decoration: none;
    background: #f8f8f8;
}
.features .item a:hover, .services .item a:hover, .action .item a:hover {border-color: transparent;}

.row .image p{text-align:center;font-size:18px;color:#0084c9;margin:10px 0 10px 0;}

.main-prod-img{width:30%;}

.js-detail .prices .price.cool {
      font-size: 24px;color: #0084c9; }

/*custom search*/
header .navbar .search-open.custom_search {
    display: inline-block;
    top: 0;
    right: 15px;
    padding: 0;
    border: unset;
   
}
.search-open.custom_search .search.lupa:before {
    content: '\f002';
}
/*--custom chekbox--*/
/*--agreement--*/
.mainform.rsform .agreement_container{
    text-align: left;
    display: block;
}
.custom-checkbox+label:before {
    content: ''!important;
    position: absolute;
    left: 0!important;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    background: 0 0;
    border: 1px solid #d7dbdd;
}
.rsform .field-wrap label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
    color: #000;
}
.custom-checkbox+label {
    position: relative;
    cursor: pointer;
    padding-left: 30px;
}
.custom-checkbox:checked + label:after {
    color: #ffffff;
    background: #0084c9;
    -webkit-box-shadow: 2px 0 0 #0084c9, 4px 0 0 #0084c9, 4px -2px 0 #0084c9, 4px -4px 0 #0084c9, 4px -6px 0 #0084c9, 4px -8px 0 #0084c9;
    box-shadow: 2px 0 0 #0084c9, 4px 0 0 #0084c9, 4px -2px 0 #0084c9, 4px -4px 0 #0084c9, 4px -6px 0 #0084c9, 4px -8px 0 #0084c9;
}
.custom-checkbox:checked+label:after {
    content: ''!important;
    position: absolute;
    left: 5px!important;
    top: 9px!important;
    background: #0084c9;
    width: 2px;
    height: 2px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-box-shadow: 2px 0 0 #0084c9, 4px 0 0 #0084c9, 4px -2px 0 #0084c9, 4px -4px 0 #0084c9, 4px -6px 0 #0084c9, 4px -8px 0 #0084c9;
    box-shadow: 2px 0 0 #0084c9, 4px 0 0 #0084c9, 4px -2px 0 #0084c9, 4px -4px 0 #0084c9, 4px -6px 0 #0084c9, 4px -8px 0 #0084c9;
}
input[type="submit"]:disabled {
    color: gray;
}
/*--cookies--*/
.bottom__cookie-block {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    position: fixed;
    bottom: 0;
    display: block;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.bottom__cookie-block > .container {
    box-sizing: border-box;
}
.flex_container_cookies {
    display: flex;
    padding: 7px;
    align-items: center;
    justify-content: center;
}
.flex_container_cookies a {
    font-weight: 600;
}
.flex_container_cookies > div:first-of-type a{
    color: #fff;
}
.flex_container_cookies > div:last-of-type {
    margin-left: 20px;
    display: flex;
    align-items: center;
}
.flex_container_cookies > div:last-of-type a{
    text-decoration: unset;
    background: #fff;
    color: #0084C6;
    text-decoration: unset;
    display: inline-block;
    padding: 7px 11px;
    font-weight: 600;
    cursor: pointer;
}
.js-detail .buyblock .delivery {
    text-align: center;
}
.js-detail .buyblock .buybtns a.btn-default:hover {
    background-color: #006396;
    border-color: #006396;
}
.js-detail .buyblock {
    background: #f8f8f8;
}
.js-detail .info_product {
    padding: 14px 18px;
    border: 1px solid #ebebeb;
    border-top: unset;
}
.js-detail .info_product a {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    text-align: center;
    text-decoration: none;
}
.js-detail .info_product .btn-primary {
    background-color: #e5f2f9;
    color: #5f9ec1;
    border-color: #e5f2f9;
}
.js-detail .info_product .btn-primary:hover {
    background-color: #c6e1ee;
    color: #5f9ec1;
    border-color: #c6e1ee;
}
.btn_icon {
    position: relative;
    transition: .3s;
    padding-left: 40px;
}
.info_product .phone_product a{
    font-size: 1.3em;
    margin-bottom: unset;
}
.btn_icon .icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    transition: .3s;
}
.btn_icon:hover .icon {
    transition: .3s;
    transform: translateY(-50%) scale(1.1);
}
.btn_icon:hover .icon.phone {
    animation: rotate .5s infinite linear;
    animation-direction: alternate;
}
.btn_icon:hover {
    color: #0084c9;
    transition: .3s;
}
.product_doc .btn_icon {
    padding-left: 30px;
}
.product_doc .btn_icon .icon {
    left: 0;
}
.product_doc .btn:active {
    box-shadow: unset;
}
/*header*/
header .navbar-header > .row:first-child > .col .box h4 {
    font-size: 18px;
}
.pl0{
    padding-left: unset!important;
}
header .box.adress {
    font-size: 15px;
}
header .box.adress .in > div:not(:last-of-type){
    margin-bottom: 5px;
}
header .box.contacts {
    text-align: end;
    vertical-align: baseline!important;  
}
header.style4 .b-headcart,
header .box.contacts  {
    padding-top: 5px;
}
header .contacts .phone {
    font-size: 22px;
}
header .box.contacts .email_header {
    font-size: 15px;
    color: var(--mc);
}
header.style4 .b-headcart .b-headcart__link {
    background-color: #e5f2f9;
    border-color: #e5f2f9;
    color: #0589cb;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 16px;
}

header.style4 .b-headcart .b-headcart__icon svg {
    fill: #0589cb;;
}
/*------31.03.2020------*/
.adress_item{
    margin-bottom: 19px;
}
.adress_item:not(:last-of-type) {
    padding-bottom: 19px;
    border: 0;
    border-bottom: 1px solid #eeeeee;
}
/*--fix menu bottom--*/
.header_menu_footer  {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: var(--mc);
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_menu_footer .phone {
    font-size: 2rem;
}
.header_menu_footer .phone a {
    text-decoration: unset;
    color: #fff;
}
.header_menu_footer .phone svg {
    width: 35px!important;
    height: 35px!important;
}
.header_menu_footer .btn_icon .icon {
    left: 0px;
}


@media (max-width:991px) {
    header .navbar .search-open.custom_search {
        position: static;
        width: 100%;
    }
}

@media (min-width:991px) {
	.staff .item .data.row {
		height: 145px;
    }
    .nav.main-menu-nav {
        padding-right: 0
    }
   
}
@media (min-width: 992px) {
    header .navbar .search-open.custom_search {
        width: 30%;
    }
    header .navbar-default .navbar-nav li > a {
        padding-left: 17px;
        padding-right: 17px;
    }
    .nav.main-menu-nav {
        width: calc( 100% - 100px);
        display: inline-block;
    }
    .col-md-3.w20 {
        width: 22%;
    }
    .col-md-2.wc {
        width: 19%;
    }
    header.style4 .b-headcart .b-headcart__icon svg {
        width: 18px;
        height: 18px;
    }
}
@media(max-width: 991px) and (min-width: 768px), (min-width: 992px) and (max-width: 1200px){
    header .contacts .phone a {
        padding-left: unset;
    }
    header .contacts .phone a.btn_icon .icon {
        left: -30px;
    }
}
@media(min-width: 992px) and (max-width: 1200px){
    .info_product .phone_product a {
        font-size: 1em;
    }
    header .navbar-header > .row:first-child > .col .box h4,
    header .box.adress {
        font-size: 14px;
    }
    header .contacts .phone {
        font-size: 18px;
    }
}
@media (min-width: 1200px) {
    header .navbar .search-open.custom_search {
        width: 215px;
    }

}
@media (max-width: 991px) {
	html .page-header {margin: 15px 0 5px 0;}
	html .page-header h1 {margin: 0px;font-size: 24px;font-weight: 400;}
	.js-detail .prices {margin-bottom: 15px;text-align: center;}
	.js-detail .prices .price.cool {display: inline-block;margin-left: 8px;}
	footer .container {padding-top: 18px;text-align: center;}
	footer .footer_logo_wrap {max-width: 100%;}
}


@media (max-width: 600px) {
	.thumbs {display: none;}
}



.d-none { display: none !important; }

@media (max-width: 400px){
    .fancybox-outer .fancybox-inner {

        max-width: unset;
    }
}


@media (min-width: 769px){
    .fancybox-inner .mainform .buttons span {
        float: unset;
        margin-bottom: 0px;
    }
    .header_menu_footer {
        display: none;
    }
}



@keyframes rotate {
    0% {transform: translateY(-50%) rotate(0)}
    33% {transform: translateY(-50%) rotate(15deg)}
    66% {transform: translateY(-50%) rotate(0)}
    100% {transform: translateY(-50%) rotate(-15deg)}
}

/*--popup info--*/
.popupgallery .preview {
    max-height: unset;
}
.price_popup {
    margin-bottom: 15px;
}
.price_popup .price.cool{
    color: var(--mc);
    font-size: 24px;
}
.phone_popup {
    background-color: #0083c924;
    position: relative;
}
.phone_popup span {
    font-size: 1.3em;
}
@media(max-width: 576px){
    .fancybox-type-ajax.fancybox-wrap{
        width: 90%!important;
    }
    .fancybox-type-ajax .fancybox-inner {
        width: 100%!important;
    }
}

/*--27.11.2020--*/
.box.contacts.qr-container {
    display: flex;
    column-gap: .9rem;
    flex-wrap: wrap;
    justify-content: center;
}
.box.contacts.qr-container .in {
    display: flex;
    align-items: center;
}
.qr-container img{
    max-width: 70px;
}
.qr-container a {
    font-size: 22px;
    font-family: "Roboto", sans-serif;
    text-decoration: unset;
}
.qr-container a.btn_icon {
    padding-left: 30px;
}
.qr-container .btn_icon .icon {
    left: 3px;
}
@media (max-width: 991px){
    .box.contacts.qr-container {
        justify-content: center;
    }
}
@media (max-width: 480px){
    header .contacts .phone,
    .qr-container a {
        font-size: 20px;
    }
    .box.contacts.qr-container .in {
        flex: 1 1 100%;
        justify-content: space-between;
    }
    .box.contacts.qr-container .in .in-t {
        padding-left: 15px;
    }
    .box.contacts.qr-container {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

}
/* .qr-container {
    display: flex;
    margin-top: -25px;
    justify-content: center;
    column-gap: 1rem;
}

@media (max-width: 991px) and (min-width: 768px){
    .qr-container {
        position: fixed;
        right: 0;
        flex-direction: column;
        top: 140px;
        z-index: 100;
        background-color: #0084c9;
        padding: 5px;
        row-gap: 5px;
    }
    .qr-container img{
        max-width: 50px;
    }
}
@media (max-width: 767px){
    .qr-container {
        display: none;
    }
} */
.box.contacts.qr-container .sklad_info.in {
    display: flex;
    flex-flow: column wrap;
    align-items: flex-start;
    font-family: "Roboto", sans-serif;
    /* color: #000; */
    margin-left: 5px;
}
.box.contacts.qr-container .sklad_info.in span {

    font-size: 1.5rem;
}
.box.contacts.qr-container .sklad_info.in a {
    /* font-weight: 500; */
    /* color: #000; */
    font-size: 1.8rem;
}
.box.contacts.qr-container .sklad_info.in a:hover {
    color: #0084c9;
}
@media (max-width: 480px){
    .box.contacts.qr-container .sklad_info.in {
        margin-top: 15px;
    }

}

.phone-container {
    position: relative;
    padding-left: 40px;
    max-width: 235px;
    text-align: right;
}

.phone-container a{
    display: block;
    text-decoration: none;
    transition: .3s;
    font-family: "Roboto", sans-serif;
    font-size: 22px;
}

.phone-container:before {
    content: '';
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 384' fill='%230084c9' width='20px' height='20px'%3E%3Cpath d='M353.188 252.052c-23.5 0-46.594-3.677-68.47-10.906-10.72-3.656-23.896-.302-30.438 6.417l-43.177 32.594c-50.073-26.73-80.917-57.563-107.28-107.26l31.635-42.052c8.22-8.208 11.167-20.198 7.635-31.448-7.26-22-10.948-45.063-10.948-68.583C132.146 13.823 118.323 0 101.333 0h-70.52C13.823 0 0 13.823 0 30.813 0 225.563 158.438 384 353.188 384c17 0 30.813-13.823 30.813-30.813v-70.323c-.001-16.99-13.824-30.812-30.813-30.812z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    left: 5px;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.phone-container:hover:before {
    animation: rotate .5s infinite linear;
    animation-direction: alternate;
}
.phone-container a:hover {
    color: #0084c9;
    transition: .3s;
}

.fancybox-inner .shops_list_ .item {
    width: 100%!important;

}

.fancybox-inner .shops_list_ .item + .item {
    margin-top: 30px;
}

.fancybox-inner .shops {
    margin-left: 0!important;
    margin-right: 0!important;
}

.coolHeading{
    padding-bottom: 4px;
    line-height: 30px;
    border-bottom: 1px solid #ebebeb;
}

.coolHeading .secondLine{
    position: relative;
    top: 4px;
    border-bottom: 2px solid #0084c9;
}

/* @media (min-width: 1200px) { */
    .popupgallery .changeit {
        max-height: 400px;
        height: auto;
    }
    .popupgallery .changeit img {
        height: auto;
        max-height: 430px;
    }

/* } */

@media (min-width: 767px) {
    .phone_popup {
        display: inline-block;
        padding: .5rem 1rem;
    }
    .popupgallery .preview {
        display: flex;
    }
    .price_popup {
        margin-bottom: 0;
        margin-right: 2rem;
    }
}


span.roboto{
font-size: 18px;
font-family: "Roboto", sans-serif;
font-weight: 400;
color: #0084c9;
}

/* Каталог: плитки разделов и товаров (как у образца) */
.gallery .image_cont{position:relative;padding-top:66.768292682927%}
.gallery .image_cont img.lazyload{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:contain}
.gallery .item .info{padding:10px 15px}
.gallery .item .name{color:#0084c9;font-size:15px;line-height:1.25}
.gallery .item a.clearfix{display:block;border:1px solid #ebebeb;background:#fff}
.gallery .item a.clearfix:hover{border-color:#b8b8b8}
.gallery.products .item .image_cont img.lazyload{object-fit:contain}


/* === DI menu fix: клик по верхнему пункту ведёт на страницу, подменю по наведению === */
@media (min-width: 992px) {
  header .main-menu-nav > li.dropdown { position: relative; }
  header .main-menu-nav > li.dropdown > ul.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10000;
  }
  header .main-menu-nav > li.dropdown:hover > ul.dropdown-menu,
  header .main-menu-nav > li.dropdown.open > ul.dropdown-menu {
    display: block;
  }
  header .main-menu-nav > li.dropdown > a.di-parent-link { position: relative; }
  header .main-menu-nav > li.dropdown > a.di-parent-link .di-caret {
    display: none;
  }
}
/* на мобильных подменю раскрывается по клику (класс .open вешает скрипт ниже) */
@media (max-width: 991px) {
  header .main-menu-nav > li.dropdown.open > ul.dropdown-menu { display: block; }
}
