/*  
Theme Name: James Farrar
Theme URI: http://wordpress.org/
Description: James based theme by Richard Farrar.
Version: 1.0
Author: Richard Farrar
Author URI: http://www.richardfarrar.com/
*/

/* 
div {border: solid 1px;} */

/* Begin Typography & Colors */
body
{
	font-size: 70%; 
	font-family: Verdana, Helvetica, Arial, Geneva, Helvetica, sans-serif;
	background: #e6e7e6 url(/james/images/page.jpg) repeat-x;
	color: #333;
	text-align: center;
	margin: 0 0 20px 0;
	padding: 0; 
}

#page
{
	background-color: white;
	border: 1px solid #959596;
	text-align: left;
	margin: 0px auto;
	padding: 0;
	width: 760px;
}

#header
{
	background: #c9c7be url('images/header.jpg') no-repeat top center;
	margin-left: 10px; 
	height: 180px;
	width: 740px;
	padding: 0px;
}

#headerimg
{ 
	width: 470px; height: 60px; text-indent: -9999px; padding-top: 40px; 
}  

#headerimg h1 a { display: block; width: 470px; height: 60px; padding-top: 40px; }

	
#date_tag
{
	position: relative;
	top: 160px;
	left: 0px;
	width: 130px;
	padding: 0px;
	margin: 0px;
	text-align: center;
	font-size: 10px;
	font-style: normal;
	font-weight: bold;
	color: #fff;
}

#content {
	font-size: 1.2em
	}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt
{
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
	
.author
{
	background-color: #e8e7d0;
	border: 1px solid #c8c7b0;
}

#footer
{
	background: transparent url('/james/images/footer.jpg') no-repeat bottom;
	padding: 0;
	margin: 0 auto;
	width: 760px;
	height: 80px;
	clear: both;
	padding-bottom: 15px;
}

#footer p
{
	position: relative;
	top: 93px;
	left: -15px;
	font-size: 1.0em;
	margin: 0px;
	padding: 0px;
	text-align: right;
}

#hostedby
{
	position: relative;
	top: 67px;
	left: 15px;
	font-size: 11px;
	color: #555;
	text-align: left;
	padding-bottom: 10px;
	width: 200px;
}

#hostedby span
{
	color: #000;
}

#hostedby img
{
	float: left;
	margin: -5px 10px 20px 0px;
}

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

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}


h2 {
	font-size: 1.8em;
	text-align: left;
	}

h2.pagetitle {
	font-size: 1.8em;
	}

h3
{
	font-size: 1.3em;
}
	
h4
{
	font-size: 1.0em;
	color: #555;
	margin-bottom: 0px;
	padding-bottom: 0px;
}

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

h2, h2 a, h2 a:visited {
	color: #000398;
	}

h3, h3 a, h3 a:visited {
	color: #f03;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

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

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

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

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

a, h2 a:hover, h3 a:hover
{
	color: #b85b5a;
	text-decoration: none;
}

a:hover
{
	color: #000398;
	text-decoration: underline;
}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */


.narrowcolumn {
	float: left;
	padding: 0 0 20px 45px;
	margin: 0;
	width: 450px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

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

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

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

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

.postmetadata {
	clear: left;
}

/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 0px;
	margin: 0;
	}

h2 {
	margin: 30px 0px 0px 0px;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}


h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

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
	}
/* End Images */



/* Begin Lists */

html>body .entry ul
{
	margin-left: 20px;
	padding: 0 0 0 10px;
	list-style-position: outside;
	list-style-image: url(images/list-bullet.gif);
} 

html>body .entry li
{
	margin: 5px 0 5px 10px;
}

.entry ol
{
	padding: 0 0 0 35px;
	margin: 0;
}


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


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

/* End Entry Lists */



/* Begin Form Elements */

#searchdiv
{
	margin-bottom:15px;
	margin-top:6px;
	padding:0;
}

#searchdiv input.sbox 
{
	background-color: #e8e7d0;
	padding-left: 5px;	
}

#searchdiv input.sbox:hover, #searchdiv input.sbox:focus
{ 
  color: #000;  
  background-color: #fff;
  cursor: text;
}

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

select {
	width: 130px;
	}

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

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

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

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

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

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

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */







/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin 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;
	}
/* End Various Tags & Classes*/



#subscribe
{
	position: relative; 
	float: right;
	margin: -50px 30px 0px 0px;
	font-weight: bold;
}

#subscribe img
{
	vertical-align: text-bottom;
	margin-bottom: -7px;
}


/* Begin Sidebar */
#sidebar
{
	padding: 20px 0px 10px 0px;
	margin-left: 535px;
	width: 200px;
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;	
}

#sidebar a
{
	color: #500;
}

#sidebar a:hover
{
	color: #b85b5a;
}

#sidebar form
{
	margin: 0px;
}
	
#sidebar ul, #sidebar ul ol
{
	margin: 0px;
	padding: 0px;
}

#sidebar ul li
{
	list-style-type: none;
	margin-bottom: 15px;
}

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

#sidebar ul ul, #sidebar ul ol
{
	margin: 5px 0px 0px 10px;
}

#sidebar ul ul ul, #sidebar ul ol
{
	margin: 0px 0px 0px 10px;
}
	
#sidebar ul ul li, #sidebar ul ol li
{
	margin: 3px 15px 0 0;
	padding: 0;
	padding-bottom: 5px;
	border-bottom: 1px #bbb dashed;
}

#sidebar ul ul li.archivedrop
{
	margin: 3px 15px 0 0;
	padding: 0;
	padding-bottom: 5px;
	border-bottom: none;
	list-style: none;
}

#sidebar h2
{
	margin: 0px;
	overflow: hidden;
	padding-top: 5px;
	padding-left: 12px;
	font-size: 15px;
	height: 25px;
	background: #183b83 url(images/menutop.jpg) left no-repeat;
	text-align: left;
	color: white;
}

#sidebar li ul
{
	margin: 0px 0px 20px 0px;
	padding: 10px 0px 15px 30px;
	font-size: 12px;
	background: #eee url(images/pane-background.gif) bottom;
	list-style-position: outside;
	list-style-image: url(images/list-bullet.gif);
}
	
/* End Sidebar */

.post-date
{
	background: url(images/date.gif) no-repeat top left;
	float: left;
	width: 45px;
	height: 49px;
	margin: 30px 10px 0px 1px;
	padding: 0px;
}
	
.post-month
{
	font-size: 11px;
	text-transform: uppercase;
	color: #FFF;
	text-align: center;
	display:block;
	line-height: 11px;
	padding-top: 2px;
	margin-left: -3px;
}

.post-day
{
	font-size: 18px;
	text-transform: uppercase;
	color: #999;
	text-align: center;
	display:block;
	line-height: 18px;
	padding-top: 7px;
	margin-left: -3px;
}

.postspermonth
{
	list-style: none;
	padding-left: 20px;
}

.postspermonth span
{
	color: #999;
	font-style: italic;
	font-size: 80%;
}


/*********************/
/* likepost        */
/*********************/

#likepost
{
	font-size: 80%;
	border: solid 1px #999;
	margin: 10px 0px 10px 0px;
	background-color: #fdfdee;
	clear: left;
}

#likepost h4
{
	font-size: 100%;
	margin: 5px 0px 5px 10px;
}

#likepost p
{
	margin: 0px 0px 5px 10px;
}

ul.sociallinks 
{
	margin: 10px 0px 20px 10px;
	padding: 5px;
	display: block;
}

#likepost li.sociallink
{
	list-style: none;
	float: left;
	margin: 0px 10px 0px 0px;
}

#likepost img
{
	border: none;
	margin: 0px 5px 0px 0px;
	vertical-align: middle;
}

#likepost h4.similarposts 
{
	font-size: 100%;
	margin: 20px 0px 0px 10px;
	padding-top: 10px;
	padding-bottom: 0px;
}


#likepost ul.similarposts 
{
	padding-top: 0px;
	margin-top: 0px;
}


#likepost li.similarposts 
{
	margin: 2px 0px 0px 0px;
	padding: 2px 0px 0px 0px;
	
}

/*********************/
/* twitter           */
/*********************/

#twitter_div
{
	background: url(images/quote-bottom.gif) no-repeat bottom left;
	margin: 0px 0px 20px 0px;
}

#twitter_div h2
{
	background: url(images/quote-top.gif) no-repeat top left;
	color: #000;
	text-align: left;	
	margin: 0px 0px 0px 0px;
	padding: 7px 0px 0px 10px;
}

#twitter_div ul
{
	padding: 5px 20px 0px 10px;
	margin: 0px 0px 30px 0px;
}

#twitter_div span a
{
	background: transparent;
	padding: 0px 0px 0px 10px;
	margin: 0px 0px 0px 0px;
}

#bar
{
	background: transparent url(images/bar-background.gif);
	height: 29px;
	width: 760px;
	padding: 0;
	margin: 0;
}

#bar ul
{
	margin: 0 0 0 20px;
	padding: 0;
	list-style: none;
	font-weight: bold;
	overflow: hidden;
}

#bar li
{
	float: left;
	margin: 0;
	padding: 0 20px 0 0;
	background: transparent url(images/tabs.gif) 100% -60px no-repeat;
}

#bar li.current_page_item a
{
	background: transparent url(images/tabs.gif) 0px -120px no-repeat;
}

#bar li.current_page_item
{
	background: transparent url(images/tabs.gif) 100% -120px no-repeat;
}

#bar ul li a
{
	display: block;
	padding: 10px 0 7px 20px;
	background: transparent url(images/tabs.gif) 0px -60px no-repeat;
	font-family: 'Lucida Grande', Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: none;
	color: #000;
}

#bar ul li:hover
{
	background: transparent url(images/tabs.gif) 100% -120px no-repeat;
}		

#bar ul li:hover a
{
	background: transparent url(images/tabs.gif) 0px -120px no-repeat;
	color: #500;
}

/* Dropdowns */    

#bar ul li ul {position: absolute; left: -9999px; border: 1px solid #999; border-bottom: 3px solid #999; border-right: 3px solid #999; border-top: none; padding: 0px; margin-top: -3px; margin-left: 5px; z-index: 9997; }

#bar ul li:hover ul, #bar ul li.sfhover ul {left: auto;  width: 130px; z-index: 9997; }

#bar ul li ul li, #bar ul li.sfhover ul li {margin: 0px; border-bottom: 1px solid #ccc; font-size: 10px; color: #500; z-index: 9997; display: block; width: 130px;}

#bar ul li ul a:link {background-image: none; background: #eee; color: #500; display: block; z-index: 9997; }
#bar ul li ul a:visited {background-image: none; background: #eee; color: #500; display: block; z-index: 9997; }

#bar ul li ul a, #bar ul li.sfhover ul a {background-image: none; background: #eee; padding: 5px; color: #500; display: block; width: 130px;  z-index: 9997; }

#bar ul li ul a:hover, #bar ul li.sfhover ul a:hover {background-image: none; padding: 5px; background: #ccc; color: #b85b5a; display: block; width: 130px;  z-index: 9997; }

#banner
{
	float: none;
	width: 468px;
	height: 60px;
	margin: 25px 0px 0px -10px;
	z-index: 7;
}


#banner img
{
	border: 0px;
}


#banner iframme
{
	z-index: 7;
}

/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */