.module-stories .stories-item .image {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border: 3px solid #fff;
}
.module-stories .stories-item .stories-item-image {
	position: relative;
	background-color: #fff;
	z-index: 1;
	display: block;
	margin: 3px;
}
.module-stories .stories-item .stories-item-image::before {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(45deg, #00FF94, #00E0FF, #0099EF);
	border-radius: 50%;
	z-index: -1;
}
.module-stories .slider-item {
	padding: 0 10px;
}
.module-stories .stories-item .name {
	text-align: center;
	margin-top: 10px;
}
#modal-stories .modal-content {
	background-color: transparent;
	box-shadow: none;
	-webkit-box-shadow:none;
	border: none;
}
#modal-stories .swiper-button-prev {
	left: 0 !important;
}
#modal-stories .swiper-button-next {
	right: 0 !important;
}
.module-stories img {
	border-radius: 5px;
}
#modal-stories img {
	margin: auto;
	border-radius: 5px;
}
.swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right {
	background-image: none !important;
}
.stories-slide {
	position: relative;
}
.swiper-stories__button {
	z-index: 11;
}
.swiper-stories__button a {
	position: absolute;
	bottom: 50px;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 200px;
}
.swiper-stories__button a.position-top {
	top: 50px;
	bottom: unset;
}
.module-stories .swiper-slide {
	width: auto !important;
}


.swiper-3d .swiper-slide-shadow-left, .swiper-3d .swiper-slide-shadow-right {
	background-image: none !important;
}
.stories-slide {
	position: relative;
}
.stories-slide a {
	position: absolute;
	bottom: 50px;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 200px;
}
.module-stories .swiper-slide {
	width: auto !important;
}


.stories-features {
	margin: 0 0 6rem;
}

@media (min-width: 1200px) {
	.stories-features {
		margin: 0 0 7.5rem;
	}
}

.stories-features__title {
	margin: 0 0 2rem;
}

.stories-features__scrollbar {
	overflow-y: hidden;
	overflow-x: auto;
	display: -ms-flexbox;
	display: flex;
	padding: 2rem;
	margin: -2rem;
}

.stories-features__scrollbar > * {
	margin: 0 1rem 0 0;
	-ms-flex: 0 0 160px;
	flex: 0 0 16rem;
}

.stories-features__scrollbar > *:last-child {
	margin: 0;
}

.stories-features__scrollbar::-webkit-scrollbar {
	width: 0.4rem;
	height: 0.4rem;
}

.stories-features__scrollbar::-webkit-scrollbar-track {
	background: #EEF0F3;
	margin: 0 2rem;
	cursor: pointer;
}

.stories-features__scrollbar::-webkit-scrollbar-thumb {
	background: var(--theme-primary-color);
}

@media (min-width: 1200px) {
	.stories-features__scrollbar > * {
		margin: 0 2rem 0 0;
	}
}

.stories-features__item {
	display: block;
	overflow: hidden;
	border-radius: 5px;
	position: relative;
	width: 100%;
	max-width: 100%;
	transition: transform 0.25s;
	will-change: transform;
}

.stories-features__item.is-viewed {
	opacity: .5;
}

@media (hover: hover) {
	.stories-features__item:hover {
		transform: scale(1.075);
	}
}

.stories-features__item-image {
	display: block;
	width: 100%;
	height: 100%;
}

.stories-features__item-image img {
	display: block;
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.swiper-stories-features {
	overflow: visible;
}

.swiper-stories-features .swiper-slide {
	margin: 0 1rem 0 0;
	-ms-flex: 0 0 160px;
	flex: 0 0 16rem;
	width: 16rem;
	max-width: 100%;
	transition: opacity 0.25s, transform 0.25s;
}

.swiper-stories-features .swiper-slide:last-child {
	margin: 0;
}

.swiper-stories-features.swiper-container-initialized .swiper-slide {
	margin: 0;
}

@media (min-width: 1200px) {
	.swiper-stories-features {
		margin: 0 -1rem;
	}

	.swiper-stories-features .swiper-slide {
		margin: 0;
		padding: 0 1rem;
		-ms-flex: 0 0 12.5%;
		flex: 0 0 12.5%;
		max-width: 12.5%;
	}

	.swiper-stories-features .swiper-scrollbar {
		margin-left: 10px;
		margin-right: 10px;
	}

	.swiper-stories-features.swiper-container-initialized .swiper-slide {
		opacity: 0;
	}

	.swiper-stories-features.swiper-container-initialized .swiper-slide-visible {
		opacity: 1;
	}
}
.swiper-stories {
	position: relative;
	width: 100%;
	height: 100%;
}

.swiper-stories-slides {
	height: 100%;
}
.swiper-stories-slides .swiper-slide:not(.swiper-slide-active) {
	transform: scale(0.9);
}
.swiper-stories-slides .swiper-slide {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	position: relative;
	z-index: 1;
	width: auto;
}

.swiper-stories-slides .swiper-slide-active {
	z-index: 2;
}

.swiper-stories-slides .swiper-slide-active .swiper-stories__close {
	opacity: 1;
}

.swiper-stories__slide {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	
}

.swiper-stories__gallery {
	position: relative;
	margin: 0 auto;
	display: -ms-flexbox;
	display: flex;
	height: 100%;
	-ms-flex: 1;
	flex: 1;
	opacity: 0;
	transition: opacity 0.25s;
	max-width: 95%;
	max-height: 75vh;
}

.swiper-stories__gallery .swiper-stories__image {
	position: absolute;
	opacity: 0;
	transition: opacity 0.5s;
	width: 400px;
	height: 700px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 20px;
	margin: auto;
	max-height: 75vh;
}

.swiper-stories__gallery .swiper-stories__image img {
	-ms-flex: 1;
	flex: 1;
}

.swiper-stories__gallery .swiper-stories__image.is-active {
	opacity: 1;
	position: relative;
}

.swiper-stories__image {
	height: 100%;
}
.swiper-slide-active .progress-bar-container {
	display: flex;
} 
.swiper-slide-active .progress-bar {
	display: block;
}
.progress-bar-container {
	display: none;
	gap: 5px;
	position: absolute;
	top: -20px;
	left: 0;
	width: 100%;
	max-width: 95%;
	margin: auto;
	right: 0;
}
.swiper-stories__slide:before {
	content: '';
	width: 100%;
	height: 100%;
	background: #000000;
	display: block;
	z-index: 1;
	position: absolute;
	opacity: 0.7;
	border-radius: 20px;
	max-width: 95%;
}
.swiper-slide-active .swiper-stories__slide:before {
	display: none;
}
.progress-bar {
	width: 100%;
	height: 2px;
	background-color: rgba(255, 255, 255, 0.3);
	overflow: hidden;
	display: none;
}
.swiper-pagination-fraction {
	position: absolute;
	bottom: 30px;
	color: #fff;
	font-weight: 500;
}
.progress-bar__fill {
	height: 100%;
	width: 0;
	background-color: var(--secondary-background-color);
	transition: width 3s linear;
}
.fancybox__content>.f-button.is-close-btn {
	top: 50px;
	right: 50px;
	border: 1px solid;
	border-radius: 50%;
	width: 45px;
	height: 45px;
}
.swiper-stories .text-container {
	position: absolute;
	bottom: 10px;
	color: #fff;
	text-align: left;
	width: 100%;
}
.swiper-stories__close {
	position: absolute;
	top: -1rem;
	right: -5rem;
	width: 5rem;
	height: 5rem;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: center;
	justify-content: center;
	color: #fff;
	transition: color 0.25s, opacity 0.25s;
	opacity: 0;
}



.swiper-stories-thumbs {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 35%;
	text-align: center;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2.5rem 0;
}

@media (min-width: 1200px) {
	.swiper-stories-thumbs {
		padding: 3.5% 0;
	}
}

.swiper-stories-thumbs__list {
	margin: 0;
	padding: 0 2.5rem;
	list-style: none;
	display: -ms-inline-flexbox;
	display: inline-flex;
}

.swiper-stories-thumbs__list:after {
	content: "";
	-ms-flex: 0 0 20px;
	flex: 0 0 2rem;
}

.swiper-stories-thumbs__list > li {
	height: 100%;
	margin: 0 1rem 0 0;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	max-width: 12.6rem;
}

.swiper-stories-thumbs__list > li:last-child {
	margin: 0;
}

.swiper-stories__thumb {
	display: block;
	height: 100%;
	width: 100%;
	overflow: hidden;
	cursor: pointer;
	transition: transform 0.25s;
	will-change: transform;
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
}

.swiper-stories__thumb img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	border-radius: 5px;
}

@media (hover: hover) {
	.swiper-stories__thumb:hover {
		transform: scale(1.05);
	}
}

.is-active > .swiper-stories__thumb {
	transform: scale(1.1);
}
.popup {
	position: relative;
	width: 100%;
	max-width: 46rem;
	background: #FFFFFF;
	border: 1px solid #F0F1F7;
	border-radius: 5px;
	padding: 3rem;
	margin: 0 auto;
}

.popup--agree {
	max-width: 70rem;
}

.popup--custom {
	max-width: 88rem;
}

.popup--search {
	max-width: 87rem;
	vertical-align: top;
	margin-top: -4rem;
}

.popup .fancybox-close {
	top: 0;
	right: 0;
	color: #343434;
}

.popup .fancybox-close svg {
	width: 1.5rem;
	height: 1.5rem;
	display: block;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
}

.popup .fancybox-close:hover {
	color: var(--theme-primary-color);
}

.popup--replace {
	max-width: 112rem;
	background: #F7F7FB;
}

.popup--stories {
	position: fixed;
	top: 0;
	left: 0;
	background: none;
	border: none;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	max-width: none;
}

.popup--stories .fancybox-close {
	display: none;
}
@media (max-width: 1199px) {
	.swiper-stories-features {
		overflow-y: auto;
		margin: 0 -2.5rem -1rem -2.5rem;
	}

	.swiper-stories-features > .swiper-wrapper {
		padding: 0 2.5rem 3rem 2.5rem;
		overflow-y: hidden;
	}

	.swiper-stories-features > .swiper-wrapper::-webkit-scrollbar {
		width: 0.3rem;
		height: 0.3rem;
		background: none;
		border-radius: 3px
	}
	.swiper-stories-features > .swiper-wrapper::-webkit-scrollbar-track-piece {
		background: #EEF0F3;
		margin: 0 2.5rem;
		cursor: pointer;
	}

	.swiper-stories-features .swiper-scrollbar {
		display: none;
	}
}
.stories-features__title {
	display: block;
	margin: 0 0 2.5rem;
	font-size: 2rem;
	line-height: 1.15;
	font-weight: 500;
}

@media (max-width: 480px) {
	.swiper-stories__gallery .swiper-stories__image {
		width: 370px;
		height: 500px;
		max-width: 95%;
	}
}