.big {
	-ms-grid-row: 1;
	-ms-grid-row-span: 3;
	-ms-grid-column: 1;
	-ms-grid-column-span: 3;
	grid-area: big;
	background-image: url(../img/realizace/1.jpg);
}

.small1 {
	-ms-grid-row: 1;
	-ms-grid-column: 5;
	grid-area: small1;
	background-image: url(../img/realizace/2.jpg);
}

.small2 {
	-ms-grid-row: 1;
	-ms-grid-column: 7;
	grid-area: small2;
	background-image: url(../img/realizace/3.jpg);
}

.small3 {
	-ms-grid-row: 3;
	-ms-grid-column: 5;
	grid-area: small3;
	background-image: url(../img/realizace/4.jpg);
}

.small4 {
	-ms-grid-row: 3;
	-ms-grid-column: 7;
	grid-area: small4;
	background-image: url(../img/realizace/5.jpg);
}

.big-2 {
	background-image: url(../img/realizace2/nahled1.jpg);
}

.small1-2 {
	background-image: url(../img/realizace2/nahled2.jpg);
}

.small2-2 {
	background-image: url(../img/realizace2/nahled3.jpg);
}

.small3-2 {
	background-image: url(../img/realizace2/nahled4.jpg);
}

.small4-2 {
	background-image: url(../img/realizace2/nahled5.jpg);
}

.gallery {
	width: 100%;
    box-sizing: border-box;
}

.gallery img {
    height: auto;
    max-width: 100%;
    display: block;
}

.gallery #lightgallery, .gallery #lightgallery-rel {
	width: 100%;
	height: 430px;
	display: grid;
	grid-template-areas: 'big big small1 small2'
	                     'big big small3 small4';
	grid-gap: 10px;
	background-color: #ffffff;
}

.gallery #lightgallery .photo, .gallery #lightgallery-rel .photo {
	position: relative;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
}

.gallery #lightgallery .photo img, .gallery #lightgallery-rel .photo img {
	display: none;
}

.gallery #lightgallery .photo .photo-hover, .gallery #lightgallery-rel .photo .photo-hover {
	background-color: rgba(0, 0, 0, 0.1);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: background-color 0.15s ease 0s;
}

.gallery #lightgallery .photo .photo-hover .circle, .gallery #lightgallery-rel .photo .photo-hover .circle {
	height: 90px;
	width: 90px;
	background-color: white;
	border-radius: 180px;
	left: 50%;
	margin-left: -45px;
	margin-top: -45px;
	opacity: 0;
	position: absolute;
	top: 50%;
	transition: opacity 0.3s ease 0s;
}

.gallery #lightgallery .photo .photo-hover .circle img, .gallery #lightgallery-rel .photo .photo-hover .circle img {
	display: block;
	left: 50%;
	margin-left: -15px;
	margin-top: -15px;
	opacity: 0;
	position: absolute;
	top: 50%;
	transition: opacity 0.3s ease 0s;
}

.gallery #lightgallery .photo:hover .photo-hover, .gallery #lightgallery .photo:active .photo-hover, .gallery #lightgallery-rel .photo:hover .photo-hover, .gallery #lightgallery-rel .photo:active .photo-hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.gallery #lightgallery .photo:hover .photo-hover .circle, .gallery #lightgallery .photo:active .photo-hover .circle, .gallery #lightgallery-rel .photo:hover .photo-hover .circle, .gallery #lightgallery-rel .photo:active .photo-hover .circle {
	opacity: 1;
}

.gallery #lightgallery .photo:hover .photo-hover .circle img, .gallery #lightgallery .photo:active .photo-hover .circle img, .gallery #lightgallery-rel .photo:hover .photo-hover .circle img, .gallery #lightgallery-rel .photo:active .photo-hover .circle img {
	opacity: 1;
}

.gallery #lightgallery-rel .photo {
	background-position: 0px 0px;
	background-size: cover;
}

.gallery-realizace-bottom {
	margin: 0 auto;
	margin-top: 20px;
	font-family: "Montserrat", sans-serif;
	color: #333;
    margin-block-end: 60px !important;
    max-width: 1400px;
}

.gallery-realizace-bottom #lightgallery-rel-bot {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container {
	position: relative;
	width: 100%;
	width: 33%;
	max-width: 430px;
	margin-top: 30px;
	padding-right: 15px;
	padding-left: 15px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo {
	width: 100%;
	position: relative;
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo .photo-hover {
	background-color: rgba(0, 0, 0, 0);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	transition: background-color 0.15s ease 0s;
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo .photo-hover .square {
	height: 90px;
	width: 90px;
	background-color: white;
	border-radius: 180px;
	left: 50%;
	margin-left: -45px;
	margin-top: -45px;
	opacity: 0;
	position: absolute;
	top: 50%;
	transition: opacity 0.3s ease 0s;
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo .photo-hover .square .lupa {
	display: block;
	left: 50%;
	margin-left: -15px;
	margin-top: -15px;
	opacity: 0;
	position: absolute;
	top: 50%;
	border-radius: 0px;
	transition: opacity 0.3s ease 0s;
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo:hover .photo-hover, .gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo:active .photo-hover {
	background-color: rgba(255, 255, 255, 0.3);
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo:hover .photo-hover .square, .gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo:active .photo-hover .square {
	opacity: 1;
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo:hover .photo-hover .square .lupa, .gallery-realizace-bottom #lightgallery-rel-bot .photo-container .square-photo .photo:active .photo-hover .square .lupa {
	opacity: 1;
}

.gallery-realizace-bottom #lightgallery-rel-bot .photo-container .design-span {
	z-index: 10;
	padding: 15px;
	margin-top: -5px;
	width: 100%;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	background-color: #3c8f6b;
	color: #ffffff;
	font-weight: 600;
	text-align: center;
    font-size: 14px;
    line-height: 18px;
    box-sizing: border-box;
}

.gallery-realizace {
	max-width: 1250px;
	margin: 0 auto;
}

.gallery-instalace{
    margin:0 auto;
    max-width:1000px;
    margin-bottom:50px;
    font-family:Montserrat,sans-serif;
    color:#333
}
.gallery-instalace #lightgallery-instal {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.gallery-instalace #lightgallery-instal .photo-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    padding-top: 50px;
    padding-right: 20px;
    padding-left: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}
.gallery-instalace #lightgallery-instal .photo-container .circle-photo{
    width:100%;
    position:relative;
    margin-bottom:20px
}
.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo img{
    border-radius:50%
}
.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo .photo-hover {
    background-color: rgba(0,0,0,0);
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: background-color .15s ease 0s;
}
.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo .photo-hover .circle {
    height: 90px;
    width: 90px;
    background-color: #fff;
    border-radius: 180px;
    left: 50%;
    margin-left: -45px;
    margin-top: -45px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transition: opacity .3s ease 0s;
}
.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo .photo-hover .circle .lupa {
    display: block;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    opacity: 0;
    position: absolute;
    top: 50%;
    border-radius: 0;
    transition: opacity .3s ease 0s;
}
.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo:active .photo-hover,.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo:hover .photo-hover{
    background-color:rgba(255,255,255,.3)
}
.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo:active .photo-hover .circle,.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo:hover .photo-hover .circle{
    opacity:1
}
.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo:active .photo-hover .circle .lupa,.gallery-instalace #lightgallery-instal .photo-container .circle-photo .photo:hover .photo-hover .circle .lupa{
    opacity:1
}
.gallery-instalace #lightgallery-instal .photo-container .design-span{
    margin-bottom:15px;
    padding:10px 20px;
    border-radius:10px;
    background-color:#3c8f6b;
    color:#fff;
    font-weight:700;
    font-size: 14px;
    line-height: 18px;
    box-sizing: border-box;
}
.gallery-instalace #lightgallery-instal .photo-container .basic-span{
    font-size:14px;
    font-weight:700;
}

@media only screen and (max-width: 991px) {
	.gallery-realizace-bottom #lightgallery-rel-bot .photo-container {
		width: 100%;
		max-width: 400px;
		padding-right: 0px;
		padding-left: 0px;
	}
}


@media only screen and (max-width: 767px) {
	.big {
		height: 400px;
	}
	.small1, .small2, .small3, .small4 {
		height: 210px;
	}
	.gallery #lightgallery, .gallery #lightgallery-rel {
		display: grid;
		grid-template-areas: 'big big'
		                     'big big'
		                     'small1 small2'
		                     'small3 small4';
		height: auto;
		max-width: 600px;
		margin: 0 auto;
	}
	.big {
		grid-area: big;
	}
	.small1 {
		grid-area: small1;
	}
	.small2 {
		grid-area: small2;
	}
	.small3 {
		grid-area: small3;
	}
	.small4 {
		grid-area: small4;
	}

    .gallery-realizace-bottom {
        margin-block-end: 30px !important;
    }
}

@media only screen and (max-width: 479px) {
	.realization {
		padding: 50px 0;
	}
	.big {
		height: 260px;
	}
	.small1, .small2, .small3, .small4 {
		height: 150px;
	}
}