

/* Start:/bitrix/templates/aspro_next/components/bitrix/news.list/photo/style.css?17321161314977*/
.wrapper_inner .right_block {
	float: none!important;
	width: 100%!important;
}

.gallery-items {
	margin-left: -15px;
	margin-right: -15px;
}

.gallery-items .item {
	cursor: pointer;
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 30px;
	position: relative;
	transition: transform 0.5s, box-shadows 0.5s;
}

.gallery-items .item:hover {
	transform: scale(1.2);
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.01);
}

.gallery-items .item .inner {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 5px;
}

.gallery-items .item .inner .image {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 200px;
	position: relative;
	z-index: 1;
}

.gallery-items .item .inner .overflow {
	z-index: 2;
	padding: 20px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	background-image: url("/bitrix/templates/aspro_next/components/bitrix/news.list/photo/./images/zoom.svg");
	background-repeat: no-repeat;
	background-size: 20px auto;
	background-position: right 10px bottom 10px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s;
}

.gallery-items .item:hover .inner .overflow {
	opacity: 1;
	pointer-events: auto;
}

.gallery-items .item .inner .overflow .name {
	margin-top: 0;
	margin-bottom: 15px;
	font-weight: bolder;
	font-size: 18px;
	color: #FFFFFF;
	line-height: 100%;
}

.gallery-items .item .inner .overflow .description {
	margin: 0;
	color: #FFFFFF;
	font-size: 12px;
    line-height: 150%;
}

.modals {
	position: relative;
	z-index: 1000;
	width: 100vw;
}

.modals .gallery-modal {
	overflow-x: hidden;
	overflow-y: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	align-content: center;
	flex-direction: column;
	position: fixed;
	left: 0;
	top: 0;
	opacity: 0;
	height: 0;
	width: 0;
	background: rgba(0, 0, 0, 0.6);
	transition: opacity 0.5s;
}

.modals .gallery-modal.active {
	opacity: 1;
	height: 100%;
	width: 100%;
}

.modals .gallery-modal .box {
	border-radius: 5px;
	top: -100%;
	position: relative;
	margin: 0 auto;
	background: #FFFFFF;
	max-width: 1000px;
	width: 100%;
	transition: top 0.5s;
}

.modals .gallery-modal.active .box {
	top: 0;
}

.swiper-button-next, .swiper-button-prev {
	cursor: pointer;
	width: 40px!important;
    height: 40px!important;
    border-radius: 40px!important;
    background: rgba(255,255,255, 0.7);
    transition: transform 0.5s;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
	transform: scale(1.2);
}

.swiper-button-next:after, .swiper-button-prev:after {
	font-size: 16px!important;
	color: #c50026;
	font-weight: normal;
}

.modals .gallery-modal.active .box .image {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
	overflow: hidden;
	border-radius: 5px;
}

.modals .gallery-modal .box .main-image {
	padding: 40px;
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

.modals .gallery-modal .box .main-image .image {
	width: 100%;
	height: 300px;
	object-fit: cover;
	object-position: center;
}

.modals .gallery-modal .box .main-image .text .name {
	margin-top: 0;
	margin-bottom: 25px;
	font-weight: bold;
}

.modals .gallery-modal .box .main-image .text .description {
	margin: 0;
}

.modals .gallery-modal .box .main-image .text .btn {
	text-align: center;
	width: 250px;
	font-size: 20px;
	font-weight: bolder;
	padding: 15px;
	margin-top: 25px;
	border-radius: 5px;
}

.modals .gallery-modal .box .thumbs {
	background: #f6f6f7;
	padding: 40px;
}

.modals .gallery-modal .box .thumbs .image {
	cursor: pointer;
	width: 100%;
	height: 120px;
	object-fit: cover;
	object-position: center;
	border: 2px solid #FFFFFF;
	transition: border-color 0.5s;
}

.modals .gallery-modal .box .thumbs .image.active {
	border-color: #DE002B;
}

.modals .gallery-modal .box .thumbs .swiper-pagination {
	position: relative;
	bottom: auto;
    top: auto;
    margin-top: 20px;
}

.modals .gallery-modal .box .thumbs .swiper-pagination .swiper-pagination-bullet {
	width: 15px;
    height: 15px;
    border-radius: 15px;
    transform: scale(0.7);
    transition: transform 0.5s, background 0.5s, opacity 0.5s;
}

.modals .gallery-modal .box .thumbs .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: #de002b;
	opacity: 1;
	transform: scale(1.0);
}

@media (max-width: 992px) {
	.gallery-items .item:hover {
		transform: scale(1.0);
	}

	.gallery-items .item .inner .image {
		height: auto;
	}

	.modals .gallery-modal {
		padding: 20px;
	}

	.modals .gallery-modal .box .main-image {
		display: block;
		padding: 20px;
	}

	.modals .gallery-modal .box .thumbs {
		display: none;
	}

	.modals .gallery-modal .slider-arrows .item.prev {
		z-index: 100;
		left: 20px;
	}

	.modals .gallery-modal .slider-arrows .item.next {
		z-index: 100;
		right: 20px;
	}
}

.swiper-button-next.swiper-button-disabled, 
.swiper-button-prev.swiper-button-disabled {
    pointer-events: auto!important;
}
/* End */
/* /bitrix/templates/aspro_next/components/bitrix/news.list/photo/style.css?17321161314977 */
