/*
Theme Name: Affair
Theme URI: http://www.leemilthorpe.com/affair-wordpress-theme
Version: 1.0
Author: Lee Milthorpe
Author URI: http://www.leemilthorpe.com/
Licence: GPL
  
Description: A magazine flavoured Wordpress theme
*/

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,img,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
{
	border:0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:100%;
	font-style:normal;
	font-weight:400;
	margin:0;
	outline:0;
	padding:0;
	vertical-align:baseline
}

body
{
	color:#747472;
	font:12px Arial, Helvetica, sans-serif;
	font-weight:400;
	height:100%;
	line-height:150%;
	margin:0;
	text-align:left
}



/* BACKGROUND COLORS */

body,.more a,.more a:visited,.submit
{
	background:#1B1B1B
}



/* GENERAL */

p
{
	line-height:150%;
	margin:0 0 1em
}

strong
{
	font-weight:700
}

em
{
	font-style:italic
}

a:link,a:visited
{
	color:#747472
}

img
{
	border:none
}

blockquote p
{
	border-left:3px solid #EBEBEB;
	font-style:italic;
	padding-left:1em
}

h1,h1 a
{
	color:#747472;
	font-size:18px;
	line-height:1.2em;
	margin:0 0 1em
}

h1 a
{
	text-decoration:none
}

h2
{
	color:#747472;
	font-size:16px;
	line-height:1.2em;
	margin:0 0 1em
}

h3
{
	color:#747472;
	font-size:14px;
	line-height:1.2em;
	margin:0 0 1em
}

h4
{
	color:#747472;
	font-size:12px;
	line-height:1.2em;
	margin:0 0 1em
}

h5
{
	color:#747472;
	font-size:10px;
	line-height:1.2em;
	margin:0 0 1em
}

h6
{
	color:#747472;
	font-size:8px;
	line-height:1.2em;
	margin:0 0 1em
}

ul
{
	list-style-position:inside;
	list-style-type:disc;
	margin:0 0 1em
}

ol
{
	list-style-position:inside;
	list-style-type:decimal;
	margin:0 0 1em
}



/* MAIN DIVS */

#container
{
	background:#141414 url(images/bg.png) repeat-y center 0;
	height:100%;
	margin:0 auto;
	width:830px
}

#top
{
	background:#000;
	height:20px;
	padding:10px 30px;
	width:770px

}

#header
{
	background:#141414;
	padding:30px;
	width:770px
}

#content
{
	float:left;
	margin:0 0 0 5px;
	padding:20px;
	width:460px
}

#sidebar
{
	float:left;
	margin:0 5px 0 0;
	padding:30px 0 30px 30px;
	width:290px
}

#footer
{
	background:#141414;
	clear:both;
	padding:10px 30px;
	width:770px
}

#single
{
	margin:0 0 20px;
	padding:10px;
	width:440px
}

.post
{
	float:left;
	height:430px;
	padding:10px;
	width:210px
}



/* IMAGE STYLES */

#content img,#content a img
{
	border:5px solid #EBEBEB;
	display:block;
	margin:0 0 10px
}

#content a:hover img
{
	border:5px solid #1b1b1b
}

#squareads img
{
	display:block;
	float:left;
	margin:0 10px 10px 0
}

#content img.alignright,.alignright
{
	float:right;
	margin:0 0 0 1em;
	width:auto
}

#content img.alignleft,.alignleft
{
	float:left;
	margin:0 1em 0 0;
	width:auto
}

#content img.aligncenter,.aligncenter,div.aligncenter
{
	display:block;
	margin-left:auto;
	margin-right:auto
}



/* LIST STYLES */

#top ul
{
	list-style:none;
	margin:0
}

#top ul li
{
	display:inline;
	margin:0 1em 0 0
}

ul#nav
{
	float:left;
	width:auto
}

ul#nav li.current_page_item a,ul#subscribe li.current_page_item a
{
	color:#fff;
	text-decoration:none
}

ul#subscribe
{
	float:right;
	margin:0 -10px 0 0;
	width:auto
}

ul.meta li.time,ul.meta li.comment,ul.meta li.name
{
	background-position:0;
	background-repeat:no-repeat;
	display:inline;
	font-size:10px;
	list-style:none;
	margin:0 7px 10px 0;
	padding:1px 0 1px 18px;
	text-transform:uppercase
}

ul.meta li.time
{
	background-image:url(images/date.png)
}

ul.meta li.comment
{
	background-image:url(images/comment.png)
}

ul.meta li.name
{
	background-image:url(images/name.png)
}

#sidebar ul
{
	list-style:none;
	list-style-position:outside;
}

#sidebar ul li
{
	background-image:url(images/post.png);
	background-position:0 7px;
	background-repeat:no-repeat;
	margin-left:0px;
	padding:5px 0 5px 25px;
}



/* LINK STYLES */

#top a:link,#top a:visited,#footer a:link,#footer a:visited
{
	color:#747472;
	text-decoration:none
}

#top a:hover,#top a:active,#footer a:hover,#footer a:active
{
	color:#ABE0FF
}

#sidebar a:link,#sidebar a:visited
{
	color:#747472;
	text-decoration:underline
}

.more a,.more a:visited
{
	color:#FFF;
	display:block;
	margin:20px 0 0;
	padding:6px 0;
	text-align:center;
	text-decoration:none;
	width:120px
}

.more a:hover,.more a:active
{
	background:#141414;
	color:#FFF
}

a:hover,a:active,h1 a:hover,#sidebar a:hover,#sidebar a:active
{
	color:#1B1B1B
}



/* MISC STYLES */

.widget
{
	margin:30px 0 0;
	width:260px
}

.clearfix
{
	clear:both
}

#newold
{
	clear:both;
	padding:10px;
	width:440px
}

.newer
{
	float:left;
	width:220px
}

.older
{
	float:right;
	text-align:right;
	width:220px
}

.wp-caption
{
	border:none;
	padding:0;
	text-align:center
}

.wp-caption img
{
	border:0 none;
	margin:0;
	padding:0
}

.wp-caption p.wp-caption-text
{
	background:#EBEBEB;
	font-size:10px;
	line-height:1.5em;
	margin:0;
	padding:5px
}

.hr
{
	background:#EBEBEB;
	clear:both;
	height:2px;
	margin:20px 0;
	width:440px
}



/* COMMENT STYLES */

.commentcontainer
{
	clear:left;
	float:left;
	width:90px
}

.avatar img
{
	float:left;
	margin-bottom:10px;
	width:80px
}

.commentername
{
	float:left;
	margin:0 0 20px 0;
	overflow:hidden;
	width:90px
}

.commentmsg
{
	background:#EBEBEB;
	float:left;
	margin:0 0 20px 20px;
	padding:15px 15px 0;
	width:290px
}

.commentname
{
	color:#747472;
	font-size:10px;
	font-weight:400;
	line-height:1.5em
}

.labels
{
	clear:left;
	float:left;
	height:32px;
	margin:5px 10px 10px 0;
	width:100px
}

.form
{
	background:#EBEBEB;
	border-bottom:1px solid #DDD;
	border-left:1px solid #AAA;
	border-right:1px solid #DDD;
	border-top:1px solid #AAA;
	color:#747472;
	float:right;
	font:12px Arial, Helvetica, sans-serif;
	margin:0 0 10px;
	padding:10px;
	width:308px
}

.submit
{

	border:none;
	clear:both;
	color:#FFF;
	float:right;
	font:12px Arial, Helvetica, sans-serif;
	margin:10px 0 0;
	padding:6px 0;
	text-align:center;
	text-decoration:none;
	width:120px
}