/*
Theme Name: Affair
Theme URI: http://www.leemilthorpe.com/affair-wordpress-theme
Version: 1.1
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,abbr,acronym,big,cite,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
{
	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: justify
}

code
{
	color:#292929;
	text-align: left;
	font: 12px sans-serif;
	margin-left: 10px;
}

address
{
	font-weight: normal;
	margin:10px
}

.flickrpress-container img
{
	opacity:0.7;
	filter:alpha(opacity=70)
}

.flickrpress-container a:hover img
{
	opacity:.9;
	filter:alpha(opacity=90)
}

/* BACKGROUND COLORS  */

body
{
	/* background:#2a2a2a url(images/bg_gradient.png); */
	background: #656566;
	
}

.more a,.more a:visited,.submit
{
	background:#dfdfdf; 
}

/* GENERAL */

p
{
	line-height:150%;
	margin:0 0 1em
}

strong
{
	font-weight:700
}

em
{
	font-style:italic
}

a:link,a:visited
{
	color:#747472;
	font-weight: bold
}

img
{
	border:none
}

blockquote p
{
	border-left:3px solid #EBEBEB;
	font-style:italic;
	padding-left:1em
}

h1,h1 a, h1 a:visited
{
	color:#747472;
	font-size:18px;
	line-height:1.2em;
	margin:0em 0 1.2em;
	text-align: left;
	font-weight: bold
}

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:870px
}

#top
{
	background:#000;
	height:20px;
	padding:10px 30px;
	width:810px

}

#header
{
	background:#141414;
	padding:30px;
	width:810px
}

#content
{
	float:left;
	margin:0 0 0 5px;
	padding:20px;
	width:500px
}

#sidebar
{
	float:left;
	margin:0 5px 0 0;
	padding:00px 0 30px 30px;
	width:290px;
	text-align: justify
}

#sidebar h1
{
	font-size: 1.4em;
	margin:0em 0 .8em
}

#footer
{
	background:#141414;
	clear:both;
	padding:10px 30px;
	width:810px
}

#single
{
	margin:0 0 20px;
	padding:10px;
	width:480px
}

.post
{
	float:left;
	height:430px;
	padding:10px;
	width:230px
}

 #pagecontainer
 {
     background:#f5f5f5 url(images/page_bg.png) repeat-y center 0;
     height:100%;
     margin:0 auto;
     width:870px
 }

 #page
 {
     margin:0 0 20px;
     padding:10px;
     width:810px
 }


/* IMAGE STYLES */

#content img,#content a img
{
	border:5px solid #EBEBEB;
	display:white;
	margin:0 0 10px
}

#content a:hover img
{
	border:5px solid #1b1b1b
}

#squareads img
{
	display:block;
	float:left;
	margin:30px 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;
}

 li.comment a
 {
 	font-weight: normal
 }


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;
	margin: 0; 
}
 
#sidebar ul li 
{
		background-image: url(images/post.png);
		background-position: 0 2px;
		background-repeat: no-repeat;
		margin-left: 0px;
		padding: 0 0 5px 25px; 
}

#sidebar ul.Postthumb li.Postthumb
{
		background-image: none;
		margin-left: 0px;
		border: 10px;
		padding: 0 0 5px 25px; 
}


/* LINK STYLES */


#top a:link,#top a:visited,#footer a:link,#footer a:visited
{
	color:#747472;
	text-decoration:none;
	font-weight: normal;

}

#top a:hover,#top a:active,#footer a:hover,#footer a:active
{
	color:#ABE0FF;
}

#sidebar a:link,#sidebar a:visited
{
	color:#747472;
	text-decoration:none;
	font-weight: normal
	
}

.more a,.more a:visited
{
	display:block;
	margin:20px 0 0;
	padding:6px 0;
	text-align:center;
	text-decoration:none;
	font-weight: normal;
	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 */

.ngg-galleryoverview {
	margin-top: 10px;
	width: 100%;
	clear:both; 
	display:block !important;
}

.ngg-gallery-thumbnail-box {
	float: left;
}

.ngg-gallery-thumbnail {
	float: left; 
	background: url(shadowAlpha.png) no-repeat bottom right !important;
	background: url(shadow.gif) no-repeat bottom right;
	margin: 10px 0 0 10px !important;
}

.ngg-gallery-thumbnail img {
	margin: -6px 6px 6px -6px;
	position:relative;
}

.ngg-gallery-thumbnail img:hover {
	background-color: #A9A9A9;
} 

.ngg-gallery-thumbnail span {
	display:none;
}

.ngg-clear {
	clear: both;
}

.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-top:-15px;
	margin-bottom:20px;
	padding:5px
}

.hr
{
	background:#EBEBEB;
	clear:both;
	height:2px;
	margin:20px 0;
	width:100%
}

hr
{
	border: 0;
	background:#EBEBEB;
	clear:both;
	height:2px;
	margin:20px 0;
	width:100%
}

/* COMMENT STYLES */

.commentcontainer
{
	clear:left;
	float:left;
	width:90px
}

.avatar img
{
	float:left;
	margin-bottom:10px;
	width:80px
}

.sharePost ul li
{
	float:left;
	margin-right:12px;
	list-style: none;
	margin-bottom:10px;
	border: none

}

.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:340px
}

.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;
	float:right;
	font:12px Arial, Helvetica, sans-serif;
	margin:10px 0 0;
	padding:6px 0;
	text-align:center;
	text-decoration:none;
	width:120px
}

#s
{
	width:125px
}