/*
	#ff6464 Pink
	#505050 Gray
*/

html {
	color:#222;
	font-size:1em;
	line-height:1.4;
	letter-spacing: -0.0125em;
	font-family: Arial, Helvetica, sans-serif;
}

::-moz-selection {
	background:#b3d4fc;
	text-shadow:none;
}

::selection {
	background:#b3d4fc;
	text-shadow:none;
}

hr {
	display:block;
	height:1px;
	border:0;
	border-top:1px solid #ccc;
	margin:1em 0;
	padding:0;
}

audio,canvas,iframe,img,svg,video {
	vertical-align:middle;
}

fieldset {
	border:0;
	margin:0;
	padding:0;
}

textarea {
	resize:vertical;
}

.browserupgrade {
	margin:.2em 0;
	background:#ccc;
	color:#000;
	padding:.2em 0;
}

a {
	color:#2A5DB0;
	text-decoration: none;
}

a:visited {
	color:#2A5DB0;
}

a:hover {
	color:#ff6464;
	text-decoration: underline;
}

body {
	font:16px/26px arial, sans-serif;
	margin:0 auto 60px;
}

header {
	text-align:center;
}

header > a > img {
	margin:0 auto;
	width:640px;
}

nav {
	display: block;
	margin: 5px auto;
	padding: 0;
	background-color: #fff;
	text-align: center;
}

nav > ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
nav > ul > li {
	padding: 0;
	margin: 0;
	display: inline-block;
}

nav > ul > li > a {
	padding: 5px 10px;
	font-size: 18px;
	display: block;
	border-radius: 5px;
	border: solid 1px #2A5DB0;
	margin: 5px;
}

nav > ul > li > a:hover {
	color: #fff !important;
	background-color: #2A5DB0;
	
}


form,header {
	margin:20px 0;
	padding:0;
}

form input[type="search"] {
	width:calc(100% - 92px);
	border:2px solid #ff6464;
	font-size:26px;
	padding:5px 40px;
	border-radius:5px;
	background-color:#fff;
	background-image:url(/img/search.png);
	background-position:12px center;
	background-size:16px;
	background-repeat:no-repeat;
	font-weight:600;
}

form input[type="submit"] {
	width: min-intrinsic;
	border: solid 2px #ff6464;
	font-size:22px;
	padding:10px 30px;
	border-radius:5px;
	background-color:#ff6464;
	color: #fff;
	font-weight:400;
	margin: 20px 10px 0;
}

form input[type="submit"]:hover {
	background-color:#fff;
	color: #ff6464;
}


form fieldset {
	text-align: center;
	margin-bottom: 20px;
}

form ul, form li {
	display: block;
	list-style: none;
	margin:0;
	padding:0;
}

form ul {
	float: right;
}

form > ul > li {
	width: min-intrinsic;
	padding: 0 30px 10px 10px;
	display: inline-block;
	vertical-align: top;
}


form > ul > li > ul {
	width: min-intrinsic;
	position: absolute;
	display: none;
	border: solid 1px #505050;
	background-color: white;
	z-index: 99;
}

form > ul > li > ul span.checkmark{
	display: block;
	position: absolute;
	left: 5px;
}

form li a {
	display: block;
	padding: 5px 25px;
	text-decoration: none;
	color: black;
}

form a:hover {
	background-color: #ededed;
}

div.videos {
	margin:20px 0;
}

h1, h2 {
	font-size:20px;
	text-align:left;
	font-weight:600;
	margin:20px 0 10px;
	border-bottom:solid 1px #505050;
	padding:5px;
	color:#505050;
	clear: both;
	overflow-x: hidden;
}

h2 {
	font-size:18px;

}

div.paginate {
	font-size:16px;
	text-align:center;
	width:95%;
	margin:20px auto;
}

div.paginate a,div.paginate span {
	display:inline-block;
	min-width: 16px;
	padding:5px 9px;
	margin:5px;
	border:solid 1px blue;
	border-radius:5px;
	color:blue;
	text-decoration:none;
}

div.paginate a:hover {
	color:red;
	border:solid 1px red;
}

div.paginate span {
	color:gray;
	border:solid 1px gray;
}

div.video {
	display:inline-block;
	border-radius:4px;
	border:1px solid #505050;
	width:320px;
	height:240px;
	margin:9px;
	padding:0;
	vertical-align:top;
	background-repeat:no-repeat;
	background-position:center center;
	background-size:cover;
	font-size:14px;
}

div.video > a {
	display:block;
	width:320px;
	height:240px;
	text-decoration:none;
}

div.video > a > span {
	display:block;
}

div.video > a > span.title {
	text-align:center;
	color:#fff;
	background-color:#505050;
	background:linear-gradient(0deg,rgba(80,80,80,0),rgba(8,8,8,0.8));
	margin:0;
	padding:4px 2px 20px;
}

div.video > div.length {
	text-align:center;
	color:#fff;
	background-color:rgba(24,24,24,0.7);
	padding:1px 6px;
	border-radius:3px;
	position:relative;
	font-size:12px;
	display: inline-block;
	width:min-intrinsic;
	height: min-intrinsic;
	z-index: 10;
	float: right;
	margin: 10px;
	top: -48px;
}


div.video > div.url {
	text-align:center;
	color:#fff;
	background-color:rgba(24,24,24,0.7);
	padding:1px 6px;
	border-radius:3px;
	position:relative;
	font-size:12px;
	display: inline-block;
	width:min-intrinsic;
	height: min-intrinsic;
	z-index: 10;
	margin: 10px;
	top: -48px;
}

div.video > div.url > a {
	color:#fff;
}

iframe.view {
	overflow:hidden;
	width:320px;
	height:240px;
	border:solid 1px #000;
	border-radius:2px;
	margin:40px auto;
}

div.view {
	text-align:center;
}

div.view div.thumbs {
	margin: 20px 0;
}

div.view div.thumbs img{
	margin: 10px;
	display: inline-block;
	vertical-align: top;
	width: 320px;
}

p.about {
	text-align: center;
	margin: 30px 0;
}

div.cloud {
	margin: 20px 0;
	text-align: center;
	overflow: hidden;
}

div.cloud a {
	display: inline-block;
	padding: 3px;
	vertical-align: middle;
	margin: 10px 5px;
	white-space: nowrap;
	text-align: center;
}


div.cloud a img {
	display: block;
	border: solid 1px #2A5DB0;
	padding: 2px;
	border-radius: 10px;
	margin: 10px;
	position: absolute;
	background-color: #fff;
	box-shadow: 7px 7px 4px #888888;
}


div.footer {
	text-align: center;
	font-size: 10px;
	padding: 30px 10px;
}

@media screen and (max-width: 680px) {
	body {
		width:340px;
	}
	
	header > a > img {
		width:320px;
	}
	
	iframe.view {
		width:320px;
		height:240px;
	}
}

@media screen and (min-width: 681px) and (max-width: 1020px) {
	body {
		width:680px;
	}
	
	iframe.view {
		width:320px;
		height:240px;
	}
}

@media screen and (min-width: 1021px) and (max-width: 1360px) {
	body {
		width:1020px;
	}
	
	iframe.view {
		width:640px;
		height:480px;
	}
}

@media screen and (min-width: 1361px) and (max-width: 1700px) {
	body {
		width:1360px;
	}
	
	iframe.view {
		width:960px;
		height:720px;
	}
}

@media screen and (min-width: 1701px) {
	body {
		width:1700px;
	}
	
	header > a > img {
		width:1280px;
	}
	
	iframe.view {
		width:1280px;
		height:960px;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
.hidden {
	display:none!important;
	visibility:hidden;
}

.visuallyhidden {
	border:0;
	clip:rect(0 0 0 0);
	height:1px;
	margin:-1px;
	overflow:hidden;
	padding:0;
	position:absolute;
	width:1px;
}

.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus {
	clip:auto;
	height:auto;
	margin:0;
	overflow:visible;
	position:static;
	width:auto;
}

.invisible {
	visibility:hidden;
}

.clearfix:before,.clearfix:after {
	content:" ";
	display:table;
}

.clearfix:after {
	clear:both;
}

.clearfix {
	*zoom:1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */
@media print {
	*,:before,:after {
		background:transparent!important;
		color:#000!important;
		box-shadow:none!important;
		text-shadow:none!important;
	}
	
	a,a:visited {
		text-decoration:underline;
	}
	
	a[href]:after {
		content:" (" attr(href) ")";
	}
	
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	
	a[href^="#"]:after,a[href^="javascript:"]:after {
		content:"";
	}
	
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	
	thead {
		display:table-header-group;
	}
	
	tr,img {
		page-break-inside:avoid;
	}
	
	img {
		max-width:100%!important;
	}
	
	p,h2,h3 {
		orphans:3;
		widows:3;
	}
	
	h2,h3 {
		page-break-after:avoid;
	}
}