.content-text .categoryD ul{display:grid;list-style:none;margin:0;grid-gap:10px 10px;overflow: visible}
.content-text .categoryD ul li{padding:0;display:inline-block;}
.content-text .categoryD ul li:before{display:none;}
.content-text .categoryD ul li a{display:block;position:relative;overflow:hidden;border:1px solid #E3E3E3;height: 100%;display: flex;flex-direction: column}
.content-text .categoryD ul li a img{display:block;}
.categoryD ul li a .titleCat{display:block;word-wrap:break-word;width:100%;text-align:center;padding:5px;box-sizing:border-box;color:#000000;transition:all 0.5s ease-out 0.3s;border-top:1px solid #FFFFFF;flex: 1}
.categoryD ul li a .spImg{display:block;position:relative;overflow:hidden;}
.categoryD ul li a .spImg .imgTresc{position:absolute;width:100%;box-sizing:border-box;bottom:0;left:0px;padding:10px;font-size:12px;line-height:1.4em;background-color:rgba(0,0,0,0.8);color:#FFFFFF;opacity:0;transition:all 0.5s ease-out 0s;transform:translateY(100px);}
.categoryD ul li img{vertical-align:top;width:100%;max-width:100%;z-index:0;position:relative;box-sizing:border-box;opacity:1;transition:opacity 0.35s,transform 0.55s;transform:scale3d(1,1,1);}
.categoryD ul li .spImg::before{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(255,255,255,0.5);content:'';transition:transform 0.6s;transform:scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,-120%,0);z-index:100;}
.categoryD ul li a:hover .spImg::before{transform:scale3d(1.9,1.4,1) rotate3d(0,0,1,45deg) translate3d(0,120%,0);}
.categoryD ul li a:hover img{opacity:0.95;transition:opacity 0.35s,transform 0.55s;transform:scale3d(1.05,1.05,1);}
.categoryD ul li a:hover .spImg .imgTresc{opacity:1;transform:translateY(0);}
.categoryD ul li a:hover .titleCat{background-color:#000000;color:#FFFFFF;}

@media screen and (max-width: 1200px) {

.content-text .categoryD ul{gap: 10px !important;}
.categoryD ul li a .titleCat{font-size: 14px;line-height: normal}
}