

/* Start:/bitrix/templates/aspro-premier/components/bitrix/news.list/video-gallery/style.css?177762062310420*/
.video-gallery-list .grid-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}

.video-card__button {
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
	cursor: pointer;
}

.video-card .color-dark-target,
.video-card .dark_link,
.video-card__button {
	color: inherit;
}

.video-card__date {
	color: inherit;
	opacity: .62;
}

.video-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #111;
}

.video-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-card__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--theme-base-color, #e31e24);
	transform: translate(-50%, -50%);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
	transition: transform .2s ease, opacity .2s ease;
}

.video-card__play:before {
	content: "";
	position: absolute;
	left: 23px;
	top: 17px;
	border-top: 12px solid transparent;
	border-bottom: 12px solid transparent;
	border-left: 18px solid #fff;
}

.video-card__button:hover .video-card__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.video-player-modal[hidden] {
	display: none;
}

.video-player-modal {
	position: fixed;
	z-index: 10000;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.video-player-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .86);
}

.video-player-modal__inner {
	position: relative;
	z-index: 1;
	width: min(1080px, 100%);
}

.video-player-modal__close {
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 8;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .68);
	cursor: pointer;
	transition: opacity .25s ease, transform .25s ease;
}

.video-player-modal__close:before,
.video-player-modal__close:after {
	content: "";
	position: absolute;
	left: 11px;
	top: 19px;
	width: 18px;
	height: 2px;
	background: #fff;
}

.video-player-modal__close:before {
	transform: rotate(45deg);
}

.video-player-modal__close:after {
	transform: rotate(-45deg);
}

.video-player {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	background: #050505;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}

.video-player:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 2;
	height: 4px;
	background: var(--theme-base-color, #e31e24);
	transition: opacity .25s ease;
}

.video-player__top {
	position: absolute;
	left: 0;
	right: 0;
	top: 4px;
	z-index: 5;
	display: flex;
	align-items: center;
	padding: 16px 60px 40px 18px;
	color: #fff;
	background: linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}

.video-player__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 34px;
	padding: 6px 10px;
	border-radius: 5px;
	background: rgba(0, 0, 0, .55);
	backdrop-filter: blur(6px);
	font-size: 13px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: .12em;
	color: #fff;
}

.video-player__logo {
	display: block;
	width: auto;
	height: 22px;
	max-width: 130px;
	object-fit: contain;
}

.video-player__caption {
	position: absolute;
	left: 18px;
	bottom: 82px;
	z-index: 5;
	max-width: min(680px, calc(100% - 36px));
	padding: 10px 12px;
	border-left: 4px solid var(--theme-base-color, #e31e24);
	border-radius: 4px;
	background: linear-gradient(90deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .28));
	color: #fff;
	font-size: 18px;
	line-height: 1.25;
	font-weight: 600;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}

.video-player__media {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.video-player__controls {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 180px 44px 44px;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background: #111;
	transition: opacity .25s ease, transform .25s ease;
}

.video-player__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: var(--theme-base-color, #e31e24);
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

.video-player__btn:hover {
	color: #fff;
	text-decoration: none;
}

.video-player__icon {
	display: block;
	width: 22px;
	height: 22px;
	fill: currentColor;
	pointer-events: none;
}

.video-player__icon--pause,
.video-player__icon--muted {
	display: none;
}

.video-player__btn--play.is-playing .video-player__icon--play {
	display: none;
}

.video-player__btn--play.is-playing .video-player__icon--pause {
	display: block;
}

.video-player__btn--mute.is-muted .video-player__icon--volume {
	display: none;
}

.video-player__btn--mute.is-muted .video-player__icon--muted {
	display: block;
}

.video-player__timeline {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.video-player__progress,
.video-player__volume-range {
	width: 100%;
	accent-color: var(--theme-base-color, #e31e24);
	cursor: pointer;
}

.video-player__time {
	display: flex;
	align-items: center;
	gap: 5px;
	min-width: 92px;
	color: rgba(255, 255, 255, .82);
	font-size: 13px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.video-player__volume {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.video-player:fullscreen {
	width: 100vw;
	height: 100vh;
	border-radius: 0;
	background: #000;
	box-shadow: none;
}

.video-player:fullscreen:before {
	z-index: 6;
}

.video-player:fullscreen .video-player__media {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: contain;
}

.video-player:fullscreen .video-player__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 6;
	background: linear-gradient(0deg, rgba(0, 0, 0, .92), rgba(0, 0, 0, .42));
}

.video-player:fullscreen .video-player__caption {
	bottom: 82px;
}

.video-player:fullscreen.is-controls-hidden {
	cursor: none;
}

.video-player:fullscreen.is-controls-hidden:before,
.video-player:fullscreen.is-controls-hidden .video-player__top,
.video-player:fullscreen.is-controls-hidden .video-player__caption,
.video-player:fullscreen.is-controls-hidden .video-player__controls {
	opacity: 0;
	pointer-events: none;
}

.video-player:fullscreen.is-controls-hidden .video-player__top {
	transform: translateY(-12px);
}

.video-player:fullscreen.is-controls-hidden .video-player__caption,
.video-player:fullscreen.is-controls-hidden .video-player__controls {
	transform: translateY(12px);
}

.video-upload-block {
	margin-top: 56px;
	padding: 32px;
	border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
	border-radius: 8px;
	background: color-mix(in srgb, currentColor 4%, transparent);
	color: inherit;
}

.video-upload-block .font_24 {
	color: inherit;
}

.video-upload-form {
	display: grid;
	gap: 18px;
	max-width: 640px;
	font-family: inherit;
}

.video-upload-form .form-group {
	margin: 0;
}

.video-upload-form label {
	display: block;
	margin-bottom: 8px;
	color: inherit;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 500;
	opacity: .72;
}

.video-upload-form .form-control,
.video-upload-form input[type="text"] {
	width: 100%;
	height: 48px;
	padding: 0 14px;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	border-radius: 6px;
	background: color-mix(in srgb, currentColor 5%, transparent);
	color: inherit;
	font-family: inherit;
	font-size: 15px;
	line-height: 48px;
	box-shadow: none;
	outline: none;
	transition: border-color .2s ease, background .2s ease;
}

.video-upload-form .form-control:focus,
.video-upload-form input[type="text"]:focus {
	border-color: var(--theme-base-color, #e31e24);
	background: color-mix(in srgb, currentColor 8%, transparent);
}

.video-upload-form input[type="file"] {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 11px 12px;
	border: 1px dashed color-mix(in srgb, currentColor 24%, transparent);
	border-radius: 6px;
	background: color-mix(in srgb, currentColor 4%, transparent);
	color: inherit;
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	cursor: pointer;
}

.video-upload-form input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 12px;
	border: 0;
	border-radius: 5px;
	background: color-mix(in srgb, currentColor 12%, transparent);
	color: inherit;
	font-family: inherit;
	font-weight: 500;
	cursor: pointer;
	transition: background .2s ease;
}

.video-upload-form input[type="file"]::file-selector-button:hover {
	background: color-mix(in srgb, currentColor 18%, transparent);
}

.video-upload-form .btn {
	width: fit-content;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 6px;
	background: var(--theme-base-color, #e31e24);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 48px;
	cursor: pointer;
	transition: opacity .2s ease, transform .2s ease;
}

.video-upload-form .btn:hover {
	color: #fff;
	opacity: .9;
	transform: translateY(-1px);
}

@media (max-width: 991px) {
	.video-gallery-list .grid-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.video-player__controls {
		grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
	}

	.video-player__volume {
		grid-column: 1 / -1;
		grid-template-columns: 44px minmax(0, 220px);
	}
}

@media (max-width: 600px) {
	.video-gallery-list .grid-list {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.video-player-modal {
		padding: 12px;
	}

	.video-player__top {
		padding: 14px 56px 34px 14px;
	}

	.video-player__brand {
		font-size: 11px;
	}

	.video-player__logo {
		height: 18px;
		max-width: 104px;
	}

	.video-player__caption {
		left: 14px;
		bottom: 76px;
		max-width: calc(100% - 28px);
		font-size: 14px;
	}

	.video-player__controls {
		grid-template-columns: 40px minmax(0, 1fr) 40px 40px;
		gap: 8px;
		padding: 10px;
	}

	.video-player__btn {
		width: 40px;
		height: 40px;
	}

	.video-player__icon {
		width: 20px;
		height: 20px;
	}

	.video-player__timeline {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.video-player__time {
		min-width: 0;
		font-size: 12px;
	}

	.video-player__volume {
		grid-template-columns: 40px minmax(0, 1fr);
	}

	.video-upload-block {
		padding: 20px;
	}
}

/* End */
/* /bitrix/templates/aspro-premier/components/bitrix/news.list/video-gallery/style.css?177762062310420 */
