/*
DESKTOP
*/

/* max-width: descending order */

@media only screen and (max-width: 1024px) {
	div#title {
		background-size: cover;
		background-position: -70px center;
	}
	div#title,
	ul#nav,
	ul#nav li,
	ul#nav li a,
	ul#nav label[for="search-trigger"],
	ul#nav li.search button,
	ul#nav li a.brightness,
	ul#nav li a.brightness span,
	ul#nav li a.brightness span span {
		height: 48px;
	}
	ul#nav {
		margin-top: -49px;
	}
	ul#nav li a {
		font-size: 1em;
	}
	ul#nav li.search input[type="search"] {
		margin: 0;
	}
	ul#nav .search-trigger:checked + label {
		right: 445px;
	}
	ul#nav .search-trigger:checked input[type="search"] {
		margin: 10px 8px 10px 20px;
	}
	div.foot-col {
		letter-spacing: 1px;
	}
	div#footer div.affiliate img {
		width: 75%;
	}
}

@media only screen and (max-width: 900px) {
	div#title,
	ul#nav,
	ul#nav li,
	ul#nav li a,
	ul#nav label[for="search-trigger"],
	ul#nav li.search button,
	ul#nav li a.brightness,
	ul#nav li a.brightness span,
	ul#nav li a.brightness span span {
		height: 36px;
	}
	ul#nav {
		margin-top: -37px;
	}
	ul#nav li a,
	ul#nav li.search button {
		font-size: 0.9em;
	}
	div#footer div.affiliate {
		display: none;
	}
}

/* min-width: ascending order */

@media only screen and (min-width: 1024px) {
	ul#nav li a {
		font-size: 1.1em;
		letter-spacing: 1px;
	}
	.rotate ul li p {
		font-size: 1.25em;
		bottom: -20px;
	}
	.rotate ul div.image {
		min-height: 200px;
	}
	div#column1 div.post h1 {
		font-size: 1.5em;
	}
	div#column2 div.post h1 {
		font-size: 1em;
	}
	div#column1 div.post small {
		font-size: 0.75em;
		font-family: Arial, sans-serif;
	}
	div.live-stream, div.live-stream-info {
		display: block;
		margin: 0 auto;
	}
	div.news-post-container div.featureimg img,
	div.news-post-container div.wp-caption img {
		width: calc(100% - 8px) !important;
	}
}

@media only screen and (min-width: 1120px) {
	.rotate ul div.image {
		min-height: 250px;
	}
	div#column1 div.post h1 {
		font-size: 2em;
	}
	div#column2 div.post h1 {
		font-size: 1.25em;
		line-height: 1em;
	}
	div#column1 div.post small {
		display: inline-block;
		font-size: 1em;
		font-family: 'Roboto', 'Open Sans', Helvetica, Arial, sans-serif;
	}
	div.live-stream, div.live-stream-info {
		display: inline-block;
		margin: 0 auto;
	}
}

@media only screen and (min-width: 1200px) {
	.featured {
		width: calc(70% - 8px);
	}
	.rotate ul li div.image {
		min-height: 300px;
	}
	.rotate ul li h1 {
		font-size: 2em;
	}
	div#column1 {
		width: calc(70% - 8px);
	}
	div#column2 {
		width: calc(30% - 7px);
	}
	div#column2.home {
		margin-top: -326px;
	}
	div.news-post-container div.container {
		width: 50%;
		margin: 0 -4px 8px 8px;
	}
	div.news-post-container div.featureimg,
	div.news-post-container div.wp-caption {
		max-width: 600px;
	}
	div.news-post-container div.wp-caption.aligncenter {
		max-width: 100%;
	}
	.right {
		margin-left: 8px;
	}
	.left {
		margin-right: 8px;
	}
}

@media only screen and (min-width: 1600px) {
	div#title {
		background-position: 5%;
	}
	div#title a.home {
		margin-left: 162px;
	}
	ul#nav {
		position: absolute;
		right: 8%;
		width: 710px;
	}
	ul#nav li a {
		max-width: 90px;
		font-size: 1.2em;
		letter-spacing: 3px;
	}
	div.foot-col {
		margin: 0 32px;
	}
	.rotate {
		font-size: 1.5em;
	}
	.rotate ul li div.image {
		min-height: 400px;
	}
	.rotate ul li p {
		bottom: -22px;
	}
	.dots {
		bottom: -15px;
		background-position: left bottom;
	}
	.dots li {
		width: 24px;
		height: 24px;
	}
	div#column1, div#column2 {
		font-size: 1.25em;
	}
	div#column2 {
		margin-top: -426px;
	}
	div#range-title div {
		width: 46px;
		height: 32px;
	}
	div.news-post-container.archive {
		width: calc(100% - 12px);
		padding: 4px;
	}
	div.news-post-container.archive h1 {
		margin: 4px;
	}
	div.news-post-container.archive div.post {
		float: left;
		display: inline-block;
		width: calc(50% - 10px);
		min-height: 245px;
		margin: 4px;
		border: 1px solid rgba(255,255,255,0.1);
	}
	div.news-post-container.archive div.post div.container {
		width: calc(40% - 16px);
	}
	div.news-post-container.archive div.post div.excerpt {
		width: calc(60% - 16px);
		max-width: calc(60% - 16px);
	}
	div.news-post-container div.featureimg,
	div.news-post-container div.wp-caption {
		max-width: 50%;
	}
	div.news-post-container div.wp-caption.aligncenter {
		max-width: 100%;
	}
	div.live-stream {
		width: calc(70% - 8px);
	}
	div.live-stream-info {
		width: calc(30% - 8px);
	}
}

/* retina displays */
@media only screen and (-webkit-device-pixel-ratio:2) {
	ul#nav {
		width: 750px;
	}
	div.news-post-container p {
		line-height: 1.5em;
		font-size: 12pt;
	}
}

/*
MOBILE
*/

@media only screen and (-webkit-device-pixel-ratio:3),
	only screen and (min-resolution: 3dppx),
	only screen and (-webkit-device-pixel-ratio:2) and (min-device-width : 320px) and (max-device-width : 568px),
	only screen and (max-width: 800px) and not (-webkit-device-pixel-ratio:2),
	only screen and (min-resolution: 1.5dppx) and not (-webkit-device-pixel-ratio:2),
	only screen and (max-width: 800px)	{
	body {
		background: #0a1322;
	}
	div#wrapper {
		overflow: hidden;
	}
	div#banner,
	ul#nav li.toggle.disabled,
	ul#nav li.toggle.enabled,
	ul#nav .search-trigger,
	ul#nav label[for="search-trigger"],
	div.sidebar,
	div#column-mobile div.post p small,
	div#column1,
	div#column2,
	div.live-stream,
	div#footer div.foot-col {
		display: none;
	}
	div#title {
		display: block;
		position: fixed;
		top: 0;
		min-height: 32px;
		height: auto;
		width: 100%;
		padding: 0.5em 0;
		font-size: 1em;
		text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
		text-align: center;
		background: #0b1525 url('images/header.jpg') no-repeat -30px top / auto 100%;
		border: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.75);
		z-index: 20;
	}
	div#title a.home {
		display: block;
		position: fixed;
		top: -4px;
		width: 50%;
		max-height: 50px;
		margin: 0 25%;
	}
	ul#nav {
		float: none;
		position: fixed;
		top: 45px;
		right: 0;
		bottom: 0;
		left: -40px;
		margin: 0;
		width: 70%;
		height: calc(100% - 45px);
		text-align: left;
		list-style: none;
		background: rgba(255,255,255,0.1);
		border: 1px solid rgba(255,255,255,0.5);
		overflow: scroll;
		z-index: 0;
	}
	ul#nav > li {
		display: block;
		width: 100%;
		height: 33px;
		font-size: 1.5em;
		text-transform: uppercase;
		margin: 0.25em 0;
	}
	ul#nav li a {
		height: 36px;
		color: #fff;
	}
	ul#nav li a, ul#nav li a.feature {
		font-size: 1em;
		max-width: initial;
	}
	ul#nav li.search {
		opacity: 1;
		float: none;
		margin: 0.5em 0;
		z-index: 1;
	}
	ul#nav li.search form {
		border-bottom: 1px solid rgba(255,255,255,0.25);
	}
	ul#nav li.search input {
		color: #fff;
		border: 0;
	}
	ul#nav li.search input[type=search]::-moz-placeholder {
		color: rgba(255,255,255,0.5);
	}
	ul#nav li.search input[type=search]::-webkit-input-placeholder {
		color: rgba(255,255,255,0.5);
	}
	ul#nav li.search input[type=search] {
		display: inline-block;
		width: calc(100% - 60px);
		height: 2em;
		padding: 8px;
		font-size: 1em;
		background: transparent;
		border: 0;    
	}
	ul#nav li.search button {
		display: inline-block;
		width: 32px;
		height: 32px;
		margin-right: 4px;
		text-indent: -9999px;
		background: url('images/search.png') no-repeat center center / contain;
	}
	ul#nav ul.social {
		display: block;
		width: 235px;
		margin-left: 4px;
		text-align: left;
	}
	ul#nav ul.social li {
		margin: 4px;
	}
	ul#nav ul.social li a {
		width: 32px;
		height: 32px;
		padding: 0;
	}
	.nav-trigger {
		position: absolute;
		clip: rect(0, 0, 0, 0);
	}
	label[for="nav-trigger"] {
		position: fixed;
		top: 9px;
		left: 9px;
		width: 28px;
		height: 28px;
		cursor: pointer;
		background-image: url('images/menu.png');
		background-size: contain;
		z-index: 21;
	}
	.nav-trigger:checked + label {
		background-image: url('images/close.png');
	}
	.nav-trigger:checked ~ div#content-wrapper {
		padding-left: 8px;
		-webkit-transform: translateX(70%) scale(1);
		   -moz-transform: translateX(70%) scale(1);
				transform: translateX(70%) scale(1);
	}
	div#content-wrapper {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		position: relative;
		top: 47px;
		width: 100%;
		background: #0a1322;
		z-index: 10;
		-webkit-box-orient: vertical;
		   -moz-box-orient: vertical;
		-webkit-flex-direction: column;
			-ms-flex-direction: column;
				flex-direction: column;
		-webkit-transition: -webkit-transform .25s, padding-left .25s;
		   -moz-transition: -moz-transform .25s, padding-left .25s;
				transition: transform .25s, padding-left .25s;
	}
	div#sidebar {
		-webkit-box-ordinal-group: 1;
		   -moz-box-ordinal-group: 1;
				   -ms-flex-order: 1;
					-webkit-order: 1;
							order: 1;
		width: 100%;
		min-height: 0;
		margin-top: 8px;
	}
	div#content {
		-webkit-box-ordinal-group: 2;
		   -moz-box-ordinal-group: 2;
				   -ms-flex-order: 2;
					-webkit-order: 2;
							order: 2;
		width: 100%;
		margin: 0;
		background: #0a1322;
	}
	div#content div {
		box-sizing: border-box;
		max-width: 100%;
	}
	div#sidebar-mobile {
		-webkit-box-ordinal-group: 3;
		   -moz-box-ordinal-group: 3;
				   -ms-flex-order: 3;
					-webkit-order: 3;
							order: 3;
		display: block;
		margin: 0 auto;
	}
	div#sidebar-mobile ul {
		list-style-type: none;
	}
	div.sidebar-mobile {
		display: block;
	}
	div#breaking {
		width: 100%;
		margin: 4.5em 0 -4em 0;
	}
	div#breaking h1 {
		font-size: 1.5em;
	}
	.rotate {
		display: block;
		width: 100%;
		height: inherit !important; /* moz flips shit w/o this */
		margin: 0 auto 8px auto;
		z-index: 11;
	}
	.rotate ul li h1 {
		line-height: 1.1em;
		font-size: 1.5em;
	}
	.rotate, .rotate ul li h1 span, .rotate ul li p {
		background: #0d192c;
	}
	.rotate ul li div.image {
		min-height: 200px;
		background-position: 50% 0;
		background-size: 150% auto;
	}
	.rotate ul p {
		font-size: 14pt;
		bottom: -20px;
	}
	.rotate ul li small {
		font-size: 0.75em;
	}
	.unslider-arrow {
		width: 22px;
	}
	.dots {
		opacity: 1;
		background: #0d192c;
	}
	div#column-mobile {
		display: block;
		width: 100%;
		margin: 0 auto;
	}
	div#column-mobile div.post {
		background: #0d192c;
	}
	div#column-mobile div.post h1 {
		font-size: 1.5em;
		text-transform: none;
	}
	div#column-mobile div.post p {
		max-height: 6.75em;
		margin: 0 8px 0 0;
		overflow: hidden;
		font-size: 1em;
	}
	div#column-mobile div.post:last-child {
		margin-bottom: 58px;
	}
	div#footer {
		min-height: initial;
		background: none;
		border: 0;
	}
	p.copy {
		position: relative;
		margin: 0;
		height: 3em;
		padding-top: 1em;
		text-align: center;
		background: #0a1322;
		border: 0;
	}
	div.news-navigation {
		margin: -2em 0 1em 0;
	}
	div.news-navigation a {
		margin-top: -1em;
		width: 40%;
		background: rgba(255,255,255,0.1);
	}
	div.news-navigation a:only-child {
		width: 50%;
	}
	div.news-navigation a:only-child:after {
		content: ' ';
	}
	div.news-navigation a:first-child:before,
	div.news-navigation a:last-child:after {
		content: ' ';
	}
	div.news-post-container {
		width: 100%;
		margin: 8px 0 1em 0;
		background: #0d192c;
	}
	div.news-post-container h1 {
		padding: 0 8px;
		font-size: 1.5em;
		background: none;
		border-top: 0;
		border-right: 0;
		border-bottom: 0;
	}
	div.news-post-container div.featureimg,
	div.news-post-container div.wp-caption {
		border: 0;
		box-shadow: none;
	}
	div.news-post-container div.featureimg img,
	div.news-post-container div.wp-caption img {
		margin: 0;
		width: 100%;
	}
	a.pw-button:not(.pw-button-twitter):not(.pw-button-facebook) {
		display: none !important;
	}
	a.pw-button {
		margin: 0 6px 10px 0 !important;
	}
	div#full-post > p {
		font-size: 1.25em;
		margin: 0 0 1em 0;
	}
	div.news-post-container div.wp-caption {
		margin-top: 0;
	}
	h3.jp-relatedposts-headline {
		font-size: 1.5em !important;
	}
	#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
		width: 100% !important;
	}
	#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post img.jp-relatedposts-post-img {
		float: left !important;
		width: 40% !important;
		height: auto !important;
		margin-right: 8px !important;
	}
	#jp-relatedposts .jp-relatedposts-items-visual h4.jp-relatedposts-post-title {
		display: inline-block !important;
		width: calc(60% - 8px) !important;
		line-height: 14px !important;
		letter-spacing: 0 !important;
	}
	div.jp-relatedposts-post {
		padding-bottom: 8px;
	}
	div.news-post-about img {
		margin-bottom: 8px;
	}
	div.news-post-about p {
		line-height: 1em;
	}
	div.news-post-about p,
	div.news-post-container div.featureimg p,
	div.news-post-container div.wp-caption p {
		font-size: 1em;
	}
	div.twitter {
		width: 50%;
		height: 24px;
		background: url('images/twitter.png') no-repeat left top / cover;
	}
	div.facebook {
		width: 50%;
		height: 24px;
		background: url('images/facebook.png') no-repeat right top / 60%;
	}
	div.twitter:hover, div.facebook:hover {
		background-position: 0 -24px;
	}
	p.tags {
		padding: 0 8px;
	}
	p.tags a {
		display: inline-block;
		margin: 4px 2px;
	}
	div#comments {
		width: 100%;
		margin-bottom: 1em;
	}
	p.comment-note {
		float: right;
	}
	div#comments p.form-submit {
		margin-bottom: 0;
	}
	div#comments input#submit {
		float: none;
		padding: 0.5em;
	}
	div#respond.comment-respond {
		text-align: center;
	}
	div#respond.comment-respond h3 {
		padding-top: 4px;
	}
	div.news-post-container.archive div.post {
		min-height: initial;
	}
	div.news-post-container.archive div.post div.excerpt small {
		font-size: 0.75em;
	}
	div.news-post-container.archive div.post div.excerpt p {
		margin-bottom: 1em;
	}
	div.live-updates h2 {
		margin: 8px 0;
	}
	.mt_nav {
		display: none !important;
	}
	td.launchdetails {
		padding-top: 0;
	}
	td.launchdetails table td {
		display: inline;
		padding: 0;
	}
	td.launchdetails table td:last-child {
	    padding-left: 0.5em;
	}
	@media only screen and (orientation : landscape) {
		ul#nav {
			width: 40%;
		}
		.nav-trigger:checked ~ div#content-wrapper {
			-webkit-transform: translateX(40%) scale(1);
			   -moz-transform: translateX(40%) scale(1);
					transform: translateX(40%) scale(1);
		}
	}
}

/* iPhone 5/6 */

@media only screen and (-webkit-device-pixel-ratio:2) and (min-device-width : 320px) and (max-device-width : 568px),
	only screen and (-webkit-device-pixel-ratio:2) and (min-device-width : 375px) and (max-device-width : 667px),
	only screen and (-webkit-device-pixel-ratio:3) and (min-device-width : 414px) and (max-device-width : 736px) {
	div#title {
		width: 100%;
	}
	div#title h1 {
		height: 35px;
		padding: 0;
		font-size: 1.5em;
		line-height: 35px;
	}
	ul#nav li {
		height: 1.5em;
	}
	/* hides nav from rubber band scrolling */
	div#shutter {
		display: block;
		position: fixed;
		width: 100%;
		min-height: 400px;
		height: 100%;
		background: #0a1322;
		z-index: 5;
	}
	.nav-trigger:checked ~ div#shutter {
		display: none;
	}
	div#sidebar {
		margin-top: 15px;
	}
	div#breaking {
		margin: 8px 0;
	}
	div#column-mobile div.post {
		min-height: 5em;
	}
	div#column-mobile div.post p {
		padding-top: 2px;
	}
	div#footer {
		position: relative;
		z-index: 10;
	}
	.gallery h3 {
		display: none;
	}
}

/* iPhone 5 Only */

@media only screen and (-webkit-device-pixel-ratio:2) and (min-device-width : 320px) and (max-device-width : 568px) {
	div#column-mobile div.post p {
		font-size: 0.85em;
	}
}

/* iPhone 6 Only */

@media only screen and (-webkit-device-pixel-ratio:2) and (min-device-width : 375px) and (max-device-width : 667px) {
	div#title {
		background-position: -15px top;
	}
	div#column-mobile div.post p {
		font-size: 1em;
	}
}

/* iPhone 6+ Only */

@media only screen and (-webkit-device-pixel-ratio:3) and (min-device-width : 414px) and (max-device-width : 736px) {
	div#title {
		background-position: 0 top;
	}
	div#column-mobile div.post p {
		font-size: 1.1em;
	}
}