/*
Theme Name: Jesper Kyd
Description: Custom theme for jesperkyd.com
Author: EVIL (Not Evil Ltd)
Author URI: http://www.evilstudio.com 
*/

/* Reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, p, a, img, ol, ul, li, form, label, figure { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; }
ol, ul, dl { list-style:none; }
blockquote, q { quotes:none; }
:focus, :active { outline:0; }
table { border-collapse: collapse; }
table, th, td, caption { text-align: left; vertical-align: top; }
h1, h2, h3, p { padding: 0 0 17px 0;  }
h1, h2, h3 { font-weight: normal;}
hr { display: none; }		
select { margin-right: 7px; vertical-align: middle	}
option { margin-right: 7px; }
header, footer, aside, nav, article, section, hgroup, figure, figcaption {  
	display: block; 
	min-height: 1px;
	}
#wpadminbar { display: none; }
img { vertical-align: bottom;}

	
/* Scrollbar gutter */
html>body { overflow-y:scroll;  }
*+html>body { overflow-y: visible; }
*+html { overflow-x: hidden; }
* html { overflow-x: hidden; }
	
/* Helper classes */		
.cfx:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
	}
	* html .cfx { height: 1px }
	*+html .cfx { min-height: 1px; }
.por { position: relative;}	

/* Font config */	
body { 
	font: 400 15px/17px "Maven Pro", "Arial", sans-serif;
	color: #333;
	-webkit-text-size-adjust: none;
	}
	a { color:#333;	text-decoration: none;	}
	.heading1 {
		font: 700 24px/24px "Maven Pro", "Arial", sans-serif;
		text-transform: uppercase;
		text-shadow: 1px 2px 2px rgba(0,0,0,.26);
		color: rgba(0,0,0,.70);
		}
	.heading2, h3 {		
		font: 500 15px/15px "Maven Pro", "Arial", sans-serif;
		}
	.the_content h2 {
		font: 700 24px/24px "Maven Pro", "Arial", sans-serif;
		text-transform: uppercase;
		text-shadow: 1px 2px 2px rgba(0,0,0,.26);
		color: rgba(0,0,0,.70);
		}
	strong { font-weight: 500; }
	.the_content a { text-decoration: underline; }		
	.the_content a:hover,
	.twitter-item a:hover, 
	#homeNews a:hover { color:#666; }		
	

html, body {
	background: #333;
	
}
/* .iphone, .ipad, .ipod, .android { min-width: 1080px; } */

.ipad { min-width: 1004px; }
	
/* Centering */
body {
	position: relative;
	max-width: 2000px;
	margin: auto;
	}
.width {
	width: 1004px;
	margin: auto;
	position: relative;	

	}	


/* Main header area */
.no-js #header {
	height: 224px;
	}
#header {
	background-color: #c4c4c4;
	height: 524px;
	}
	.no-js #header { background: url(i/headerOverlay.png) 50% 0 repeat-x;	 }
	#header .width {
		padding-top: 194px;
		z-index: 10000;
		}
	#lowsrcHeader, #highsrcHeader, #crossfadeHeader {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%; height: 524px;	
		background-position:  50% 0;
		background-repeat: no-repeat;		
		display: none;
		}
		#lowsrcHeader {
			z-index:1;
			}
		#highsrcHeader {
			z-index:2;
			}
		#crossfadeHeader {
			z-index:3;
			}		
	.js #headerOverlay {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%; height: 524px;		
		background: url(i/headerOverlay.png) 50% 0 repeat-x;	
		z-index:4;
		}
	nav {
		position: absolute;
		top: 98px;
		left: 0;
		background: url(i/navBG.jpg) 0 100% no-repeat;
		width: 1004px;
		z-index:5;
		padding-bottom: 5px;
		}
		nav ul { float: right; padding-right: 10px;  }	
		nav li {
			float: left;
			height:61px;
			background: url(i/navBG.png) 0 0 repeat-x;
			font-size: 18px;
			border-right: 1px solid #7a7a7a;
			}
			nav li:last-child { border: 0; }
			nav li a {
				color: #000;
				padding: 10px 13px 0 5px;
				display: block;
				letter-spacing: -1px;
				background: url(i/navBG_o.png) 0 -61px repeat-x;
				height: 51px;
				}
				nav li a:before {
					content: "+";
					color: #fff;
					margin-right: 3px;
					}
				nav li a:hover, nav li a.selected {
					background-position: 0 0;
					}	
	#logo {
		position: absolute;
		top: 98px;
		left: 10px;
		width: 382px; height: 40px;
		z-index:6;
		background: url(i/logo.png) 0 0 no-repeat;
		text-indent: -3000px;
		overflow: hidden;
		}
	#smLinks {
		position: absolute;
		top: 30px;
		right: 0px;
		z-index:6;
		}	
		#smLinks.fixed {
			position: fixed;
			z-index:100000;		
			right: 50%;
			padding: 10px 0;
			top: 0;
			margin-right: -560px;
			}
		#smLinks span { display: none; }
		#smLinks a {
			float: left;
			text-indent: -3000px;
			overflow: hidden;
			background: url(i/sn.gif) 0 0 no-repeat;
			width: 24px; height: 24px;
			margin-right: 5px;
			}
			#smLinks a:hover {
				-webkit-box-shadow: 0 0 5px 2px rgba(255,255,255,.5);	
				   -moz-box-shadow: 0 0 5px 2px rgba(255,255,255,.5);
						box-shadow: 0 0 5px 2px rgba(255,255,255,.5);
			}
			#smLinks a.facebook {	background-position: 0 0;	}	
			#smLinks a.twitter {	background-position: -24px 0; 	}	
			#smLinks a.youtube {	background-position: -48px 0; }	
			#smLinks a.myspace {	background-position: -72px 0; margin-right: 0;	}	
			#smLinks a.soundcloud {	background-position: -96px 0; margin-right: 0;	}	
			#smLinks a.instagram {	background-position: -120px 0; }	
			#smLinks a.spotify {	background-position: -144px 0; }	

	#heroCarousel {	
		z-index:6;
		padding: 20px;
		background: url(i/heroBG.png);
		width: 835px; height: 265px;	
		position: absolute;
		top: 194px;
		left: 65px;	
		}
		.no-js #heroCarousel {
			display: none;
			}
		.js #heroCarousel ul {
			position: absolute;
			top: 0px;
			left: 0px;	
			height: 265px;	
			overflow: hidden;	
			}	
		#heroCarousel li.item {
			float: left;
			margin: 0 20px 20px 0;
			position: relative;
			overflow: hidden;
			}
			.no-js #heroCarousel li.item:nth-child(3n) {
				margin-right: 0;
				}
		#heroCarousel li.item a {
			display: block;
			width: 265px; height: 265px;			
			}
			#heroCarousel li.item.open,
			#heroCarousel li.item:hover,
			#heroCarousel li.item.selected {
				width: 257px; height: 257px;
				border: 4px solid #fff;		
				}
				#heroCarousel li.item:hover a img,
				#heroCarousel li.item.selected a img {
					margin: -4px;
					}	
				#heroCarousel .panel {
					border: 0;
					width: 227px; height: 227px;
					background: #000;
					position: absolute;
					top: 4px;
					left: 4px;		
					color:#fff;	
					padding: 15px;	
					cursor: pointer;	
					transform: translateY(100%);
					transition: transform ease-in .3s;
					pointer-events: none;
					}	

					#heroCarousel li.item:hover .panel {
						transform: translateY(0);
						top: 0px;
						left: 0px;
					}
					.rgba #heroCarousel .panel { background: rgba(0,0,0,.85); }
					#heroCarousel li.item .panel a {
						width: auto; height: auto;				
						-webkit-box-shadow: none;	
						   -moz-box-shadow: none;
								box-shadow: none;
						}
					#heroCarousel .panel h1 {
						padding: 5px 5px 15px;
						}
					#heroCarousel .panel ul {
						position: static;
						}	
					#heroCarousel li.item .panel a.more {
						position: absolute;
						bottom: 15px;
						left: 15px;
						color:#747474;
						border-top: 1px solid #747474;
						border-bottom: 1px solid #747474;
						padding: 4px 0 4px 20px;					
						width: 207px;
						}		
						#heroCarousel li.item .panel a.more:before {
							position: absolute;
							top: 4px;
							left: 7px;
							content: "+";
							}
						#heroCarousel li.item .panel a.more:hover {
							background: #4a4a4a;	
							color:#fff;
							}	
					#heroCarousel .panel .tracklist {
						border-color: #747474;
						height: 157px;
						overflow: hidden;
						}
						#heroCarousel .panel .tracklist li {
							border-color: #747474;
							color:#747474;
							}

							
						.js #heroCarousel .tracklist .mp3 {
							background: url(i/play.png) 7px 7px no-repeat;
							pointer-events: all;
							}	
							.js #heroCarousel .tracklist .mp3.selected,
							.js #heroCarousel .tracklist .mp3:hover {					
								background: #4a4a4a url(i/play.png) 7px -93px no-repeat;	
								color:#fff;					
								}	
								
								#heroCarousel .panel .tracklist .mp3.none {
									padding-left: 4px;
									background-image: none;
								}
								#heroCarousel .panel .tracklist .mp3.none.selected {
									background: #4a4a4a;
									color: #fff;
									
								}
								


								


/* Loaders */
.ldr {
	background: #ebebeb url(i/ajax-loader.gif) 50% 50% no-repeat;
	display: block;
	}
	.ldr img { vertical-align: bottom; }
.js .ldr img { visibility: hidden; }


/* Frame */
.frame {
	border: 1px solid #fff;
	margin-bottom: 20px;
	position: relative;
	}
	.frame img { width: 100%; }
	.frame iframe {
			width: 100%; height: 100%;
			position: absolute;
			top: 0px;
			left: 0px;
			
	}
	.frame .shadow {
		position: absolute;
		bottom: -25px;
		left: 0px;
		width: 100%; height: 24px;
		}
		.frame .shadow img { width: 100%; vertical-align: top; }

/* Bulleted List */
.bulletList, .the_content ul {
	padding-bottom: 17px;
	}
.bulletList li, .the_content li {
	padding-left: 13px;
	position: relative;
	font-weight: 500;
	}
	.bulletList li:before, .the_content li:before {
		position: absolute;
		top: 0px;
		left: 0px;
		content: "+";
		}

/* Music Page */
#musicBody {
	border-bottom: 1px solid #cfcfcf;
	border-bottom: 1px solid rgba(0,0,0,.1);
	margin-bottom: 17px;
	}		
		
/* Navigational list */	
.navList {
	border-top: 1px solid #cfcfcf;
	border-top: 1px solid rgba(0,0,0,.1);
	}	
	.navList li {	
		border-bottom: 1px solid #cfcfcf;
		border-bottom: 1px solid rgba(0,0,0,.1);
		}
		.navList li a {
			display: block;
			font-weight: 500;
			padding: 4px 0 4px 20px;
			position: relative;
			}
			.navList li a:before {
				position: absolute;
				top: 4px;
				left: 7px;
				content: "+";
				}
			.navList li a:hover,
			.navList li a.selected {
				background: #747474;
				color: #fff;
				}
		
.tracklist {
	border-top: 1px solid #cfcfcf;
	border-top: 1px solid rgba(0,0,0,.1);
	}
	.tracklist li {
		border-bottom: 1px solid #cfcfcf;
		border-bottom: 1px solid rgba(0,0,0,.1);
		color:#747474;
		display: block;
		padding: 4px 0 4px 20px;
		position: relative;
		overflow: hidden;
		}
	.js .tracklist .mp3 {
		cursor: pointer;
		background: url(i/play.png) 7px -193px no-repeat;
		}	
		.js .tracklist .mp3.selected,
		.js .tracklist .mp3:hover {
			cursor: pointer;
			background: #747474 url(i/play.png) 7px -93px no-repeat;
			color:#fff;
			}		
 
.bottomDivide {
	border-bottom: 1px solid #cfcfcf;
	border-bottom: 1px solid rgba(0,0,0,.1);
	margin-bottom: 17px;
	}

/* Main content */				
#content {
	min-height: 100px;
	background: #ededed url(i/contentBG.jpg) 50% 0 repeat-x;
	padding: 20px 0 60px;
	}
	#content .width {
		border: 1px solid transparent;
		}
		
/*  */
#prevnext {
	text-align: right;
	}
	#prevnext a { opacity: 0.3; }		
	#prevnext a:hover { opacity: 1; }		
	#prevnext .prevpost {
		float: left;
		}
	
/* Footer */	
#footer {
	background: #333 url(i/footerBG.jpg) 50% 0 repeat-x;
	height: auto !important;
	height: 200px;
	min-height: 200px;
	padding-top: 48px;
	color:#666;
	}
	#footer a {
		text-decoration: underline;
		color: #999;
		}
		#footer a:hover { color:#fff; }
#final {
	margin-top: 18px;
	border-top: 1px solid #515151;
	color:#4d4d4d;
	padding: 10px 0;
	position: relative;
	}	
	#final a {
		position: absolute;
		top: 10px;
		right: 0px;
		color:#4d4d4d;
		text-decoration: none;
		}
		#final a strong { color: #999; }
		#final a:hover { color:#4d4d4d; }
		/* #final a:hover strong { color:#fff; } */
	.joinForm {
		padding: 0 0 34px;
		}
		.joinForm h2 { margin: 0; padding: 0 0 7px; }	
		.joinForm input {
			float: left;
			background: #5e5e5e;
			color: #fff;
			border: 0;
			width: 156px; 
			height: 17px;
			padding: 2px 4px 3px;		
			vertical-align: top;
			border: 1px solid #5e5e5e;
			margin-right: 10px;
			font: 400 15px/17px "Maven Pro", "Arial", sans-serif;
			}
			.joinForm input:focus {
				border: 1px solid #a5a5a5;
				-webkit-box-shadow: 0 0 3px 3px rgba(255,255,255,.2);	
				   -moz-box-shadow: 0 0 3px 3px rgba(255,255,255,.2);
						box-shadow: 0 0 3px 3px rgba(255,255,255,.2);
			}
		#JoinBtn {
			float: left;
			background: #494949;
			color: #a5a5a5;
			border: 0;
			display: block;
			width: 38px; height: 24px;
			padding: 0;
			-webkit-border-radius: 2px;
			   -moz-border-radius: 2px;
			        border-radius: 2px;
			vertical-align: top;
			font: 400 15px/17px "Maven Pro", "Arial", sans-serif;
			cursor: pointer;
			}
			#JoinBtn:hover, #JoinBtn:focus {
				background: #fff url() 0 0 no-repeat;
				color: #494949;
				}

/* Three Column Layout */
.threeCols {
	margin-top: 46px;
	}	
	.threeCols .col1,
	.threeCols .col2 {
		position: relative;
		float: left;
		width: 308px;
		margin-right: 40px;
		}
	.threeCols .col3 {
		position: relative;
		float: left;
		width: 308px;
		}
	.threeCols .frame { width: 306px; height: 306px; }
	.threeCols .frame.video	{
		position: relative;
		height: 0;
		padding-bottom: 60%;
	}
	.threeCols .col1 .heading1:first-child, 
	.threeCols .col2 .heading1:first-child,
	.threeCols .col3 .heading1:first-child {	
		position: relative;
		margin-top: -41px;
		left: 0px;		
		}	
		
/* Two Column layout */
.twoCols {
	margin-top: 46px;
	}
	.twoCols .heading1, .twoCols .the_content h2:first-child {	
		position: relative;
		margin-top: -41px;
		left: 0px;		
		}
	.twoCols .col1 {
		position: relative;
		float: left;
		width: 308px;
		padding-right: 19px;
		margin-right: 20px;
		border-right: 1px solid #cacaca;
		border-right: 1px solid rgba(0,0,0,.1);
		}	
	.twoCols .col2 {
		position: relative;
		float: left;
		width: 656px;
		}	
		.twoCols .col2 .tracklist { 
			width: 308px;
			}

/* The Grid */
.grid {
	position: relative;
	margin-top: 46px;
	background: url(i/homeColsSmall.gif) 328px 0 repeat-y;		
	}
	.grid .heading1 {
		position: absolute;
		top: -41px;		
		left: 0;
		}	
	.grid ul li {
		float: left;
		width: 308px;
		margin-right: 40px;
		margin-bottom: 17px;
		border-bottom: 1px solid #cacaca;
		border-bottom: 1px solid rgba(0,0,0,.1);
		}
		.grid ul li.eor {
			margin-right: 0;
			}
		.grid ul li:nth-child(3n+4) {
			clear: both;
			}	
		.grid li .frame { width: 306px; height: 306px; }		
	.grid li .description {
		height: 68px;
		overflow: hidden;
		padding: 0;
		margin-bottom: 17px;
		}	
	.itunes, .amazon {
		display: -moz-inline-box !important;
		display: inline-block;
		height: 18px;
		text-indent: -3000px;
		overflow: hidden;
		font-size: 0;
		background: url(i/buy.png) 0 0 no-repeat;
		vertical-align: middle;
		opacity: .6;
		}
		.itunes:hover, .amazon:hover {
			opacity: 1;
			}
		.itunes {
			width:42px;
			background-position: 0 0;
			}
		.amazon {
			width:75px;
			background-position: -57px 0;
			}	
			
.divide {
	border-bottom: 1px solid #cacaca;
	border-bottom: 1px solid rgba(0,0,0,.1);
	font-size: 0;
	line-height: 0;
	height: 0;
	margin-bottom: 17px;
	}							
	
/* Home columns */
#homeCols {
	margin-top: 46px;
	background: url(i/homeColsSmall.gif) 328px 0 repeat-y;
	}	
	#homeCols .col2 h2:nth-child(1n+2) {
		border-top: 1px solid #cacaca;
		border-top: 1px solid rgba(0,0,0,.1);
		padding-top: 17px;
		}
	#homeNews li {
		padding-bottom: 17px;		
		}	
		#homeNews li a {
			text-decoration: underline;			
			}		
	#homeNews li:nth-child(1n+2) {
		border-top: 1px solid #cacaca;
		border-top: 1px solid rgba(0,0,0,.1);
		padding-top: 17px;
		}	
	#homeNews li.twitter h3 {
		background: url(i/tweet.png) 0 0 no-repeat;
		padding: 0 0 0 32px;
		line-height: 20px;
		margin-bottom: 17px;
		}
		#homeNews li.twitter h3 a { text-decoration: none; }
		#homeNews li.twitter a { text-decoration: underline; }
		#homeNews li.twitter .author { opacity: .4; font-size: 14px; }
		
		
/* In Page slideshows */
#gallery {
	position: relative;
	height: 380px;
	}	
	#gallery.latest {
		height: 306px;
	}
	#gallery .ldr {
		position: absolute;
		top: 0px;
		left: 0px;		
		display: none;
		width: 100%; height: 100%;
		overflow: hidden;
		}
		#gallery .ldr img { vertical-align: bottom; }	
		#gallery #gal0,
		#gallery .ldr:first-child  {
			display: block;
			}
		
		
	.prevBtn,
	.nextBtn {
		position: absolute;
		top: 50%;
		margin-top: -50px;	
		width: 100px; height: 100px;		 
		cursor: pointer;
		text-indent: -3000px;
		overflow: hidden;
		z-index: 1000
		}
		.no-js  .prevBtn, .no-js  .nextBtn  { display: none; }		
	.prevBtn { background: url(i/prev.png) 0 0 no-repeat; left: -40px; }
	.nextBtn { background: url(i/next.png) 0 0 no-repeat; right: -40px; }
	.prevBtn:hover,
	.nextBtn:hover {
			background-position: 0 -100px;
			}	
	.prevBtn.disabled,
	.nextBtn.disabled {
		cursor: default;
		background-position: 0 -200px;
		}		


/* Date */
.blogfooter {
	color: #afafaf;
	}

/* Share */
.socialButtons {
	height: 20px;
	line-height: 20px;
	display:block;
	text-align: right;
	margin-bottom: 17px;
	}	
	.socialButtons * {
		vertical-align: top;
		float: left;
		}	
		.socialButtons .twitter-share-button { width:96px !important; margin-right: 5px;}
		.socialButtons .fb-like { text-align: right;  float: left;  }
		
		
/* Mp3 player */	
#jPlayer {
	position: absolute;
	top: -50px;
	left: 20px;
	}
#noSolution {
	color:#fff;
	}
#audioControls {
	background:  url(i/playerBG.png) 100% 100% no-repeat;
	text-align: left;
	padding: 30px 20px 14px 0;
	position: absolute;
	top: 0; left: 0;
	z-index: 6;
	display: none;
	width: auto;
	}
	.ie8 #audioControls {
		background-position:  0 100%;
		}
	#audioControls.fixed {
		position: fixed;
		background: url(i/headerOverlay.png) 50% -1px repeat-x;
		width: 100%;
		z-index: 100000;
		padding: 10px 0;
		left: 0;
		border-bottom: 1px solid #fff;
		border-bottom: 1px solid rgba(255,255,255,.5);
		-webkit-box-shadow: 0 0px 10px 10px rgba(0,0,0,.5);	
		   -moz-box-shadow: 0 0px 10px 10px rgba(0,0,0,.5);
				box-shadow: 0 0px 10px 10px rgba(0,0,0,.5);
		}
		#audioControls.fixed .inner {
			background: url(i/logo_small.png) 92% 50% no-repeat;
			width: 1004px;
			margin: auto;
			}	
	#audioControls.inactive  {
		display: none;
		}
	.jp-controls { float: left; margin-right: 10px; border-left: 1px solid #4a5255; }
	.rgba .jp-controls { border-left: 1px solid rgba(255,255,255,.2); }
	.jp-controls li {
		width: 30px; height: 24px;
		text-indent: -3000px;
		overflow: hidden;
		border-right: 1px solid #4a5255;
		float: left;
		cursor: pointer;		
		background: url(i/controls.png) 0 0 no-repeat; 
		}		
		.rgba .jp-controls li { border-right: 1px solid rgba(255,255,255,.2); }
		.jp-controls li.previous { background-position: 0 0; }			
		.jp-controls li.jp-pause { background-position: -30px 0; }
		.jp-controls li.jp-play {  background-position: -60px 0; }
		.jp-controls li.next { background-position: -90px 0; }
		.jp-controls li.previous:hover { background-position: 0 -24px; }			
		.jp-controls li.jp-pause:hover { background-position: -30px -24px; }
		.jp-controls li.jp-play:hover {  background-position: -60px -24px; }
		.jp-controls li.next:hover { background-position: -90px -24px; }
.jp-progress {
	float: left;
	width: 170px;
	margin-top: 7px;
	margin-right: 10px;
	}		
.jp-progress, .jp-load-bar {	
	height: 10px;
	cursor: pointer;
	background: url(i/barbg.png);
	}
	.rgba .jp-progress, .rgba .jp-load-bar { background: rgba(255,255,255,.5); }
	#bar, .jp-play-bar {
		height: 10px;
		font-size: 0;
		line-height: 0;
		text-indent: -3000px;
		overflow: hidden;
		width: 0;
		background: #fff;
		}	
.jp-title {
	float: left;
	border-left: 1px solid #4a5255;
	color:#999;
	font-size: 15px;
	height: 24px;
	line-height: 24px;
	padding: 0 10px;
	}	
	.rgba .jp-title {border-left: 1px solid rgba(255,255,255,.2);}	
	
.mobile-trigger {
	display: none;
}


/* Media Queries (large) */
@media all and (min-width: 1260px) {
	#audioControls {
		left: 20px;
		padding-left: 40px;
		}
	#heroCarousel {
		left: 40px;
		width: 1120px;
		}
		.no-js #heroCarousel li.item:nth-child(3n) {
			margin-right: 20px;
			}
		.no-js #heroCarousel li.item:nth-child(4n) {
			margin-right: 0;
			}	

			#latestCarousel {	
				
				width: 320px; height: 320px;	
				
				}
				
				.js #latestCarousel ul {
	
					height: 320px;	
					}	
				#latestCarousel li.item {
					width: 320px; height: 320px;	
					}
					
			#latestCarousel li.item img {
				
			width: 320px; height: 320px;	
			}		


	.width {
		width: 1240px;	
		}
	#smLinks { right: 60px; }	
	#logo {	left: 60px;	}
	nav {
		width: 1200px;	
		left: 20px;
		}
		nav ul { padding-right: 40px; }		
	#content .width, #footer .width {
		width: 1120px;
		margin: auto;
		padding: 0 60px;	
		}	
	#homeCols {	background: url(i/homeColsLarge.gif) 359px 0 repeat-y;	}	
	.threeCols .col1,
	.threeCols .col2 {
		width: 320px;
		margin-right: 80px;
		}
	.threeCols .col3 {
		width: 320px;
		}	
		.threeCols .frame { width: 318px; height: 318px; }	
	.twoCols .col1 {
		width: 320px;
		padding-right: 39px;
		margin-right: 40px;
		}	
	.twoCols .col2 {
		width: 720px;
		}	
	#gallery {
		height: 418px;
		}
		
		#gallery.latest {
			height: 318px;
		}
	#audioControls.fixed .inner {
		width: 1120px;
		}
	#smLinks.fixed {
		margin-right: -560px;
		}
	.grid {
		background: url(i/homeColsLarge.gif) 359px 0 repeat-y;		
		}	
		.grid ul li {
			margin-right: 80px;
			width: 320px;
			}
			.grid li .frame { width: 318px; height: 318px; }	
}

@media only screen and (min-width: 768px) and (max-width: 1003px) {
	html {
		overflow-x: hidden;
	}
	body {
		width: 1004px;
		overflow-x: hidden;
	}

	#smLinks.fixed {
		right: 10px;
		margin-right: 0;
		}

	/* #header {
		padding-left: 20px;
		padding-right: 20px;
	}
	#content {
		padding: 10px 20px 60px 10px;
	}
	#footer {
		padding-left: 20px;
		padding-right: 20px;
	} */

	#homeCols {
		background-image: none;
	}

	#smLinks {
		right: 10px;
	}

	.threeCols .col1, .threeCols .col2 {
		margin-right: 15px;
		margin-left: 10px;
	}

	.threeCols .col3 {
		margin-right: 10px;
		margin-left: 15px;
	}

	#footer .width {
		width: 986px;
	}

	.twoCols .col2 {
		width: 636px;
	}

	.twoCols .col1 {
		margin-left: 10px;
		margin-right: 10px;
	}

	#gallery {
		height: 368px;
	}

	.grid {
		margin-left: 10px;
		margin-right: 10px;
		}
	.grid ul li {
		margin-right: 30px;
	}
}

@media (max-width: 765px),(max-width: 950px) and (orientation: landscape) {
	body {
		overflow-x: hidden;
		width: 100%;
	}

	html {
		overflow-x: hidden;
	}

	.width{
		width: 100%;
	}

	.mobile-trigger {
		display: block;
		width: 30px;
		height: 5px;
		background-color: white;
		position: absolute;
		top: 30px;
		right: 20px;
	}

	.mobile-trigger:before,
	.mobile-trigger:after {
		content: '';
		position: absolute;
		background-color: white;
		width: 30px;
		height: 5px;
		position: absolute;
		top: 10px;
		left: 0;
	}

	.mobile-trigger:before {
		top: -10px;
	}

	.mobile-trigger.close {
		width: 31px;
		transform: rotateZ(45deg);
	}

	.mobile-trigger.close:before {
		height: 31px;
		width: 5px;
		top: -13px;
		left: 13px;
	}

	.mobile-trigger.close:after {
		display: none;
	}

	#logo {
		position: absolute;
		top: 20px;
		left: 20px;
		width: 260px; height: 27px;
		z-index:6;
		background: url(i/logo.png) 0 0 no-repeat;
		background-size: 100% auto;
		text-indent: -3000px;
		overflow: hidden;
		}

	#header {
		height: 450px;
	}

	#header .width {
		padding-top: 60px;
	}	

	#lowsrcHeader, #highsrcHeader, #crossfadeHeader {
		height: 450px;
	}

	#heroCarousel {
		width: 265px;
		margin: 0 auto;
		max-width: 100%;
		position: relative;
		top: auto;
		left: auto;
	}

	#heroCarousel li.item {
		margin: 0;
	}

	.js #headerOverlay {
		height: 450px;
	}

	.nav-container {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		padding: 20px;
		background-color: black;
		z-index: 200000;
		transition: transform ease .2s;
		transform: translateY(200%);
	}

	.nav-container.open {
		transform: translateY(0);
	}

	nav {
		margin-top: 40px;
		position: relative;
		top: auto;
		left: auto;
		width: auto;
	}

	nav ul {
		float: none;
		padding-right: 0;
		display: flex;
		flex-direction: column;
	}

	nav ul li {
		float: none;
		display: block;
		background-image: none;
		border-right: 0;
		font-size: 24px;
		height: auto;
	}

	nav ul li:nth-child(1) {
		order: 1;
	}

	nav ul li:nth-child(2) {
		order: 2;
	}

	nav ul li:nth-child(3) {
		order: 6;
	}

	nav ul li:nth-child(4) {
		order: 4;
	}


	nav ul li:nth-child(5) {
		order: 5;
	}

	
	nav ul li:nth-child(6) {
		order: 3;
	}

	nav ul li:nth-child(7) {
		order: 7;
	}

	
			
			nav li a {
				color: #fff;
				padding: 20px 10px;
				display: block;
				letter-spacing: -1px;
				background-image: none;
				height: auto;
				}
				nav li a:before {
					content: "+";
					color: #fff;
					margin-right: 3px;
					}
				nav li a.selected {
					background-color: #fff;
					color: #000;
					}	
					nav li a.selected:before {
						color: #000;
					}

	#smLinks {
		bottom : 20px;
		top: auto;
		right: auto;
		left: 50%;
		transform: translateX(-50%);
	}

	#gallery {
		height: 190px;
	}

	.twoCols,
	.threeCols {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column-reverse;
		padding: 0 20px;
		}

		.twoCols .heading1, .twoCols .the_content h2:first-child {
			margin-top: 20px;
		}
	
		#homeCols.threeCols {
			flex-direction: column;
			background-image: none;
			margin-top: 0;
		}

	.threeCols .col1,
	.threeCols .col2,
	.threeCols .col3,
	.twoCols .col1,
	.twoCols .col2 {
		background-image: none;
		position: relative;
		flex-basis: 100%;
		float:none;
		width: 320px;
		margin-right: auto;
		margin-left: auto;
		border: 0;
		}

		.twoCols .frame {
			width: 320px;
			height: 320px;
		}
	
	.threeCols .frame {     margin-left: auto;
		width: 306px;
		height: 306px;
		margin-right: auto; }
	.threeCols .frame.video	{
		position: relative;
		height: 0;
		padding-bottom: 60%;
	}

	p iframe {
		max-width: 100%;
	}

	.prevBtn,
	.nextBtn {
		position: absolute;
		top: 50%;
		transform: translateY(50%);
		width: 50px; height: 50px;		 
		cursor: pointer;
		text-indent: -3000px;
		overflow: hidden;
		z-index: 1000
		}
		.no-js  .prevBtn, .no-js  .nextBtn  { display: none; }		
	.prevBtn { background: url(i/prev.png) 0 0 no-repeat; left: -15px; background-size: 100% auto }
	.nextBtn { background: url(i/next.png) 0 0 no-repeat; right: -15px; background-size: 100% auto }
	.prevBtn:hover,
	.nextBtn:hover {
			background-position: 0 0;
			}	
	.prevBtn.disabled,
	.nextBtn.disabled {
		cursor: default;
		background-position: 0 -200px;
		}	
		.threeCols .col1 .heading1:first-child, .threeCols .col2 .heading1:first-child, .threeCols .col3 .heading1:first-child {
			margin-top: 20px;

		}	

		#gallery .prevBtn {
			left: -25px;
		}

		#gallery .nextBtn {
			right: -25px;
		}

		#audioControls {
			background: url(i/headerOverlay.png) 50% -1px repeat-x;
			padding: 10px;
			position: absolute;
			top: 390px; 
			width: calc(100% - 20px);
			}
			.ie8 #audioControls {
				background-position:  0 100%;
				}
			#audioControls.fixed {
				top: 0;
				
				}
				#audioControls.fixed .inner {
					background: none;
					width: 100%;
					margin: auto;
					}
					
		#footer {
			padding: 20px;
		}

		#final a {
			position: relative;
			top: auto;
			right: 0;
		}

		.grid {
			position: relative;
			margin-top: 46px;
			background-image: none;		
			}
			.grid .heading1 {
				position: relative;
				top: auto;		
				left: auto;
				width: 308px;
				margin-left: auto;
				margin-right: auto;
				}	
			.grid ul li {
				float: none;
				width: 308px;
				margin: 0 auto 17px auto;
				}
				.grid ul li.eor {
					margin-right: auto;
					}
				.grid ul li:nth-child(3n+4) {
					clear: both;
					}	
				.grid li .frame { width: 306px; height: 306px; }		
			.grid li .description {
				height: 68px;
				overflow: hidden;
				padding: 0;
				margin-bottom: 17px;
				}	
			.itunes, .amazon {
				display: -moz-inline-box !important;
				display: inline-block;
				height: 18px;
				text-indent: -3000px;
				overflow: hidden;
				font-size: 0;
				background: url(i/buy.png) 0 0 no-repeat;
				vertical-align: middle;
				opacity: .6;
				}
				.itunes:hover, .amazon:hover {
					opacity: 1;
					}
				.itunes {
					width:42px;
					background-position: 0 0;
					}
				.amazon {
					width:75px;
					background-position: -57px 0;
					}	
					
		.divide {
			display: none;
			}				
}

/* @media (min-width: 800px) and (max-width: 950px) and (orientation: landscape) {
	#heroCarousel {
		width: 745px;
		height: 235px;
	}

	#heroCarousel li.item {
		margin: 0 20px 20px 0;
	}

	#heroCarousel li.item a {
		width: 235px;
		height: 235px;
	}

	#heroCarousel li.item a img {
		width: 235px;
		height: 235px;
	}
} */


@media only screen and (max-width: 320px) {
	.width{
		width: 100%;
	}

	.prevBtn { background: url(i/prev.png) 0 0 no-repeat; left: 5px; background-size: 100% auto }
	.nextBtn { background: url(i/next.png) 0 0 no-repeat; right: 5px; background-size: 100% auto }

	#gallery .prevBtn {
		left: -10px;
	}

	#gallery .nextBtn {
		right: -10px;
	}
	
	.threeCols .col1,
	.threeCols .col2,
	.threeCols .col3,
	.twoCols .col1,
	.twoCols .col2 {
		width: 280px;
		}

		.twoCols .frame {
			width: 280px;
			height: 280px;
		}

		.threeCols .frame {   
			width: 280px;
			height: 280px;
		}
						
}