/*
Theme Name:     Ben Salisbury
Description:    Designed and built by bluinc
Author:         bluinc
Author URI:     http: //www.bluinc.co.uk
Version:        1.0
*/

@import url(normalize.css);


/* References */

	/* Typography  */
		
	/* Colours */



/* Globals */


	html, body {
		font-size: 18px;
		line-height: 1.5em;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		height:100%;
		font-family: 'Roboto', sans-serif;
		font-weight: 300;
		background: url(images/body-BG.png) left top repeat-x #F7F5F5;
	} 
	
	a img {	border:0; outline:none;	text-decoration: none; }	
		
	.cf:before,
	.cf:after { content: " "; display: table; }
	.cf:after { clear: both; }
	.cf { *zoom: 1; }
	
	
		/* Alignment */
	
		.fl { float:left }
		.fr { float:right }
		.fn { float:none }
		.center { text-align: center; }
		.cr { clear:right; display:block }
		.cl { clear:left; display:block }
		.cb { clear:both; display:block }
		
	.bs {
		-webkit-box-shadow: 0 0 5px 0 rgba(0,0,0,0.25);
		box-shadow: 0 0 5px 0 rgba(0,0,0,0.25);
	}

	.mobile-only,
	.non-mobile-only.open { display: none; visibility: collapse; }
	.non-mobile-only { display: block; visibility: visible; }



/* Typography */


	p {
		margin: 0 0 0.667em 0;
		padding: 0 0 0 0;
	}
	
		.page.hentry p:first-child,
		.post.hentry p:first-child {
			font-size: 1.25em;
			line-height: 1.5em;
			margin-bottom: 1em;
		}
		
			.post.has-post-thumbnail.hentry p:first-of-type {
				margin-top: 1.333em;
			}
			
			.hentry.category-news p:first-of-type {
				margin-top: 0;
				font-size: 1em;
				line-height: inherit;
			}
		
		ul li.list-item p,
		#page ul li.list-item p.awarding-body {
			margin: 0;
			padding: 0;
		}
		
		.one-third.image-item p.listen-watch {
			position: absolute;
			z-index: 999;
			bottom: -50px;
			left: 11.15%;
		}
		
		.rslides p.listen-watch {
			position: absolute;
			z-index: 999;
			bottom: -56px;
			left: 5%;
		}
	
	small,
	section#footer,
	p.the-category,
	p.listen-watch,
	footer,
	p.awarding-body,
	p.award,
	.small {
		font-size: 0.88em !important;
		line-height: 1.5em !important;
	}
	
		h3 a.small {
			font-size: 0.5em !important;
			font-weight: 300;
		}
	
	em { font-style: italic; }
	
	strong,
	b { font-weight: 600;	}
	
		.page.hentry strong,
		.page.hentry b,
		.post.hentry strong,
		.post.hentry b,
		.the-category { font-weight: 400; }
	
	blockquote { margin: 1em; font-size: 1.25em; line-height: 1.35em; }
	
	.page.hentry {
		font-weight: 300;
	}
	
	.light { font-weight: 300; }
	.regular { font-weight: 400; }
	.medium { font-weight: 500; }
	
	div.main-image {
		font-size: 0;
		line-height: 0;
	}
	
	#sidebar {
		-ms-word-break: break-all;
		word-break: break-all;
		word-break: break-word;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
        hyphens: auto;
	}
	
	
	/* Image items */
	
	.image-item .info * { color: white; }
	
		.image-item .info p {
			font-weight: 400;
		}
	
			.full.image-item .info p {
				padding-right: 2.5%;
				font-size: 1em;
				line-height: 1.3em;
			}
			
				/* Slideshow info */
			
				.rslides.full .info .adjust {
					width: calc(64.17% - (4.5% + 6px));
				}
				
					.rslides.full .info .one-third {
						position: absolute;
						right: 0;
						top:-15%;
						padding-top: 5%;
						border-left-width: 2px;
						border-left-style: solid;
					}
				
						.rslides.full .one-third p {
							width: 87.5%;
							padding-left: 5%;
							padding-right: 5%;
						}
				
				.full.image-item .info p.subtitle {
					font-weight: 300;
					font-size: 1.75em;
				}
				
			.one-half.image-item .info p {
				padding-right: 7.5%;
				font-size: 0.85em;
				line-height: 1.3em;
			}
		
			.one-third.image-item .info p {
				padding-right: 7.5%;
				font-size: 0.77em;
				line-height: 1.3em;
			}


	
/* Links */
		
	/* Color in theme options */
	a:link, a:visited {	text-decoration: none; outline:none; }	
	a:active, a:hover {	text-decoration: none; outline:none; }
	
	h3 a:link,
	h3 a:visited,
	h3 a:active,
	h3 a:hover { border-bottom: none; }
	
	a.twitter {
		padding-left: 22px;
		background: url(images/twitter.png) left 5px no-repeat;
	}
	
	li.current_page_item a {
		pointer-events: none;
		cursor: default;
	}
	
   	.item.image-item p.listen-watch a,
	.rslides p.listen-watch a {
		color: #000;
		font-weight: 300;
	}



/* Page */


	.wrap { width: 100%; margin: 0 auto; }
	
	.full { width: 100%; max-width: 999px; margin: 0 auto; }
	
		.recent {
			font-size: 0;
			line-height: 0;
			margin-bottom: 88px;
		}
		
		div.main-image.full {
			border-left-style: solid;
			border-left-width: 6px;
			width: calc(100% - 6px);
		}
	
	.one-half { width: 50%; margin: 0 auto; }
	.one-third { width:33.33%; margin: 0 auto; }
	.two-thirds { width:66.67%; margin: 0 auto; }
	.one-quarter { width:25%; margin: 0 auto; }
	
		#page .one-quarter#sidebar,
		#index .one-quarter#sidebar { 
			width:calc(25% - (6px + 5%));
			margin: 0 auto;
			padding: 0 2.5%;
			border-left:6px solid #18E8B6;
		}
		
		#single .one-quarter#sidebar { 
			width:calc(25% - (6px + 5%));
			margin: 0 auto;
			padding: 1.5em 2.5% 0;
			border-left-width:6px;
			border-left-style: solid;
		}
	
	.three-quarters { width:75%; margin: 0 auto; }
	.one-fifth { width:20%; margin: 0 auto; }
	.two-fifths { width:40%; margin: 0 auto; }
	.three-fifths { width:60%; margin: 0 auto; }
	.four-fifths { width:80%; margin: 0 auto; }
	.one-sixth { width:16.67%; margin: 0 auto; }
	.five-sixths { width:83.33%; margin: 0 auto; }
	
	.item {
		position: relative;
	}
	
	.image-item .info { 
		position: absolute;
		bottom: 0;
		z-index: 999;
		font-size: 18px;
		line-height: 1.5em;
		width: 100%;
		height: 30%;
	}
	
		.image-item .adjust {
			border-left-style: solid;
			position: absolute;
		}
		
			.full.image-item .info .adjust {
				border-left-width: 6px;
				height: 115%;
			}
		
			.one-half.image-item .info .adjust,
			.one-third.image-item .info .adjust  {
				border-left-width: 2px;
				height: 120%;
			}
	
			.full.image-item .info .adjust {
				margin-left: 2%;
				padding-left: 2%;
				padding-top: 2%;
			}
			
			.one-half.image-item .info .adjust {
				margin-left: 4.1%;
				padding-left: 3.5%;
				padding-top: 3.5%;
			}
			
			.one-third.image-item .info .adjust {
				margin-left: 3.1%;
				padding-left: 3%;
				padding-top: 4%;
				padding-right: 2%;
			}
		
	
		/* Header */
		
		nav.one-half {
			margin-top: -2.3em;
		}
		
		header {
			padding-top: 1em;
			padding-bottom: 3.5%;
		}
		
	
		/* Footer styles */
	
		section#footer {
			margin-top: 3em;
			display: table;
			background: url(images/body-BG.png) left top repeat-x;
			padding-top: 3em;
			padding-left: 2%;
		}
		
			section#footer .one-third {
				width:33.33%;
				margin: 0 0 0 2%;
				padding-right: 2.5%;
				padding-left: calc(2% - 2px);
				border-left:2px solid #18E8B6; 
				display: table-cell;
			}
			
		footer {
			padding-bottom: 3%;
			background: url(images/body-BG.png) left top repeat-x;
			margin-top: 5em;
			padding-top: 5%;
		}
		
	.page.hentry,
	.post.hentry {
		padding-bottom: 1.25em;
	}
	
	.category-news.post {
		background-image: url(images/list_li_BG.png);
		background-repeat: no-repeat;
		background-position: left bottom;
		background-size: 50px 1px;
	}
	
	.inner { padding: 0 7.5% 7.5% 0; }


		
/* Headings */


	h1, h2, h3, h4 { font-weight:400; padding: 0; }
	
	
		/* Item headings */
		
		.full.image-item .info h2,
		.full.image-item .info h3 {
			border-left-width: 6px;
			font-size: 1.75em;
		}
	
		.one-half.image-item .info h2,
		.one-half.image-item .info h3 {
			border-left-width: 2px;
			font-size: 22px;
		}
	
		.one-third.image-item .info h2,
		.one-third.image-item .info h3 {
			border-left-width: 2px;
			font-size: 20px;
			margin: 0 0 0.333em 0;
		}
		
	
	h1 { font-size: 2em; line-height:1.2em; margin: 0 0 0.5em 0; }
	
		h1.site-title {
			font-size: 1.11em;
			font-weight: 500;
		}
		
		h1.page-title {
			margin-bottom: 1em;
		}
	
	h2 { font-size: 1.5em; line-height:1.25em; margin: 0 0 0.5em 0; }
	
		h2.page-subtitle {
			font-size: 2em;
			font-weight: 300;
			margin-bottom: 0;
		}
	
	h3 { font-size: 22px; line-height:1.1em; margin-top: 0; }
	
		.page.hentry h3,
		.single.hentry h3 {
			margin: 1.33em 0 0.667em 0;
		}
		
			.hentry.category-news h3 {
				font-size: 32px;
			}
			
				.hentry.category-news h3:first-of-type {
					margin-top: 0em;
				}
		
			.page.hentry h3:first-of-type,
			.post.hentry h3:first-of-type {
				margin-top: 0.5em;
			}
	
		section#footer .one-third h3,
		h3.page-title {
			font-size: 2em;
		}
		
			h3.page-title {
				background-image: url(images/list_li_BG.png);
				background-repeat: no-repeat;
				background-position: left top;
				background-size: 50px 1px;
				padding-top: 1em;
				margin-bottom: 0.5em;
			}
		
		.list h3 {
			border-left: 2px solid #18E8B6;
			margin: 0 0 0 1%;
			padding: 0 0 0.667em 2%;
			font-size: 2em;
		}
		
			#page article.three-quarters h3.margin-top {
				border-left: 2px solid #18E8B6;
				margin: 1.1em 0 0 1%;
				padding: 0 0 0.667em 2%;
				font-size: 2em;
			}
		
		h3.margin-top {
			margin-top:1.1em;
		}
		
	h4 { font-size: 1em; line-height:1.33em; margin: 0; }
	
		ul li.list-item h4 {
			font-size: 24px;
			font-weight: 300;
			margin: 0.33em 0 0.33em;
		}



/* Images */

	img {
		max-width: 100%;
		height: auto;
	}
		
	.one-quarter#sidebar img.wp-post-image {
		margin: 0 0 1em -12.667%;
	}


	img.alignleft,
	div.alignleft {
		float:left;
		margin: 0.333em 1em 0.333em 0;
	}
	
	img.alignright,
	div.alignright {
		float:right;
		margin: 0.333em 0 0.333em 1em;
	}
	
	img.aligncenter,
	div.aligncenter {
		margin: 0.333em auto 1em;
		display: block;
	}
	
	
		/* Icons */
		
		span.icon {
			background-image: url(images/icons/sprite2.png);
			text-indent: -9999px;
			display: block;
			background-size: 54px 13px;
			background-repeat: no-repeat;
			margin-top: 7px;
			height: 13px;
			position: absolute;
			z-index: 999;
			bottom: -35px;
			right: 5.15%;
		}
		
			p.the-category span.icon {
				top:10px;
			}
			
			.rslides span.icon {
				right: 2%;
			}
		
		span.Film {
			background-position: - 0;
			width: 17px;
		}
		span.TV {
			background-position: -21px 0;
			width: 17px;
		}
		span.Album {
			background-position: -41px 0;
			width: 13px;
		}



/* Lists */


	ul.menu {
		list-style: none;
		font-size: 0;
		line-height: 0;
	}
	
	ul.menu li {
		font-size:18px;
		line-height:1em;
		display:-moz-inline-stack;
		display:inline-block;
		zoom:1;
		*display:inline;
		padding: 1.2em 1em 1em 0.5em;
		font-weight: 400;
	}
	
	ul.menu li a:link {
		border-bottom: none;
	}
	
	ul.menu li.current-menu-item,
	ul.menu li.current-page-ancestor,
	ul.menu li.current-menu-parent { border-left: 2px solid #18E8B6; }
	
	#sidebar ul {
		list-style: none;
		margin: 0;
		padding: 0;
		font-weight: 400;
	}
	
	section.full ul,
	section#footer ul {
		list-style: none;
		margin: 0;
		padding: 0;;
	} 
	
		#page ul li.list-item {
			width: calc(50% - (2px + (1% + 2.5%)));
			border-left: 2px solid #18E8B6;
			margin: 0 0 0 1%;
			padding: 0.667em 0 0.667em 2.5%;
			background-image: url(images/list_li_BG.png);
			background-repeat: no-repeat;
			background-position: 6% bottom;
			background-size: 50px 1px;
		}
	
		#page.work ul li.list-item {
			width: calc(33.33% - (2px + (1% + 2.5%)));
			border-left: 2px solid #18E8B6;
			margin: 0 0 0 1%;
			padding: 0.667em 0 0.667em 2.5%;
			background-image: url(images/list_li_BG.png);
			background-repeat: no-repeat;
			background-position: 9% bottom;
			background-size: 50px 1px;
		}
		
			#page article.three-quarters ul li.list-item:nth-child(even) {
				float: right;
			}
			
			#page article.three-quarters ul li.list-item:nth-child(odd) {
				float: left;
				clear: left;
			}
		
		section#footer ul li {
			padding: 1em 0;
			background-image: url(images/list_li_BG.png);
			background-repeat: no-repeat;
			background-position: left bottom;
			background-size: 50px 1px;
		}
		
			section#footer ul li:first-of-type {
				padding-top: 0;
			}
			
			section#footer ul li:last-of-type {
				background: none;
				margin-bottom: 3em;
			}
			
	body.page-id-15 article ul {
		clear: both;
		overflow: auto;
	}
			
		body.page-id-15 article li { /* Contact page */
			width:45%;
			padding-right: 5%;
			float: left;
			padding-bottom: 5%;
		}
		
			body.page-id-15 article li:nth-child(even) {
				float: right;
			}
				
			body.page-id-15 article li:nth-child(odd) {
				float: left;
			}
			
	/* Standard lists */
	
	#page.accordian-style div.adjust ul {
		margin: 0.5em 0 1em;
	}
	
		#page.accordian-style div.adjust ul li { 
			width: calc(100% - (2px + (1% + 2.5%)));
			border-left: 2px solid #18E8B6;
			margin: 0;
			padding: 0.667em 0 0.667em 2.5%;
			background-image: url(images/list_li_BG.png);
			background-repeat: no-repeat;
			background-position: 3% bottom;
			background-size: 50px 1px;
		}
	


/* Forms */


	input[type=text],
	input[type=email],
	input[type=tel],
	textarea,
	select,
	input[type=submit],
	input[type=checkbox] {
		border-radius: 0;
		-moz-border-radius: 0;
		margin-top: 0.5em;
		font-size: 16px;
		font-family: inherit;
	}

	input[type=text],
	input[type=email],
	input[type=tel],
	textarea{
		width: 95%;
		border: 0;
		padding: 2.5%;
		background: #FFF;
	}
	
	input[type=submit] {
		width: 25%;
		background: #444;
		border: 0;
		padding: 2.5%;
		color: white;
		font-family: 'Roboto', sans-serif;
	}
	
	
/* Slides */

	.rslides {
		position: relative;
		list-style: none;
		overflow: visible;
		width: 100%;
		padding: 0;
		margin-top: 0;
		margin-bottom: 7.5%;
	}
	
	.rslides li {
		-webkit-backface-visibility: hidden;
		position: absolute;
		display: none;
		width: 100%;
		left: 0;
		top: 0;
		z-index: 900;
	}
	
	.rslides li:first-child {
		position: relative;
		display: block;
		float: left;
	}
	
	.rslides img {
		display: block;
		height: auto;
		float: left;
		width: 100%;
		border: 0;
	}
	
/* Accordian */

	#page .item.accordian {
		width: 100%;
		display: block;
	}

	#page .item.accordian h3 {
		cursor: pointer;
		background-image: url(images/accordian-down.png);
		background-repeat: no-repeat;
		background-position: 96% center;
		background-size: 20px 20px;
	}

		#page .item.accordian .collapse {
			background-image: url(images/accordian-up.png);
			background-repeat: no-repeat;
			background-position: 96% center;
			background-size: 20px 20px;
			width: 100% !important;
			clear: both !important;
		}

    #page .item.accordian ul {
		display: none;
	}

    #page .item.accordian.visible ul { display: block; }