.allcategoryimage h4 {
    text-align: center;
}

.boxac.subcat {
    border-bottom: 0;
    padding-bottom: 0;
        margin-bottom: 2em;
}

.boxac-product.boxac-subcat {
    margin-top: 0 !important;
}
.boxac-product {
    width: 100%;
    margin: 0;
    padding: 0;
}

 .boxac-product ul{
    list-style: none;
}
#content .boxac .boxac-content .boxac-product ul li.cat-height {
    border: 0px;
}
.boxac-product li {
    margin-bottom: 2.5em;
}
.boxac-product li.down {
    margin: 0.2em;
    line-height: 1.5em;
    height: 3em;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.boxac-product  li a:visited {
    color: #fff;
    text-decoration: none;
} 
.boxac-product  li a {
    color: #fff;
     width: 95%;
    text-decoration: none;
}    
.boxac li .padding, .boxac li {
    position: relative;
}

.boxac li .padding, .boxac li {
    position: relative;
}
.boxac-product .padding {
    border: 1px solid #d9d6d4;
    text-align: center;
}

.boxac-product .image2 a, .subcat .image a{
    display: block;
    margin: 0.5em;
    overflow: hidden;
}
.subcat .image {
    border-bottom: 1px solid #d9d6d4;
}
.boxac-product.boxac-subcat .name.subcatname {
    padding: 10px 5px;
    margin-bottom: 1em;
    overflow: hidden;
}
.name.subcatname {
    height: 3em;
}

.boxac-product .name a {
    display: inline;
}
.name a {
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2em;
    color: #343434;
}

@media (min-width: 768px) {
.allcategoryimage a:hover >img{
    transform: scale(1.1,1.1);
    -o-transform: scale(1.1,1.1);
    -moz-transform: scale(1.1,1.1);
    -webkit-transform: scale(1.1,1.1);
}
.col-smallcat-4 {
    width: 33.33333333333333%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.col-smallcat-4c {
    width: 18.33333333333333%;
    float: left;
    position: relative;
    min-height: 1px;
}
}