/*
Theme Name: MoonTV 2.0
Theme URI: http://www.moontv.fi
Author: Ville Vuorenmaa
Author URI: http://www.villevuorenmaa.fi
Description: Fucking awesome
Version: 2.0
Text Domain: moontv2
*/



.tvideo {
height: 427px !important;
max-width: 727px !important;
width: 100% !important;
}

.grecaptcha-badge {
    display: none !important;
}

.facebook-like {
        overflow: hidden;
}


#header #login.login {
width: 30px;
background-position-x: -186px;
border-radius: 7px;
}

.popover form {
	margin: 0px;
}

.popover input[type="checkbox"] {
margin: 0px;
}

.popover label {
	margin: 0px;
}

label.remember {
	margin-top: 5px;
}

.popover input[type="text"], .popover input[type="password"] {
	width: 167px;
}

body #fball-facebook-login span {
margin: 0px;
}

body .wp-social-login-provider-list {
padding: 5px 0px 10px 0px;
}

body .wp-social-login-provider-facebook {
	background: #46629E;
	border-radius: 5px;
	color: white;
}

.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="number"], .wpcf7 input[type="email"], .wpcf7 textarea {
width: 98%;
}

.ythover:hover {
opacity: 0.8;
}

body {
	margin: 0;
	padding: 0;
	line-height: 1.625;
}


/* 5.11 HD alkaaa */


body .vjs-default-skin .vjs-big-play-button {
	height: 150px;
	width: 150px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -75px 0 0 -75px;
	display: block;
	background: url('img/play.png') center center no-repeat;
	cursor: pointer;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	border-radius: 0;
	border: none;

	-webkit-transform: scale(1,1);
	-moz-transform: scale(1,1);
	transform: scale(1,1);

	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
}

body .vjs-default-skin .vjs-volume-level, body .vjs-default-skin .vjs-play-progress {
background: #FDB825;
}

body .vjs-default-skin .vjs-slider-handle:before {
text-shadow: 0px 0px 0px black;
}

body .vjs-default-skin:hover .vjs-big-play-button {
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	background-color: transparent;

	-webkit-transform: scale(1.1,1.1);
	-moz-transform: scale(1.1,1.1);
	transform: scale(1.1,1.1);

	-webkit-transition: all 0.4s;
	-moz-transition: all 0.4s;
	transition: all 0.4s;
}


body .vjs-default-skin .vjs-big-play-button:before {
	content: "";
}

body .vjs-quality-button:hover .vjs-menu {
	display: block;
}

body #video:not(.vjs-fullscreen) {
width: 100% !important;
height:100% !important;
max-width: 853px;
max-height: 498px;
}

 
 @media (max-width: 768px) {
 body #theatre {
padding-bottom: 50px !important;
}
 .vjs-default-skin .vjs-control-bar { font-size: 130% }
 body .vjs-skip-button { font-size: 150%; height: 35px; line-height: 35px; z-index: 5000 !important; }
 }
/* Landscape phones and down */
@media (max-width: 480px) {
	.thumb, .thumb:nth-of-type(3n+1) {
		width: 48.75% !important;
		float: left !important;
		margin-left: 2.5% !important;
		margin-right: 0 !important;
		clear: none;
	}
		
		.thumb:nth-of-type(odd){
			margin-left: 0 !important;
			clear: left;
		}

	#theatre .span3 img {
		margin: 20px auto;
		display: block;
	}

}

.sharetw, .sharefb, .sharecount {
padding-left: 1%;
color: white;
font-weight: bold;
}

.sharecount {
color: black;
}

.sharecount h3 {
font-size: 2em;color: black;
}

.sharecount h3, .sharecount p {
padding: 0px;
margin: 0px;
}

.sharetw {
background: #16b4e4;
}

.sharefb {
background: #4063a6;
}

.sharetw, .sharefb {
	line-height: 50px;
	min-height: 50px;
	cursor: pointer;


	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.sharefb:hover, .sharetw:hover {
	margin-left: -15px;
}

.widejako i, .tinyjako i {
margin-right: 5px;
min-width: 1em;
text-align: center;
}

.sharecount h3 small {
color: #666;
}


@media (min-width: 1200px) {
.jaateksti {
display: none;
}
.sharecount {
background: #ccc;
}

.sharetw, .sharefb, .sharecount {
padding-left: 1em;
color: white;
font-weight: bold;
}
.widejako {
width: 120px;
position: absolute;
margin-left: -120px;
top: 0px;
}
.tinyjako {
display: none;
}
}
@media (max-width: 1199px) {
body #theatre {
padding-bottom: 80px;
}

.widejako {
display: none;
} 
.tinyjako {
position: absolute;
width: 100%;
bottom: -50px;
background: rgba(0,0,0,.5);
overflow: hidden;
}

#player {
margin-bottom: 60px;
}

.sharecount {
position: absolute;
top:3px;
display: inline-block;
padding-left: 15px;
}

.sharecount h3 {
line-height: 45px;
color: #fff;
}

.sharecount h3 small {
color: #a8a8a8;
margin-left: 5px;
}

.sharetw, .sharetw:hover {
display: inline-block;
width: 41%;
margin-right: -1%;
margin-left: 0;
padding-left: 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.sharefb, .sharefb:hover {
margin-left: 20%;
display: inline-block;
width: 40%;
padding-left: 15px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

.sharefb .second, .sharetw .second {
	display: none;
}

}


@media (max-width: 767px) {

	#player {
		margin-bottom: 50px;
	}

}

@media (max-width: 650px) {

	#player {
		margin-bottom: 50px;
	}

	.sharefb, .sharefb:hover {
		width: 35%;
		margin-left: 30%;
	}

	.sharetw, .sharetw:hover {
		width: 36%;
	}

}


@media (max-width: 550px) {
	.sharefb .second, .sharetw .second {
		display: inline;
	}
	.sharefb .first, .sharetw .first {
		display: none;
	}
}

@media (max-width: 360px) {

	.sharefb, .sharefb:hover {
		padding-right: 10px;
		width: 27%;
		margin-left: 38%;
	}

	.sharetw, .sharetw:hover {
		padding-right: 10px;
		width: 36%;
	}
}

/* 5.11 loppuu */

.bgwhite {
background: white;
padding-top: 20px;

}

h1, h2, h3, h4, h5 {
	font-family: 'cartogothic_stdbold';
	font-weight: normal;
}

h3 {
	margin: 30px 0 10px 0;
}

h3.blog_date {
	color:#999;
	margin-top: 0px;
	font-size: 18px;
}


a {
	color: #0a6eb9;
}

	a.btn:active {
		padding-top: 5px;
		padding-bottom: 3px;
	}
	
	a.btn-large:active {
		padding-top: 12px;
		padding-bottom: 10px;
	}
	
	a.btn-small:active {
		padding-top: 3px;
		padding-bottom: 1px;
	}
	
	a.btn-mini:active {
		padding-top: 4px;
		line-height: 12px;
		height: 13px;
	}
	

.full-width {
	width: 90%;
}

.clear {
	clear: both;
}

#header-bg {
	background: url('img/header-bg.png') top center no-repeat #0a6eb9;
}	

#header {
	padding: 0;
	height: 100px;
	position: relative;
}

	#header #logo {
		display: block;
		width: 180px;
		height: 106px;
		background: url('img/moontv-logo.png') left center;
	}
	
	#header #mobile-nav {
		display: none;
	}
	
	#header #nav {
		margin-top: 65px;
	}

		#header #nav ul {
			display: block;
		}
	
			#header #nav ul.nav {
				margin-bottom: 0;
				display: inline-block;
			}
		
				#header #nav ul.nav li a {
					font-family: 'cartogothic_stdbold';
					text-transform: uppercase;
					color: #fff;
					font-size: 18px;
				}


				#header #nav ul.nav #menu-item-3252.active a {
					background: transparent;
				}
				
					#header #nav ul.nav #menu-item-3252 a:after {
						content: "\25BE";
						margin-left: 5px;
					}

					#header #nav ul.nav #menu-item-3252.active a:after {
						display: inline-block;
						-webkit-transform: rotateX(180deg);
						-moz-transform: rotateX(180deg);
						-ie-transform: rotateX(180deg);
						-o-transform: rotateX(180deg);
						transform: rotateX(180deg);
					}
				
				#header #nav ul.nav li a:hover, #header #nav ul.nav li a.active {
					background-color: #0c5ea0;
				}
				
			#header #nav form {
				margin-bottom: 0;
			}

	#header #meta {
		position: absolute;
		right: 40px;
		top: 15px;
	}
			
		#header #facebook, #header #twitter, #header #youtube, #header #askfm, #header #twitch, #header #login {
			display: inline-block;
			height: 32px;
			width: 30px;
			text-indent: -300px;
			overflow: hidden;
			background: url('img/buttonsprites.png?3');
		}

			#header #facebook { background-position: 0 0; }
			#header #twitter { background-position: -30px 0; }
			#header #youtube { background-position: -60px 0; }
			#header #askfm { background-position: -90px 0; }
			#header #twitch { background-position: -217px 0; }

			#header #facebook:hover { background-position: 0 -32px; }
			#header #twitter:hover { background-position: -30px -32px; }
			#header #youtube:hover { background-position: -60px -32px; }
			#header #askfm:hover { background-position: -90px -32px; }
			#header #twitch:hover { background-position: -217px -32px; }

			#header #facebook:active { background-position: 0 -64px; }
			#header #twitter:active { background-position: -30px -64px; }
			#header #youtube:active { background-position: -60px -64px; }
			#header #askfm:active { background-position: -90px -64px; }
			#header #twitch:active { background-position: -217px -64px; }
	
		#header #login {
			width: 97px;
			background-position: -120px;
		}

	#header #s {
		background: url('img/buttonsprites.png?3') no-repeat -247px 0;
		color: #fff;
		width: 0;
		border: 0;
		margin: 0 5px 0 0;
		padding: 5px 5px 5px 25px;
		text-indent: 10px;
		border-radius: 2px;
		-webkit-transition: width 0.7s ease 0s;
		-moz-transition: width 0.7s ease 0s;
		-o-transition: width 0.7s ease 0s;
		transition: width 0.7s ease 0s;
		cursor: pointer;
		box-shadow: none;
		text-shadow: none;
	}

		#header #s:hover {
			background: url('img/buttonsprites.png?3') no-repeat -247px -32px;
		}

		#header #s:focus {
			width: 200px;
		}

		#s::-webkit-input-placeholder { color: #c6ddef !important; }
		#s:-moz-placeholder { color: #c6ddef !important; }
		#s::-moz-placeholder { color: #c6ddef !important; }
		#s:-ms-input-placeholder { color: #c6ddef !important; }
	
#programs {
	box-shadow: inset 0 20px 40px -25px rgba(0,0,0,.9), inset 0 -20px 40px -25px rgba(0,0,0,.9);
	background: #2a2a2a;
	display: none;
}	

	#programs ul {
		margin: 20px 0;
		list-style-type: none;
	}

		#programs a {
			color: #fff;
		}
	
	#programs h3 {
		margin-top: 20px;
	}
	
	#programs .close {
		text-transform: uppercase;
		font-size: 26px;
		color: #fff;
		opacity: 1;
		font-weight: 400;
		text-shadow: none;
	}

#theatre {
	background: #ccc;
	box-shadow: inset 0 20px 40px -20px rgba(0,0,0,.36), inset 0 -20px 40px -20px rgba(0,0,0,.36);
	padding: 30px 0;
}

#player {
	position: relative;
	max-width: 853px;
	height: 480px;
	margin: auto;
}


	#player.flash {
		padding-top: 0;
	}

	#player.youtube {
		padding-top: 0;
	}

	.home #player {
		padding-top: 357px;
		padding-bottom: 0;
	}

	#player.left {
		float: left;
	}

	#player #video {
		width: 100% !important;
		/* height: auto !important; */
		cursor: pointer;
		position: absolute;
		top: 0;
		left: 0;
	}


	@media only screen and (min-device-width: 767px) and (max-device-width: 1023px){
		#player {
			height: 413px !important;
			width: 727px !important;
			padding-top: 0 !important;
		}

		#player #video {
			width: 727px !important;
			height: 413px !important;
		}

		#player #video a#play {
			display: none !important;
		}
	}
	
	#player h1 {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		padding: 5px;
		font-family: 'cartogothic_stdbold';
		color: #fff;
		background: rgba(0,0,0,.5);
		font-size: 31.5px;
		text-align: left;
		display: inline-block;
	}
	
		#player h1 a {
			color: #fff;
		}
	
	#player a#play {
		height: 150px;
		width: 150px;
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -75px 0 0 -75px;
		display: block;
		background: url('img/play.png') center center no-repeat;
		cursor: pointer;
	}

	#player #skip {
		position: absolute;
		top: 0;
		right: 0;
		background
		display: inline-block;
		color: #fff;
		background: rgba(0,0,0,.5);
		padding: 3px 5px;
		cursor: pointer;
		display: none;
	}
	
	#player div.disclaimer {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		background: #0a6eb9;
		height: 22px;
		line-height: 22px;
		padding: 5px;
		text-align: right;
		overflow: visible;
	}

		#player div.disclaimer #share {
			float: right;
			line-height: 18px;
			padding: 0 5px;
			outline: none;
		}

		#player div.disclaimer #twitter-share, #player div.disclaimer #fb-like {
			display: inline-block;
			margin: 0 5px;
			float: right;
		}

		#player div.disclaimer #duration {
			float: left;
			color: #fff;
		}
		
	#player.started a#play, #player.started h1, #player.flash #play, #player.flash h1 {
		display: none !important;
	}
	
#content {
	margin-top: 20px;
}

	#content h4 {
		margin: 20px 0;
	}

		#content h4:first-of-type {
			margin-top: 0;
		}

	#content .fb-like {
		margin: 20px 0;
	}
	
	#content .single .fb-like {
		margin-top: 20px;
	}

.ohjelmat .span4 {
	margin-bottom: 20px;
}

.sidebar {
	list-style-type: none;
	/*text-align: center;*/
	margin: 0;
}

	.sidebar li {
		margin-bottom: 15px;
	}

.search-result {
	margin-top: 10px;
	margin-bottom: 10px;
}

	.search-result h4 {
		margin: 0 0 10px 0 !important;
	}

	.search-result img {
		width: 150px;
		height: auto;
		margin-right: 10px;
	}

/* -----------------------
   THUMBNAILS			*/

.thumb {
	margin-bottom: 10px;
}

	.thumb h5 {
		margin: 5px 0 0 0;
	}

	.thumb p {
		font-size: 12px;
		margin: 0;
	}

	.thumb p.meta {
		display: block;
		font-size: 11px;
	}

.big-thumb {
	position: relative;
	margin-bottom: 20px;
	overflow: hidden;
}

	.big-thumb .caption {
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(0,0,0,.5);
		color: #fff;
		overflow: hidden;
		/*top: 0;
		-webkit-transition: all 0.4s ease 0s;
		transition: all 0.4s ease 0s;*/
	}

		/*.big-thumb:hover .caption {
			top: 0 !important;
			-webkit-transition: all 0.4s ease 0s;
			transition: all 0.4s ease 0s;
		}*/

		.big-thumb .caption h4, .big-thumb .caption h6 {
			margin: 5px 10px !important;
			line-height: 1;
		}

		.big-thumb .caption a {
			color: #fff;
		}

		.big-thumb .caption .description {
			margin: 5px 10px;
			font-size: 12px;
		}

	.big-thumb .date {
		position: absolute;
		/*top: -43px;
		right: -36px;*/
		top: 0;
		right: 0;
		color: #FFF;
		font-weight: bold;
		font-size: 12px;
		background: rgba(0, 0, 0, 0.5);
		/*padding: 40px 20px 5px 89px;*/
		padding: 3px 5px;
		/*transform: rotate(30deg);
		-moz-transform: rotate(30deg);
		-webkit-transform: rotate(30deg);*/
	}
	
	
.blog-thumb {
		position: relative;
		margin-bottom: 20px;
		overflow: hidden;
		width:650px;
	}
	
.blog-date {
		position: absolute;
		top: 0px;
		right: 0px;
		color: rgb(255, 255, 255);
		font-weight: bold;
		font-size: 12px;
		background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.5);
		padding: 3px 5px;
	}
	
.blog-title {
		position: absolute;
		left: 0px;
		right: 0px;
		bottom: 0px;
		background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.5);
		color: rgb(255, 255, 255);
		overflow: hidden;
		font-family: 'cartogothic_stdbold';
		font-size: 20px;
		color: #fff;
		padding-left: 20px;
		padding-top: 3px;
		padding-bottom: 3px;
	}
	
.blog-thumb a:link {
	color: #fff;
	text-decoration:none;
	}
		
	.blog-thumb a:active{
	color: #fff;
	text-decoration:none;
	}
	
		.blog-thumb a:hover{
	color: #fff;
	text-decoration:none;
	}
	
		.blog-thumb a:visited{
	color: #fff;
	text-decoration:none;
	}
	
	
	
/* Pieni blog-thumb*/	



.blog-wrap {
width:670px;
clear:both;
}

.blogsmall-thumb {
		position: relative;
		margin-bottom: 10px;
		overflow: hidden;
		width:316px;
		display: inline-block;
		margin-right: 14px;
	}
	
.blogsmall-date {
		position: absolute;
		top: 0px;
		right: 0px;
		color: rgb(255, 255, 255);
		font-weight: bold;
		font-size: 12px;
		background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.5);
		padding: 3px 5px;
	}
	
.blogsmall-title {
		position: absolute;
		left: 0px;
		right: 0px;
		bottom: 0px;
		background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.5);
		color: rgb(255, 255, 255);
		overflow: hidden;
		font-family: 'cartogothic_stdbold';
		font-size: 20px;
		color: #fff;
		padding-left: 20px;
		padding-top: 3px;
		padding-bottom: 3px;
	}
	
.blogsmall-thumb a:link {
	color: #fff;
	text-decoration:none;
	}
		
	.blogsmall-thumb a:active{
	color: #fff;
	text-decoration:none;
	}
	
		.blogsmall-thumb a:hover{
	color: #fff;
	text-decoration:none;
	}
	
		.blogsmall-thumb a:visited{
	color: #fff;
	text-decoration:none;
	}

	
/* Blogipostausten kuvat */
	
.size-thumbnail {
	margin:10px 10px 2px 10px;
	}	
	
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

/* Blogifiidin minikuva */

#blogi-feed img {

float:right;
margin: 5px;
}

/* audionappulat */
	
	.audio-box { 
		display:none;
	}

	
		.close-audio { 
		width:95px;
		text-align:center;
	}	
	
/* -----------------------
   COMMENTS				*/


.toggle_comments {
	margin: 20px 0;
}

.saic-border {
	box-shadow: none !important;
}

.saic-captcha {
	text-align: left !important;
	padding: 0 0 10px 28px;
}

.saic-style-link h4 {
	margin-top: 20px !important;
}


#footer {
	background: #0a6eb9;
	padding: 20px 0;
	color: #fff;
	font-size: 14px;
	position: relative;
}
	
	#footer ul {
		list-style-type: none;
		margin-bottom: 0;
	}
	
		#footer ul li {
			display: inline-block;
			font-weight: bold;
		}
		
		#footer ul li:first-child:before { display: none; }
		#footer ul li:before { content: "|"; margin: 0 10px; }
	
	#footer a {
		color: #fff;
	}
	
	#footer #muflon {
		position: absolute;
		right: 10px;
		bottom: 10px;
	}
	
.icon-arrow {
	background: url('img/arrow.png') no-repeat center left;
}	


 .divider {
	color: #CCC;
	text-transform: uppercase;
	box-shadow: inset 0px 0px 0px 9px white;
	background: #D8D8D8;
	height: 19px;
	text-align: center;
 }
 
	.divider span {
		background: #fff;
		padding: 0 3px;
	}

.carousel-indicators {
	right: auto;
	left: 15px;
}


/* -----------------------
   FRONT PAGE			*/

#latest-comments {

}

	#latest-comments ul {
		list-style-type: none;
		margin: 0;
		height: 350px;
		overflow-y: scroll;
		border: 1px solid #a8a8a8;
	}

		#latest-comments ul li {
			display: block;
			padding: 5px 10px;
			margin: 5px 10px;
		}

		#latest-comments ul li:nth-child(even) {
			background: #E6E6E6;
		}

	#latest-comments h5, #latest-comments p {
		margin: 1px 0;
	}

	#latest-comments p {
		font-size: 0.85em;
	}

#moontalker {

}

	#moontalker-inner {
		height: 308px;
		overflow-y: scroll;
		border: 1px solid #a8a8a8;
	}

	#moontalker ul {
		list-style-type: none;
		margin: 0;
	}

		#moontalker li {	
			display: block;
			padding: 5px 10px;
			margin: 5px 10px;
		}

		#moontalker li:nth-child(even) {
			background: #E6E6E6;
		}

	#moontalker h5, #moontalker p {
		margin: 0;
	}

	#moontalker p {
		font-size: 0.85em;
	}

	#blogi-feed {

}

	#blogi-feed ul {
		list-style-type: none;
		margin: 0;
		height: 350px;
		overflow-y: scroll;
		border: 1px solid #a8a8a8;
	}

		#blogi-feed ul li {
			display: block;
			padding: 5px 10px;
			margin: 5px 10px;
		}

		#blogi-feed ul li:nth-child(even) {
			background: #E6E6E6;
		}

	#blogi-feed h5, #latest-comments p {
		margin: 1px 0;
	}

	#blogi-feed p {
		font-size: 0.85em;
	}
	

#instapress-shortcode-1-image-1, #instapress-shortcode-1-image-2 {
	margin-top: 0;
}

#instapress-shortcode-1-image-2, #instapress-shortcode-1-image-4 {
	margin-right: 0;
	margin-left: 6px;
}

.top-banner {
	text-align: center;
	margin: 20px 0;
}

.top-banner-video {
	text-align: center;
	margin-bottom: 30px;
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	#citynav {
		display: none;
	}

	#header {
		height: 118px;
	}
	
		#header #meta {
			right: 0;
		}
		
		#header #logo {
			width: 166px;
			height: 128px;
			background: url('img/moontv-logo-166x166.png');
		}
		#header #nav  {
			margin-top: 85px;
		}
	
	#player {
		width: 100%;
		height: 419px;
	}
	
	.thumbnails li {
		width: 32% !important;
		float: left !important;
		margin-right: 2% !important;
		margin-left: 0 !important;
	}
		
		.thumbnails li:nth-of-type(3n+3) {
			margin-right: 0 !important;
		}
}
 
/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	body {
		padding: 0;
	}
	
	footer {
		padding: 0 5px;
	}

	#citynav {
		display: none;
	}

	#header {
		padding: 10px;
		margin-bottom: 50px;
		height: 118px;
	}
	
		#header #meta {
			right: 15px;
		}
	
		#header #logo {
			width: 166px;
			height: 128px;
			background: url('img/moontv-logo-166x166.png');
		}
		
		#header #nav {
			display: none;
			margin-top: 94px;
		}
		
		#header #mobile-nav {
			display: block;
		}
			
			#header #mobile-nav ul.nav {
				position: absolute;
				left: 0;
				right: 0;
				padding: 15px 20px;
				background: #fff;
				box-shadow: inset 0 20px 40px -25px rgba(0,0,0,.36), inset 0 -20px 40px -25px rgba(0,0,0,.36);
				z-index: 50;
			}
			
				#header #mobile-nav ul.nav li {
					display: inline-block;
					border-left: 1px solid rgba(0,0,0,.20);
					padding-left: 7px;
					margin-left: 7px;
				}
				
				#header #mobile-nav ul.nav li:first-child {
					margin-left: 0;
					padding-left: 0;
					border-left: none;
				}
			
					#header #mobile-nav ul.nav li a {
						font-weight: bold;
					}
					
					#header #mobile-nav ul.nav li a:hover {
						background: transparent;
					}			
	
	#theatre {
		padding: 0;
	}

	#player {
		height:320px;
	}

	#content {
		padding: 0 10px;
	}
	
	.thumb {
		width: 32% !important;
		float: left !important;
		margin-left: 2% !important;
	}
		
		.thumb:nth-of-type(3n+1) {
			margin-left: 0 !important;
			clear: left;
		}

	.clear {
		display: none;
	}
}
 
/* Landscape phones and down */
@media (max-width: 480px) {
	.thumb, .thumb:nth-of-type(3n+1) {
		width: 48.75% !important;
		float: left !important;
		margin-left: 2.5% !important;
		margin-right: 0 !important;
		clear: none;
	}
		
		.thumb:nth-of-type(odd){
			margin-left: 0 !important;
			clear: left;
		}

	#theatre .span3 img {
		margin: 20px auto;
		display: block;
	}
}


@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
  
	#header #facebook, #header #twitter, #header #youtube, #header #askfm, #header #twitch, #header #login, #header #s {
		background-image: url('img/buttonsprites@2x.png?3') !important;
		background-size: auto 300%;
	}

		#header #s {
			background-size: auto 96px !important;
		}

	#header #logo {
		background-image: url('img/moontv-logo@2x.png');
		background-size: 100% auto;
	}
}

@-ms-viewport { width: device-width !important; }
@-o-viewport { width: device-width !important; }
@viewport { width: device-width !important; }