/*
Theme Name: lovehate
Description: 2009 design/layout for the "Love/Hate" blog
Version: 1 for WP 2.7
Author: Evie Milo
Author URI: http://www.eviemilo.co.uk
*/


/* COLOURS
Dark Green - #737D60
Light Green - #B5BBA8
*/

/* RESET */
/* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
* 			{ margin:0; padding:0 }
html 		{ overflow-y: scroll; }
body 		{ font-size: 62.5%; font-family: Arial, sans-serif; color: #737D60;
			  background: url(images/bgrpt_greenleaves.gif) top left repeat white; margin-bottom: 50px; }
ul			{ list-style: square inside; }
ol			{ list-style: decimal inside; }
a			{ outline: none; text-decoration: none; }
a img		{ border: none; background: none; }
img			{ vertical-align: middle; }
table		{ border-collapse: collapse; }

/* The below restores some sensible defaults */
strong { font-weight: bold }
em { font-style: italic }
a img { border:none } /* Gets rid of IE's blue borders */


/* TYPOGRAPHY */
/* This helps to identify headings at the initial build stage, so I thought it'd be useful to have it */
h1, h2, h3, h5, h5, h6 { font-weight:bold }

p, li {
	font-size: 1.2em;
	line-height: 1.2em;
	margin: 0 0 10px 0;
}

a { color: #737D60; border-bottom: 1px dotted #737D60}
a:hover { background: #737D60; color: white; }


/* GENERIC */
.floatLeft {
	float: left;
}
.floatRight {
	float: right;
}
.clear {
	clear: both;
}

.clearleft {
	clear: left;
}




/* MAIN LAYOUT */
/* ----------------------------------------- */

/* These rather presentational classes are generated by WordPress, so it's useful to have some styles for them. Edit as you see fit. More info: http://codex.wordpress.org/CSS */
.aligncenter { display:block; margin:0 auto }
.alignleft { float:left }
.alignright { float:right }
.wp-caption { border:1px solid #666; text-align:center; background:#ccc; padding:10px; margin:10px }

/* You might find the following useful */
br.dirtyLittleTrick { clear:both; display:block; height:1px; margin:-1px 0 0 0 } /* Use this br class to clear your floated columns */
/* div { position:relative }  This will save you having to declare each div's position as 'relative' and allows you to absolutely position elements inside them */
li#theme-switcher { background:#fff; border:10px solid red; padding:20px; position:fixed; top:0; right:0 } /* Use this if you have the Theme Switcher Reloaded plugin (http://themebot.com/webmaster-tools/1-wordpress-theme-switcher-reloaded) installed and want to make it nice and obvious */


/* MAIN MENU */
#menu-bar	{
	width: 900px;
	margin: 25px auto 10px auto;
	font-weight: bold;
}

ul#main-nav						{ width: 900px;}
ul#main-nav li						{ display: inline; }
ul#main-nav li a					{ color: #737D60; background: white; font-size: 1.2em; padding: 5px; border-bottom: none;  }
ul#main-nav li a:hover,
body#default ul#main-nav li.home a,
body#about ul#main-nav li.about a,
body#contact ul#main-nav li.contact a { background: #737D60; color: white;  border-bottom: none;}

.nav { float: left;  margin-right: 5px;}
#feed{ float: right;}


/* SITE WRAPPERS */
#site-wrap { /* this wraps everything and contains the page background glow */
	width: 908px;
	margin: 0px auto;
	background: url(images/bgrpt_pagebg.jpg) top left repeat-y;
}

#page-wrap { /* this wraps just the content and is 870px wide to accommodate the 30px margin to the right of the third post */
	width: 870px;
	margin: 0 auto;
}

#custom-wrap { /* this wraps just the content and is 870px wide to accommodate the 30px margin to the right of the third post */
	width: 840px;
	margin: 0 auto;
	padding-top: 45px;
}

#custom-wrap .floatLeft, #custom-wrap .floatRight {
	padding-bottom: 30px;
}

#custom-wrap .post { /* an individual posts elements */
	width: 840px;
	padding: 0px;
	margin: 0px;
	
}

#custom-wrap ul li {
	display: inline;
	line-height: 2em;
	padding: 0px 10px 0px 0px;
}

/* HEADER */
#top-bar { /* contains the logo / description / search form */
	padding: 0px;
	margin: 0px 15px;
}

h1#logo { 
	width: 840px;
	height: 100px;
	background: url(images/lovehatelogo.gif) top left no-repeat;
	text-indent: -9999px;
	margin: 0px 10px 0px 0;
}





/* POSTS */
div#container_division { /* this contains the three columns of posts */
	margin: 5px 0px 0px 15px; 
	width: 870px;
}
div#category_division { /* this contains the three columns of posts */
	margin: 45px 0px 0px 15px; 
	width: 870px;
}
.post { /* an individual posts elements */
	width: 260px;
	float: left;
	margin: 20px 30px 0px 0px;
	display:inline;
	
}

.post h2{
	position: relative;
}

.post h2 a {
	background: #ffffff;
	color: #737D60;
	padding: 5px;
	position: absolute;
	display: block;
	width: 230px;
	left: 10px;
	top: 10px;
	border-bottom: none;
}
.post h2 a:hover { background: #737D60; color: #ffffff; border-bottom: none; }

div#container_division a, div#container_division a:hover, div#category_division a, div#category_division a:hover { 
	 border-bottom: none;
}


/* SINGLE POSTS */
div#single_division { /* this contains the two columns of single post pages  */
	margin: 20px 0px 0px 15px; 
	width: 840px;
}

#single_division .post { /* an individual posts elements */
	width: 840px;
	margin: 0px 0px 30px 0px;
}

#single_division h1 { padding-left: 290px;}

#single_division .post h1 a{
	background: #ffffff;
	color: #737D60;
	padding: 5px;
	width: 230px;
	left: 10px;
	top: 10px;
}
#single_division .post h1 a:hover { background: #737D60; color: #ffffff; }

#single_division h3.hate{
	padding: 0px 0px 0px 20px;
	line-height: 3em;
	color: #FF0066;
	background: url(images/icon_hate.png) no-repeat;
	font-size: 1.2em;
	display: inline;
}
#single_division h3.love{
	padding: 0px 0px 0px 20px;
	line-height: 3em;
	color: #FF0066;
	background: url(images/icon_love.png) no-repeat;
	font-size: 1.2em;
	display: inline;
}
#single_division h3.lovehate{
	padding: 0px 0px 0px 38px;
	line-height: 3em;
	color: #FF0066;
	background: url(images/icon_lovehate.png) no-repeat;
	font-size: 1.2em;
	display: inline;
}


#single_division h4{ margin: 0px 0px 20px 0px; font-size: 1.2em;}

#single_division img{ margin: -20px 30px 20px 0px;}

#single_division p .img {
	margin: 0px 0px 30px 0px;
	}


/* COMMENTS */
ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	margin-bottom:8px;
	background: #737D60 url(images/comment_arrows.gif) bottom no-repeat;
	color:#FFF;
	list-style:none;
	width:840px;
	}
	
.commentlist p {
padding-top: 5px;
font-size: 1.0em;
}

.commentlist em {
font-weight: bold;
color: #ffffff;
letter-spacing: 0.1em;
}

.commentlist .commenttext {
	background:url(images/bg_paint.gif) repeat-x;
	padding:22px 22px 40px 22px;
	}

.commentlist cite {
	display:block;
	color:#FFF;
	font-weight:bold;
	text-transform:uppercase;
	font-style:normal;
	background:url(images/bg_cite_arrows.gif) bottom repeat-x;
	padding-bottom:12px;
	font-size:1.1em;
	}


.commentlist a:link, .commentlist a:visited {
	color:#ffffff;
	border-bottom: none;
	}

.commentlist a:hover, .commentlist a:active {
	color:#737D60;
	background: #ffffff;
	border-bottom: none;
	}

.commentlist .date {
	padding:0px;
	margin: 0px;
	}
#single_division .date img {
	margin-right: 5px;
	padding-top: 10px;
	}

li.alt {
	background:#B5BBA8 url(images/comment_arrows_alt.gif) bottom no-repeat;
	}

li.alt .commenttext {
	background:url(images/bg_paint_alt.gif) no-repeat;
	}	

li.alt .date {
	padding:0px;
	margin: 0px;
	}




/* OLDER + NEWER LINKS */
ul#oldernewer				{ width: 840px; border-top: 1px dotted #737D60; margin: 20px 0px 0px 0px; padding: 20px 0px 0px 0px; }
ul#oldernewer li			{ display: inline; list-style: none; }
ul#oldernewer li a			{ background: #737D60; color: white; font-size: 1.2em; padding: 5px; }
ul#oldernewer li a:hover		{ color: #737D60; background: #F4F5F3; }


/* FOOTER */
#footer {
	width: 840px;
	margin: 50px auto 0px auto;
}
