#buildings .popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
    height: 100%;
	z-index: 20000;
	display: none;
}

#buildings .popup.show {
	display:block;
}

#buildings .popup .bg {
	position: absolute;
	width: 100%;
	height: 100%;
	background: #343434;
	opacity: .3;
}

#buildings .popup .content {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	background: #fff;
	width: 1000px;
	height: auto;
	padding: 30px 40px 40px 40px;
	text-align: center;
}

#buildings .popup .close {
	position: absolute;
	right: 20px;
    top: 20px;
	cursor: pointer;
}

#buildings .popup .title {
	font-size: 24px;
	margin-right: 15px;
	margin-bottom: 20px;
	text-align: left;
}

#buildings .popup .swiper {
	width: 100%;
	height: 472px;
	margin: 0;
	padding-bottom: 0;
}

#buildings .popup .swiper-slide {
	height: auto !important;
	background-size: cover;
	background-position: center;
}

#buildings .popup .swiper .arrow {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
}

#buildings .popup .swiper .arrow.goleft {
	left: 40px;
}

#buildings .popup .swiper .arrow.goright {
	right: 0;
}

#buildings .popup .content .download {
	color: #343434;
    border: 2px solid #343434;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 40px;
    transition: all .3s;
    margin-top: 25px;
    width: 250px;
    height: 45px;
}

#buildings .popup .title span {
	font-size: 16px;
	margin-left: 20px;
}

#buildings .grey {
	background: #EEEBE6;
	padding: 50px 0;
	margin-top: 5rem;
}

#buildings .tabs {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 50px;
}

#buildings .tabs .tab {
	color: #343434;
	font-size: 14px;
	margin: 0 20px;
	cursor: pointer;
}

#buildings .tabs .tab.sel {
	color: #fff;
	font-weight: bold;
	background: #343434;
	padding: 7px 15px;
    border-radius: 20px;
	pointer-events: none;
}

#buildings .groups {
	position: relative;
}

#buildings .swiper {
	width: 1280px;
	height: 905px;
	padding-bottom: 80px;
}

#buildings .swiper.hide {
	display: none;
}

#buildings .swiper.line {
	height: 480px;
}

#buildings .swiper .swiper-slide.thumbs {
	width: 410px;
	height: calc((100% - 25px) / 2) !important;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

#buildings .swiper .swiper-slide.thumbs::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 110px;
	background: #000;
	background: rgb(0,0,0);
	background: -webkit-linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
	background: -o-linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
	background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
	z-index: 0;
	transition: all .3s;
}

#buildings .swiper .swiper-slide.thumbs:hover::after {
	height: 200px;
}

#buildings .swiper .swiper-slide.nofile:hover::after {
	height: 110px;
}

#buildings .swiper.line .swiper-slide.thumbs {
	height: 100% !important;
}

#buildings .swiper .swiper-slide.thumbs .photos {
	position: absolute;
	left: 0;
	top:0;
	width: 100%;
	height: 100%;
}

#buildings .swiper .swiper-slide.thumbs .photos .image {
	position: absolute;
	left: 0;
	top:0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity .2s;
}

#buildings .swiper .swiper-slide.thumbs .photos .image.show {
	opacity: 1;
}

#buildings .swiper .swiper-slide.thumbs .arrows {
	position: absolute;
	left: 20px;
	bottom:65px;
	display: flex;
	align-items: center;
	transition: all .3s;
	z-index: 100;
}

#buildings .swiper .swiper-slide.thumbs .arrows .arrow {
	margin-right: 15px;
	cursor: pointer;
}

#buildings .swiper .swiper-slide.thumbs .info {
	position: absolute;
	left: 20px;
	bottom:20px;
	color: #fff;
	font-size: 24px;
	z-index: 100;
	display: flex;
	align-items: center;
	transition: all .3s;
}

#buildings .swiper .swiper-slide.thumbs .popicon {
	position: absolute;
    z-index: 100;
    top: 30px;
    right: 30px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .3s;
	cursor: pointer;
}

#buildings .swiper .swiper-slide.thumbs .sqm {
	position: absolute;
	right: 20px;
	bottom:25px;
	font-size: 16px;
	color: #fff;
	transition: all .3s;
	z-index: 100;
}

#buildings .swiper .swiper-slide.thumbs .download {
	position: absolute;
    right: 20px;
    bottom: -50px;
    color: #fff;
    border: 2px solid #fff;
    text-decoration: none;
    font-size: 16px;
    left: 20px;
    text-align: center;
	display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
	transition: all .3s;
	z-index: 100;
}

#buildings .swiper .swiper-slide.thumbs:hover .popicon {
	opacity: 1;
	pointer-events: auto;
}

#buildings .swiper .swiper-slide.thumbs:hover .info {
	bottom: 85px;
}

#buildings .swiper .swiper-slide.thumbs:hover .sqm {
	bottom: 90px;
}

#buildings .swiper .swiper-slide.thumbs:hover .arrows {
	bottom: 130px;
}

#buildings .swiper .swiper-slide.thumbs:hover .download {
	bottom: 20px;
}

#buildings .swiper .swiper-slide.nofile:hover .info {
	bottom: 20px;
}

#buildings .swiper .swiper-slide.nofile:hover .sqm {
	bottom: 25px;
}

#buildings .swiper .swiper-slide.nofile:hover .arrows {
	bottom: 65px;
}

#buildings .swiper .swiper-pagination {
	position: relative;
	margin-top: 60px;
}

#buildings .swiper .swiper-pagination .swiper-pagination-bullet {
	font-size: 16px;
    color: #343434;
    background: none;
	margin: 0 10px;
	position: relative;
}

#buildings .swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	color: #fff;	
	pointer-events: none;
}

#buildings .swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
	content: '';
	width: 30px;
	height: 30px;
	background: #343434;
	border-radius: 50%;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -30%);
    z-index: -1;
}

#buildings .swiper .swiper-button-prev {
	bottom: 13px;
	top: auto;
	left: 0;
	width: 24px;
	height: 13px;
}

#buildings .swiper .swiper-button-prev::after {
	display: none;
}

#buildings .swiper .swiper-button-prev::before {
	content: '';
	width: 24px;
	height: 13px;
	background: url('../resources/images/arrow-left.svg');
	background-size: cover;
}


#buildings .swiper .swiper-button-next {
	bottom: 13px;
	top: auto;
	right: 0;
	width: 24px;
	height: 13px;
}

#buildings .swiper .swiper-button-next::after {
	display: none;
}

#buildings .swiper .swiper-button-next::before {
	content: '';
	width: 24px;
	height: 13px;
	background: url('../resources/images/arrow-right.svg');
	background-size: cover;
}

#buildings .tabs .mobile {
	display: none;
    justify-content: space-between;
    align-items: center;
    width: 90%;
}

#buildings .tabs .mobile .btn {
	font-size: 16px;
	color: #75B72D;
	font-weight: 500;
}

#buildings .tabs .mobile select {
	all: unset;
	text-align: right;
}

@media screen and (max-width: 1370px) {
	#buildings .swiper {
		width: 90%;
	}
}

@media screen and (max-width: 1240px) {
	#buildings .swiper {
		height: 695px;
	}
	
	#buildings .swiper .swiper-slide.thumbs .info {
		position: absolute;
		left: 10px;
		bottom: 10px;
		font-size: 14px;
	}
	
	#buildings .swiper .swiper-slide.thumbs .info img {
		height: 22px;
	}
	
	#buildings .swiper .swiper-slide.thumbs .sqm {
		position: absolute;
		right: 10px;
		bottom: 17px;	
		font-size: 12px;
	}
}

@media screen and (max-width: 1023px) {
	#buildings .popup .content {
		width: 90%;
	}
}

@media screen and (max-width: 850px) {
	#buildings .swiper .swiper-pagination .swiper-pagination-bullet {
		font-size: 12px;
	}
	
	#buildings .swiper .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active::before {
		width: 25px;
    	height: 25px;
	}
	
	#buildings .tabs .tab {
		display: none;
	}
	
	#buildings .tabs .mobile {
		display: flex;
	}
	
	#buildings .popup .swiper {
		height: 340px;
	}
}

@media screen and (max-width: 680px) {
	#buildings .popup .content {
		padding: 20px 15px 30px 15px;
		width: 95%;
	}
	
	#buildings .popup .title {
		font-size: 14px;
		margin-bottom: 10px;
	}
	
	#buildings .popup .title span {
		font-size: 10px;
		margin-left: 10px;
	}
	
	#buildings .popup .swiper {
		height: 200px;
	}
	
	#buildings .popup .content .download {
		margin-top: 25px;
		width: 150px;
		height: 35px;
		font-size: 11px;
	}
	
	#buildings .popup .close {
		right: 5px;
		top: 10px;
		height: 30px;
	}
	
	#buildings .popup .swiper .arrow {
		height: 30px;
	}
	
	#buildings .popup .swiper .arrow.goright {
		right: -10px;
	}
	
	#buildings .popup .swiper .arrow.goleft {
		left: 20px;
	}
}
