/*
Theme Name: Stephen Raw
Theme URI: http://www.stephenraw.com
Description: Custom Wordpress theme for Stephen Raw
Version: 1
Author: James Bisset
Author URI: http://www.mediachrome.com
Tags: none yet

*/

@import url(css/reset.css); /* resets all browser defaults - from now on it's up to you */


body {
  margin: 0 0 20px 0;
	padding: 0;
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background-color: #8e96b2;
	color: #333;
	text-align: center;
	}

#container-outer {
  background: #fff url(css/graphics/topstrip.png)	repeat-x top left;
  }

#container	{
	width: 960px;
	margin: 0 auto;
	padding: 0 0 20px 0;
/* 	background: transparent url(css/graphics/16-block-guides.png) repeat-y left top; */
	}

#page {
	padding: 0 10px;
	width: 940px;
	text-align: left;
	float: left;
	position: relative;
	}

.clearleft {
  clear: left;
  }

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
/*  Header
----------------------------------------------------- */

#header {
	padding: 0;
	height: 84px;
	width: 960px;
	}
	
#header img, header img a { 
  border: 0;
  }


/*  Main menu
----------------------------------------------------- */

#main-menu {
  position: absolute;
  top: 46px;
  right: 0;
  width: 760px;
  clear: both; /* Hack for shitty IE */
  }

#main-menu ul {
  float: right;
  margin: 0;
  padding: 0;
  text-align: right;
  list-style-type: none;
  }

#main-menu ul li {
  list-style-type: none; 
  float: left;
  margin: 0;
  padding: 0 0 0 10px;
  }

#main-menu ul li a {
  float: left;
  font-weight: bold;
  font-size: 1.15em;
  line-height: 18px;
  padding: 2px 10px 6px;
  color: #333;
  text-decoration: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  }
  
#main-menu ul li a:hover {
  color: #fff;
}

#main-menu ul li.current_page_item a, #main-menu ul li.current_page_ancestor a, #main-menu ul li.current_page_parent a  {
  background-color: #fff;
  }


#main-menu ul li.current_page_item a:hover, 
#main-menu ul li.current_page_ancestor a:hover, 
#main-menu ul li.current_page_parent a:hover   
  {
  color: #333;
  }
  

/* Layout columns
----------------------------------------------------- */

.side-column {
  width: 300px;
  padding: 0 20px 0 0;
  }

.left-column {
  width: 300px;
  float: left;
  padding: 0;
  margin: 6px 0 20px;
  }

.right-column {
  float: left;
/*   margin: 294px 0 20px 20px; */
  margin: 0 0 20px 20px;
  width: 300px;
  }

.pullout {
  margin: 0 0 20px 0;
  background-color: #efefef;
  }

.pullout p {
  margin: 0;
  padding: 10px;
  font-size: 1.1em;
  line-height: 1.5em;
  }

/*  Video
----------------------------------------------------- */

#videoplayer {
  position: absolute;
  clear: left; /* Hack for shitty ie */
  top: 90px;
  left: 330px;
  background-color: #333;
  width: 600px;
  height: 216px;
  padding: 26px 10px;
  }
  
#preview {
  width: 384px;
  float: left;
  }

#video-intro {
  color: #ddd;
  float: left;
  display: inline;  /* Hack for shitty ie */
  margin: 0 10px 0;
  width: 190px;
  font-size: 1.1em;
  line-height: 18px;
  }

#video-intro img  {
  margin: 0;
  padding: 10px 0 0 0;
  float: left;
  display: inline;  /* Hack for shitty ie */
  }

#video-intro a {
  color: #eee;
  font-weight: bold;
  text-decoration: none;
  }

#video-intro a:hover {
  text-decoration: underline;
  }


/*  Sidebar
----------------------------------------------------- */



#sidebar {
  float: left;
	padding: 0;
	margin: 20px 0 0 20px;
	}

#sidebar h2 {
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	font-size: 1.6em;
	margin: 0 10px 4px;	
	}

#sub-menu {
  width: 220px;
	margin: 0 0 20px;
	padding: 0;
	background-color: #efefef;
	}

#sub-menu ul {
	margin: 0 0 20px;
	padding: 0;
	}


#sub-menu ul li {
	list-style-type: none;
	list-style-image: none;
	padding: 0;
	margin: 0 0 2px 0;
	}
#sub-menu ul li a {
  background-color: #ddd;
  display: block;
  font-size: 1.2em;
  margin: 0;
  padding: 5px 10px;
  color: #444;
  text-decoration: none;
	}

#sub-menu ul li a:hover {
  background-color: #ccc;
  color: #000;
  text-decoration: none;
	}


#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	
	}

#sidebar ul ul ul, #sidebar ul ol {
	
	}

#sidebar ul ol li {
	list-style: decimal outside;
	}

ul#sidebar-images {
  width: 220px;
	margin: 0 0 20px;
	padding: 0;
  }

ul#sidebar-images li {
	margin: 0 0 20px;
	padding: 0;
	list-style-type: none;
  }

ul#sidebar-images li a {
  display: block;
	width: 220px;
	overflow: hidden;
	text-align: center;
  }

ul#sidebar-images li a img{
  display: inline;
	vertical-align: middle;
  }



/*  Quotes
----------------------------------------------------- */
#quotes {
  margin: 0;
  padding: 30px 10px 5px;
  background: #efefef url(css/graphics/quote-marks.png) no-repeat 5px 0;
  }

#quotes h2 {
  margin: 0 0 4px 0;
  }

#quotes p {
  font-size: 1.1em;
  line-height: 1.3em;
  margin: 0 0 10px 0;
  color: #555;
  }

cite {
  display: block;
  font-weight: bold;
  margin: 0 0 10px;
  }

p.quote-link {
  margin: 10px 10px 10px;
  line-height: 1.3em;
  }

/*  Random images
----------------------------------------------------- */
#home-random-images {
  float: left;
  width: 620px;
  clear: left;
  }
  
#home-random-images ul {
  float: left;
  margin: 0 0 0 -20px;
  }

#home-random-images ul li{
  float: left;
  margin: 0 0 0 20px;
  }
  
#home-random-images ul li a {
  float: left;
  margin: 0;
  width: 300px;
  height: 300px;
  overflow: hidden;
  }

#home-random-images ul li a img {
  width: 300px;
  }


/*  Content
----------------------------------------------------- */

#content {
	float: left;
	width: 700px;
	padding: 0;
	margin: 20px 0 0 0;
	padding: 0;
	min-height: 400px;
	}

.home .two-column-wrapper {
  float: left;
	width: 620px;
	padding: 5px 0 0 0;
	margin: 294px 0 0 20px;
  }

.home #content {
  float: left;
	width: 300px;
	padding: 5px 0 0 0;
/* 	margin: 294px 0 0 20px; */
  margin: 0;
	}


small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
	font-family: Helvetica, Arial, Verdana, Sans-Serif;
	}

h1 {
	font-size: 2em;
  font-weight: normal;
	margin: 0 0 18px 0;
  color: #000;
	}

h2 {
	font-size: 1.6em;
	margin: 30px 0 0;
	}

h3 {
	font-size: 1.4em;
	font-weight: bold;
	padding: 0;
	margin: 30px 0 10px;
	}

h1, h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
	color: #888;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, cite {
	text-decoration: none;
	}

h2.section-title {
  color: #888;
  border-bottom: 1px solid #ddd;
  padding: 0 0 3px 0;
  margin: 0 0 20px 0;
  }


small, .nocomments, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

.post {
	margin: 0 0 40px;
	text-align: justify;
	}

.post hr {
	display: block;
	}
	
	
#content div.entry p    {
  margin: 0 0 1em 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #555;
  font-size: 1.35em;
  line-height: 20px;
  }


#content div.entry ol, #content div.entry ul  {
  font-family: Georgia, "Times New Roman", Times, serif;
  margin: 0 0 1em 2em;
  }

#content div.entry ol li, #content div.entry ul li {
  list-style-type: square;
  margin: 0 0 0.2em 2em;
  color: #555;
  font-size: 1.35em;
  line-height: 20px;  
  }

#content div.entry ol li  {
  list-style-type: decimal;
  list-style-position: outside;
  margin-left: 1em;
  }

body.gallery div.post p {
  color: #ddd;
  }

.postmetadata {
	margin: 30px 0;
	padding-top: 5px;
  clear: left;
  color: #777;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}


.smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.attachment {
	text-align: center;
	margin: 5px 0px;
}


.clear {
	clear: both;
}

/* newsblock */

.newsblock {
  padding: 5px;
  background-color: #efefef;
  }

.newsblock h2 {
  margin: 0;
  font-size: 2em;
  }

.newsblock dl {
  margin: 10px 10px 10px 0;
  padding: 0;
  }

.newsblock dt {
  padding: 10px 0 0 0;
  }

.newsblock dt a {
  padding: 0 4px 0 24px;
  background: transparent url(css/graphics/newspaper.png) no-repeat left top;
  font-size: 1.2em;
  line-height: 1.2em;
  color: #00c;
  text-decoration: none;
  }
  
.newsblock dt a:hover {
  background: transparent url(css/graphics/newspaper_go.png) no-repeat left top;
  color: #00c;
  text-decoration: underline;
  }


.newsblock dd {
  padding: 5px 0 5px 34px;
  }

/* Images */


p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}

.wp-caption-text {
  font-style: italic;
  color: #aaa;
  padding: 0 20px;
  font-size: 11px !important;
  line-height: 1.2em;
  text-align: center;
  }
/* document icons */

.pdflink {
  background: transparent url(css/graphics/pdf.png) no-repeat left center;
  padding: 2px 0 2px 20px;
  }


/* Form Elements */

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}


/* Comments*/

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	font-size: 0.9em;
	font-weight: bold;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	font-weight: normal;
	}
	

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}
	
#commentform p {
	margin: 5px 0;
	}


#commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}


/* Various Tags & Classes */

acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}

/*  Footer
----------------------------------------------------- */

#footer {
	padding: 20px 10px;
	margin: 0 auto;
	width: 940px;
	clear: both;
	text-align: left;
	}

#footer p {
	margin: 0 0 1em 0;
  padding: 0;
	}

/* Metasite */

#metasite {
  position: absolute;
  top: 5px;
  right: 12px;
  clear:both;
  }

#metasite ul  {
  display: inline;
  border-left: 1px solid #000;
  }

#metasite ul li {
  display: inline;
  list-style-type: none;
  border-right: 1px solid #000;
  }

#metasite ul li a {
  text-decoration: none;
  padding: 0 5px;
  color: #000;
  }

#metasite ul li a:hover {
  text-decoration: underline;
  color: #fff;
  }



/* Top search */

#topsearch {
  width: 170px;
	margin: 0;
	display: inline;
	text-align: right;
	}

#topsearch #tops {
  padding: 2px;
	width: 110px;
	border: 1px solid #21334b;
	display: inline;
	}

#topsearch #topsearchsubmit {
  padding: 2px 4px;
  background-color: #333;
  color: white;
  border: 1px solid #90a0b7;
	}


#topsearch #topsearchsubmit:hover {
  background-color: #d2891e;
  color: #000;
	}


/*  Gallery overrides
----------------------------------------------------- */

body.gallery #container-outer {
  background-color: #333;
  }

body.gallery #main-menu ul li.current_page_item a, body.gallery #main-menu ul li.current_page_ancestor a, body.gallery #main-menu ul li.current_page_parent a  {
  background-color: #333;
  color: #ddd;
  }

body.gallery #sub-menu {
  background-color: transparent;
  }

body.gallery #sub-menu a {
  background-color: #444;
  color: #ddd;
  text-decoration: none;
  }

body.gallery #sub-menu a:hover {
  background-color: #222;
  color: #efefef;
  text-decoration: none;
  }


body.gallery h1 {
  color: #eee;
  }

body.gallery h2, body.gallery h3 {
  color: #ddd;
  }

body.gallery h2.section-title {
  color: #777;
  border-bottom: 1px solid #444;
  }

body.gallery #content .post p, body.gallery li {
  color: #ddd;
  }

body.gallery div#content a  {
  color: #8e95b2;
  text-decoration: none;
  }

body.gallery img.size-large {
  padding: 19px;
  background-color: #2a2a2a;
  border: 1px solid #555;
  }

body.gallery #footer p {
  color: #fff;
  }
body.gallery #footer a {
  color: #8e95b2;
  }
  
/*  Gallery index
----------------------------------------------------- */

#picture-index {
  float: left;
  }

#picture-index ul {
  float: left;
  margin: 0 0 0 -20px;
  padding: 0;
  display: inline;
  }

#picture-index ul li {
  float: left;
  width: 160px;
  height: 190px;
  padding: 10px 0;
  margin: 0 0 0 20px;
  display: inline;
  }
#picture-index a.index-image {
  display: block;
  margin: 0 auto;
  padding: 9px;
  border: 1px solid #555;
  background-color: #2a2a2a;
  }
  
#picture-index a:hover.index-image {
  border: 1px solid #fff;
  background-color: #222;
  }

#content #picture-index h3.index-title {
  text-align: center;
  margin: 5px !important;
  padding: 0;
  }
  
/*  Contact form
----------------------------------------------------- */
div.contactform

#wpcf {
  font-size: 1.1em;
  padding: 20px 10px;
  background-color: #efefef;
  overflow: auto;
  }

#wpcf label {
	clear: both;
	display: block;
	float: left;
	width: 150px;
	font-weight: bold;
	text-align: left;
	
}
#wpcf input {
	float: left;
	width: 200px;
	padding: 1px;
	margin: 2px 5px 2px 0;
}
#wpcf textarea {
	width: 350px;
	height: 100px;
	padding: 1px;
	margin: 0 5px 10px 0;
}
#wpcf #contactsubmit {
	margin-left: 250px;
	width: 100px;
}
#wpcf #contactsubmit:after {
  content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }

