/*
Theme Name: Graeme Pirie
Theme URI: http://graemepirie.com
Description: Tweaks
Version: 3.1
Author: Graeme Pirie
Author URI: http://graemepirie.com


@import "style/css/reset.css";
@import "style/css/typography.css";
@import "style/css/layout.css";

Colours Used:

Blue:			#1775AB;
Green:			#bfda26;
Text-Shadow:	#f0f1f1;

*/
/* ************************************************************************************************************************************************************

Reset

************************************************************************************************************************************************************ */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 1px;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;	
}
/* remember to define focus styles! */

:focus {
	outline: 1px dotted #000;
	overflow: hidden;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
	font-size: 1.8em;
}
/* 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;
}

img {
	border: 0;
}


/* ************************************************************************************************************************************************************

Page Elements

************************************************************************************************************************************************************ */


* {
	margin: 0;
	padding: 0;
	}
	
/* For IE */ 
 
@font-face { 
	font-family: 'Perpetua'; 
	src: url('fonts/Perpetua.TTF'); 
	}

 /* For Other Browsers */  
 
 @font-face { 
	font-family: 'Perpetua'; 
	src: local('Perpetua'), local('Perpetua'), url('fonts/perpetua.TTF') format('opentype'); 
} 

body {
	background: url(images/topbg.png) top left repeat-x #e8e8e8;
	font-size: 62.5%;
	font-weight:normal;
	font-family: 'Lucida Sans','Lucida Grande','Lucida Sans Unicode',sans-serif;
	height: 100%;
}

#wrap {
	width: 960px;
	margin: 0 auto;
	height: 100%;
}

#topbar {
	margin-bottom: 50px;
	height: 90px;
}

#intro {
	height: 198px;
	width: 960px;
	margin-bottom: 40px;
}

#intro p {
	float: left;
	width: 810px;
}

#intro img {
	float: right;
	border: 4px solid #1775AB;
	margin: 55px 30px 0 0;
	box-shadow: 5px 5px 15px #ccc;
	-moz-box-shadow: 5px 5px 15px #ccc;
	-webkit-box-shadow: 5px 5px 15px #ccc;
	-webkit-transform: rotate(15deg);
	-moz-transform: rotate(15deg);

}

#twitter {
	float: right;
	background: #bfda26;
	padding: 10px;
	-moz-border-radius: 5px;
	
}

p.tweet {
	float: right;
	display: inline;
	margin-right: 10px;
	margin-bottom: 0;
}

#twitter a {

color: #fff;
}

#content {
	float: left;
	width: 570px;
	margin-right: 20px;	
}

#sidebar {
	float: right;
	width: 350px;	
}


/* ************************************************************************************************************************************************************

Typography

************************************************************************************************************************************************************ */

h1.logo {
	background: url(images/logo.png) no-repeat;
	height: 92px;
	width: 92px;
	text-indent: -9999px;
	margin-top: 27px;
	margin-left: 63px;
	padding: 0;
}

h1.footer-logo {
	background: url(images/logo.png) no-repeat;
	height: 92px;
	width: 92px;
	text-indent: -9999px;
	padding-top: 47px;
	margin-left: 63px;
	padding: 0;
}

h1 {
	font-size: 2.4em;
	color: #1c92d5;
	text-shadow: 1px 1px 1px #f0f1f1;
	padding-bottom: 1.0em;
}

h2 {
	font-size: 2.2em;
	color: #1c92d5;
	font-weight: bold;
	margin-bottom: 10px;
	text-shadow: 1px 1px 1px #f0f1f1;
}

h2.sidebar {
	font-size: 2.2em;
	color: #1775ab;
	font-weight: bold;
	padding-left: 70px;
	margin-bottom: 10px;
}

h2.blog {
	font-size: 2.2em;
	color: #1775ab;
	font-weight: bold;
	padding-left: 10px;
	margin-bottom: 10px;
}

h2.post-title a {
	margin-bottom: 15px;
	color: #1775ab;
	text-decoration: none;
}

h2.post-title a:hover {
	margin-bottom: 5px;
	color: #1775ab;
	text-decoration: underline;
}

h3 {
	font-size: 2.0em;
	color: #1c92d5;
	font-weight: bold;
	margin-bottom: 1.5em;
	margin-top: 1.5em;
}

h4 {
	font-size: 1.8em;
}

h5 {
	font-size: 1.6em;
}

h6 {
	font-size: 1.4em;
}

p {
	font-size: 1.3em;
	color: #333;
	margin-bottom: 12px;
	font-weight: lighter;
	font-family: 'Lucida Sans','Lucida Grande','Lucida Sans Unicode',sans-serif;
	text-shadow: 1px 1px 1px #f0f1f1;
	line-height: 1.2;
}

p.home {
	color: #222;
	
}

p a {
	color: #1c92d5;
	font-weight: normal;
}

#sidebar p {
	color: #1775ab;
}	

#intro p {
	color: #1c92d5;
	font-size: 3.0em;
	margin-left: 3px;
	padding-top: 32px;
	width: 750px;
	text-shadow: 1px 1px 1px #f0f1f1;
}

p.meta {
	font-size: 1.3em;
}

p.comment-meta {
	font-size: 1.2em;
	margin-top: 10px;
}

a {
	color: #1c92d5;
	font-weight: bold;
}

strong {
	font-weight: bold;
}	

li, li a {
	color: #1775AB;
	margin-bottom: 9px;
	font-weight: lighter;
	font-family: Times New Roman,Georgia,Serif;
}

code {
	color:#000;
	font: 0.9em 'courier new',courier,monospace;
	background: #ddd;
	padding: 10px;
	display: block;
	width: 570px;
}

/* ************************************************************************************************************************************************************

Navigation

************************************************************************************************************************************************************ */

ul#nav {
	height: 31px;
	list-style: none;
	font-size: 2.5em;
	margin-top: -57px;
	margin-left: 500px;
	color: #f0f1f1;
}

ul#nav li {
	float: left;
	text-shadow: 1px 1px 1px #999;
}

ul#nav li a {
	display: block;
	width: 80px;
	margin-right: 20px;
	color: white;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
}

ul#nav li a:hover {
	text-decoration: underline;
}

#rss {
	float: right;
	margin-top: -35px;
	/*margin-right: 30px;*/
	height: 17px;
}


/* ************************************************************************************************************************************************************

Content

************************************************************************************************************************************************************ */

.project-even, .project-odd {
	margin-bottom: 10px;
}

.project-even img {
	float: left;	
	margin: 0 10px 10px 0;
	border: 4px solid #1775AB;
	box-shadow: 10px 10px 25px #ccc;
	-moz-box-shadow: 5px 5px 15px #ccc;
	-webkit-box-shadow: 10px 10px 25px #ccc;
}

.project-odd img {
	float: right;	
	margin: 0 0 10px 10px;
	border: 4px solid #1775AB;
	box-shadow: 10px 10px 25px #ccc;
	-moz-box-shadow: 5px 5px 15px #ccc;
	-webkit-box-shadow: 10px 10px 25px #ccc;
}

.project p {
	
}

.project h2 {
	margin-bottom: 1.0em;
}

p.portfolio {
	float:right;
}

.visit {
	margin-top: 20px;
	margin-left: 20px;
	background: url(images/visitbg.jpg) top left no-repeat;
	height: 25px;
	width: 92px;
	padding-top: 3px;
	text-align: center;
	font-size: 1.5em;
}

.visit a {
	margin-top: 5px;
	color: #fff;
	font-weight: bold;
	font-family: times new roman;
}

.portfolio-intro {
	margin-bottom: 20px;
}

/*.what-i-did {
	margin-bottom: 40px;
}*/

.what-i-did p {
	float: left;
	padding: 8px 20px 0 0;
}

.project-odd .what-i-did img{
	float: right;
	border: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

.project-even .what-i-did img{
	float: left;
	border: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

p.continue {
	background: url(images/continue.png) top left no-repeat;
	width: 500px;
	height: 29px;
	color: #fff;
	font-size: 1.0em;
	padding-left: 20px;
	padding-top: 8px;
}

p.continue a {
	color: #fff;
	font-size: 1.2em;
	text-shadow: none;
}

p.previous a{
	float: left;
	background: url(images/blognav.png) top left no-repeat;
	width: 75px;
	height: 29px;
	color: #fff;
	font-weight: bold;
	padding-left: 16px;
	padding-top: 5px;
	margin-top: 25px;
	font-weight: bold;
	text-shadow: none;
}

p.next a{
	float: right;
	background: url(images/blognav.png) top left no-repeat;
	width: 75px;
	height: 29px;
	color: #fff;
	font-weight: bold;
	padding-left: 16px;
	padding-top: 5px;
	margin-top: 12px;
	font-weight: bold;
	text-shadow: none;
}
/* ************************************************************************************************************************************************************

Posts

************************************************************************************************************************************************************ */

.post img {
	margin: 20px 0 20px 0;
	border: 4px solid #bfda26;
	width: 500px;
}

.comment {
	width: 100%;
}

.comment img {
	border: 4px solid #bfda26;
}

.author {
	float: left;
	width: 100px;
}

.author p {
	font-size: 1.6em;
}

#add-comment {
	margin-top: 40px;
}

label.comment {
	width: 200px;
	display: block;
	margin-right: 15px;
	float: left;
	font-size: 1.4em;
	font-weight: bold;
	color: #1c92d5;
}

#search label {
	display: block;
	margin: 5px 15px 0 0;
	float: left;
	font-size: 1.6em;
	color: #fff;
}

ol.commentlist {
	font-size: 1.4em;
}

/*input {
	height: 15px;
	font-size: 1.2em;
	font-family: Minion Pro, tahoma, times new roman, serif;
	margin-bottom: 10px;
	color: #1c92d5;
	border: 2px solid #1c92d5;
}

textarea {
	font-size: 1.2em;
	font-family: Minion Pro, tahoma, times new roman, serif;
	color: #1c92d5;
	margin-bottom: 10px;
	border: 2px solid #1c92d5;
}

/* ************************************************************************************************************************************************************

Sidebar

************************************************************************************************************************************************************ */

#sidebar h2 {
	margin-bottom: 1.0em;
	text-shadow: 0.5px 0.5px 0.5px #f0f1f1;
	color: #1C92D5;
}

#latest-work {
	width: 350px;
	margin: 0 auto;
	padding-left: 20px;
	padding-bottom: 50px;
}

#philosophy {
	margin-bottom: 40px;
	padding: 10px;
	color: #1c92d5;
}
/*
#philosophy p {
	font-size: 1.7em;
}
*/
#categories {
	margin-bottom: 40px;
	padding: 10px;
	color: #1c92d5;
	width: 250px;
}

#blogroll {
	margin-bottom: 40px;
	padding: 10px;
	color: #1c92d5;
}

#contact {
	background: #bfda26;
	min-height: 200px;
	margin-bottom: 40px;
	padding: 10px;
}

ul.sidebar {
	font-size: 1.7em;
	color: #333;
	margin-bottom: 12px;
	font-weight: lighter;
	font-family: 'Lucida Sans','Lucida Grande','Lucida Sans Unicode',sans-serif;
	text-shadow: 1px 1px 1px #f0f1f1;
	line-height: 1.2;
	padding-left: 70px;
}

ul.searchpage {
	font-size: 1.6em;
	margin-bottom: 25px;
}

ul.searchpage li a {
	padding-bottom: 5px;
	line-height: 15px;
}

p.searchterm {
	color: #1775ab;
	display: inline; 
}

ul#othernetworks {
	background: url(images/social2.png) top left no-repeat;
	height: 180px;
}

ul#othernetworks li {
	padding-left: 60px;
	padding-top: 10px;
	margin-bottom: 5px;
	height: 32px;
	text-shadow: 0.5px 0.5px 0.5px #f0f1f1;
}

#latest-work img{
	float: left;
	margin: 0 15px 20px 0;
	border: 4px solid #1775AB;
	box-shadow: 5px 5px 15px #ccc;
	-moz-box-shadow: 5px 5px 15px #ccc;
	-webkit-box-shadow: 5px 5px 15px #ccc;
}

/* ************************************************************************************************************************************************************

Footer

************************************************************************************************************************************************************ */


body > #wrap {height: auto; min-height: 100%;}

#main {padding-bottom: 150px;}  /* must be same height as the footer */


#footer {
	background: url(images/footerbg.png) top left repeat-x #e8e8e8;
	position: relative;
	margin-top: -150px; /* negative value of footer height */
	height: 150px;
	clear:both;
} 

#footer-content {
	width: 960px;
	margin: 0 auto;
	background: url(images/footer-content.png) top left repeat-x #e8e8e8;
	background-position: 0 9px;
	height: 150px;
	text-shadow: 0;
}

#footer-content p {
	padding-top: 70px;
	padding-left: 190px;
	font-size: 1.5em;
	color:#fff;
	text-shadow: 0 0 0;
}

#footer-content a {
	padding-top: 67px;
	padding-left: 30px;
	font-size: 1.3em;
	color:#fff;
	text-shadow: 0;
}

#search {
	float: right;
	margin-top: -30px;
}

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */


/* ************************************************************************************************************************************************************

Comments

************************************************************************************************************************************************************ */
ol.commentlist {
	margin:0;
	padding:0;
	font-size: 1.0em;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	height: 50px;
	color:#596e3b;
	float: left;
	}	

.commentlist a:link, .commentlist a:visited {
	color:#1c92d5;
	}

.commentlist a:hover, .commentlist a:active {
	color:#1c92d5;
	
	}

.gravatar {
	float: left
}

p.commentauthor {
	font-size: 1.5em;
	margin-top: 0;
}

p.commentmeta {
	font-size: 1.5em;
}

.gravatar img {
	padding:1px;
	border:1px solid #1775ab;
	float:left;
	margin-right:9px;
	margin-bottom: 10px;
	}

.commentlist .author {
	text-decoration:underline;
	}

.commenttext {
	border-top:1px solid #1775ab;
	padding: 20px 20px 10px 20px;
	color:#fafcf6;	
	margin: 20px 0;
	}

input#submit {
	cursor: pointer;
	border: 1px solid #999;
	margin: 20px 0;
	padding: 5px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background: #eee;
	color: #1775AB; 
	font-weight: bold;
	background: -webkit-gradient(linear, left top, left 25, from(#eee), color-stop(4%, #fff), to(#eee));
	background: -moz-linear-gradient(top, #eee, #fff 1px, #eee 25px);
	-moz-box-shadow: 0 1px 2px rgba(153,153,153,0.6);
	-webkit-box-shadow: 0 1px 2px rgba(153,153,153,0.6);
}

input#submit:hover {
	border-color: #bfda26;
	background: -webkit-gradient(linear, left top, left 25, from(#e0e0e0), color-stop(4%, #fff), to(#e0e0e0));
	background: -moz-linear-gradient(top, #e0e0e0, #fff 1px, #e0e0e0 25px); 	
}

input#submit:active {
	margin-top: 21px; 
}

textarea#comment, input#author, input#email, input#url {
	border: 1px solid #1c92d5;
	
}

/* ************************************************************************************************************************************************************

Contact Form

************************************************************************************************************************************************************ */

img.ajax-loader {
	height: 0;
	width: 0;
}