.video-page-top {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}

.video-page-main {
	flex: 1 1 auto;
	min-width: 0;
}

.video-page-aside {
	flex: 0 0 300px;
	width: 300px;
}

.video-page-aside:empty,
.video-page-promo:empty {
	display: none;
}

.video-page-aside .item {
	margin-bottom: 10px;
}

.video-page-aside .item:last-child {
	margin-bottom: 0;
}

.video-page-promo {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 40px;
}

.video-view .videoplayer {
	background: transparent;
}

.video-view .video-player-box {
	position: relative;
	width: 100%;
	background: #000;
	border-radius: 10px;
	overflow: hidden;
}

.video-view .video-player-frame {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	background: #000;
}

.video-view .video-player-frame #kt_player,
.video-view .video-player-frame iframe,
.video-view .video-player-frame embed,
.video-view .video-player-frame object,
.video-view .video-player-poster {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.video-view .video-player-poster {
	object-fit: cover;
	opacity: 0.4;
}

.video-view .no-player .message {
	z-index: 1;
	color: var(--main-color);
}

.video-view .no-player .message a {
	color: var(--active-color);
}

.video-view .no-player .submit {
	margin-top: 15px;
	padding: 10px 25px;
	border: 0;
	border-radius: 20px;
	background: var(--active-color);
	color: var(--main-color);
	font-size: 14px;
	cursor: pointer;
}

.video-view .videoplayer + * {
	margin-top: 20px;
}

.video-info {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 30px;
	margin-top: 30px;
}

.video-info > * {
	grid-column: 1 / -1;
}

.video-info .video-info-head {
	grid-column: 1;
	grid-row: 1;
}

.video-info .video-actions {
	grid-column: 2;
	grid-row: 1;
}

.video-info .video-models {
	grid-row: 2;
}

.video-info-title {
	font-size: 30px;
	line-height: 38px;
	font-weight: 700;
	color: var(--main-color);
	word-break: break-word;
}

.video-info-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 8px;
	font-size: 13px;
	line-height: 18px;
	color: var(--second-color);
}

.video-info-stat {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.video-info-stat .svg-icon {
	width: 14px;
	height: 14px;
}

.video-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.video-rating {
	position: relative;
	display: flex;
	height: 40px;
	border-radius: 20px;
	background: #1E1E1E;
}

.video-rating-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0 15px;
	font-size: 15px;
	line-height: 20px;
	font-weight: 700;
	color: var(--main-color);
	transition: color .3s ease;
}

.video-rating-btn + .video-rating-btn {
	border-left: 1px solid #2E2E2E;
}

.video-rating-btn .svg-icon {
	width: 18px;
	height: 18px;
}

.video-rating-btn.voted {
	color: var(--active-color);
}

.video-rating-btn.disabled {
	cursor: default;
}

.video-rating-btn.disabled:not(.voted) {
	opacity: 0.5;
}

.video-rating .voters {
	position: absolute;
	right: 0;
	bottom: 100%;
	margin-bottom: 5px;
	font-size: 12px;
	line-height: 16px;
	white-space: nowrap;
	color: var(--second-color);
}

.video-actions-buttons {
	display: flex;
	align-items: center;
	gap: 10px;
}

.video-action-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #1E1E1E;
	color: var(--main-color);
	cursor: pointer;
	transition: color .3s ease, background .3s ease;
}

.video-action-btn .svg-icon {
	width: 17px;
	height: 17px;
}

.video-action-btn.active,
.video-.show .video-action-btn,
.video-favourites.show .video-action-btn,
.video-share.show .video-action-btn {
	color: var(--active-color);
}

.video-,
.video-favourites,
.video-share {
	position: relative;
}

.video-favourites-list {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20;
	min-width: 230px;
	margin: 8px 0 0;
	padding: 8px 0;
	border: 1px solid #1E1E1E;
	border-radius: 10px;
	background: var(--tools-bg);
	list-style: none;
}

.video-favourites.show .video-favourites-list {
	display: block;
}

.video-favourites-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 8px 15px;
	font-size: 15px;
	line-height: 20px;
	white-space: nowrap;
	color: var(--main-color);
	transition: color .3s ease;
}

.video-favourites-list a.delete,
.video-favourites-list .svg-icon {
	color: var(--active-color);
}

.video-favourites-list .svg-icon {
	width: 12px;
	height: 12px;
}

.video-share-list {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20;
	min-width: 230px;
	margin-top: 8px;
	padding: 8px 0;
	border: 1px solid #1E1E1E;
	border-radius: 10px;
	background: var(--tools-bg);
}

.video-share.show .video-share-list {
	display: block;
}

.video-share-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 7px 15px;
	font-size: 15px;
	line-height: 20px;
	white-space: nowrap;
	color: var(--main-color);
	transition: color .3s ease;
}

.video-share-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #fff;
}

.video-share-icon .svg-icon {
	width: 13px;
	height: 13px;
}

.video-share-icon.x {
	background: #000;
	box-shadow: inset 0 0 0 1px #2E2E2E;
}

.video-share-icon.telegram {
	background: #fff;
	color: #26A5E4;
}

.video-share-icon.whatsapp {
	background: #25D366;
}

.video-share-icon.reddit {
	background: #fff;
	color: #FF4500;
}

.video-share-icon.tumblr {
	background: #36465D;
}

.video-share-icon.link {
	background: var(--active-color);
}

.video-share-icon.telegram .svg-icon,
.video-share-icon.reddit .svg-icon {
	width: 24px;
	height: 24px;
}

.video--list {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20;
	min-width: 200px;
	margin-top: 8px;
	padding: 8px 0;
	border: 1px solid #1E1E1E;
	border-radius: 10px;
	background: var(--tools-bg);
}

.video-.show .video--list {
	display: block;
}

.video--list a {
	display: block;
	padding: 8px 15px;
	font-size: 14px;
	line-height: 18px;
	white-space: nowrap;
	color: var(--main-color);
	transition: color .3s ease;
}

.video-models {
	display: flex;
	flex-wrap: wrap;
	gap: 15px 30px;
	margin-top: 20px;
}

.video-model {
	display: flex;
	align-items: center;
	gap: 10px;
}

.video-model-image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 70px;
	width: 70px;
	height: 85px;
	border-radius: 8px;
	background: #1E1E1E;
	overflow: hidden;
}

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

.video-model-image .no-thumb {
	border-radius: 8px;
	padding: 5px;
	font-size: 11px;
	line-height: 14px;
	text-align: center;
	color: var(--second-color);
}

.video-model-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}

.video-model-title {
	font-size: 17px;
	line-height: 22px;
	font-weight: 700;
	color: var(--main-color);
	transition: color .3s ease;
}

.video-model-subscribe {
	padding: 2px 12px;
	border: 1px solid var(--active-color);
	border-radius: 20px;
	font-size: 14px;
	line-height: 20px;
	color: var(--active-color);
	transition: color .3s ease, background .3s ease;
}

.video-model-subscribe.done {
	background: var(--active-color);
	color: var(--main-color);
	pointer-events: none;
}

.video-details {
	max-width: 700px;
}

.video-description {
	margin-top: 20px;
	font-size: 16px;
	line-height: 26px;
	color: rgba(255, 255, 255, 0.7);
	word-break: break-word;
}

.video-details-row {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-top: 20px;
	font-size: 16px;
	line-height: 26px;
}

.video-details-label {
	flex: 0 0 auto;
	font-weight: 700;
	color: var(--main-color);
}

.video-details-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
	color: rgba(255, 255, 255, 0.6);
}

.video-details-links a {
	color: rgba(255, 255, 255, 0.6);
	transition: color .3s ease;
}

.video-details-bottom {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px 20px;
	padding-bottom: 30px;
	border-bottom: 1px solid #1E1E1E;
}

.video-report-link {
	flex: 0 0 auto;
	margin-top: 20px;
	font-size: 16px;
	line-height: 26px;
	color: rgba(255, 255, 255, 0.6);
	transition: color .3s ease;
}

.video- {
	max-width: 700px;
	margin-top: 20px;
	padding: 20px;
	border-radius: 10px;
	background: var(--tools-bg);
}

.video- .success {
	font-size: 16px;
	line-height: 22px;
	color: var(--active-color);
}

.video--title {
	margin-bottom: 12px;
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	color: var(--main-color);
}

.video--radio {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 20px;
	color: var(--main-color);
}

.video--radio .radio {
	-webkit-appearance: radio;
	appearance: auto;
	width: 16px;
	height: 16px;
	margin: 0;
	accent-color: var(--active-color);
}

.video--radio label {
	cursor: pointer;
}

.video- .textarea,
.video- .textfield {
	width: 100%;
	padding: 10px 15px;
	border: 1px solid #4d4d4d;
	border-radius: 10px;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	line-height: 20px;
	color: var(--main-color);
}

.video- .textarea {
	height: 90px;
	margin-top: 10px;
	resize: none;
}

.video--buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 15px;
}

.video- .submit,
.video--cancel {
	height: 40px;
	padding: 0 30px;
	border: 0;
	border-radius: 20px;
	font-family: inherit;
	font-size: 15px;
	cursor: pointer;
	transition: background .3s ease;
}

.video- .submit {
	background: var(--active-color);
	color: var(--main-color);
}

.video--cancel {
	background: #1E1E1E;
	color: var(--main-color);
}

.video-comments {
	max-width: 700px;
	margin-top: 30px;
}

.video-comments-title {
	margin-bottom: 20px;
	font-size: 26px;
	line-height: 32px;
	font-weight: 700;
	color: var(--main-color);
}

.video-comments .list-comments {
	margin-top: 0;
}

.video-comments .list-comments .item {
	display: block;
	max-width: none;
	margin-bottom: 20px;
	overflow: visible;
}

.video-comment-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.video-comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.video-comment-avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #1E1E1E;
	overflow: hidden;
}

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

.video-comment-avatar .no-thumb {
	border-radius: 50%;
}

.video-comment-author .name {
	overflow: hidden;
	font-size: 18px;
	line-height: 24px;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--main-color);
}

.video-comment-date {
	flex: 0 0 auto;
	font-size: 13px;
	line-height: 18px;
	color: var(--second-color);
}

.video-comments .comment-options {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 5px;
}

.video-comments .comment-rating {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 6px;
	border-radius: 15px;
	background: var(--active-color);
	font-size: 13px;
	line-height: 16px;
	font-weight: 700;
	color: var(--main-color);
}

.video-comments .comment-like,
.video-comments .comment-dislike,
.video-comments .comment-edit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #1E1E1E;
	color: rgba(255, 255, 255, 0.6);
	transition: color .3s ease;
}

.video-comments .comment-options .svg-icon {
	width: 14px;
	height: 14px;
}

.video-comments .comment-options .disabled {
	opacity: 0.5;
	cursor: default;
}

.video-comments .comment-text {
	margin-top: 8px;
	font-size: 16px;
	line-height: 24px;
	color: rgba(255, 255, 255, 0.85);
	word-break: break-word;
}

.video-comments .comment-text img {
	vertical-align: middle;
}

.video-comments .dim-comment .comment-text {
	opacity: 0.5;
}

.video-comments .show-all-comments {
	height: 40px;
	margin: 20px 0 0 0;
	padding: 0 20px;
	font-family: inherit;
	font-size: 14px;
	line-height: 36px;
}

.video-comments-form {
	margin-top: 30px;
}

.video-comments-form .success {
	margin-bottom: 15px;
	font-size: 16px;
	line-height: 22px;
	color: var(--active-color);
}

.video-comments-field {
	position: relative;
	border: 2px solid #4d4d4d;
	border-radius: 20px;
	overflow: hidden;
}

.video-comments-field .textarea {
	display: block;
	width: 100%;
	height: 90px;
	padding: 15px 70px 10px 20px;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	line-height: 22px;
	color: var(--main-color);
	resize: none;
}

.video-comments-counter {
	position: absolute;
	top: 15px;
	right: 20px;
	font-size: 15px;
	line-height: 22px;
	color: var(--second-color);
}

.video-comments-field .smileys-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.05);
}

.video-comments-field .smileys-bar img {
	width: 20px;
	height: 20px;
	cursor: pointer;
}

.video-comments-field .field-error {
	padding: 0 20px 10px;
}

.video-comments-name .textfield {
	width: 100%;
	margin-top: 15px;
	padding: 12px 20px;
	border: 2px solid #4d4d4d;
	border-radius: 30px;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	line-height: 22px;
	color: var(--main-color);
}

.video-comments-form .captcha-control {
	margin-top: 15px;
}

.video-comments-form .captcha-control .textfield {
	padding: 10px 20px;
	border: 1px solid #4d4d4d;
	border-radius: 10px;
	background: transparent;
	color: var(--main-color);
}

.video-comments-form .bottom .submit,
.video-comments- {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 290px;
	height: 50px;
	margin: 30px 0 0;
	padding: 0 30px;
	border: 0;
	border-radius: 25px;
	background: var(--active-color);
	font-family: inherit;
	font-size: 18px;
	color: var(--main-color);
	cursor: pointer;
	transition: background .3s ease;
}

.video-comments-hint {
	font-size: 15px;
	line-height: 22px;
	color: var(--second-color);
}

.video-related {
	margin-top: 40px;
}

.video-related-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 24px;
	margin-bottom: 25px;
}

.video-related-tab {
	font-size: 22px;
	line-height: 28px;
	font-weight: 700;
	color: var(--second-color);
	transition: color .3s ease;
}

.video-related-tab.active {
	color: var(--main-color);
}

.video-related-bottom {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin-top: 30px;
}

.video-related-bottom .pagination-list {
	margin-top: 0;
}

.video-related-total {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	font-size: 16px;
	line-height: 22px;
	color: var(--main-color);
}

@media screen and (hover: hover) {
	.video-rating-btn:not(.disabled):hover,
	.video-action-btn:hover,
	.video--list a:hover,
	.video-model-title:hover,
	.video-details-links a:hover,
	.video-report-link:hover,
	.video-related-tab:hover,
	.video-favourites-list a:hover,
	.video-share-list a:hover {
		color: var(--active-color);
	}

	.video-model-subscribe:hover {
		background: var(--active-color);
		color: var(--main-color);
	}

	.video-comment-author .name:hover {
		color: var(--main-color);
	}

	.video-comments .comment-like:hover,
	.video-comments .comment-dislike:hover,
	.video-comments .comment-edit:hover {
		color: var(--main-color);
	}

	.video- .submit:hover,
	.video-comments-form .bottom .submit:hover,
	.video-comments-:hover {
		background: var(--active-second-color);
	}

	.video--cancel:hover {
		background: #2E2E2E;
	}
}

@media screen and (max-width: 1160px) {
	.video-page-top {
		flex-direction: column;
	}

	.video-page-main,
	.video-page-aside {
		flex: 0 0 auto;
		width: 100%;
	}

	.video-page-aside {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
}

@media screen and (max-width: 768px) {
	.video-view .video-player-box {
		border-radius: 0;
	}

	.video-info {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 20px;
	}

	.video-info .video-actions {
		grid-column: 1;
		grid-row: 3;
		width: 100%;
		margin-top: 20px;
	}

	.video-rating {
		flex: 2 1 0;
		height: 44px;
		border-radius: 22px;
	}

	.video-rating-btn {
		flex: 1 1 0;
		justify-content: center;
		padding: 0 10px;
	}

	.video-actions-buttons {
		flex: 3 1 0;
	}

	.video-actions-buttons > * {
		flex: 1 1 0;
		min-width: 0;
	}

	.video-actions-buttons .video-action-btn {
		width: 100%;
		height: 44px;
		border-radius: 22px;
	}

	.video-share-list {
		right: 0;
	}

	.video-info-title {
		font-size: 22px;
		line-height: 28px;
	}

	.video-rating .voters {
		right: auto;
		left: 0;
	}

	.video--list {
		right: auto;
		left: 0;
	}

	.video-comments-title {
		font-size: 22px;
		line-height: 28px;
	}

	.video-comments-form .bottom .submit,
	.video-comments- {
		width: 100%;
		min-width: 0;
	}

	.video-related-tab {
		font-size: 18px;
		line-height: 24px;
	}

	.video-related-bottom {
		flex-direction: column;
		gap: 15px;
	}

	.video-related-total {
		position: static;
		transform: none;
	}
}
