@charset "utf-8";

/*////////////////////////////////////////////////////////////
//                                                          //
//           Stylesheet "Gallery" >> "Audio Guide"          //
//                                                          //
//                Author >> Boris Gospodinov                //
//                   Created >> 20.07.2024                  //
//                Last modified >> 20.07.2024               //
//                                                          //
////////////////////////////////////////////////////////////*/

.new-gallery {
	width: 100%;
	float: left;
	margin: 0px 0px 20px 0px;
}

.new-gallery .new-slides {
	display: none;
}

.new-gallery .new-slide,
.new-gallery .main-view {
	width: 100%;
	height: 100%;
}

.new-gallery .new-slide a {
	display: block;
	width: 100%;
	height: 100%;
}

.new-gallery .new-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 16px;
}

.new-gallery .main {
	position: relative;
	aspect-ratio: 1.8 / 1;
	overflow: hidden;
	container-type: size;
}

.new-gallery .main-view {
	cursor: zoom-in;
}

.new-gallery .thumbs-wrap {
	position: relative;
}

.new-gallery .arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 38px;
	height: 38px;
	border: 0px;
	border-radius: 50%;
	background: #e0f4fe;
	color: #000000;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.new-gallery .arrow:hover {
	background: #bfe7fc;
	color: #000000;
}

.new-gallery .arrow.prev {
	left: 10px;
}

.new-gallery .arrow.next {
	right: 10px;
}

.new-gallery .thumbs {
	position: relative;
	display: flex;
	gap: 10px;
	margin-top: 10px;
	overflow-x: auto;
	scrollbar-width: none;
}

.new-gallery .thumbs::-webkit-scrollbar {
	display: none;
}

.new-gallery .thumb {
	flex: 0 0 calc((100% - 20px) / 3);
	aspect-ratio: 1.8 / 1;
	overflow: hidden;
	cursor: pointer;
	padding: 0;
	opacity: 0.55;
	transition: opacity 0.2s;
	container-type: size;
}

.new-gallery .thumb:hover {
	opacity: 1;
}

.new-gallery .thumb.active {
	opacity: 1;
}

.new-gallery .thumb.empty {
	visibility: hidden;
}

.new-gallery .counter {
	text-align: right;
	margin-top: 8px;
	font-size: 14px;
	color: #000000;
}