.gallery-columns-5 {
justify-content : center !important;
}

.gallery-size-full-gallery {
padding : 2em 0 0 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 : 100px 0 100px 0;

transition : 0.8s;

/* line-height : 0 !important; */
}

.gallery dl {
align-self : flex-start;
padding-bottom : 1em;
}

.gallery dl img {
width : 100%;
transition : 0.4s;
}

.gallery dl:hover img:not(.sluzby dl:hover img) {
transform : scale(1.1,1.1);
cursor : zoom-in;
}

.gallery-caption {
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 {
padding-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;
}
}