/*

	Theme Name: John Downer Productions
	Author: Mothership Software Ltd. | Stuart Eaton, James Young
	Version: 1.0
	Description: A custom theme for the John Downer Productions websites.

	--------------------------
	Build Version : 	1.0.0
	Author : 			stuart at wearemothership.com
	Website :			http://www.wearemothership.com
	Twitter :			@mothershipSoft
	
	CONTENTS
	--------
	01 : Global resets - Minified for convenience (using http://t.co/39Adgaq + http://t.co/YCoVZGc)
	02 : Global typography & layout rules
	03 : Homepage specific styles
	04 : Internal page styles
	05 : Post styles
	06 : Misc stuff
	
*/

/* 01 START : Global reset styles */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,dialog,figure,footer,header,hgroup,menu,nav,section,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;vertical-align:baseline;background:transparent}body{line-height:1}article,aside,dialog,figure,footer,header,hgroup,nav,section{display:block}nav ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}a{margin:0;padding:0;border:0;vertical-align:baseline;background:transparent}ins,mark{background:#333;color:#fff;text-decoration:none}mark{padding:0 3px;}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted #000;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}
/* 01 END : Global reset styles */

/* 02 START : Global typography and layout rules */


body {
	font: 13px/25px Helvetica, sans-serif;
	color: #626262;
	margin: 0 auto;
	background: #FBFAF6;
	/* background: #faf9f3 */;
	text-rendering: optimizeLegibility;
	text-shadow: 0px 1px 0px #fff;
}

.pageWrapper {
    min-width: 940px;
    width: 75%;
    padding-top: 15px;
    margin: 0 auto;
    overflow: hidden;
    clear: both;
    border-left: 1px solid #ECECEC;
    border-right: 1px solid #ECECEC;
}

.page {
    width: 900px;
    margin: 0 auto;
    overflow: hidden;
    clear: both;
    
}

h1, h2, h3, h4, h5, h6, blockquote {
	line-height: normal;
	color: #000;
	margin: 0 0 25px 0;
	letter-spacing: auto;
	text-shadow: 0px -1px 0px #fff;
}	

h1 {
	font-size: 310%;
	padding-top: 20px;
}

h2 {
	font-size: 250%;
}

h3, h4, h5, h6, blockquote {
	font-size: 150%;
}

p {
    margin-bottom: 25px;
}

ul, ol {
    padding-left: 20px;
    margin-left: 15px;
}

section p:last-child, article p:last-child {
    margin-bottom: 0px;
}	

.light {
	color: #A7A9AC;
}

a { 
	color: #6CB8DA;
	text-decoration: none;
	-webkit-transition: opacity,color 0.5s ease 0s; 
    -moz-transition: 	opacity,color 0.5s ease 0s;
    -o-transition: 		opacity,color 0.5s ease 0s;  
    transition:	 		opacity,color 0.5s ease 0s;
}	

a:hover {
	color: #010101;
	opacity: 1.0;
	-webkit-transition: opacity,color 0.2s ease 0s; 
    -moz-transition: 	opacity,color 0.2s ease 0s;
    -o-transition: 		opacity,color 0.2s ease 0s;  
    transition:	 		opacity,color 0.2s ease 0s;
}

a:link .slideImg, a:link .programme_thumb {
    opacity: 1.0;
    background-color: #f2f2f2;
    -webkit-transition: opacity 0.4s ease 0s; 
    -moz-transition: 	opacity 0.4s ease 0s;
    -o-transition: 		opacity 0.4s ease 0s;  
    transition:	 		opacity 0.4s ease 0s;
}

a:hover .slideImg, a:hover .programme_thumb {
    opacity: 0.4;
    -webkit-transition: opacity 0.2s ease 0s; 
    -moz-transition: 	opacity 0.2s ease 0s;
    -o-transition: 		opacity 0.2s ease 0s;  
    transition:	 		opacity 0.2s ease 0s;
}


		
img, 
a img {
	max-width: 100%;
    -ms-interpolation-mode: bicubic;
    image-rendering: optimizeQuality;
}

blockquote {
	font-style: italic;
}

input[type=text],
input[type=tel],
input[type=email],
select,
textarea,
input[type=submit] {
	background: #f4f4f4;
	border: 1px solid #ccc;
	padding: .7em;
}

input[type=submit] {
	background: #010101;
	color: #fff;
	border: 1px solid #fff;
	cursor: pointer;
	}

figure {
	padding: .5em;
	border: 1px solid #eee;
	background: #f8f8f8;
	text-align: center;
}

figcaption {
	margin: 1em 0;
}

.alignleft {
	float: left; 
	display: inline;
	margin: 0 2em 2em 0;
}

.alignright {
	float: right; 
	display: inline;
	margin: 0 0 2em 2em;
}

header {
    display: block;
    overflow: hidden;
    margin-bottom: 0px;
    border-bottom: 1px solid #ECECEC;
}

header h1 {
	font-size: 170%;
	margin: 0px;
	padding: 0px;
	border: 0px;
	font-weight: bold;
	color: #010101;
}

header h2 {
	font-size: 100%;
	margin: 0px;
	font-weight: normal;
	color: #bfbfbf;
}

.logo {
    position: absolute;
    top: 16px;
    margin-left: -131px;
}

header .mobile-nav { 
    display: none;
}
   
header nav {
    display: block;
	margin-top: 20px;
}

header nav ul, #recent-slides ul, footer ul, .related-information ul {
    padding-left: 0px;
    margin-left: 0px;
}

header nav li {
	float: left;
	display: inline;
	margin-right: 1px;
	color: #d2d2d2;
}


header nav li a {
	text-transform: uppercase;
	text-decoration: none;
	padding-right: 20px;
}

header nav li a:hover, header nav li.current-menu-item a {
	color: #000;
}

.mobile_nav {
    display: none;
}

section {
    display: block;
    overflow: hidden;
    height: auto;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ECECEC;
}



article {
    display: block;
}

footer {
	display: block;
	overflow: visible;
	margin-top: 50px;
	padding-top: 25px;
	border-top: 1px solid #ECECEC;
	color: #ccc;
}

footer .small-print * {
    font-size: 10px;
}
    
footer ul li {
	display: inline;
	margin-right: 10px;
}

footer ul li img {
	vertical-align: top;
}


/* 02 END : Global typography and layout rules */

/* 03 START : Homepage specific styles */
#more-detail {
	margin-bottom: 45px;
	padding-top: 45px;
	padding-bottom: 8px;
	border-bottom: 1px solid #ECECEC;
}

#featured h2 {
	margin: 0 0 .6em 0;
	padding-bottom: 15px;
	background: #fff;
}

.related-information {
    font-size: 85%;
}

.related-information ul li {
	display: inline;
}   

.related-information li .label {
	position: relative;
	float: left;
	text-transform: uppercase;
	color: #D2D2D2;
	width: 40%;
}

.related-information li .info {
	position: relative;
	float: left;
	width: 60%;
}

.content-list {
    overflow: auto;
    clear: both;
}

.content-list img {
    width: 100%;
    height: auto;
}

.content-list div {
    border: none;
}

#more-detail {
	position: relative;
	overflow: hidden;	
	height: auto;
	}

#more-detail .tabnav {
	overflow: hidden;
	float: left;
	width: 100%;
	margin-bottom: 45px;
}

#more-detail .tabnav li {
	display: inline;
	float:left;
	list-style: none;
	margin-right: 30px;
	}

#more-detail .tabnav li a {
	display: block;
	float: left;
	text-decoration: none;
	text-transform: uppercase;
	padding: 0;
	color: #808080;
}

#more-detail .tabnav li a:hover, 
#more-detail .tabnav li a:active, 
#more-detail .tabnav li.ui-tabs-selected a {
	color: #010101;
	
}

.ui-tabs-hide {
	display: none;
}

#more-detail article section,
#more-detail article section.category-jump,
.post-list, .supporting-info,
#featured-slider.category-level li {
	padding: 0;
	margin: 0 50px 50px 0;
	width: 283px;
	float: left;
	display: inline;	
	clear: none;
}

#more-detail article section a,
.post-list a {
	display: block;
}


.post-list a img {
	margin-bottom: 10px;
}

article.featured {
	margin-bottom: 50px;
}

.recent .post-list a img,
#more-detail article section img {
	opacity: 1;
	min-width: 100%;
	
	-webkit-transition: opacity 0.4s ease 0s; 
    -moz-transition: 	opacity 0.4s ease 0s;
    -o-transition: 		opacity 0.4s ease 0s;  
    transition:	 		opacity 0.4s ease 0s;
}

.recent .post-list a:hover img,
#more-detail article section:hover img {
	opacity: .5;
}

#more-detail article section.category-jump {
	background: #fff;
	height: 223px;
	padding: 0;
	text-align: center;
}

#more-detail article section.category-jump a {
	color: #010101;
	text-transform: uppercase;
	margin: auto;
	line-height: 223px;
}

#more-detail article section:nth-child(3n+0),
#more-detail article section.category-jump,
.post-list:nth-child(3n+1),
.behind-the-scenes .supporting-info:nth-child(4n+1) {
	margin-right: 0;
}

#more-detail article section img {
	min-width: 100%;
	margin-bottom: 10px;
	height: auto
}	

#more-detail article ul {
	margin: 0 25px;
	}
/* 03 END : Homepage specific styles */

/* 04 START : Internal page styles */
.the-content {
	float: left;
	padding-bottom: 5em;
	display: block;
	width: 100%;
	clear: both;
}



.column-row {
    width: 100%;
    overflow: hidden;
    clear: both;
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ECECEC;
}

.column-row:last-child {
    border: none;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.column2 {
	margin-right: 4%;
	float: left;
	display: inline;
	width: 48%;
}

.column3 {
	margin-right: 5%;
	float: left;
	display: inline;
	width: 30%;
}

.column4 {
	margin-right: 4%;
	float: left;
	display: inline;
	width: 22%;
}

.last-column {
    margin-right: 0px;
}

.content-list .last-column {
    margin-right: 0px;
    margin-bottom: 25px;
    
}

.programme_thumb {
    /* Only works for 3 column width */
    width: 270px;
    height: 151px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.behind-the-scenes {
    padding: 30px;
	background-color: #f2efe9;
}



#share-page {
    margin-top: 30px;
}

.amazon {
    line-height: 24px;
}

.amazon img {
    float: left;
    margin-right: 15px;
}

.products {
	background: #fff;
	padding: 30px;
	border-bottom: none;
}

.product img {
	max-width: 90%;
	max-height: 100%;
	border-radius: 3px;
	box-shadow: 0px 2px 6px #808285;
}

.product td {
	width: 50%;
	vertical-align: top;
	line-height: 18px;
}

.product {
	margin-bottom: 20px;
}

/* 04 END : Internal page styles */

/* 05 START : slideshow */
.slideImg {
	height: 506px;
	width: 900px;
}

.slide {
    position: relative;
    
}

.slide .slideImg {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.slide .description {
    position: absolute;
    bottom: 0px;
    width:900px;
    height: 506px;
    opacity: 0;
    -webkit-transition: opacity 0.4s ease 0s; 
    -moz-transition: 	opacity 0.4s ease 0s;
    -o-transition: 		opacity 0.4s ease 0s;  
    transition:	 		opacity 0.4s ease 0s;
}

.slide .description:hover {
    opacity: 1;
    -webkit-transition: opacity 0.2s ease 0s; 
    -moz-transition: 	opacity 0.2s ease 0s;
    -o-transition: 		opacity 0.2s ease 0s;  
    transition:	 		opacity 0.2s ease 0s;
}


.slide .description div {
    position: absolute;
    bottom: 25px;
    width: 820px;
    padding: 40px;
    font-size: 130%;
    line-height: 1.3;
    background-color: #faf9f3;
    color: #000;
    z-index: 9999;
}



#slides {}

#slides .pagination {
	display: none;
}

.slidesNav {
    margin-top: 25px;
	overflow: hidden;
}

.slideThumbs {
    position: relative;
    float: left;
    width: 85%;
}

#slides .flickrIcon {
    margin-right: 4px;
    vertical-align: text-bottom;
}

.slideFlickrLink {
    position: relative;
    float: right;
    text-align: right;
    line-height: 30px;
    font-size: 85%;
}

.slideThumb {
	position: relative;
	float: left;
	width: 25px;
	margin-right: 1px;
	height: auto;
	opacity: 0.2;
}

.feature-slideshow {
    padding-bottom: 0px;
}

.feature-slideshow .slideImg {
    height: 506px;
    width: 900px; 
}

#recent-slides {}


#recent-slides .pagination {
    display: none;
}

#recent-slides .slide {
    width: 900px;
    height: 225px;
}

#recent-slides ul {
    overflow: auto;
    margin-bottom: 25px;
}

#recent-slides ul li {
    display: inline;
	float:left;
	list-style: none;
	margin-right: 20px;
	text-transform: uppercase;
}

#recent-slides ul a:link, #recent-slides ul a:active, #recent-slides ul a:visited {
    color: #999999;
	cursor: pointer;
}

#recent-slides ul a:hover {
    color: #010101;
}

#recent-slides .show-more {
    float: right;
    margin: 0px;
}

/* 05 END : Slideshow */

/* 06 START : Misc stuff */
/* 06 END : Misc stuff */



/* #wpadminbar { display: none; } */




@media screen and (max-width: 600px) {

    body {
        font-size: 13px;
        padding-top: 0px;
        width: 320px;
    }
    
    .pageWrapper {
        background: #faf9f3;
        width: 100%;
        min-width: 320px;
        padding-top: 0px;
        margin: 0 auto;
        overflow: auto;
        clear: both;
    }
    
    .page {
        width: 300px;
        margin: 0 auto;
    }
    
    h1 {
	   font-size: 150%;
    }
    
    h2 {
    	font-size: 130%;
    }
    
    h3, h4, h5, h6, blockquote {
    	font-size: 100%;
    }
    
    header {
        margin-bottom: 0px;
        border: none;
    }
   
   .logo {
       display: none;
   }
   
   header .mobile-nav {
    display: block;
   }
   
   header .desktop-nav {
    display: none;
   }
    
   header .mobile-nav {
    display: block;
    width: 100%;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 0px;
    overflow: hidden;
    clear: both;
   }
   
   header .mobile-nav div {
        position: relative;
        padding: 15px 0px;
        border-top: 1px solid #ECECEC;
        border-bottom: 1px solid #676767;
        cursor: pointer;
   }
   
   .mobile-nav div .arrow {
        position: absolute;
        top: 18px;
        right: 0px;
        -webkit-transition: all 0.2s ease-in-out;
        -moz-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        -ms-transition: all 0.2s ease-in-out;
        
   }
   
   .arrowUp {
        -webkit-transform: rotate(180deg); 
        -moz-transform: rotate(180deg);
   }
  
   
   header .mobile-nav ul {
    margin: 0px;
    padding: 0px;
    width: 100%;
    border-bottom: 1px solid #ECECEC;
    display: none;
   }
   
   header .mobile-nav ul li a {
    display: block;
    width: 100%;
    margin: 0px;
    padding: 10px 0px;
    border-top: 1px solid #ECECEC;
    cursor: pointer;
   }
   
   header .mobile-nav ul .current-menu-item a {
    color: #000;
   }
   
      
    header h1 {
        font-size: 100%;
    }
    
    header h2 {
        font-size: 100%;
        margin-top: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ECECEC;
    }

    .column2, .column3, .column4, .last-column {
        width: 100%;
        margin: 0;
        margin-bottom: 25px;
    }
    
    .column-row {
        margin: 0px;
        padding: 0px;
        border: none;
    }
        
    .slideImg, .feature-slideshow .slideImg {
	   height: 168px;
	   width: 300px;
    }
    
     .slide {
        overflow: hidden;
     }
     
    .slide .description div {
        display: none;
    }
    
    .slidesNav {
        margin-top: 10px;
    }
    
    .slideThumbs {
        width: 100%;
    }
    
    .slideFlickrLink {
        width: 100%;
        float: left;
        text-align: left;
    }
    
    .related-information .column2 {
        margin: 0px;
    }
    
    .related-information li .label {
        width: 53%;
    }
    
    .related-information li .info {
        width: 47%;
    }
    
    #recent-slides {
        display: none;
    }
    
    .programme_thumb {
        width: 300px;
        height: 168px;
    }

    
    



}


