/*
Theme Name: 	What Creative 2013
Description: 	A simple temporary Wordpress theme based on Starkers
Version: 		1.0
Author: 		What Creative
*/

/*
===========================
CONTENTS:

1 Sensible defaults
2 Typography
3 Links
4 Layout
	4.1 Main Layout
	4.2 Nav
	4.3 Forms
5 Blog
6 Other
7 Media queries 
===========================
*/

/* -------------------------------------------------------------------------------------- 
1 Sensible defaults  -------------------------------------------------------------------------------------- */

.group:after { /* For clearing */
	display:block;
	height:0;
	clear:both;
	content:".";
	visibility:hidden; 
	}
	
body {
	background: #f7f7f7;
	border: 10px solid #ccc;
}

img {
	display: block;
}

.bold,
strong {
	font-weight: 600;
}

code {
	font-size: 0.85em;
}
	
::-moz-selection { /* Moz text selection colours */
	background:#05C4A3;
	color:#333;
	}
	
::selection { /* Text selection colours */
	background:#05C4A3;
	color:#333;
	}

/*  -------------------------------------------------------------------------------------- 
2 Typography  -------------------------------------------------------------------------------------- */

body {
	font-size: 62.5%;
	font-family: "freight-sans-pro", Arial, sans-serif;
	font-weight: 400;
	font-style: normal;
	}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal; 
	}

h2 {
	color: #333;
	font-size: 4.4em;
	width: 90%;
	text-align: center;
	font-weight: 300;
	margin: 0 auto;
	padding: 60px 0 30px 0;
	line-height: 100%;
}

	aside {
		text-transform: uppercase;
		font-weight: 600;
		color: #333;
		font-size: 1.4em;
		width: 90%;
		text-align: center;
		margin: 0 auto;
		padding-bottom: 65px;
	}

p {
	font-size: 2.4em;
	line-height: 150%;
	width: 55%;
	max-width: 1200px;
	text-align: center;
	margin: 0 auto;
	margin-bottom: 30px;
}
	.col2 p {
		font-size: 1.8em;
		text-align: left;
		width: 100%;
		margin-bottom: 20px;
	}
		.ft {
			margin-bottom: 10px;
		}


/* -------------------------------------------------------------------------------------- 
3 Links  -------------------------------------------------------------------------------------- */

a,
a:visited,
.col2 .client-website,
.col2 .client-website:visited {
	color: #000;
	padding-bottom: 3px;
	text-decoration: none;
	border-bottom: 2px solid #05c4a3;
	-webkit-transition: color 0.2s ease-in-out;
	-moz-transition: color 0.2s ease-in-out;
	transition: color 0.2s ease-in-out;
}

a:hover,
a:hover:visited,
.col2 a:hover,
.col2 a:hover:visited,
.col2 .client-website:hover,
.col2 .client-website:hover:visited,
#progress a:hover,
#progress a:hover:visited {
	color: #888;
}

	.col2 a {
		color: #05C4A3; 
		border:0;
	}
	
/* --------------------------------------------------------------------------------------
4 Layout  -------------------------------------------------------------------------------------- */

/*------------------------------------
4.1 Main Layout 
----------------------------------- */

#logo {
		background: url(img/what-creative-logo.svg) no-repeat center center;
		background-size: 100% 100%;
		width: 286px;
		height: 182px;
		margin: 90px auto 65px auto;
		padding:0;
		text-indent: -9999px;
}

	html.no-svg #logo {
		background: url(img/what-creative-logo.gif) no-repeat center center;
	}
		
	#logo a {
		display: block;
		width: 286px;
		height: 182px;
		padding: 0;
		border: 0;
	}

#progress {
	width:90%;  
	background:#fff;
	padding:15px 5%;
}

	#progress p {
		font-size: 1.4em;
		width:100%;
		margin: 0;
		text-align: center;
		max-width: none;
	}
		
		#progress a {
			border:0;
			color:#05C4A3;
		}
		
.home .home-header {
	width: 100%;
	background: url(img/header-bg.svg) center -30px no-repeat;
	background-size: 105% auto;
}
	
	html.no-svg .home .home-header {
		background: url(img/header-bg.png) center -20px no-repeat;
		background-size: 1423px 540px;
	}
		
header {
	width: 100%;
}

	.home #wrapper > header {
		padding-bottom: 60px;
	}

	.ph {
		background: #fff;
	}

section {
	max-width: 1400px;
	margin: 0 auto;
}
	
	.col1 {
		width: 70%;
		float: left;
	}
	
	.col2 {
		width: 30%;
		float: right;
		padding: 2.5% 3% 15px;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
		.col2 blockquote,
		.col3 blockquote {
			width:100%;
			border-left:#ddd 3px solid;
		}
		
			.col2 blockquote p,
			.col3 blockquote p {
				padding-left: 15px;
				font-style: italic;
				width: auto;
			}
			
				.col2 blockquote p:first-child:before,
				.col3 blockquote p:first-child:before {
					content: '“' ;
					font-size: 3em;
					display:block; 
					height:5px; 
					width:26px;
					float:left;
					padding-top: 13px;
					font-style: normal;
					font-family: georgia, serif;
					color: #bbb;
				}
		
	.col3 {
		background:none;
		padding-bottom:30px;
	}

article {
	background: #eee;
}

	article img {
		width: 100%;
		max-width: 1400px;
		height: auto;
	}
		
.thumbs {
	width:100%; 
	background: #eee;
	list-style: none;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

	.thumbs li {
		float: left;
		width: 24%;
		background: transparent;
		margin: 10px 1.333333% 10px 0;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	
		.thumbs li.last {
			float:right;
			margin: 10px 0 10px 0;
		}
		
.logos li {
	width: 50%;
	float: left;
	list-style: none;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

	.logos .last {
		border-bottom: 0;
	}
	
		.logos li:nth-last-child(-n+2) {
			border-bottom: 0;
		}

footer {
	padding: 65px 0;
}

.small {
	font-size: 1.8em;
}

/*------------------------------------
4.2 Nav [Not in use]
----------------------------------- */

/*------------------------------------
4.3 Forms [Not in use]
----------------------------------- */

/*  --------------------------------------------------------------------------------------
5 Blog
 -------------------------------------------------------------------------------------- */

#blog-posts { 
	width:625px;
	margin:0 auto;
}

#blog-posts h2 { 
	width:100%; 
	text-align: left;
	display:block;
}
	#blog-posts h2 { 
		font-size: 3.4em;
		padding:0 0 20px 0;
		margin-bottom: 20px;
		border-bottom:2px solid #000;
		}
			
			#blog-posts h2 a { 
				border-bottom: 0;
				}
				
				time {
					font-size: 1.8em;
					padding:0 0 15px 0;
					display:block;
					font-weight: 500;
					}
					
					#blog-posts p { 
						font-size: 1.8em;
						margin-bottom: 20px;
						text-align: left;
						width: auto;
					}
					
						#blog-posts p:last-child {
							margin-bottom: 0;
						}
						
						#blog-posts blockquote p:last-child {
							margin-bottom: 20px;
						}
	
.post-content a { 
	border:0; 
	color:#05C4A3;
}
		.post-content a:hover { 
			color:#999;
		}
		
		.post-content h3, 
		.post-content h4 {
			text-transform: uppercase;
			font-weight: 600;
			font-size: 1.8em;
			width: 100%;
			text-align: left;
			padding-bottom: 15px;
			}
			
			.post-content ol, 
			.post-content ul {
				margin-left: 20px;
				list-style-position: outside;
				padding-bottom: 10px;
				}
				
				.post-content ol li, 
				.post-content ul li {
					font-size: 1.8em;
					margin-bottom: 10px;
					}
					
					.post-content ol li {
					list-style: decimal;
					}
					
					.post-content ul li {
					list-style: disc;
					}
							
a.more-link {
	color:#000;
	border-bottom: 2px solid #05C4A3;
	margin-top:20px;
	float: left;
	line-height: normal;
}

.blog-auth {
	margin: 0 0 0 0; 
	padding:0;
}

#pagination { 
	width:625px; 
	margin: 0 auto;
	padding:20px 0 45px 0;
	border-top:2px #000 solid;
	border-bottom:2px #000 solid;
}
	.prev, 
	.next {
		font-size: 1.8em;
	}
		.prev a {
			float:left;
			border-bottom: 0; 
		}
		.next a {
			float:right; 
			border-bottom: 0; 
		}
		
.bitly-shortlink input { 
	border:0; 
	background:#e9e9e9; 
	margin-left:5px;
	padding:5px 8px;
	font-family: "freight-sans-pro", Arial, sans-serif;
}

.comments-closed {
	padding-bottom: 30px;
	font-style: italic;
}

/*  --------------------------------------------------------------------------------------
6 Other
 -------------------------------------------------------------------------------------- */

#blog-posts .syntaxhighlighter {
	margin: 0 !important;
}

.syntaxhighlighter .line .content,
.syntaxhighlighter .line .number {
	padding: .5em .5em !important;
}

.syntaxhighlighter .lines code { 
	font-size:1.3em !important;
}

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
	
.clearfix { display: inline-table; }
/* Hides from IE-mac \*/

* html .clearfix { height: 1%; }

.clearfix { display: block; }
/* End hide from IE-mac */

/*  -------------------------------------------------------------------------------------- 
7 Media queries (using a mobile-first approach)  -------------------------------------------------------------------------------------- */

/* Vertical */
@media screen and (max-height:800px) {

	#logo {
		margin: 40px auto 40px auto;
	}
	
	.home #wrapper > header {
		padding-bottom: 30px;
	}

	h2 {
		padding: 30px 0 15px 0;
	}
	
	aside {
		padding-bottom: 35px;
	}
	
	.home .home-header {
		background: url(img/header-bg.svg) center -90px no-repeat;
		background-size: 105% auto;
	}
	
	html.no-svg .home .home-header {
		background: url(img/header-bg.png) center -90px no-repeat;
		background-size: 105% auto;
	}
}

/* 900 and down */
@media screen and (max-width:900px) {

	header p,
	p {
		width: 90%;
	}
	
	.col1 {
		display: block;
		width: 100%;
	}
	
	.col2 {
		display: block;
		border: none;
		padding-top: 10px;
		width:95%;
		margin: 0 2.5%;
	}
	
	.home .home-header {
		background: url(img/header-bg.svg) center 0 no-repeat;
		background-size: 105% auto;
	}
	
	html.no-svg .home .home-header {
		background: url(img/header-bg.png) center 0 no-repeat;
		background-size: 105% auto;
	}

}

/* 710 and down */
@media screen and (max-width:710px) {
	
	#blog-posts {
		display: block;
	}
		
		#blog-posts, 
		#pagination { 
			width:90%;
			}
			
	.col2 {
			float:left;
			padding-top:0;
		} 
		
			
	.home .col2 p {
		margin-top: 15px;
	}
	
	.home .home-header {
		background: url(img/header-bg.svg) center 20px no-repeat;
		background-size: 105% auto;
	}
	
	html.no-svg .home .home-header {
		background: url(img/header-bg.png) center 20px no-repeat;
		background-size: 105% auto;
	}
}

/* 500 and down */
@media screen and (max-width:500px) {

	#logo {
		background-size: 143px 91px;
		width: 143px;
		height: 91px;
		margin: 45px auto 35px auto;
	}
	
		html.no-svg #logo {
			background: url(img/what-creative-logo-mobile.gif) no-repeat center center;
		}
	
	#logo a {
		width: 100px;
	}
	
	.home #wrapper > header {
		padding-bottom: 30px;
	}

	p {
		font-size: 2.0em;
		line-height: 150%;
		text-align: center;
		margin-bottom: 15px;
	}

	
	h2,
	#blog-posts h2 {
		font-size: 2.6em;
		line-height: 100%;
		padding:0 0 15px 0;
	}
	
	h2 {
		padding: 45px 0 15px 0;
	}

	aside {
		font-size: 1.2em;
		padding-bottom: 45px;
	}
	
	.logos li {
		width: 100%;
	}
	
	footer {
		padding: 35px 0;
	}
	
	.small {
		font-size: 1.4em;
	}
	.thumbs {
		margin-top: 5px;
	}
	.thumbs li {
		width: 49%;
		margin: 5px 2% 5px 0;
	}
		
		.thumbs li.mid,
		.thumbs li.last {
			margin: 5px 0 5px 0;
		}	
		
	.col2 blockquote {
		width:100%;
	}
		
		

}

/* 400 and down */
@media screen and (max-width:400px) {

	p,
	.col2 p, 
	#blog-posts p {
		font-size: 1.6em;
	}
		
	footer p {
		font-size: 1.4em;
	}
	
	a,
	a:visited,
	.col2 .client-website,
	.col2 .client-website:visited {
		padding-bottom: 1px;
	}
	
	.home .home-header {
		background: url(img/header-bg.svg) center 60px no-repeat;
		background-size: 105% auto;
	}
	
	html.no-svg .home .home-header {
		background: url(img/header-bg.png) center 60px no-repeat;
		background-size: 105% auto;
	}

}

/* Retina / High-res Display */
@media only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {

	{ /* Place your styles here for all 'High-res' screens */ }

}