body {
	font-family:Verdana, Geneva, sans-serif;
	font-size:14px;
	line-height:20px;
	color:#444;
	background:#fff;
	margin:0;
	padding:0;
}
a {
	color:#444;
	text-decoration:underline;
}
a:hover {
	text-decoration:none;
}
img {
	width:100%;
	height:auto;
}
#header {
	display:flex;
	flex-flow:row wrap;
	background:#eee;
	padding:15px 15px 0;
	justify-content:center;
}
#logo,
#search {
	margin-bottom:15px;
}
#nav {
	margin-bottom:5px;
}
#logo a {
	font-size:26px;
	line-height:36px;
	text-decoration:none;
	color:#444;
	text-transform:uppercase
}
#logo img {
	width:36px;
	margin-right:15px;
}
#logo img,
#logo span {
	display:inline-block;
	vertical-align:middle;
}
#nav ul {
	margin:0 20px;
	padding:0;
	list-style:none;
	display:flex;
	flex-flow:row wrap;
	justify-content:center;
}
#nav li {
	margin:5px 5px 10px;
	padding:0;
	line-height:26px;
}
#nav a {
	display:block;
	background:#ac80dd;
	color:#fff;
	text-decoration:none;
	padding:0 10px 2px;
	border-radius:3px;
	
}
#nav a:hover {
	background:#ac80dd;
	color:#fff;
	text-decoration:underline;
}
#search {
	flex:1;
}
#search form {
	margin:0;
	padding:0;
	display:flex;
	flex-flow:row nowrap;
}
#search input,
#search input:focus {
	margin:6px 0 0;
	padding:0 5px;
	line-height:26px;
	border-radius:3px 0 0 3px;
	border:none;
	flex:1;
	background:#fff;
	border:1px solid #ccc;
}
#search button,
#search button:focus {
	margin:6px 0 0;
	padding:0 5px;
	line-height:24px;
	border:none;
	border-left:1px solid #ac80dd;
	border-radius:0 3px 3px 0;
	background:#ac80dd;
	cursor:pointer;
}
#search button span {
	display:block;
	width:18px;
	height:18px;
	background:url('../img/search.svg');
	background-size:cover;
}
#main {
	padding:0 15px 30px;
}
.navigation {
	display:flex;
	flex-flow:row wrap;
	justify-content:flex-end;
}
.sorting {
	display:flex;
	flex-flow:row nowrap;
	flex:1;
	margin:0 -3px 10px;
}
.pagination ul {
	margin:0;
	padding:0;
	list-style:none;
	display:flex;
	flex-flow:row wrap;
	margin:0 -3px 10px;
}
.pagination li {
	margin:0;
	padding:0;
}
.sorting a,
.pagination a,
.pagination span.current {
	display:block;
	padding:3px 10px;
	background:#ddd;
	border-radius:3px;
	margin:0 3px;
	text-decoration:none;
	margin-bottom:5px;
}
.sorting a:hover,
.sorting a.active,
.pagination a:hover,
.pagination a.active,
.pagination span.current {
	background:#ac80dd;
	color:#fff;
}
h1 {
	font-size:20px;
	line-height:26px;
	text-transform:uppercase;
	margin:0 -15px 20px;
	font-weight:normal;
	background:#ccc;
	padding:15px;
}
h2 {
	font-size:20px;
	line-height:26px;
	text-transform:uppercase;
	margin:25px 0 5px;
	font-weight:normal;
	text-align:center;
}
.categories,
.videos {
	display:flex;
	flex-flow:row wrap;
	margin:0 -10px 15px;
}
.category,
.video {
	width:100%;
}
.category-content,
.video-content {
	padding:10px;
}
.category-name {
	background:#ccc;
	text-align:center;
	padding:10px;
	border-radius:3px 3px 0 0;
}
.category-name.active {
	background:	#ac80dd;
}
.category-name.active a,
.category-name.active span {
	color:#fff;
}
.more a {
	display:block;
	text-decoration:none;
	background:#ccc;
	padding:10px;
	text-align:center;
	border-radius:3px;
	margin:0 0 40px;
}
.more a:hover {
	background:#ddd;
	color:#444;
}
.video-info > span {
	background:#ccc;
	border-radius:3px;
	font-size:12px;
	line-height:17px;
	display:inline-block;
	padding:0 5px;
	margin-right:5px;
}
.video-info .hd:after {
	content:'HD';
}
.video-info .hd {
	background:#ccc;
}
.video-info {
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.video-info > span.video-title {
	background:none;
	display:inline;
	padding:0;
	margin-right:0;
}
.video-categories {
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
.video-categories a {
	font-size:12px;
	line-height:12px;
}
.video-categories span:not(:last-child):after {
	content:', ';
}
.video-img {
	position:relative;
	cursor:pointer;
}
.video-img video {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:auto;
}
#footer {
	background:#ccc;
	padding:30px 15px;
	text-align:center;
	color:#444;
	font-size:13px;
}
#footer div {
	margin-bottom:10px;
}
#footer a {
	color:#444;
}
#footer div.footer-links a {
	border-right:1px solid #444;
	padding-right:4px;
}
#footer div.footer-links a:last-child {
	border-right:0;
	padding-right:0;
}
#overlay {
	background:#000;
	width:100%;
	height:100%;
	position:fixed;
	opacity:75%;
	top:0;
	left:0;
	z-index:10;
	display:none;
}
#video {
	position:fixed;
	background:url('../img/loader.gif') center center no-repeat #000;
	display:none;
	z-index:11;
	padding:10px 10px 70px;
}
#player-bottom {
	display:flex;
	flex-flow:row nowrap;
	margin-top:10px;
}
#player-bottom .video-categories {
	flex:1;
	white-space:normal;
	color:#fff;
}
#player-bottom .video-categories a {
	color:#fff;
}
#close {
	width:24px;
	height:24px;
	background:url('../img/close.svg');
	background-size:cover;
	cursor:pointer;
	margin:20px 0 0 15px;
}
#video-player {
	width:100%;
	height:100%;
}
@media (min-width: 380px) {
	.video,
	.category {
		width:50%;
	}
}
@media (min-width: 760px) {
	.video,
	.category {
		width:33.33%;
	}
}
@media (min-width: 1140px) {
	.video,
	.category {
		width:25%;
	}
}
@media (min-width: 1520px) {
	.video,
	.category {
		width:20%;
	}
}
.bigClickTeasersBlock {
	margin-bottom:20px;
}
.teaser_text a {
	text-decoration:none;
}