.header-search {
 margin-top: 16px;
 }

.fly-menu__search .header-search {
 margin-top: 0px;
 }

@media (max-width:991px){
    .header-search {
 margin-top: 0px;
 }
}   
    
.flex-wrap {
    flex-wrap: wrap;
}
 
 .header-phones {
    margin: 11px 30px 0 auto;
   
}

.header-phones__main {
    /*font-size: 1.4em;*/
    font-weight: 700;
}

.dropdown-menu li > a {
    font-size: 0.95em;

}

@media (max-width:767px){
   .header-phones {
   margin: 0 30px 0 auto; 
    }
    .header-logo {
    max-width: 240px;
    text-align: center;
    margin: auto;
    }
    .header-cart {
    margin-right: 40px;
}
a.product-thumb__name {
    font-size: 1.3em !important;
}

}   

/*.option__group-name {
 margin: 10px 0 0 0;
   
}
*/

.select2-container .select2-selection--single {
    height: 36px !important; 
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px !important;
  
}


footer {
    background-attachment: scroll;
    background-image: url("../image/fon-inv.png");
    background-position: center center;
    background-repeat: repeat;
    
}

.new-items {display:none;}
.list-group__children-a:before {
  content: "\f105";
}

a.btn {
    line-height: 32px;
}
.product-thumb__add-to-cart, 
.product-thumb__quick-order,
.btn-sm, .btn

 {
    height: 32px;
}

.form-control {
    height: 36px;
}   
.qty-switch__btn.fa {
   height: 18px;
}
.product-page .qty-switch__btn {
    height: 17px;
}

.well {
  background-color: #fffcdf;
  border: 1px solid #E8E7D5;
}

 .panel-default>.panel-heading {
  background-color: #fffcdf;
  border: 0px solid #E8E7D5;
  color:#4c3a33;
}
.panel-default {
   border-color: #E8E7D5;
}


.nav-tabs li a {
    background: #fffcdf;
    border: solid 1px #E8E7D5;
}

.nav-tabs li a:after {
    background: #fffcdf;
    border-right: 1px solid #ccc;
    border-top: 1px solid #E8E7D5;
    border-bottom: solid 1px #E8E7D5;
}

.nav-tabs {
    border-bottom: 1px solid #E8E7D5;
}

.nav-tabs>li>a:hover {
    border-color: #E8E7D5 #E8E7D5 #E8E7D5;
}

.nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: #fdf8be;
}

.nav-tabs li:hover a:after {
    background: #fdf8be;
}

.nav-tabs li.active:hover a:after {
     background: #fff;
}

.checkout-cart__header, .checkout-login {
    background: #fffcdf;
}


.modal-header {
    padding: 10px 15px;
    background: #4c3a33;
    border-radius: 6px 6px 0 0;
    color:#fffcdf;
}

h4.modal-title {
    font-size: 1.4em;
    color:#fffcdf;
}
.close {
    font-size: 26px;
    color:#fffcdf;
}   

.close:focus, .close:hover {
    color: #fffcdf;
    opacity: .5;
}


@media (min-width: 768px) {
.modal-sm {
    width: 500px !important;
}
}

.heading-h1:after {
    content: '';
    position: absolute;
    border-bottom: none;
    left: 0;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.home-page .html-module {
    padding: 20px 20px 5px;
   border: 1px solid #E8E7D5;
    border-radius: 4px;
    background: none;
}


/**menu-category**/

#category-module.list-group a,
#category-module.list-group a:focus {
    color: #5f4940;
    background: #feface;
}

#category-module.list-group a.active,
#category-module.list-group a.active:hover,
 #category-module.list-group a.active:focus,
  #category-module.list-group a:hover {
    color: #fffdef;
    background: #5f4940;
}



img[src=""] {
    display: none;
}

[id^="optiondescription"].modal {
    z-index: 1051;
}

.required label, .form-group label {
    padding: 13px 0 0 0;
} 

.category-wall__title.btn-primary {
    background:#4c3a33;
} 

.category-wall__item {
   background: rgba(255,252,223,0.40);
}

.category-wall__title {   
    padding: 7px 10px;
    line-height: 1.1em;
    font-size: 1.1em;
    opacity: .85;
}

.category-wall__title:after {
    position: absolute;
    display: block;
    top: 0;
    right: -7px;
    content: '';
    width: 14px;
    height: 100%;
    transform: skew(25deg);
    background: inherit;
}

@media (max-width:600px) {
.category-wall__title {   
    padding: 7px 10px;
    line-height: 1em;
    font-size: 0.9em;
    opacity: .85;
    width:100%;
}

.category-wall__title:after {
    position: absolute;
    display: block;
    top: 0;
    right: -5px;
    content: '';
    width: 10px;
    height: 100%;
    transform: skew(25deg);
    background: inherit;
}
}

.uni-slideshow__item {
   height: 360px;
}

@media (max-width:768px) {
    .uni-slideshow__item {
   height: auto;
}
}

.fly-menu {
   
    background: rgba(255, 253, 237, 1) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
   
}

.fly-menu__phone {
   color:#4c3a33;
}

.popover .select2-popover {
    width: 130px;
}

.ec-delivery .ec-calc-layout {
    background: transparent;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 1px 1px 3px 1px rgb(0 0 0 / 50%);
    -moz-box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.5);
    box-shadow: 1px 1px 3px 1px rgb(0 0 0 / 50%);
    display: block;
    height: auto;
    max-width: 100% !important;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px){
    .fabric-option .modal-dialog {
        width: 700px;
    }
}

@media (min-width: 1000px){
    .fabric-option .modal-dialog {
        width: 800px;
    }
}

@media (min-width: 1200px){
    .fabric-option .modal-dialog {
        width: 1000px;
    }
}

.fabric-option .rb-gallery-list {
    display: flex;
    flex-wrap: wrap;
}

.fabric-option .rb-gallery-item {
    width: 25%;
    cursor: pointer;
}

.fabric-option img {
    width: 100%;
    height: auto;
}

.fabric-option .text-gallery {
    text-align: center;
}

.fabric-option .rb-gallery-link {
    pointer-events: none;
}

.fabric-option .rb-gallery-img-outer {
    position: relative;
}

.fabric-option .rb-gallery-item.active .rb-gallery-img-outer:before {
    content: "";
    position: absolute;
    background: #00ff4e61;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.fabric-option .rb-gallery-item .fa-check-circle {
    opacity: 0;
    position: absolute;
    left: calc(50% - 20px);
    top: calc(50% - 20px);
    font-size: 40px;
    color: #fff;
    transition: all 0.3s ease;
}

.fabric-option .rb-gallery-item.active .fa-check-circle {
    opacity: 1;    
}


.header-block__item{display:flex;align-items:center}

.header-phones__main{font-size:15px;}

.header-emails{position:relative;margin:0 30px 0 auto;text-align:right;margin: 11px 30px 0 auto;}
.header-email__main{border-bottom:dotted 1px;cursor:pointer;font-size:15px;font-weight: 700;}

.header-addresses{position:relative;margin:0 30px 0 auto;text-align:right;margin: 11px 30px 0 auto;}
.header-address__main{border-bottom:dotted 1px;cursor:pointer;font-size:15px;font-weight: 700;}
.header-addresses__show-address{position:absolute;top:6px;z-index:9;margin:0 0 0 5px;font-size:.85em;color:#888;cursor:pointer}
.header-addresses__show-address:hover{color:#555}
.open .header-addresses__show-address{transform:rotate(-180deg)}
.header-addresses__ul {min-width: 250px;}
.header-addresses__text{padding:4px 15px;line-height:1.4em}



.header-top-right {
    display: flex;
}

.header-top-right .prmn-cmngr {
    margin-right: 10px;
}

.header-top-right .prmn-cmngr a.prmn-cmngr__city {
    font-size: .8em;
}

.heading h1 {
    position: relative;
    z-index: 2;
    padding: 0 15px 0 0;
    background: #fff;
    font-size: 1em;
    width: fit-content;
}