.gallery-columns-5 {
justify-content : center !important;
}

.gallery-size-full-gallery {
padding : 0 !important;
}
.full-gallery img:not(.sluzby img) {
width : 100%;
transition : 0.4s;
cursor : zoom-in;
}
.full-gallery div {
transition : 0.4s;
}
/* .full-gallery div:hover {
transform : scale(1.1,1.1);
}
.full-gallery div:hover img {
transform : scale(0.9,0.9);
} */

.gallery {
display : flex;
flex-wrap : wrap;
justify-content : space-between;

/* padding : 20px 0 20px 0; */

transition : 0.8s;

/* line-height : 0 !important; */
}

.gallery dl {
align-self : flex-start;
padding-bottom : 1em;
}
.gallery-icon, .thumb {
background : #009437;
}
.gallery dl img, .thumb img {
width : 100%;
filter : grayscale(100%);
opacity : 0.5 !important;
transition : 0.4s;
}
.article:hover .thumb img {
opacity : 1 !important;
}

.gallery dl:hover img {
transform : scale(1.1,1.1);
filter : grayscale(100%);
opacity : 1 !important;
cursor : zoom-in;
}

.gallery-caption {
display : none;
text-align : center;
font-size : 18px;
padding-bottom : 40px;
}

.gallery-columns-2 dl {
width : calc(50% - 20px);
}

.gallery-columns-3 dl {
width : calc(33.3% - 20px);
}

.gallery-columns-4 dl {
width : calc(25% - 20px);
}

.gallery-columns-5 dl {
width : calc(20% - 20px);
padding-left : 10px;
padding-right : 10px;
}

.gallery-columns-6 dl {
width : calc(16.6% - 20px);
}

.gallery-columns-7 dl {
width : calc(14.2% - 20px);
}

.gallery-columns-8 dl {
width : calc(12.5% - 20px);
}

@media screen and (max-width: 960px) {
.gallery {
margin-bottom : 60px !important;
}
.gallery-columns-3 dl {
/* width : calc(50% - 20px); */
width : 100%;
padding-bottom : 40px;
}

.gallery-columns-4 dl {
width : calc(50% - 20px);
padding-bottom : 40px;
}

.gallery-columns-5 dl {
width : calc(50% - 20px);
padding-bottom : 40px;
}

.gallery-columns-6 dl {
width : calc(50% - 20px);
padding-bottom : 40px;
}

.gallery-columns-7 dl {
width : calc(50% - 20px);
padding-bottom : 40px;
}

.gallery-columns-8 dl {
width : calc(50% - 20px);
padding-bottom : 40px;
}
}