* {
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}
html, body {
	margin:0;
	padding:0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:15px;
}
body {
	background:#e3e3e3;
	color:#111;
	min-height:100vh;
	padding-bottom:10px;
}
a {
	color:#233142;
}
a:hover {
	text-decoration:none;
}

#m {
	display:none;
}
@media only screen and (max-width: 639px) {
	#m {
		display:block;
	}
}

h1 {
	font-size:20px;
	text-shadow:1px 1px 1px rgba(0, 0, 0, .25);
	margin:10px 0 10px 5px;
}
h2 {
	font-size:17px;
	text-shadow:1px 1px 1px rgba(0, 0, 0, .25);
}

.seleta {
	text-decoration:none;
	font-weight:bold;
	cursor:default;
}
.seleta:hover {
	text-decoration:none!important;
}

input[type=text], textarea {
	outline: none;
	border:none;
	padding:5px 10px;
	font-size:17px;
	font-weight:bold;
	border-radius:5px;
	background:#bbb;
	border:1px solid #aaa;
	color:#000;
}
input[type="text"]:focus, textarea:focus {
	outline:3px solid #af0404;
}
input[type="submit"] {
	padding:10px 15px;
	font-size:17px;
	font-weight:bold;
	color:#fff;
	background:linear-gradient(to bottom,#f83600 0%,#cc2000 53%,#990600 100%);
	border-right:1px solid #000;
	border-bottom:1px solid #000;
	border-left:1px solid #888;
	border-top:1px solid #888;
	border-radius:5px;
}
input[type="submit"]:hover {
	box-shadow:0 1px 6px rgba(0,0,0,.75);
	background:linear-gradient(to bottom,#f83600 20%,#cc2000 53%,#990600 80%);
}
input[type="submit"]:active {
	box-shadow:none;
	background:linear-gradient(to bottom,#990200 0%,#f43500 100%);
}



header {
	text-align:center;
	width:100%;
	position:sticky;
	top:0;
	z-index:999;
	border-bottom:1px solid #aaa;
	box-shadow:0 1px 2px rgba(0,0,0,.75);
}
header nav {
	background:#ccc;
	background:radial-gradient(592px at 48.2% 50%, rgba(255, 255, 249, 0.6) 0%, #ccc 74.6%);
	border-bottom:1px solid #ccc;
}
header.small {
	
}
header .width {
	display:flex;
	justify-content:center;
	align-items:center;
	padding:10px 5px;
	transition:0.2s;
}
header.small .width {
	padding:2px 5px 0 5px;
	transition:0.5s;
}
#logo {
	width:30%;
	text-align:left;
}
header.small #logo img {
	max-height:40px;
	transition:0.5s;
}
#logo img {
	max-height:50px;
	max-width:100%;
	transition:0.2s;
}
.search {
	width:40%;
	text-align:center;
}
.search_form {
	position:relative;
}
.search_form input[name="q"] {
	width:100%;
	margin:0 0 0 auto;
	font-size:20px;
	opacity:75%;
}
.search_form input[name="q"]:hover,
.search_form input[name="q"]:focus {
	opacity:100%;
}
.search_icon {
	width:20px;
	height:20px;
	position:absolute;
	top:7px;
	right:5px;
}
#order {
	text-align:right;
	margin:0 auto;
	width:30%;
	font-size:17px;
}
#order a {
	display:inline-block;
	max-width:50%;
	padding:5px 10px;
	border:1px solid #AF0404;
	border-right-width:0;
	border-radius:3px;
	transition:0.2s;
}
#order a:last-child {
	border-right-width:1px;
}
#order a:hover {
	
}
header.small #order a {
	padding:5px 5px;
	font-size:12px;
	transition:0.5s;
}
@media only screen and (max-width: 639px) {
	header .width {
		flex-wrap:wrap;
	}
	#logo, header.small:focus-within #logo {
		width:50%;
	}
	.search, header.small:focus-within .search {
		width:80%;
		order:3;
		margin-top:5px;
	}
	.search_form input[name="q"], .search_form input[name="q"]:focus {
		width:100%;
	}
	.search_icon {
		#right:11%;
	}
	#order, header.small:focus-within #order {
		width:50%;
		order:2;
	}
	
	header.small #logo {
		width:30%;
	}
	header.small .search {
		width:30%;
		margin:0 5%;
		order:2;
	}
	header.small #order {
		width:30%;
		order:3;
	}
}
@media only screen and (max-width: 340px) {
	#order {
		font-size:14px;
	}
}


#top_menu {
	list-style-type:none;
	display:flex;
	justify-content:center;
	margin:0;
	padding:0;
	border-top:1px solid #aaa;
	background:#ddd;
	background:radial-gradient(592px at 48.2% 50%, rgba(255, 255, 249, 0.75) 0%, #ddd 74.6%);
}
#top_menu li {
	padding:10px 15px;
	transition:0.2s;
}
#top_menu li:hover {
	background:#aaa;
	text-decoration:none;
}
header.small > #top_menu li {
	padding:5px 7px;
	transition:0.5s;
}




main {
	padding-bottom:40px;
	border-bottom:1px solid #888;
}

article, .width {
	max-width:1280px;
	margin:0 auto;
}
article.narra {
	max-width:640px;
	margin:0 auto;
	padding:0 10px;
}





.tags {
	text-align:center;
	margin:1px auto 25px auto;
}
.tags a {
	display:inline-block;
	padding:5px 7px;
	margin:1px;
	text-decoration:none;
}
.tags a:hover {
	text-decoration:underline;
}

.menu_best {
	margin-top:10px;
	margin-bottom:35px;
}
.menu_best a {
	margin:6px 3px 0 3px;
	padding:6px 10px;
	font-size:17px;
}
@media only screen and (max-width: 639px) {
	.menu_best {
		margin-top:0;
		margin-bottom:25px;
	}
	.menu_best a {
		margin:6px 3px 0 3px;
		padding:5px 7px;
		font-size:15px;
	}
}



.vids {
	display:flex;
	flex-wrap:wrap;
}
.v {
	width:25%;
	margin-bottom:20px;
}
.v_preview {
	margin:0 5px;
}
.v_preview > a {
	text-decoration:none;
}
.v_width {
	
}
.v_height {
	height:0;
	padding-bottom:56.25%;
	position:relative;
}
.v_thumb {
	position:absolute;
	top:0;
	bottom:0;
	right:0;
	left:0;
	overflow:hidden;
	background:url('/spinner.svg') no-repeat center;
	background-size:150px 150px;
	background-color:#000;
	border:1px solid #000;
}
.v_pic, .v_vid {
	width:100%;
	position: absolute;
    left:0;
    top:50%;
    transform: translateY(-50%);
	display:block;
}
.v_vid {
	display:none;
	background:url('/spinner.svg') no-repeat center;
	background-size:150px 150px;
}
.v.playing .v_vid {
	display:block;
}
.v_dur {
	position:absolute;
	right:0;
	bottom:0;
	padding:2px 5px 2px 5px;
	white-space:nowrap;
	text-overflow:ellipsis;
	overflow:hidden;
	font-size:15px;
	transition:opacity 0.5s;
	color:#fff;
	text-shadow:1px 1px 2px rgba(0, 0, 0, 1);
	background:#000;
	font-weight:bold;
}
.v_preview > a:hover .v_dur {
	opacity:0;
}
.v_title {
	margin:5px 0;
	font-size:14px;
	line-height:17px;
}
.v_preview:hover .v_title {
	text-decoration:underline;
}
.v_tags {
	font-size:12px;
	margin-bottom:5px;
}
.v_tags a {
	display:inline-block;
	padding:0 4px;
	margin:1px 1px 1px 1px;
	text-decoration:none;
	color:#455d7a;
}
.v_tags a:hover {
	text-decoration:underline;
}
@media only screen and (max-width: 639px) {
	.vids {
		flex-direction:column;
	}
	.v {
		width:100%;
	}
	.v_title {
		font-size:15px;
	}
}



.p_cont {
	display:flex;
	justify-content:center;
	align-items:flex-start;
}
.p_left {
	flex-grow:1;
	max-width:960px;
}
.p_right {
    width: 320px;
	padding:0 10px;
	line-height:0; /* to remove white space after iframe */
}
.p_right iframe {
	margin:5px 0;
}
.p_bottom {
	display:none;
	text-align:center;
	margin-top:20px;
}
.p_height {
	height:0;
	padding-bottom:56.25%;
	position:relative;
}
#p {
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
}
.fluid_video_wrapper {
	position:absolute!important;
	top:0!important;
	bottom:0!important;
	left:0!important;
	right:0!important;
	width:auto!important;
	height:auto!important;
}
.p_details {
	padding:10px 5px;
}
.p_details h1 {
	font-size:22px;
	line-height:29px;
	margin:6px 0;
}
#desc {
	font-size:16px;
	line-height:25px;
	margin:7px 0;
}
#desc.long {
	max-height:72px;
	overflow:hidden;
}
#desc.open {
	max-height:2000px;
	transition: max-height 1s ease-in-out;
}
.desc_show {
	text-align:center;
	padding:10px 0;
}
.p_left .tags a {
	margin:5px 3px 0 3px;
}
@media only screen and (max-width: 639px) {
	.p_height_43 {
		padding-bottom:75%;
	}
	.p_details {
		padding:8px 10px;
	}
	.p_details h1 {
		font-size:18px;
		line-height:25px;
		text-align:center;
	}
}
@media only screen and (max-width: 1023px) {
	.p_right {
		display:none;
	}
	.p_bottom {
		display:block;
	}
}
@media only screen and (max-width: 1280px) {
	.info {
		padding-right:3px;
		padding-left:3px;
	}
}



.error {
	color:#D8000C;
    background-color:#FFD2D2;
	padding:5px 7px;
}
.success {
	color:#4F8A10;
    background-color:#DFF2BF;
	padding:5px 7px;
}



.pagina {
	list-style-type:none;
	text-align:center;
	margin:30px 0 0 0;
	padding:0;
}
.pagina li {
	display:inline-block;
}
.pagina a {
	display:inline-block;
	padding:10px 15px;
	color:#fff;
	font-size:18px;
	font-weight:bold;
	text-decoration:none;
	background:linear-gradient(to bottom,#f83600 0%,#cc2000 53%,#990600 100%);
	border-right:1px solid #000;
	border-bottom:1px solid #000;
	border-left:1px solid #888;
	border-top:1px solid #888;
}
.pagina a.seleta, .pagina a.seleta:hover, .pagina a:active:focus {
	background:linear-gradient(to bottom,#990200 0%,#f43500 100%);
	box-shadow:none;
}
.pagina a:hover {
	box-shadow:0 1px 6px rgba(0,0,0,.75);
	background:linear-gradient(to bottom,#f83600 20%,#cc2000 53%,#990600 80%);
}
.pagina li:first-child a {
	border-top-left-radius:5px;
	border-bottom-left-radius:5px;
}
.pagina li:last-child a {
	border-top-right-radius:5px;
	border-bottom-right-radius:5px;
}

#p_logo_image {
	opacity:.5;
	height:40px;
}
#p_logo_image:hover {
	opacity:1;
}

.main_info_v_m, .main_info_top_m {
	text-align:center;
}
.main_info_v_m iframe {
	margin-bottom:20px;
}
.main_info_top_m iframe {
	margin-top:10px;
}





footer {
	border-top:1px solid #ccc;
	padding-top:40px;
}
footer nav {
	font-size:14px;
	font-weight:bold;
	text-align:center;
	margin-top:20px 0;
}
footer .info {
	font-size:11px;
	text-align:center;
	margin:20px 0;
}
footer nav a, footer .info a {
	margin:0 5px;
	text-decoration:none;
}
footer nav a:hover, footer .info a:hover {
	text-decoration:underline;
}