.box_galerie{
background-color: rgba(238,238,238,0.36);
}

.div_galerie{
padding: 70px 15px 60px 15px;
width: 1170px;
box-sizing: border-box;
max-width: 100%;
margin: 0px auto;
}

.box_galerie .twor{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 95px;
}
.box_galerie .twor a{
display: block;
text-align: center;
}
.box_galerie .twor a .rowImg{
display: block;
margin-bottom: 20px;
overflow: hidden;
}
.box_galerie .twor a .rowImg img{
max-width: 100%;
height: auto;
transition:all 0.5s ease-out 0s;
}
.box_galerie .twor a:hover .rowImg img{
transform: scale(1.1);
}

.box_galerie .twor a .rowTytul{
display: block;
font-size: 20px;
font-weight: 700;
line-height: 1.2em;
background-color: var(--g3-color);
border: 1px solid var(--g3-color);
color: #FFFFFF;
padding: 14px 55px 14px 20px;
box-sizing: border-box;
position: relative;
transition:all 0.5s ease-out 0s;
text-align: left;
}

.box_galerie .twor a .rowTytul:hover{
background-color: #FFFFFF;
color: var(--g3-color);
}

.box_galerie .twor a .rowTytul:after{
content: "";
width: 16px;
height: 16px;
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAKFJREFUOE9jZMADgvMqFzD8Z/y/dnJbIi5ljLgkQnIqHBiYmPaD5P//Z1iAyxCcBoA0BuVWJTAxMszHZwheA4gxhKABhAwhygB8hhBtAC5DGEPyqv7ji0p8cqDYocwAhv8LyfcCUPPaSe0JRBuAkiagmkHeI8oAXJqJMgCfZoIGENKM14CAggoFln9M98H5AMnP6NFKMDMxMv53AIU2rvQAAHDCacRWWVNYAAAAAElFTkSuQmCC') 50% 50% no-repeat;
display: inline-block;
vertical-align: middle;
filter: brightness(0) invert(100%);
position: absolute;
right: 24px;
top:0px;
bottom: 0px;
margin: auto;
transition:all 0.5s ease-out 0s;
}
.box_galerie .twor a .rowTytul:hover:after{
filter: brightness(100%) invert(0%);
}

@media screen and (max-width:1200px){
.div_galerie .twor a .rowTytul{font-size: 20px}
.div_galerie{padding: 30px 15px;}
}
@media screen and (max-width:1080px){
.div_galerie .twor{grid-gap: 20px;}
}
@media screen and (max-width:550px){
.div_galerie .twor{
grid-template-columns: 1fr;
}
}