.videoresult__slider-wrap {
	position: relative;
}

.videoresult {
	position: relative;
	max-width: 100%;
	margin: auto;
	overflow: hidden;
}

.videoresult__video-wrapper video {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	display: block;
	object-fit: cover;
}

.videoresult__video-wrapper {
	height: 400px;
}

.videoresult__slides-wrapper {
	display: flex;
	gap: 15px;
	transition: transform 0.4s ease;
}

video:fullscreen {
	object-fit: contain!important;
	background-color: black;
}

video:-webkit-full-screen {
	object-fit: contain!important;
	background-color: black;
}

video:-moz-full-screen {
	object-fit: contain!important;
	background-color: black;
}

video:-ms-fullscreen {
	object-fit: contain!important;
	background-color: black;
}

.videoresult__slide {
	flex: 0 0 calc(33.333% - 10px);
}

@media(min-width:640px) and (max-width:939px) {
	.videoresult__slide {
		flex: 0 0 calc(50% - 10px);
	}
}

.videoresult__video-wrapper {
	position: relative;
	cursor: pointer;
}

video {
	width: 100%;
	border-radius: 10px;
}

.videoresult__video-wrapper video::-webkit-media-controls-play-button {
	display: none !important;
}

.videoresult__video-caption {
	position: absolute;
	bottom: 15px;
	left: 15px;
	color: #fff;
	font-size: 16px;
	font-family: 'Onest',Arial,sans-serif;
	z-index: 2;
	pointer-events: none;
	text-transform: uppercase;
}

@media(max-width:640px) {
	.videoresult__video-caption {
		text-align: center;
		width: 85%;
		left: 50% !important;
		transform: translateX(-50%);
		text-transform: none;
	}
}

.videoresult__video-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.35);
	border-radius: 10px;
	transition: opacity .3s;
	z-index: 1;
}

.videoresult__play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 70px;
	height: 70px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	background: none;
	z-index: 2;
	opacity: 1;
	transition: opacity 0.3s ease;
	pointer-events: auto;
}

.videoresult__fullscreen-btn-mobile {
	position: absolute;
	bottom: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	background: rgba(0,0,0,0.5);
	border: none;
	border-radius: 5px;
	cursor: pointer;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.8;
	transition: opacity 0.3s;
	display: none;
}

.videoresult__fullscreen-btn-mobile:hover {
	opacity: 1;
}

:fullscreen .videoresult__play-btn,
:-webkit-full-screen .videoresult__play-btn,
:-moz-full-screen .videoresult__play-btn,
:-ms-fullscreen .videoresult__play-btn,
:fullscreen .videoresult__fullscreen-btn-mobile,
:-webkit-full-screen .videoresult__fullscreen-btn-mobile,
:-moz-full-screen .videoresult__fullscreen-btn-mobile,
:-ms-fullscreen .videoresult__fullscreen-btn-mobile {
	display: none !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

@media (max-width:640px) {
	.videoresult__play-btn {
		width: 60px;
		height: 60px;
	}

	.videoresult__play-btn svg {
		width: 60px;
		height: 60px;
	}

	.videoresult__fullscreen-btn-mobile {
		width: 35px;
		height: 35px;
		bottom: 10px;
		right: 10px;
	}
}

.videoresult__prev {
    width: 36px;
    height: 36px;
    border: 1px solid var(--main);
    border-radius: 50%;
    right: unset;
    background: transparent;
    position: absolute;
    left: -50px;
    top: 50%;
    margin-top: -18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition-duration: var(--trds);
    transition-duration: var(--trds);
    cursor: pointer;
    pointer-events: auto;
}

.videoresult__prev svg {
    width: 15px;
    height: 12px;
    fill: var(--main);
    -webkit-transition-duration: var(--trds);
    transition-duration: var(--trds);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.videoresult__next {
	width: 36px;
    height: 36px;
    border: 1px solid var(--main);
    border-radius: 50%;
    right: -50px;
    background: transparent;
    position: absolute;
    left: unset;
    top: 50%;
    margin-top: -18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition-duration: var(--trds);
    transition-duration: var(--trds);
    cursor: pointer;
    pointer-events: auto;
}

.videoresult__next svg {
    width: 15px;
    height: 12px;
    fill: var(--main);
    -webkit-transition-duration: var(--trds);
    transition-duration: var(--trds);
}

.videoresult__next:hover,
.videoresult__prev:hover {
    background: #8B658A;
}

.videoresult__next:hover svg,
.videoresult__prev:hover svg{
    fill: var(--white);
}

@media (max-width: 992px) {
    .videoresult__slider-wrap {
        padding: 0 50px;
    }
    .videoresult__prev {
        left: 0;
    }
    .videoresult__next {
        right: 0;
    }
}


@media (max-width: 640px) {
	.videoresult__slide {
		flex: 0 0 100%;
	}

	.videoresult__slides-wrapper {
		gap: 0 !important;
	}

	.videoresult__video-wrapper {
		height: 470px !important;
	}
}
