/*--------------------------------------------------------------
# KVS-style skin for UltimaTube
# Dark video-sharing layout: top header bar, full-width menu bar,
# category pills, 4-column thumbnail grid, centered footer.
# Loaded after style.css. Accent colour = Theme Options > Main color.
--------------------------------------------------------------*/

:root {
	--kvs-accent: #2f6bff;
	--kvs-bg: #000;
	--kvs-surface: #101010;
	--kvs-surface-2: #151515;
	--kvs-surface-3: #212121;
	--kvs-border: #242424;
	--kvs-text: #fff;
	--kvs-muted: #8b8b8b;
	--kvs-hd: #e00;
	--kvs-radius: 5px;
	--kvs-gap: 20px;
	--kvs-max: 1320px;
	--kvs-gutter: 32px;
	--kvs-font: Roboto, Helvetica, Arial, sans-serif;
}

html.kvs-light {
	--kvs-bg: #f2f2f2;
	--kvs-surface: #fff;
	--kvs-surface-2: #e8e8e8;
	--kvs-surface-3: #ececec;
	--kvs-border: #dcdcdc;
	--kvs-text: #111;
	--kvs-muted: #666;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
html,
body,
body.custom-background {
	background-color: var(--kvs-bg);
}

body,
button,
input,
select,
textarea {
	font-family: var(--kvs-font);
	color: var(--kvs-text);
}

body {
	font-size: 14px;
	line-height: 1.4;
}

#page,
.site-content,
.site-branding {
	background: transparent;
}

a {
	color: var(--kvs-text);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--kvs-accent);
}

h1, h2, h3, h4, h5, h6,
.widget-title,
.page-title,
.page .entry-title,
h1.homepage-title {
	color: var(--kvs-text);
	font-family: var(--kvs-font);
}

.row {
	max-width: calc(var(--kvs-max) + var(--kvs-gutter) * 2);
}

.site-content {
	padding: 0 var(--kvs-gutter);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	background: var(--kvs-surface-3);
	border: 1px solid transparent;
	color: var(--kvs-text);
	border-radius: var(--kvs-radius);
}

/* Buttons */
button,
.button,
.btn,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0;
	border-radius: var(--kvs-radius);
	font-family: var(--kvs-font);
	font-weight: 500;
	color: #fff;
	box-shadow: none;
	text-shadow: none;
}

button:hover,
.button:hover {
	filter: brightness(1.1);
}

.kvs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 0 20px;
	border-radius: var(--kvs-radius);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	border: 0;
	transition: background-color .15s, color .15s, filter .15s;
}

body .kvs-btn.kvs-btn-dark {
	background-color: var(--kvs-surface-3) !important;
	color: var(--kvs-text);
}

body .kvs-btn.kvs-btn-dark:hover {
	color: var(--kvs-accent);
	filter: none;
}

body .kvs-btn.kvs-btn-primary,
body .kvs-btn.kvs-btn-primary:hover {
	background-color: var(--kvs-accent) !important;
	color: #fff;
}

.kvs-btn i {
	font-size: 18px;
}

/* Neutralise the light backgrounds of the original stylesheet */
.archive-content,
.title-block,
.video-player-area,
.footer-widget-zone,
.under-video-block .video-archive-ad,
.video-archive-ad,
.filters-list {
	background: transparent;
	color: var(--kvs-text);
}

.archive-content {
	padding: 0 0 30px;
}

.title-block h1.entry-title,
.entry-title,
.entry-title a {
	color: var(--kvs-text);
}

pre,
mark {
	background: var(--kvs-surface-3);
	color: var(--kvs-text);
}

/* Font Awesome glyph inputs keep their icon font */
input.fa-input,
.fa-input {
	font-family: FontAwesome !important;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.kvs-header {
	background: var(--kvs-surface);
	position: relative;
	z-index: 1000;
}

.kvs-header-inner {
	max-width: calc(var(--kvs-max) + var(--kvs-gutter) * 2);
	margin: 0 auto;
	padding: 20px var(--kvs-gutter);
	display: flex;
	align-items: center;
	gap: 20px;
}

.kvs-header .site-branding {
	display: flex;
	align-items: center;
	min-height: 0;
	padding: 0;
	flex: 0 0 auto;
	margin-right: 10px;
}

.kvs-header .site-branding .logo {
	margin: 0;
	float: none;
}

.site-branding .logo img {
	display: block;
	max-height: 48px;
	width: auto;
}

.site-title {
	margin: 0;
	padding: 0;
	line-height: 1;
	font-weight: 900;
	text-transform: uppercase;
}

.site-title a,
.site-branding .logo a {
	white-space: nowrap;
	color: var(--kvs-text);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	letter-spacing: -0.5px;
	font-weight: 900;
}

.site-title a i,
.site-branding .logo i {
	color: var(--kvs-accent);
	font-size: 1.15em;
}

.site-description {
	margin: 4px 0 0;
	font-size: 12px;
	color: var(--kvs-muted);
}

/* Search */
.kvs-header .header-search {
	position: static !important;
	transform: none !important;
	width: auto !important;
	flex: 1 1 auto;
	max-width: 480px;
	display: block;
	margin: 0;
	padding: 0;
	top: auto !important;
	left: auto !important;
}

.kvs-header .header-search form {
	position: relative;
	margin: 0;
}

.kvs-header .header-search input.input-group-field,
.kvs-header .header-search input#s {
	width: 100% !important;
	height: 42px !important;
	float: none !important;
	margin: 0;
	padding: 0 56px 0 20px;
	background: var(--kvs-surface-3);
	border: 0;
	border-radius: var(--kvs-radius) !important;
	font-size: 13px;
	color: var(--kvs-text);
	box-shadow: none;
}

.kvs-header .header-search input#s::placeholder {
	color: var(--kvs-muted);
}

.kvs-header .header-search input#searchsubmit {
	position: absolute;
	top: 0;
	right: 0;
	width: 52px !important;
	height: 42px !important;
	line-height: 42px !important;
	padding: 0;
	float: none !important;
	font-size: 20px !important;
	color: var(--kvs-text) !important;
	background: transparent !important;
	border: 0;
	border-radius: 0 var(--kvs-radius) var(--kvs-radius) 0 !important;
	cursor: pointer;
}

.kvs-header .header-search input#searchsubmit:hover {
	color: var(--kvs-accent) !important;
}

/* Header actions */
.kvs-header-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: auto;
	flex: 0 0 auto;
}

.kvs-account {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-left: 30px;
}

.kvs-account .kvs-login {
	color: var(--kvs-muted);
	font-size: 14px;
}

.kvs-account .kvs-login:hover {
	color: var(--kvs-text);
}

.kvs-account .kvs-signup {
	height: 40px;
	padding: 0 30px;
}

.kvs-account .welcome {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	color: var(--kvs-text);
	font-size: 14px;
	height: 40px;
	padding: 0 12px 0 6px;
	background: var(--kvs-surface-3);
	border-radius: var(--kvs-radius);
}

.kvs-account .welcome img.avatar {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	margin: 0;
}

.kvs-account .welcome ul.sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--kvs-surface-2);
	border: 1px solid var(--kvs-border);
	border-radius: var(--kvs-radius);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
	z-index: 1001;
}

.kvs-account .welcome.open ul.sub-menu,
.kvs-account .welcome:hover ul.sub-menu {
	display: block;
}

.kvs-account .welcome ul.sub-menu li a {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 10px 16px;
	color: var(--kvs-text);
	font-size: 14px;
}

.kvs-account .welcome ul.sub-menu li a:hover {
	background: var(--kvs-surface-3);
	color: var(--kvs-accent);
}

/* Main navigation bar (desktop) */
#site-navigation.main-navigation {
	position: relative;
	top: auto;
	right: auto;
	width: 100%;
	height: auto;
	float: none;
	clear: both;
	background: var(--kvs-surface);
	border-top: 1px solid var(--kvs-border);
	border-bottom: 1px solid var(--kvs-border);
	padding: 0;
	margin: 0;
	box-shadow: none;
	overflow: visible;
}

.kvs-nav-inner {
	max-width: calc(var(--kvs-max) + var(--kvs-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--kvs-gutter);
}

.kvs-nav-account {
	display: none;
}

#site-navigation > .kvs-nav-inner > ul,
#site-navigation > .kvs-nav-inner > div > ul {
	display: flex !important;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
	list-style: none;
	width: 100%;
	background: transparent;
}

#site-navigation > .kvs-nav-inner > ul:after {
	display: none;
}

#site-navigation .kvs-nav-inner > ul > li,
#site-navigation .kvs-nav-inner > div > ul > li {
	position: relative;
	float: none;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

#site-navigation .kvs-nav-inner > ul > li > a,
#site-navigation .kvs-nav-inner > div > ul > li > a {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 50px;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 50px;
	text-transform: uppercase;
	letter-spacing: .2px;
	color: var(--kvs-text);
	background: transparent;
	border: 0 !important;
}

#site-navigation .kvs-nav-inner > ul > li > a:hover,
#site-navigation .kvs-nav-inner > ul > li:hover > a,
#site-navigation .kvs-nav-inner > ul > li.current-menu-item > a,
#site-navigation .kvs-nav-inner > ul > li.current-menu-ancestor > a,
#site-navigation .kvs-nav-inner > div > ul > li.current-menu-item > a {
	color: var(--kvs-accent);
	background: transparent;
}

#site-navigation .kvs-nav-inner > ul > li.menu-item-has-children > a:after {
	content: "\f107";
	font-family: FontAwesome;
	font-weight: 400;
	font-size: 18px;
	position: static;
	border: 0;
	margin: 0;
	width: auto;
	height: auto;
	transform: none;
	top: auto;
	right: auto;
}

#site-navigation ul ul,
#site-navigation ul.sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--kvs-surface-2);
	border: 1px solid var(--kvs-border);
	border-radius: 0 0 var(--kvs-radius) var(--kvs-radius);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
	display: none;
	z-index: 1001;
}

#site-navigation li:hover > ul {
	display: block;
}

#site-navigation ul ul li,
#site-navigation li:hover > ul > li {
	width: 100%;
	height: auto;
	float: none;
	background: transparent;
}

#site-navigation ul ul li a {
	display: block;
	width: auto;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.3;
	text-transform: none;
	color: var(--kvs-text);
	background: transparent;
	border: 0;
}

#site-navigation ul ul li a:hover {
	color: var(--kvs-accent);
	background: var(--kvs-surface-3);
}

ul li.current-menu-item a {
	border-bottom-color: transparent !important;
}

@media (min-width: 992px) {
	/* main.js animates "right" on mobile; ignore it on desktop. */
	#site-navigation.main-navigation {
		right: auto !important;
	}
}

/* Mobile toggles (hidden on desktop) */
.search-menu-mobile {
	display: none;
}

/*--------------------------------------------------------------
# Category bar (pills)
--------------------------------------------------------------*/
.kvs-category-bar {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 30px 0 10px;
}

.kvs-category-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 1 1 auto;
	max-height: 36px;
	overflow: hidden;
}

.kvs-category-bar.expanded .kvs-category-list {
	max-height: none;
}

.kvs-category-list li {
	margin: 0;
	padding: 0;
}

.kvs-category-list a {
	display: block;
	height: 36px;
	line-height: 36px;
	padding: 0 19px;
	font-size: 14px;
	color: var(--kvs-muted);
	background: var(--kvs-surface-3);
	border-radius: var(--kvs-radius);
	white-space: nowrap;
	transition: color .15s, background-color .15s;
}

.kvs-category-list a:hover,
.kvs-category-list li.active a {
	color: #fff;
	background: var(--kvs-accent);
}

body .kvs-category-toggle {
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	padding: 0;
	display: none;
	align-items: center;
	justify-content: center;
	color: var(--kvs-text);
	background: transparent !important;
	font-size: 24px;
	line-height: 1;
}

.kvs-category-bar.has-more .kvs-category-toggle {
	display: flex;
}

.kvs-category-bar.expanded .kvs-category-toggle i {
	transform: rotate(180deg);
}

/*--------------------------------------------------------------
# Headings & filters
--------------------------------------------------------------*/
.site-main {
	padding: 0;
}

.archive-content,
#primary {
	padding-top: 10px;
}

h1.widget-title,
h2.widget-title,
.widget-title,
.page-title,
h1.homepage-title,
.archive-content > h1,
.page-header h1 {
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	margin: 20px 0 20px;
	padding: 0;
	border: 0 !important;
	box-shadow: none;
	background: none;
	text-transform: none;
	color: var(--kvs-text);
	float: none;
}

.widget-title:before,
.widget-title:after,
.page-title:before {
	display: none;
}

.widget-title i,
h1.widget-title i {
	color: var(--kvs-accent);
	margin-right: 8px;
}

/* Sort filters: right-aligned tabs */
.filters {
	float: right;
	position: relative;
	margin: -60px 0 20px;
	border: 0;
	background: transparent;
	z-index: 2;
}

.filters .filter-title {
	display: none !important;
}

.filters .filters-list {
	display: flex !important;
	gap: 6px;
	position: static !important;
	width: auto !important;
	border: 0 !important;
	background: transparent;
	box-shadow: none;
	padding: 0;
}

.filters a,
.filters .filters-list a {
	display: inline-block;
	white-space: nowrap;
	flex: 0 0 auto;
	margin: 0;
	padding: 0 14px;
	height: 34px;
	line-height: 34px;
	font-size: 13px;
	color: var(--kvs-muted);
	background: var(--kvs-surface-2);
	border: 0 !important;
	border-radius: var(--kvs-radius);
}

.filters a::before {
	display: none;
}

.filters a.active,
.filters a:hover {
	color: #fff !important;
	background: var(--kvs-accent);
}

.homepage-description,
.archive-description,
.term-description {
	color: var(--kvs-muted);
	font-size: 12px;
	line-height: 1.6;
}

/* "More videos" link of the homepage widgets */
a.more-videos.label {
	float: right;
	margin-top: -52px;
	padding: 0 14px;
	height: 34px;
	line-height: 34px;
	font-size: 13px;
	color: var(--kvs-muted);
	background: var(--kvs-surface-2) !important;
	border-radius: var(--kvs-radius);
}

a.more-videos.label:hover {
	color: #fff;
	background: var(--kvs-accent) !important;
}

/*--------------------------------------------------------------
# Video grid & thumbnails
--------------------------------------------------------------*/
.videos-list {
	display: grid;
	grid-template-columns: repeat(var(--kvs-cols, 4), minmax(0, 1fr));
	gap: 26px var(--kvs-gap);
	margin: 0 0 30px;
	overflow: visible;
}

.videos-list:before,
.videos-list:after {
	display: none;
}

.videos-list .thumb-block,
.thumb-block {
	float: none;
	display: block;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	clear: none !important;
	overflow: visible;
	background: transparent;
}

.video-list-content {
	min-height: 0;
	overflow: visible;
}

.video-list-content.with-happy,
.video-widget-container.with-happy {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: var(--kvs-gap);
	align-items: start;
	overflow: visible;
}

.video-list-content.with-happy .videos-list,
.video-widget-container.with-happy .videos-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.video-list-content.with-happy .video-archive-ad,
.video-widget-container.with-happy .video-archive-ad {
	position: sticky;
	top: 20px;
	width: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	background: var(--kvs-surface);
	padding: 10px;
	border-radius: var(--kvs-radius);
}

.thumb-block a {
	display: block;
	color: var(--kvs-text);
}

.thumb-block .post-thumbnail {
	position: relative;
	overflow: hidden;
	border-radius: var(--kvs-radius);
	background: var(--kvs-surface-3);
	transition: box-shadow .15s;
}

.thumb-block:hover .post-thumbnail {
	box-shadow: inset 0 0 0 3px #fff;
}

.thumb-block .post-thumbnail:after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: var(--kvs-radius);
	box-shadow: inset 0 0 0 3px transparent;
	transition: box-shadow .15s;
	pointer-events: none;
}

.thumb-block:hover .post-thumbnail:after {
	box-shadow: inset 0 0 0 3px #fff;
}

html.kvs-light .thumb-block:hover .post-thumbnail:after {
	box-shadow: inset 0 0 0 3px var(--kvs-accent);
}

.thumb-block .post-thumbnail img {
	display: block;
	width: 100%;
	border-radius: 2px;
}

.thumb-block .post-thumbnail-container.no-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--kvs-muted);
	line-height: 1.2;
}

/* HD badge: red, top right */
body .thumb-block span.hd-video,
body .thumb-block:hover span.hd-video,
span.hd-video {
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: auto;
	left: auto;
	z-index: 3;
	padding: 4px 8px;
	font-size: 14px;
	font-weight: 900;
	font-style: normal;
	line-height: 1.2;
	color: #fff;
	background-color: var(--kvs-hd) !important;
	border-radius: 6px;
}

/* Duration: bottom left */
.thumb-block span.duration,
span.duration {
	position: absolute;
	left: 10px;
	bottom: 10px;
	top: auto;
	right: auto;
	z-index: 3;
	height: auto;
	padding: 4px 6px;
	font-size: 12px;
	line-height: 1;
	color: #fff;
	background: rgba(0, 0, 0, .8);
	border-radius: 7px;
}

.thumb-block .entry-header {
	height: auto;
	padding: 0;
	overflow: visible;
	font-weight: 400;
	color: var(--kvs-text);
}

.thumb-block .title,
.thumb-block span.title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	max-height: none;
	height: 43px;
	margin: 0;
	padding: 10px 10px 0;
	box-sizing: content-box;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--kvs-text);
}

body .thumb-block:hover span.title {
	color: var(--kvs-text);
}

.thumb-block .under-thumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 14px;
	padding: 8px 10px 0;
	margin: 0;
	font-size: 12px;
	line-height: 1.6;
	color: var(--kvs-muted);
	border: 0;
	background: none;
}

.thumb-block .under-thumb span,
.thumb-block .views,
.thumb-block .rating,
.thumb-block .date {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 0;
	float: none;
	font-size: 12px;
	font-weight: 400;
	color: var(--kvs-muted);
}

.thumb-block .under-thumb i {
	font-size: 14px;
	color: var(--kvs-muted);
}

/* Category / actor / photo listing cards */
.categories-list .thumb-block .entry-header,
.actors-list .thumb-block .entry-header {
	padding: 10px 10px 0;
	height: auto;
}

.categories-list .thumb-block .entry-header span,
.categories-list .thumb-block .entry-header .cat-title {
	color: var(--kvs-text);
	font-size: 16px;
	font-weight: 500;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
	clear: both;
	margin: 30px 0;
	text-align: center;
}

.pagination ul {
	display: flex !important;
	width: 100%;
	float: none;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination ul li {
	float: none;
	display: block;
	margin: 0;
}

.pagination ul li a {
	display: block;
	min-width: 40px;
	height: 40px;
	line-height: 40px;
	padding: 0 15px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
	color: var(--kvs-muted);
	background: var(--kvs-surface-2);
	border: 0;
	border-radius: var(--kvs-radius);
}

.pagination ul li a:hover {
	color: #fff;
}

body .pagination ul li a.current {
	color: #fff;
	background-color: transparent !important;
	cursor: default;
}

/*--------------------------------------------------------------
# Tags & labels
--------------------------------------------------------------*/
.label,
a.label,
.tags-list a,
a.tag-cloud-link,
.widget_categories ul li a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 32px;
	line-height: 32px;
	padding: 0 14px;
	margin: 0 6px 6px 0;
	font-size: 13px !important;
	color: var(--kvs-muted);
	background: var(--kvs-surface-3);
	border: 0;
	border-radius: var(--kvs-radius);
	text-transform: none;
}

.label:hover,
a.label:hover,
.tags-list a:hover,
a.tag-cloud-link:hover {
	color: #fff;
}

.tags-letter-block .tag-items .tag-item a {
	color: var(--kvs-text);
}

/*--------------------------------------------------------------
# Left aside (optional)
--------------------------------------------------------------*/
.archive-aside {
	background: var(--kvs-surface);
	border-radius: var(--kvs-radius);
	padding: 15px;
}

.archive-aside h3 {
	color: var(--kvs-text);
	font-size: 16px;
}

.aside-filters span a,
.archive-aside a {
	color: var(--kvs-muted);
}

.aside-filters span:hover a,
.archive-aside a:hover,
.archive-aside a.active {
	color: var(--kvs-accent);
}

/*--------------------------------------------------------------
# Single video
--------------------------------------------------------------*/
body.single .hentry,
.single .entry-content,
.video-player-area {
	background: transparent;
}

body.single article.hentry,
body.single .site-main,
body.single .entry-content {
	margin: 0;
	padding: 0;
	box-shadow: none;
	border: 0;
}

.video-infos,
.video-infos .tracking-btn {
	padding: 0 !important;
}

.video-player-area.with-sidebar-ads {
	width: calc(100% - 340px);
	margin-right: 20px;
}

.sidebar-ads {
	width: 320px;
	padding: 10px;
	background: var(--kvs-surface);
	border-radius: var(--kvs-radius);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
}

.kvs-video-header {
	padding: 20px 0 10px;
}

.kvs-video-header .title-views {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin: 0 0 12px;
	padding: 0;
	float: none;
	width: auto;
	border: 0;
}

.kvs-video-header h1 {
	margin: 0;
	padding: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--kvs-text);
	text-transform: none;
	border: 0;
}

.kvs-video-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 12px;
	color: var(--kvs-muted);
}

.kvs-video-meta span,
.kvs-video-meta .views {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	float: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: var(--kvs-muted);
}

.kvs-video-header .video-tags {
	margin: 0;
	padding: 0;
	border: 0;
}

.kvs-video-header .tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.kvs-video-header .tags-list a.label {
	margin: 0;
	height: 30px;
	line-height: 30px;
	padding: 0 12px;
	font-size: 12px !important;
}

.kvs-video-header .tags-list a.label i {
	color: var(--kvs-text);
	font-size: 13px;
}

.video-player {
	background: #000;

	border-radius: var(--kvs-radius);
	overflow: hidden;
}

html.kvs-light .video-player {
	border-color: var(--kvs-surface);
}

.video-player .responsive-player {
	margin: 0;
}

.video-infos {
	display: block;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.video-infos .tracking-btn {
	float: none;
	width: 100%;
	margin: 0;
}

.video-infos .tracking-btn a.button,
#tracking-url {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	height: 40px;
	line-height: 40px;
	padding: 0 16px;
	box-sizing: border-box;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	border-radius: var(--kvs-radius);
}

.video-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin: 12px 0 0;
	padding: 0 0 14px;
	border: 0;
	border-bottom: 1px solid var(--kvs-border);
	background: transparent;
}

#video-rate {
	float: none;
	margin: 0;
}

#video-rate .post-like {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: flex-start;
}

#video-rate .post-like a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--kvs-muted);
	background: var(--kvs-surface-3);
	border-radius: var(--kvs-radius);
}

#video-rate .post-like a:hover,
#video-rate .post-like a:hover i {
	color: var(--kvs-text);
}

#video-rate .post-like i {
	color: var(--kvs-muted);
	font-size: 18px;
}

.rating-likes-bar {
	margin: 0 6px;
	min-width: 90px;
	font-size: 12px;
	color: var(--kvs-text);
}

.rating-bar {
	height: 3px;
	margin-top: 4px;
	background: var(--kvs-surface-3);
	border-radius: 2px;
	overflow: hidden;
}

body .rating-bar-meter {
	background-color: var(--kvs-hd) !important;
	height: 3px;
}

#video-links {
	float: none;
	margin: 0;
	display: flex;
	gap: 8px;
}

#video-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	font-size: 13px;
	color: var(--kvs-text);
	background: var(--kvs-surface-3);
	border-radius: var(--kvs-radius);
	border: 0;
}

#video-links a i {
	color: var(--kvs-text);
}

a#show-sharing-buttons.active,
a#show-sharing-buttons.active i {
	color: #fff;
}

a#show-sharing-buttons.active {
	background: var(--kvs-accent);
}

.video-share {
	margin: 14px 0 0;
	padding: 14px;
	background: var(--kvs-surface);
	border-radius: var(--kvs-radius);
	border: 0;
}

.video-share .title {
	color: var(--kvs-text);
}

.video-share-url textarea#copyme {
	background: var(--kvs-surface-3);
	color: var(--kvs-text);
	border: 0;
}

.video-share .video-share-url a#clickme {
	background: var(--kvs-surface-2);
	color: var(--kvs-text);
}

.video-description {
	margin: 14px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--kvs-text);
	font-size: 14px;
	line-height: 1.6;
}

.video-description a,
.entry-content .desc a {
	color: var(--kvs-accent);
}

.morelink,
.morelink i {
	color: var(--kvs-muted);
}

.under-video-block {
	clear: both;
	padding-top: 30px;
}

.under-video-block .widget-title,
.under-video-block h2 {
	font-size: 22px;
}

.show-more-related {
	text-align: center;
	margin: 0 0 30px;
}

.show-more-related .button {
	display: block;
	height: 40px;
	line-height: 40px;
	padding: 0 20px;
	font-size: 13px;
	text-transform: uppercase;
	color: var(--kvs-text);
	background-color: var(--kvs-surface-2) !important;
}

/* Comments */
.comments-area,
#comments {
	color: var(--kvs-text);
}

.comments-title,
.comment-reply-title {
	font-size: 18px;
	font-weight: 500;
	border: 0 !important;
}

.comment-list .comment-body {
	border-bottom: 1px solid var(--kvs-border);
	padding: 15px 0;
}

.comment-meta,
.comment-metadata a {
	color: var(--kvs-muted);
}

/*--------------------------------------------------------------
# Pages, blog, forms
--------------------------------------------------------------*/
.page .entry-content,
.blog-article,
.hentry {
	color: var(--kvs-text);
}

.page .entry-title,
.page-title {
	border-bottom: 0 !important;
}

/* Login / register modal */
.modal-content {
	background: var(--kvs-surface);
	color: var(--kvs-text);
	border-radius: var(--kvs-radius);
	border: 1px solid var(--kvs-border);
}

.modal-content .close {
	color: var(--kvs-text);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.happy-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	margin: 40px calc(var(--kvs-gutter) * -1) 0;
	padding: 40px var(--kvs-gutter);
	background: var(--kvs-surface);
	position: relative;
}

.happy-footer:before {
	content: "Advertisement";
	position: absolute;
	top: 14px;
	left: 0;
	right: 0;
	text-align: center;
	font-size: 10px;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--kvs-muted);
}

.footer-widget-zone {
	background: var(--kvs-bg);
	color: var(--kvs-text);
}

.site-footer,
.kvs-footer {
	margin: 0 calc(var(--kvs-gutter) * -1);
	padding: 50px var(--kvs-gutter) 40px;
	width: auto;
	background: var(--kvs-bg);
	color: var(--kvs-muted);
	text-align: center;
	border-top: 1px solid var(--kvs-border);
}

.site-footer:after {
	display: none;
}

.kvs-footer-logo {
	display: flex;
	justify-content: center;
	margin-bottom: 26px;
}

.kvs-footer-logo .logo {
	float: none;
	margin: 0;
}

.kvs-footer-logo .site-title a {
	font-size: 30px;
}

.kvs-footer-logo .logo img {
	max-height: 48px;
	width: auto;
}

.footer-menu-container {
	margin: 0 0 20px;
	text-align: center;
}

.footer-menu-container ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu-container ul li {
	float: none;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
}

.footer-menu-container ul li:after,
.footer-menu-container ul li:before {
	display: none;
}

.footer-menu-container a {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--kvs-text);
}

.footer-menu-container a:hover {
	color: var(--kvs-accent);
}

.site-footer .site-info {
	margin: 0 auto;
	max-width: 900px;
	font-size: 12px;
	line-height: 1.7;
	color: var(--kvs-muted);
}

.site-footer .site-info a {
	color: var(--kvs-text);
}

.site-footer .social-share {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 20px;
	float: none;
}

.site-footer .social-share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--kvs-surface-3);
	border-radius: var(--kvs-radius);
	color: var(--kvs-text);
}

.site-footer .social-share a svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

#back-to-top {
	width: 44px;
	height: 44px;
	line-height: 44px;
	border-radius: var(--kvs-radius);
	background-color: var(--kvs-accent) !important;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
	.videos-list {
		grid-template-columns: repeat(min(var(--kvs-cols, 4), 3), minmax(0, 1fr));
	}

	.kvs-account {
		margin-left: 0;
	}

	#site-navigation .kvs-nav-inner > ul > li > a {
		font-size: 13px;
	}
}

@media (max-width: 991.98px) {
	:root {
		--kvs-gutter: 16px;
		--kvs-gap: 14px;
	}

	.videos-list,
	.video-list-content.with-happy .videos-list,
	.video-widget-container.with-happy .videos-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.video-list-content.with-happy,
	.video-widget-container.with-happy {
		grid-template-columns: minmax(0, 1fr);
	}

	.video-list-content.with-happy .video-archive-ad,
	.video-widget-container.with-happy .video-archive-ad {
		position: static;
	}

	.video-player-area.with-sidebar-ads,
	.sidebar-ads {
		float: none;
		width: 100%;
		margin: 0;
	}

	.sidebar-ads {
		margin-top: 20px;
	}

	/* Header becomes: menu button | logo | search button */
	.kvs-header-inner {
		padding: 12px var(--kvs-gutter);
		gap: 12px;
		flex-wrap: wrap;
	}

	.kvs-header .site-branding {
		order: 2;
		flex: 1 1 auto;
		justify-content: center;
		margin: 0;
	}

	.kvs-header .site-title a {
		font-size: 24px !important;
	}

	.site-branding .logo img {
		max-height: 36px;
	}

	.site-description {
		display: none;
	}

	.search-menu-mobile {
		display: contents;
	}

	.search-menu-mobile #menu-toggle,
	.search-menu-mobile .header-search-mobile {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		position: static;
		margin: 0;
		padding: 0;
		font-size: 22px;
		color: var(--kvs-text);
		background: var(--kvs-surface-3);
		border-radius: var(--kvs-radius);
		cursor: pointer;
	}

	.search-menu-mobile #menu-toggle {
		order: 1;
	}

	.search-menu-mobile .header-search-mobile {
		order: 3;
	}

	.search-menu-mobile i {
		color: var(--kvs-text);
		margin: 0;
	}

	.kvs-header-actions {
		display: none;
	}

	.kvs-header .header-search {
		order: 4;
		flex: 1 1 100%;
		max-width: none;
		display: none;
	}

	.kvs-header .header-search.search-open {
		display: block;
	}

	/* Off-canvas menu, opened by #menu-toggle (main.js) */
	#site-navigation.main-navigation {
		position: fixed;
		top: 0;
		left: auto;
		right: -250px;
		bottom: 0;
		width: 250px;
		height: 100%;
		overflow-y: auto;
		border: 0;
		border-left: 1px solid var(--kvs-border);
		z-index: 99999;
		box-shadow: -10px 0 30px rgba(0, 0, 0, .5);
	}

	body.admin-bar #site-navigation.main-navigation {
		top: 46px;
	}

	.kvs-nav-inner {
		padding: 16px;
	}

	.kvs-nav-account {
		display: flex;
		flex-direction: column;
		gap: 10px;
		padding-bottom: 16px;
		margin-bottom: 8px;
		border-bottom: 1px solid var(--kvs-border);
	}

	.kvs-nav-account .kvs-account {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		margin: 0;
	}

	.kvs-nav-account .kvs-btn,
	.kvs-nav-account .kvs-login {
		width: 100%;
		box-sizing: border-box;
	}

	.kvs-nav-account .kvs-login {
		display: block;
		text-align: center;
		height: 40px;
		line-height: 40px;
		background: var(--kvs-surface-3);
		border-radius: var(--kvs-radius);
		color: var(--kvs-text);
	}

	.kvs-nav-account .welcome {
		flex-wrap: wrap;
		height: auto;
		padding: 8px;
	}

	.kvs-nav-account .welcome ul.sub-menu {
		position: static;
		width: 100%;
		box-shadow: none;
		border: 0;
		background: transparent;
	}

	#site-navigation > .kvs-nav-inner > ul,
	#site-navigation > .kvs-nav-inner > div > ul {
		flex-direction: column;
		justify-content: flex-start;
	}

	#site-navigation .kvs-nav-inner > ul > li > a,
	#site-navigation .kvs-nav-inner > div > ul > li > a {
		height: 44px;
		line-height: 44px;
		justify-content: space-between;
		border-bottom: 1px solid var(--kvs-border) !important;
	}

	#site-navigation ul ul,
	#site-navigation ul.sub-menu {
		position: static;
		display: none;
		min-width: 0;
		box-shadow: none;
		border: 0;
		background: transparent;
		padding: 0 0 0 10px;
	}

	#site-navigation li:hover > ul {
		display: none;
	}

	/* Content */
	.kvs-category-bar {
		padding-top: 16px;
	}

	.filters {
		float: none;
		margin: -6px 0 16px;
	}

	.filters .filters-list {
		overflow-x: auto;
		flex-wrap: nowrap;
	}

	a.more-videos.label {
		margin-top: -48px;
	}

	h1.widget-title,
	h2.widget-title,
	.widget-title,
	h1.homepage-title {
		font-size: 20px;
		margin: 14px 0;
	}

	.thumb-block .title,
	.thumb-block span.title {
		font-size: 14px;
		height: 38px;
		padding: 8px 4px 0;
	}

	.thumb-block .under-thumb {
		padding: 6px 4px 0;
		gap: 0 10px;
	}

	.video-actions {
		flex-wrap: wrap;
	}

	.video-player {
		border-width: 0;
		margin: 0 calc(var(--kvs-gutter) * -1);
		border-radius: 0;
	}

	.happy-footer {
		justify-content: center;
	}
}

@media (max-width: 575.98px) {
	.videos-list,
	.video-list-content.with-happy .videos-list,
	.video-widget-container.with-happy .videos-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}

	.kvs-category-list {
		flex-wrap: nowrap;
		overflow-x: auto;
		max-height: none;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.kvs-category-list::-webkit-scrollbar {
		display: none;
	}

	body .kvs-category-toggle {
		display: none !important;
	}

	.kvs-video-header h1 {
		font-size: 18px;
	}

	.footer-menu-container ul {
		gap: 8px 18px;
	}
}
