.galerie_link{
display:flex;
margin-bottom:20px;
justify-content:center;
flex-wrap: wrap;
}
.link_subcat,
.link_subcat:hover,
.link_subcat:active{
background-color:#000 !important;
border-color:#000 !important;
margin-right:15px !important;
color:#ffffff !important;
margin-bottom:15px;
/*width:200px;*/
font-weight:bold;
text-transform:uppercase;
}

.link_subcat.linkactive_galerie{
background-color:#b8b9af !important;
border-color:#b8b9af !important;
margin-right:15px !important;
color:#000 !important;
}
.link_subcat:hover,
.link_subcat:active{
background-color:#b8b9af!important;
border-color:#b8b9af!important;
margin-right:15px !important;
color:#000 !important;
}
.subcat_bloc{
position:relative;
width:100%;
min-height:210px;
}
.sub_galerie{
/*position:absolute;*/
width:100%;
}
.subcat_title{
text-align:center;
margin-bottom:20px;
}
#lightgallery{
margin:0 auto;
}
.grid-item{
float:left;
margin:5px;
}

/***************/
.thumb-modern figure{
margin-bottom:0;
}
/*.thumb-modern {
position: relative;
overflow: hidden;
display: block;
width: 100%;
margin-top: -1px;
padding-bottom: 75.21%;
transform: translate3d(0, 0, 0);
}

.thumb-modern img{
position: absolute;
top: 50%;
left: 50%;
will-change: transform;
transform: translate3d(-50%, -50%, 0);
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
max-width: none;
}*/
.thumb-modern__overlay{
position: absolute;
top: -1px;
right: -1px;
bottom: -1px;
left: -1px;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
background: rgba(0, 0, 0, 0.7);
opacity: 0;
transition: all .4s ease-out;
will-change: opacity, transform;
}
.thumb-modern__overlay:before{
position: relative;
display: block;
content: '\e86f';
font-family: 'Linearicons';
font-size: 60px;
color: #fff;
transform: scale(0);
will-change: transform;
transition: all .4s ease-out;
}
.thumb-modern:hover .thumb-modern__overlay{
opacity:1;
}
.thumb-modern:hover .thumb-modern__overlay:before{
transform:scale(1);
}