

/* Start:/local/templates/spectr/components/bitrix/news/main-news/bitrix/news.detail/.default/style.css?17694070312645*/
div.news-detail
{
	word-wrap: break-word;
}
div.news-detail img.detail_picture
{
	float:left;
	margin:0 8px 6px 1px;
}
.news-date-time
{
	color:#486DAA;
}

.gallery_news {
	width: 100%;
	padding: 20px 0;
}
.gallery_news .swiper-slide {
	text-align: center;
}
.gallery_news img {
	display: block;
	width: 100%;
	object-fit: cover;
	border-radius: 8px;
}

.swiper-wrapper{
	align-items: center;
}

.custom-lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.95);
	z-index: 10000;
	align-items: center;
	justify-content: center;
}
.custom-lightbox.active {
	display: flex;
}
.lightbox-image {
	max-width: 90%;
	max-height: 90vh;
	object-fit: contain;
}
.lightbox-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255,255,255,0.1);
	border: none;
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
}

.swiper-button-next:after, .swiper-button-prev:after{
	height: 300px;
	align-content: center;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled{
	pointer-events: all;
	cursor: auto;
}

.custom-lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.9);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}

.custom-lightbox.active {
	display: flex;
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 40px;
	color: white;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001;
	transition: color 0.3s;
}

.lightbox-close:hover {
	color: #ccc;
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 36px;
	color: white;
	background: rgba(0, 0, 0, 0.5);
	border: none;
	width: 60px;
	height: 60px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s;
	z-index: 1001;
}

.lightbox-nav:hover {
	background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
	left: 30px;
}

.lightbox-next {
	right: 30px;
}

.lightbox-content {
	max-width: 90%;
	max-height: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.lightbox-image {
	max-width: 100%;
	max-height: 85vh;
	object-fit: contain;
	cursor: pointer;
}

.lightbox-counter {
	color: white;
	font-size: 18px;
	margin-top: 20px;
	text-align: center;
}

@media (max-width: 768px) {
	.lightbox-nav {
		width: 40px;
		height: 40px;
		font-size: 24px;
	}

	.lightbox-prev {
		left: 10px;
	}

	.lightbox-next {
		right: 10px;
	}

	.lightbox-close {
		top: 10px;
		right: 15px;
		font-size: 30px;
	}
}

/* End */
/* /local/templates/spectr/components/bitrix/news/main-news/bitrix/news.detail/.default/style.css?17694070312645 */
