/**
  Site Name: 
  Site URI: 
  Version: 4.0
  Author: Graeme Pirie


  Colours Used:
  
  Green: 	#bfda26
  Blue:		#2b9ad9
  


*/

/* ************************************************************************************************************************************************************

Reset

************************************************************************************************************************************************************ */

html, body, div, span, applet, object,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, tt, var,
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;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

article, aside, dialog, figure, footer, header,
hgroup, nav, section {
	display:block;
}

/* remember to define focus styles! */
a:focus {
	
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

.clear {
	clear: both;
}



/* ************************************************************************************************************************************************************

Page Elements

************************************************************************************************************************************************************ */


* {
	margin: 0;
	padding: 0;
	}
	
body {
	-webkit-text-size-adjust: none;
	background: url(../images/bg.png) top left repeat;
	font-family: Helvetica;
	padding: 0;
	color: #515050;
	margin: 0;
}

#wrap {
	width: 100%;		
	padding: 0;
	margin: 0;
}

section#main {
	padding: 0;
	margin-top: 10px;
}


section#about {	
	display: none;
}

section#latest, h1.home {	
	display: none;
}


p, h1, h2, h3, h4, ul, blockquote {
	margin-bottom: 10px;
	display: block;
	padding: 0 5px;

}

a#logo {
	margin-bottom: 0;	
	display: none;
}

h1.iphone {
	display: block;
	text-shadow: 0px 1px 0px #e2e2e2;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#ccc), to(#999));
	margin: 0;
	padding: 12px 10px;
	color: #222222;
	font-size: 20px;
	text-align: center;
	border-bottom: 1px solid #666;
    font-weight: bold;
}

nav {
	margin: 0 auto 10px auto;
	padding: 10px;
	display: block;
	float: none;
	height: 100%;
	width: 90%;
}

nav ul {	
	margin: 10px;
}

nav ul li{
	float: left;
	width: 20%;
	margin: 0;
	height: 100%;
	background: none;
	font-size: 18px;
	margin-right: 5%;
}

nav ul li a{
	background: #fff;
    border: 1px solid #bfda26;
    color: #2b9ad9;
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: -1px;
    padding: 12px 10px;
    text-decoration: none;
	height: 100%;
	width: 100%;
	text-align: center;
	font-weight: bold;
	-webkit-text-shadow: 1px 1px 1px #fff;
	text-shadow: 1px 1px 1px #fff;
}

nav ul li:first-child a {
    -webkit-border-top-left-radius: 8px; 
	-webkit-border-bottom-left-radius: 8px;
}

nav ul li:last-child a {
    -webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
}

nav ul li a:hover {
	background: #fff;
	color: #2b9ad9;
}

nav ul.hide {
	display: none;
}


.current_page_item, body.single-post .page-item-217 {
	color: #2b9ad9;
	background: none;
}

.current_page_item a, body.single .page-item-217 a {
	color: #2b9ad9;
}

input, label {
	float: none;
	display: block;
}




/* ************************************************************************************************************************************************************

Blog

************************************************************************************************************************************************************ */

#blog h1, img.post-image, aside, ul#pagination {
	display: none;
}

#blog, article.post, code {
	width: 100%;
}

form#commentform {
	float: none;
	width: 100%;
}

form#commentform label {
	display: none;
}

article.blog, .entry, .comments, .blog-entry {
	width: 100%;
	margin: 0 auto;
}

button#send {
	width: 98px;
	margin: 10px 0 10px 100px;
}

.blog h2 {
	margin-top: 20px;
}


/* ************************************************************************************************************************************************************

Portfolio

************************************************************************************************************************************************************ */

section.details, section.portfolio-main {
	float: none;
	width: 100%;
}

a.portfolio-link {
	display: none;
}

img.portfolio {
	width: 85%;
	padding: 0 5px;
}


/* ************************************************************************************************************************************************************

Contact

************************************************************************************************************************************************************ */

label, input {
	display: block;
	float: none;
}

label {
	margin-left: 20px;
}

input[type="text"], input[type="email"], input[type="url"] {
	display: block;
	float: none;
	height: 30px;
	margin: 0 auto;
}

textarea {
	display: block;
	float: none;
	margin: 0 auto;
}


