.contentHeaderBlockExtra{border-bottom:1px solid #CCC;border-top:1px solid #CCC;margin-bottom:20px;padding:20px 0;}

#contentHeaderBlock{height:300px;position:relative;width:100%;}
#contentHeaderBlock h1{background-color:rgba(255, 255, 255, 0.5);height:100px;line-height:100px;left:calc(50% - 40%);position:absolute;top:calc(50% - 50px);text-align:center;width:80%;z-index:999;}
#contentHeaderBlock img{height:300px;object-fit:cover;width:100%;}

#contentHeaderBlockSmall{min-height:300px;position:relative;width:100%;}
#contentHeaderBlockSmall img{display:block;float:left;height:300px;max-width:100%;}

#categoryInfoTextHolder{
    height:100%;
    position:absolute;
    right:0;
    top:0;
    width:calc(100% - 560px);
    z-index:99990;
}
#categoryInfoTextHolderFullSize{display:grid;float:right;height:100%;width:100%;}
#categoryInfoText{display:grid;height:100%;}
#categoryInfoText p{
    background-color:rgba(255,255,255, 0.5);
    font-size:85%;
    align-self:center;
    justify-self:center;
    padding:20px;
    text-align:center;
}
#categoryInfoText h1{font-size:120%;}


#productsWrapper{
    margin-bottom:10px;
}
#productsWrapper::after{
    clear:both;
    content:'';
    display:table;
}
#productsHolder{
    float:right;
    width:calc(100% - 210px);
}
#productsPlacer::after{
    clear:both;
    content:'';
    display:table;
}
.productItem{
    background-color:#FFF;
    border-radius:10px;
    float:left;
    height:auto !important;
    height:100px;
    margin:5px 0 5px 10px;
    min-height:100px;
    padding-bottom:10px;
    text-decoration:none;
    width:calc((100% / 3) - 10px);
}
.productImgPlacer{
    height:250px;
    position:relative;
}
.productImgPlacer img{
    border-radius:10px;
    display:block;
    max-height:150px;
    margin:0 auto;
    max-width:150px;
    position:relative;
    top:50%;
    transform:translateY(-50%);
    -webkit-transform:translateY(-50%);
    -ms-transform:translateY(-50%);
}
@media only screen and (max-width:1044px){
    #productsHolder{
        clear:right;
        width:100%;
    }
    .productItem{
        width:calc((100% / 2) - 10px);
    }
    #contentHeaderBlockSmall img{height:300px;object-fit:cover;width:100%;}
    #categoryInfoTextHolder{
        margin-top:300px;
        position:relative;
        width:100%;
    }
}
@media only screen and (max-width:800px){
    .productItem{
        width:calc(100% - 10px);
    }
}

.productItem h4{
    color:#424851;
    font-size:100%;
    height:30px;
    line-height:30px;
    text-align:center;
}
.productItem p{
    font-size:85%;
}
.productPrice{
    color:#222;
    display:block;
    font-weight:bold;
    height:20px;
    text-align:center;
}
.productSmallDesc{
    color:#333;
    height:20px;
    text-align:center;
}
.productStockBadge{
    border-radius:999px;
    display:inline-block;
    font-size:75%!important;
    font-weight:700;
    margin:4px auto 6px;
    padding:4px 10px;
    text-align:center;
}
.productStockBadge-in{
    background:#e7f6ec;
    color:#1f7a3f;
}
.productStockBadge-low{
    background:#fff3d6;
    color:#9a6700;
}
.productStockBadge-out{
    background:#fde7e7;
    color:#b42318;
}

.productImgWrapper{
    position:relative;
}
.productImgOverlay{
    background-color:rgba(0,0,0,0.5);
    border-radius:10px;
    color:#FFF;
    display:none;
    font-size:400%;
    height:250px;
    line-height:250px;
    margin-left:10px;
    position:absolute;
    text-align:center;
    width:calc(100% - 20px);
    z-index:999;
}

.productItem:hover{
    cursor:pointer;
}
.productItem:hover .productImgOverlay{
    display:block;
}

#productsNav{
    display:table;height:40px;margin:0 auto;margin-top:10px;
}

#productsNav a{background-color:#EFEFEF;color:#111;display:block;float:left;height:40px;line-height:40px;margin:0 5px;text-align:center;text-decoration:none;width:40px;}
#productsNav a:hover{background-color:var(--main-color);color:#FFF;cursor:pointer;}
#productsNav a#navListActive{background-color:var(--main-color);color:#FFF;}

#productCategories{float:left;margin-top:5px;width:200px;}
.productCategory h2:first-child{border-top:none;margin-top:0;}
.productCategory h2{border-top:1px solid #CCC;font-size:100%;height:50px;line-height:50px;margin-top:20px;}

.filterListMore{background-color:#F9F9F9;cursor:pointer;display:block;height:30px;line-height:30px;margin-top:10px;text-align:center;width:100%;}
#filterListMoreActive{background-color:#BBB;}
.filterListBottom{display:none;}
#showFilterListBottom{display:block!important;}

#productsList{float:right;width:calc(100% - 210px);}
.productCategoryListLine::before{border:1px solid #333;border-color:#999;content:"";display:block;float:left;height:10px;line-height:20px;margin:3px 10px 0 0;width:10px;}
.productCategoryListLine{color:#777;cursor:pointer;display:block;height:20px;line-height:20px;text-decoration:none;width:100%;}
.productCategoryListLine::after{clear:both;content:'';display:table;}
.productCategoryListLineActive::before{background-color:#999;height:5px;margin:6px 13px 0 2px;width:5px;}

#filterWrapper{
    float:left;
    margin-top:5px;
    width:200px;
}
#filterWrapper::after{
    clear:both;content:'';
    display:table;
}
.filterHolder h2{
    border-top:1px solid #CCC;
    font-size:100%;
    height:50px;
    line-height:50px;
    margin-top:20px;
}

.filterLine::before{border:1px solid #333;border-color:#999;content:"";display:block;float:left;height:10px;line-height:20px;margin:3px 10px 0 0;width:10px;}
.filterLine{color:#777;cursor:pointer;display:block;height:20px;line-height:20px;text-decoration:none;width:100%;}
.filterLine::after{clear:both;content:"";display:table;}
.filterLineActive::before{background-color:#999;height:5px;margin:6px 13px 0 2px;width:5px;}

#filterMenu{
    display:none;
    height:50px;
    line-height:50px;
    margin:0 auto;
    text-align:center;
    width:50px;
}
#productCategories.show-on-mobile {
    display:block;
}
#close-filter-menu {
    background-color:#EFEFEF;
    color:#FFF;
    display:none;
    height:50px;
    line-height:50px;
    text-align:center;
}
#close-filter-menu i {
    color:#000;
    pointer-events:none;
}

@media only screen and (max-width:1044px){
    #close-filter-menu {
        cursor:pointer;
        display:block;
    }
    #productCategories{
        display:none;
        margin-top:0;
    }
    #filterMenu{
        cursor:pointer;
        display:block;
    }

    #productCategories{
        background-color:#FFF;
        display:none;
        height:100%;
        left:0;
        overflow:auto;
        position:fixed;
        top:0;
        width:100%;
        z-index:99999;
    }
}
