/*
Theme Name: 	Andrew Twigg
Theme URI: 		http://andrewtwigg.com
Description: 	Custom theme based on Starkers 4.0.
Version: 		1.0
Author: 		Andrew Twigg
Author URI: 	http://andrewtwigg.com
Tags: 			custom, starkers
*/

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

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@import "css/reset.css";

div,
article,
section,
header,
footer,
nav,
li					{ position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body 				{ background:#fff; /* Don't forget to style your body to avoid user overrides */ }
::-moz-selection 	{ background:#ff0; color:#333; }
::selection 		{ background:#ff0; color:#333; }

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

body,
input,
textarea 			{ /* We strongly recommend you declare font-weight using numerical values, but check to see which weights you're exporting first */ }

h1, 
h2, 
h3, 
h4, 
h5, 
h6 					{ font-weight:bold; /* This helps to identify headings at the initial build stage, but you should write something more precise later on */ }

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


html {
	
	height: 100%;
	
}


body {
	font-family: 'Roboto', Helvetica, Arial, san-serif;
	font-weight: 300;

	background: #00b3e6; /* Old browsers */
	background: url(images/web_dots_b.svg) bottom fixed, url(images/web_dots_t.svg) top fixed, -moz-linear-gradient(top,  #00b3e6 0%, #54c6e5 25%, #41c0e2 26%, #9cd4e2 100%); /* FF3.6+ */
	background: url(images/web_dots_b.svg) bottom fixed, url(images/web_dots_t.svg) top fixed, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00b3e6), color-stop(25%,#54c6e5), color-stop(26%,#41c0e2), color-stop(100%,#9cd4e2)); /* Chrome,Safari4+ */
	background: url(images/web_dots_b.svg) bottom fixed, url(images/web_dots_t.svg) top fixed, -webkit-linear-gradient(top,  #00b3e6 0%,#54c6e5 25%,#41c0e2 26%,#9cd4e2 100%); /* Chrome10+,Safari5.1+ */
	background: url(images/web_dots_b.svg) bottom fixed, url(images/web_dots_t.svg) top fixed, -o-linear-gradient(top,  #00b3e6 0%,#54c6e5 25%,#41c0e2 26%,#9cd4e2 100%); /* Opera 11.10+ */
	background: url(images/web_dots_b.svg) bottom fixed, url(images/web_dots_t.svg) top fixed, -ms-linear-gradient(top,  #00b3e6 0%,#54c6e5 25%,#41c0e2 26%,#9cd4e2 100%); /* IE10+ */
	background: url(images/web_dots_b.svg) bottom fixed, url(images/web_dots_t.svg) top fixed, linear-gradient(to bottom,  #00b3e6 0%,#54c6e5 25%,#41c0e2 26%,#9cd4e2 100%); /* W3C */
	height: 100%;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00b3e6', endColorstr='#9cd4e2',GradientType=0 ); /* IE6-9 */
	/* LINK: http://www.colorzilla.com/gradient-editor/#00b3e6+0,54c6e5+25,41c0e2+26,9cd4e2+100;Custom */


}

.clear {
	clear: both;
}

.mobile {
	display: none;
}

.desktop {
	display: block;
}

div.everything {
	width: 94%;
	padding: 3%;
	max-width: 960px;
	background: white;
	background: rgba(255,255,255,0.96);
	margin: 0 auto;
}

header {
	width: 30%;
	float: left;
	
}

section {
	float: right;
	width: 67%;
	padding-left: 3%; 
	padding-top: 150px;
	}

footer {
	font-size: 0.8em;
	font-weight: 300;
	padding: 2em 0 0 0;
	color: #ccc;
}


a {
	color: #00b3e6;
	text-decoration: none;
}

b, strong {
	font-weight: 700;
}

em, italic {
	font-style: italic;
}

p {
	font-weight: 300;
}


header h1 {
	height: 150px;
}

header h1 img {
	display: block;
	width: 100%;
	max-width: 140px;
	height: auto;
}
 

nav {
	padding-bottom: 2em;
}
 
nav a {
	display: block;
	font-weight: 300;
	font-size: 1.4em;
	padding: 0 0 .4em 0;
} 


div.sidebar {
	font-size: 0.8em;
}

.desktop div.sidebar {
	max-width: 200px;
}

div.sidebar h5 {
	font-weight: 300;
	text-transform: uppercase;
	padding: 0 0 0.4em 0;

}

div.sidebar a {
	display: block;
	padding: 0 0 0.4em 0;
	font-weight: 300;
}


 
section p {
	line-height: 1.6em;
	margin: 0 0 1em 0;
} 

h2 {
	font-size: 2em;
	font-weight: 100;
	text-transform: uppercase;
	color: #00b3e6;
}

h3 {
	font-size: .8em;
	font-weight: 100;
	text-transform: lowercase;
	padding: 0 0 .8em 0;
}

h4 {
	font-size: 1em;
	font-weight: 400;
	margin: 1em 0 0 0;
}

article li {
	list-style: disc;
	list-style-position: outside;
	margin: 0 0 1em 1em;
}
 
article img {
	max-width: 100%;
	height: auto;
} 

article div {
	max-width: 100% !important;
}

ol li article {
	margin-bottom: 8em;
} 

ol li article h2 {
}

article time {
	display: block;
	font-weight: 100;
	font-size: 0.8em;
	padding-bottom: 2em;
}

form#commentform {
	font-size: 0.8em;
}

textarea {
	max-width: 100%;
}
 

table#recaptcha_table td a {
	color: #00b3e6 !important;
} 
 
 
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
 
 

svg path {
	transition: all .5s ease-in-out;
}

svg path:hover {
	transition: all .5s ease-in-out;
	transform: scale(2);
	transform-origin: 50% 50%;
}
 
 
/* 400 and down */
@media screen and (max-width:600px) {


	.mobile {
		display: block;
	}
	
	.desktop {
		display: none;
	}

	div.everything {
		width: 92%;
		padding: 0 2%;
		margin: 0 2%;
	}

	header {
		width: 96%;
		padding: 0 2%;
		float: none;
	}
	
	
	
	header h1 {
		height: auto;
		padding: 2em 0;
	}
	
	header h1 img {
		margin: 0 auto;
		max-width: 200px;
	}
	
	nav li {
		border-top: 1px solid #00b3e6;
	}
	
	nav a {
		text-align: center;
		padding: 0.6em 0;
	}
	
	nav li:last-child {
		border-bottom: 1px solid #00b3e6;
	}
	
	section {
		float: none;
		width: 10%;
		width: 96%;
		padding: 50px 2% 0 2%;
	}
	
	footer {
		width: 96%;
		padding: 50px 2% 0 2%;
	}
	
	table#recaptcha_table td {
		max-width: 96%;
		display: block;
	}

}

/* Retina Display */
@media screen and (-webkit-min-device-pixel-ratio:2) {

					{ /* Place your styles here for all 'Retina' screens */ }

}