ul.subcategories.with-image {
    margin-left: -5px;
    margin-right: -5px;
}
.subcategories li a {
    border: 1px solid #cfcfcf;
    margin: 5px;
}
.subcategories.with-image li {
    padding: 0px;
}

.type-category .subcategories li a{
    box-shadow: unset;
    border-color: #cfcfcf;
}
.type-category .subcategories li a span.text {
    line-height: 1.1;
	font-size: 13px;
	padding: 5px;
	padding-left: 2px;
}
.type-category .subcategories li a:hover span.text {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

@media (min-width: 1440px){
    .type-category .subcategories .col-xl-3 {
        width: 20%;
    }
    .type-category .subcategories.with-image li a .image{
        width: auto;
        padding: 3px;
    }
    .type-category .subcategories.with-image li a .image img{
        max-height: 40px;
    }
    .type-category .subcategories.with-image li a .text {
        width: auto;
    }
    .type-category .subcategories li a{
        height: auto;
    }
}
@media (min-width: 1200px) and (max-width: 1439px){
    .type-category .subcategories .col-xl-3 {
        width: 33%;
    }
    .type-category .subcategories.with-image li a .image{
        width: auto;
    }
    .type-category .subcategories.with-image li a .image img{
        max-height: 40px;
    }
    .type-category .subcategories.with-image li a .text {
        width: auto;
    }
    .type-category .subcategories li a{
        height: auto;
        padding: 7px;
    }
}
@media (min-width: 480px) and (max-width: 1199px){
    .type-category .subcategories.with-image li a .image{
        width: auto;
    }
    .type-category .subcategories.with-image li a .image img{
        max-height: 40px;
    }
    .type-category .subcategories.with-image li a .text {
        width: auto;
    }
    .type-category .subcategories li a{
        height: auto;
        padding: 7px;
    }
}
@media (max-width: 479px){
    .type-category .subcategories.with-image li a .image{
        width: auto;
    }
    .type-category .subcategories.with-image li a .image img{
        max-height: 40px;
    }
    .type-category .subcategories.with-image li a .text {
        width: auto;
    }
    .type-category .subcategories li a{
        height: auto;
        padding: 7px;
    }    
}

.type-category .category-top .products-inline.products-top {
    background: #fdf7ed;
    padding-bottom: 10px;
}
.type-category .category-top h4 {
    background: #fdf7ed;
    margin-bottom: 0px;
    padding: 20px;
    padding-bottom: 10px;

}
.type-category .category-top .products-inline.products-top > div .p .image img {
    border: 5px solid white;
}
.type-category .products-inline.products-top .name span{
	font-size: 14px;
	line-height: 1.2 !important;
	color: #000000;
	padding-bottom: 4px;
	display: inline-block;
}
.type-category .products-inline.products-top .name{
	line-height: 1.2 !important;
}

.type-category .products-inline.products-top .availability {
	font-sisze: 14px;
}
.type-category .products-inline > div .p .price strong{
	font-size: 16px;
}
