/*  
Theme Name: Custom
Theme URI: http://www.marcelbooth.co.uk
Description : Custom CSS derived from Kyle Neath's Hemingway, and integrated into a style switcher and Indexhibit
Version: 0.01
Author: Marcel Booth
Author URI: http://www.marcelbooth.co.uk
*/



/*-----------------------------------------------------------------------------------------------
  Global Styles
-----------------------------------------------------------------------------------------------*/

* {
	padding:0;
	margin:0;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin:1em 0; }
li, dd { margin-left:5%; }
fieldset { padding: .5em; }
select option{ padding:0 5px; }

.hide, .print-logo, .close-button{ display:none; }
.left{ float:left; }
.right{ float:right; }
.clear{ clear:both; height:1px; font-size:1px; line-height:1px; }
a img{ border:none; }

/*-----------------------------------------------------------------------------------------------
  Layout / Base Page Styling
-----------------------------------------------------------------------------------------------*/

body{
	font-size:11px;
	font-family:Verdana,"Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif;
	/*font-family:"Trebuchet MS","Lucida Grande",Tahoma,Arial,sans-serif;*/
	/*font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;*/
}

body.section-1 { }
body.section-2 { }
body.section-3 { }

/* This class sets the width and position for all rows */
.inside{
	width:99%;
	/*min-width:65em;
	max-width:85em;*/
	margin:0 auto;
}

/* links */	
	/* all links */
	a:link { 
	text-decoration: none; /* No underline */
	}
	
	a:active { 
	text-decoration: none;
	}
	
	/* visited links */
	a:visited { 
	text-decoration: none;
	}
	
	/* links hover */
	a:hover { 
 	text-decoration: underline;
	}

h1{
	font-size:1.5em;
	font-weight:normal;
	margin:1.5em 0;
}

h2, h3{ /* # OF COMMENTS ON COMMENTS HEADER, AND "Have your Say" in COMMENTS FORM */
	font-size:1.15em;
	font-weight:normal;
}
#primary h2{
}

p{
	line-height:1.75em;
}

/* ul li{
	list-style-type:square;
	margin:0.5em 0 0.5em 2em;
} */

blockquote{
	margin-left:1em;
	padding-left:1em;
}

pre{
	width:100%;
	padding:1em 0;
	overflow:auto;
}

table{
	width:100%;
	border-spacing:2px;
	margin:1.5em 0;
}
table th, table td{ padding:0.3em 0.75em }
table th{
	text-align:left;
}
table td{
}
table caption{
	text-align:left;
	margin-bottom:-1em;
	margin-top:1em;
}

.rule{
	height:1px;
	font-size:1px;
	line-height:1px;
	margin:1.5em 0;
}

/*-----------------------------------------------------------------------------------------------
  Indexhibit Styling
-----------------------------------------------------------------------------------------------*/
/* pre-nav text (inbetween site name and menu items) */
	.top-section {
		padding-top: 0px;
		padding-right: 0px;
		padding-bottom: 8px;
		padding-left: 25px; /* matches padding left in #menu ul */
		font-size: 18px;
		line-height: 24px;
		/* font-style: italic; */
	}
	
	
/* menu */
	#menu {
		width: 225px; /* width of menu - needs to match the LEFT margin in #content */
		overflow: auto;
		top: 0;
		bottom: 0;
		left: 0;
		position: fixed; /* menu is fixed while content scrolls */
		height: 100%;
		padding-top: 25px; /* change to match the padding-top in #content if you want them to align */
		padding-bottom: 25px;
		/* padding-left & right can be changed in #menu ul - below */
		font-size: 10px;
	}

	/* menu sections */ 
	#menu ul {
		list-style: none;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 12px; /* sets the space between each section */
		margin-left: 0px;
		/* the following sets the padding to the left and right of the menu items within the #menu container */
		padding-right: 25px;
		padding-left: 25px;
	}

	/* projects */
	#menu ul li {
		margin-top: 0px;
		margin-bottom: 4px;
		/* this indents the projects in each section */
		padding-left: 5px;
	}

	/* section headings */
	#menu ul li.section-title {
		font-family: Georgia, serif;
		font-style: italic;
		font-size: 12px;
		padding-top: 5px;
		padding-right: 0px;
		padding-bottom: 5px;
		padding-left: 0px;
		/* the following lines adds a line above each section heading */
		border-top-style: solid;
		border-top-width: 1px;
	}

	/* this styles the 'built with indexhibit' */			
	#menu ul.built {
		margin-bottom: 0;
	}

	#menu ul.built li {
		padding-top: 5px;
		border-top-style: solid;
		border-top-width: 1px;
	}

	#menu ul.built a:hover {
	 	text-decoration: underline;
	}

	/* post-nav text (ie below menu items) */		
	#copy {
		font-size: 9px;
		font-family: Georgia, serif;
		font-style: italic;
		margin-top: 5px;
		padding-top: 10px;
		border-top-style: solid;
		border-top-width: 1px;
	}

/* content */
	#content {
		height: 100%;
		width: 900px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
		margin-left: 225px; /* sets the space so the content starts right when the menu ends - if you change this also change the width of #menu to match */
	    top: 0;

    /* sets the padding around the content - looks better if it also matched the padding options in #menu */
		padding-top: 30px;
		padding-right: 5px;
		padding-bottom: 25px;
		padding-left: 40px;
	}

	.container {
		margin-bottom: 25px;
	}

	#content p { /* all paragraphs in the content area*/
		width: 600px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 20px; /* the space between paragraphs */
		margin-left: 0px; 	
	    line-height: 18px; /* the change the space between lines */
	}

	p { /* all paragraphs  */
    	margin-top: 0;
		margin-right: 0;
		margin-bottom: 9px;
		margin-left: 0;
	}


/*-----------------------------------------------------------------------------------------------
  Header
-----------------------------------------------------------------------------------------------*/
#header{ /* MAIN NAVIGATION BAR AT THE TOP*/
	height: 2.5em;
}
#header a{} /*NAVIGATION BAR LINKS*/

#header .inside{ /* NAVIGATION BAR CONTENT */
	width: 98%;
	padding:0.5em;
}

#header h2{ /* BLOG TITLE */
	font-size:1.3em;
	margin:0 0.5em 0 0;
	float:left;
}

#header .nav { /*NAV ITEMS IN HEADER, EG, NEXT & PREV */
	font-size:1.1em;
	padding:auto 0;
	float:right;
}

#header .title {text-align:center;}

#header .nav a{
	text-decoration:none;
	padding:0 0.5em;
	}
	
#header .nav a:hover{}
	
#header h2 a{ text-decoration:none;}

#header p{
	padding:1em 0;
	margin:0;
	line-height:1em;
}

/*-----------------------------------------------------------------------------------------------
  Primary Items
-----------------------------------------------------------------------------------------------*/

#primary{ /*MAIN POST CONTENT*/
	width : 710px;
	padding:0 0 2em 0;
	margin: 5px auto;
}

#primary.onecol-stories .primary{
	float:left;
	width:50%;
}
#primary.onecol-stories .secondary{
	float:right;
	width:40%;
	margin:0 0 0 10%;
}

#primary.twocol-stories .story{ /*MAIN POST CONTENT/TEXT*/
	float:left;
	width:100%;
	margin:0 0 0 4%;
	text-align:center;
	display:inline;
}
* html #primary.twocol-stories .story{
	margin-left:2%;
}
#primary.twocol-stories .first, * html #primary.twocol-stories .first{
	margin:0 0 0 0;
}

.story h3{	/* POST TITLE */
	font-size:1.5em;
	margin:1em 0 1.5em 0;
	font-weight:normal;
}
.story h3 a{ /*POST TITLE LINK*/
	text-decoration:none;
}

.story .details{ /*BOTTOM OF POST : POSTED ON, CATEGORIES, ETC*/
	float:none;
	margin:1em 0;
	text-align:center;
	padding:0.5em 0;
	font-size:0.95em;
}

.story .details a{ /*BOTTOM OF POST : POSTED ON, CATEGORIES, ETC--------LINKS*/
	text-decoration:none;
}
.story .details a:hover{} /*BOTTOM OF POST : POSTED ON, CATEGORIES, ETC--------LINKS------HOVER*/

/* Single Post Styles */

#primary .primary{ /*ARTICLE LIST IN ARCHIVE PAGES (IE IN A SPECIFIC MONTH OR CATEGORY)*/
	float:left; 
	text-align:center;
	width:99%;
}
#primary .secondary{
	float:right;
	width:30%;
	margin-right:5%;
	padding-top:0.65em;
	display:inline;
}
* html #primary .secondary{ margin-right:3%; }

.secondary .featured p{
	padding:0.5em 0 0.6em 0;
	line-height:1.5em;
	margin:1em 0 0 0;
}
.secondary .featured dl{
	margin:0 0;
	padding:0.5em 0 0.6em 0;
}
.secondary dt{
	display:inline;
	margin:0;
	padding:0;
}
.secondary dd{
	display:inline;
	margin:0;
	padding:0;
}
.secondary dd a{}
.secondary dd a:hover{}

.single-post h1, .single-post h2{ margin-top:0; }

/*-----------------------------------------------------------------------------------------------
	Secondary Items
-----------------------------------------------------------------------------------------------*/

#secondary{ /*COMMENTS BACKGROUND*/
	width : 800px;
	margin : auto;
	padding:1px 2em;
}

.comment-head{
	padding:0.8em 2em 1.0em 2em;
}
.comment-head h2{ /*COMMENTS BOX HEADER (EG # of COMMENTS)*/
	font-size:1.5em;
	margin:0;
}
.comment-head a{
	text-decoration:none;
}
.comment-head .details{
	font-size:0.95em;
}

ol#comments{
	list-style-type:none;
	width:60%;
	margin:1em auto;
}
ol#comments li{
	list-style-type:none;
	margin:1em 0;
}

#comments cite{ /*COMMENT DETAILS (POSTED ON ETC)*/
	float:left;
	width:100%;
	font-style:normal;
	text-align:left;

}
* html #comments cite{ width:30.6%; }
#comments cite span{
	display:inline;
}
#comments cite .author{ font-size:1.2em; text-align:left; float:left;} /*COMMENT AUTHOR NAME*/
#comments cite .date{text-align:right; float:right;}
#comments cite .author a{ /*COMMENT AUTHOR NAME - LINK*/
	text-decoration:none;
}
#comments cite .admin-tools{
	margin:5px 0;
}
#comments cite .admin-tools a{
	float:right;
	margin:0 5px;
	padding:0px 3px 3px;
	text-decoration:none;
}
#primary .secondary .admin-tools{ margin:1em 0; }

#preview{
	margin:1em 0;
	padding:0.5em;
}
#preview p{ margin:1em 0 0 0; }
#errors{ color:#FF0000; font-weight:bold; }

#comments .pingback cite .author{
	display:block;
	padding-top:68px;
	background:url(images/trackback_pingback.gif) 100% 0 no-repeat;
}

#comments .content{
	float:none;
	width:99%;
	padding: 0 15px;
	margin: 5px 0 20px 0;
	text-align:left;
}
#comments .content p{
	margin:0 0 1em 0;
}
#comments .content h3{
	margin:0;
	font-size:1em;
}

#comment-form{
	margin:5em auto 5em auto;
	width:36em;
}
input.textfield{ /*SINGLE LINE COMMENT INPUT BOXES (NAME/EMAIL/WEBSITE(*/
	width: 15em;
	margin:5px 0;
}
textarea.commentbox{ /*COMMENT INPUT BOX*/
	width:28em;
	height:5em;
	padding:0.25em;
	margin:5px 0;
	font-size:1.25em;
	/*font-family:Arial, Helvetica, sans-serif;*/
}
label.text{
	position:relative;
	left:0.5em;
	top:-0.5em;
}
.formactions input.submit{ 
	float:right; 
	margin:-1em 0 0 0;
	padding:0 0.5em;
}
.formactions .spinner{
	float:right;
	margin:-8px -20px 0 0;
}

/*-----------------------------------------------------------------------------------------------
  Ancillary Items
-----------------------------------------------------------------------------------------------*/

#ancillary{
	padding:2em 0 0 0;
}
#ancillary .block{
	float:left;
	width: 30%;
	margin:0 0 0 5%;
}
* html #ancillary .block{
	margin-left:3.9%;
}
#ancillary .twice-length{ width:65%; }
#ancillary .thrice-length{ width:100%; }
#ancillary .first, * html #ancillary .first{
	clear:both;
	margin:0;
}
#ancillary .block-separator{
	clear:both;
	height:2.5em;
}

#ancillary .block h2, #ancillary .block h3{
	margin:0 0 2em 0;
}

ul.dates, ul.counts, ul.blogroll ul, ul.pages{
	list-style-type:none;
	margin:1.5em 0 2em 0;
}
ul.dates li, ul.counts li, ul.blogroll ul li, ul.pages li{
	list-style-type:none;
	margin:0;
	padding:0.5em 0;
}
ul.dates .date{
	padding:0 1.5em 0 0;
}

ul.counts .count{
	float:right;
}

ul.dates a, ul.counts a, ul.blogroll a, ul.pages a{
	text-decoration:none;
}
ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count, ul.blogroll a:hover, ul.pages a:hover{ 
}

ul.blogroll{ margin-top:0; }
ul.blogroll li{
	list-style-type:none;
	margin:0;
}

ul.pages ul{
	margin:0;
}
 ul.pages ul li{
	border:none;
	margin-left:2em;
	list-style-type:square;
}

/*-----------------------------------------------------------------------------------------------
Archives
-----------------------------------------------------------------------------------------------*/
.archive-thumbs ul li{
list-style:none;
display:inline;
float:left;
}

.navigation{
clear:both;
}


/*-----------------------------------------------------------------------------------------------
  Foooter
-----------------------------------------------------------------------------------------------*/

#footer{
	clear:both;
	padding: 0;
}
#footer .inside{
	padding:0.5em 0;
}
#footer p{
	margin:0;
	font-size:0.8em;
	}
	
#footer p a{
	text-decoration:none;
}

#footer p.copyright{ float:left; }
#footer p.attributes{ float:right; }
#footer p.footerlinks{ float:none;
			vertical-align:middle;
			border:0;
			text-align:center;}

#footer p.attributes a{
	padding:0 0 0 1em;
}
#footer a:hover{
}

/*-----------------------------------------------------------------------------------------------
  Search
-----------------------------------------------------------------------------------------------*/

#search{
	float:right;
	width:200px;
	margin:1em 0 0 0;
	-moz-opacity:0.4;
	text-align:right;
}
#search:hover{
	-moz-opacity:1.0;
}
#search .searchimg{
	float:left;
	width:14px;
	height:13px;
	background:url(images/search.gif) 0 0 no-repeat;
	position:relative;
	top:4px;
}
#search input{ 
	width:175px; 
	font-size: 0.85em; 
	margin-top:2px;
}
#search input:focus{
}

#searchform{
	margin:1em 0;
}

#searchform #s{
	border:none;
	width:30em;
	padding:0.25em;
}

#searchform #searchsubmit{
	border:none;
	font-size:0.9em;
	text-transform:uppercase;
	letter-spacing:0.25em;
}

/* Legacy Typo CSS */

#search-results{
	width:30%;
	padding:0 0 0 0;
	float:right;
	-moz-opacity:0.9;
}
#search-results h3{
	font-weight:bold;
	text-align:left;
	margin:0;
	padding:0 0 1em 0;
	
}
#search-results small{
	display:block;
	text-align:left;
	font-size:0.9em;
	padding:0.5em 1em 0.7em 1em;
}
#search-results small a{
}
#search-results ul li{
	list-style-type:none;
	padding:0 1em 0.5em 1em;
	margin:0.5em 0;
}
#search-results ul li:hover{
}
#search-result ul{ margin:0; }
#search-results ul li a{
	text-decoration:none;
}

#search img.archives-icon{
	margin:0 7px 0 0;
	top:1px;
}