/*
Theme Name: Sandford Borins
Theme URI: http://www.sandfordborins.com
Description: Custom WordPress theme for Sandford Borins.
Version: 1.0
Author: Vdot Media
Author URI: http://www.vdotmedia.com
*/

/* Reset */

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, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	background: #eee;
	color: black;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* Global */

body {
	font-family: tahoma, sans-serif;
	color: #444;
	text-align: center;
	font-size: 100%;
	}

a, a:visited {
	color: #527194;
	text-decoration: none;
	}

a:hover, a:active {
	color: #000;
	text-decoration: none;
	}

form p {
	margin: 0;
	}

input, textarea {
	padding: 5px;
	font-family: tahoma, sans-serif;
	}

input {
	}

textarea {
	}

hr {
	border: 1px dotted #DADADA;
	height: 1px;
	clear: both;
	margin: 10px 0;
	}

/* Classes */

.left, .middle, .right {
	position: relative;
	float: left;
	}

.left {
	left: 0;
	width: 160px;
	}

.middle {
	left: 20px;
	width: 520px;
	}

.right {
	left: 40px;
	width: 220px;
	}

.alignleft {
	float: left;
	margin-right: 20px;
	}

.alignright {
	float: right;
	margin-left: 20px;
	}

/* Site Specific */

#top, #bottom {
	float: left;
	width: 100%;
	}

#top {
	background: #fff url('i/bg.jpg') top center repeat-x;
	}

.container, #header, #infobar, #body, #footer {
	clear: both;
	position: relative;
	text-align: left;
	}

.container {
	font-size: 1.0em;
	margin: 0 auto;
	width: 940px;
	}

#header {
	height: 60px;
	padding: 20px 0;
	}

	#header a {
		color: #fff;
		}
	
	#header a:hover {
		color: #eee;
		}
	
	#header h5 {
		font-size: 1.875em;
		font-weight: normal;
		margin-bottom: 5px;
		}
	
	#header .subheading {
		color: #ddd;
		}
	
	#nav {
		position: absolute;
		right: 0px;
		top: 35px;
		}

		#nav li {
			display: inline;
			float: left;
			height: 32px;
			margin: 0 5px;
			position: relative;
			}

			#nav li:hover, #nav li.sfhover, #nav li.current {
				background: #6c8199 url('i/bg_nav_right.jpg') right top no-repeat;
				}
		
		#nav li a {
			color: #fff;
			font-size: 0.8em;
			font-weight: bold;
			float: left;
			padding: 9px 10px 11px;
			position: relative;
			text-transform: uppercase;
			}
		
		#nav li a:hover, #nav li.current a {
			background: transparent url('i/bg_nav_left.jpg') left top no-repeat;
			color: #fff;
			}

#infobar {
	height: 110px;
	padding: 20px 0;
	}

	#bio h3 {
		font-size: 1.25em;
		font-weight: normal;
		}
	
	#bio p {
		font-size: 0.875em;
		line-height: 1.5em;
		margin-top: 5px;
		}
	
	#quicklinks li {
		height: 30px;
		margin-bottom: 10px;
		position: relative;
		}
	
	#quicklinks li a {
		background: url('i/bg_quicklinks.jpg') 0 0 no-repeat;
		display: block;
		font-size: 0.75em;
		font-weight: bold;
		height: 30px;
		padding: 8px 20px;
		}
	
	#quicklinks li a:hover {
		background: url('i/bg_quicklinks_on.jpg') 0 0 no-repeat;
		color: #444;
		}

#body {
	font-size: 0.875em;
	height: auto;
	padding: 30px 0;
	}

	.sidebar {
		line-height: 1.3em;
		}

	.sidebar h5 {
		font-size: 1.0em;
		font-weight: bold;
		margin-top: 30px;
		text-transform: uppercase;
		}
	
	.sidebar p {
		font-size: 0.875em;
		}
	
	.sidebar .subheading {
		font-size: 0.8em;
		margin: 0 0 10px;
		}
	
	.sidebar li {
		border-bottom: 1px solid #ddd;
		font-size: 0.875em;
		line-height: 1.3em;
		padding: 5px 0;
		}

	#sidebar-l {
		margin-bottom: 30px;
		}

		#subscribe {
			background: url('i/icon_rss.jpg') 0 2px no-repeat;
			line-height: 1.0em;
			padding: 5px 0 5px 35px;
			}

			#subscribe .rss {
				color: #e46d27;
				font-size: 1.0em;
				font-weight: bold;
				}
			
			#subscribe a:hover.rss {
				color: #000;
				}
			
			#subscribe .email {
				font-size: 0.8em;
				}
		
		#s {
			background: #eee;
			border: 0;
			height: 17px;
			padding: 5px;
			vertical-align: middle;
			width: 95px;
			}

			#content #s {
				width: 455px;
				}
		
		#searchsubmit {
			background: #eee;
			border: 0;
			font-size: 0.7em;
			font-weight: bold;
			height: 27px;
			padding: 0;
			text-transform: uppercase;
			vertical-align: middle;
			width: 55px;
			}
		
		input:hover#searchsubmit {
			background: #527194;
			color: #fff;
			}
	
	#content {
		font-size: 0.95em;
		line-height: 1.5em;
		}

		#content h1 {
			font-size: 2.1875em;
			font-weight: bold;
			line-height: 1.1em;
			margin: 0 0 25px;
			}

		#content .post {
			border-bottom: 1px solid #ddd;
			margin-bottom: 30px;
			padding-bottom: 15px;
			}
		
		#content .page {
			border: 0;
			padding: 0;
			}
		
		#content .pagetitle {
			border-bottom: 1px solid #ddd;
			font-size: 1.1em;
			margin-bottom: 25px;
			padding-bottom: 5px;
			}
		
		#content .post h2 {
			font-size: 1.7em;
			font-weight: bold;
			line-height: 1.3em;
			margin-bottom: 5px;
			}

			#content .post h2 a {
				color: #000;
				}
			
			#content .post h2 a:hover {
				color: #527194;
				}
		
		#content .post .date {
			font-size: 0.8em;
			font-weight: bold;
			margin-bottom: 5px;
			}
		
		#content .post .post-cats {
			margin-bottom: 15px;
			}
		
		#content .post .post-cats a {
			border: 0;
			font-size: 0.875em;
			font-weight: bold;
			text-transform: uppercase;
			}
		
		#content .post .entry {
			}
		
		#content .post .more-link {
			font-weight: bold;
			margin: 0;
			}
		
		#content .post .commentlink a {
			border: 0;
			color: #000;
			font-weight: bold;
			}
		
		#content .post .commentlink a:hover {
			color: #527194;
			}
		
		/* Post Body */

		#content .page h2 {
			border-bottom: 1px dotted #ddd;
			font-size: 1.5em;
			font-weight: bold;
			line-height: 1.3em;
			margin-bottom: 10px;
			padding: 20px 0 10px;
			}

		#content .post h3 {
			color: #666;
			font-size: 1.3em;
			font-weight: bold;
			margin: 20px 0 5px;
			}

		#content .post h4 {
			color: #888;
			font-size: 1.1em;
			font-weight: bold;
			margin: 0 0 5px;
			}
		
		#content .post p {
			line-height: 1.5em;
			margin-bottom: 15px;
			}
		
		#content .post p a {
			border-bottom: 1px dotted #527194;
			}
		
		#content .post p a:hover {
			border-bottom: 1px dotted #000;
			}
		
		#content .post ol {
			list-style-type: decimal;
			margin-bottom: 15px;
			}
		
		#content .post ul {
			list-style-type: disc;
			margin-bottom: 15px;
			}

			#content .post li {
				margin-left: 25px;
				padding: 3px 0;
				}
		
		#content .post blockquote {
			border-left: 3px solid #ddd;
			margin: 25px;
			padding-left: 25px;
			}
		
		#content .post code {
			color: green;
			font-family: courier, serif;
			font-size: 0.8em;
			}
		
		/* Pagination */
		
		#content .navigation {
			margin-bottom: 30px;
			}
		
		#content .pagination {
			font-size: 0.9em;
			margin-bottom: 30px;
			}
		
		#content .pagination a {
			font-weight: bold;
			margin: 0 2px;
			}
		
		#content .pagination span {
			margin: 0 2px;
			}
		
		#content .pagination .current {
			color: #000;
			font-weight: bold;
			}
		
		/* Comments */
		
		#content #respond, #content #comments {
			font-size: 1.3em;
			font-weight: bold;
			margin-bottom: 25px;
			}

		#content .commentlist {
			margin-bottom: 30px;
			}
		
		#content .commentlist li {
			border-bottom: 1px dotted #ddd;
			margin-bottom: 25px;
			padding-bottom: 10px;
			}
		
		#content .commentauthor {
			font-size: 1.1em;
			font-weight: bold;
			margin: 0;
			}
		
		#content .commentmetadata {
			font-size: 0.8em;
			margin-bottom: 15px;
			}

			#content .commentmetadata a {
				color: #000;
				}
			
			#content .commentmetadata a:hover {
				color: #527194;
				}
		
		#content .commententry p {
			margin-bottom: 15px;
			}
		
		#content #commentform {
			margin-bottom: 30px;
			}
		
		#content #commentform p {
			margin-bottom: 5px;
			}
		
		#content #commentform input, #content #commentform textarea {
			background: #eee;
			border: 1px solid #ddd;
			font-size: 0.9em;
			padding: 5px;
			vertical-align: middle;
			}
		
		#content #commentform input {
			width: 175px;
			}
		
		#content #commentform textarea {
			font-size: 1.0em;
			width: 510px;
			}
		
		#content #commentform #submit {
			background: #ddd;
			font-size: 0.7em;
			font-weight: bold;
			text-transform: uppercase;
			width: 120px;
			}
		
		#content #commentform input:hover#submit {
			background: #527194;
			border: 1px solid #527194;
			color: #fff;
			}
		
		/* Courses */

		#content .post .courselist, #content .post .courselist ul {
			}
		
		#content .post .courselist ul {
			margin-top: 5px;
			}
		
		#content .post .courselist li {
			margin: 5px 0 0 25px;
			}
		
		/* Books */

		#content .post .booklist, #content .post .booklist ul {
			}
		
		#content .post .booklist ul {
			margin-top: 5px;
			}
		
		#content .post .booklist li {
			margin: 5px 0 0 25px;
			}
		
	#sidebar-r h5 {
		margin: 0;
		}
	
	#sidebar-r .box {
		background: #eee url('i/bg_sidebar_sec_top.jpg') 0 0 no-repeat;
		}
	
	#sidebar-r .section {
		background: url('i/bg_sidebar_sec_bottom.jpg') left bottom no-repeat;
		margin-bottom: 30px;
		padding: 20px;
		}

		#sidebar-r .section li {
			border: 0;
			position: relative;
			}

		#sidebar-r .section #sb-books {
			border-bottom: 1px solid #ddd;
			margin-bottom: 10px;
			padding-bottom: 10px;
			}
				
		#sidebar-r #sb-books img {
			border-bottom: 1px solid #aaa;
			margin-right: 5px;
			}
		
		#sidebar-r #sb-books h6 {
			font-size: 0.9em;
			font-weight: bold;
			left: 92px;
			position: absolute;
			top: 5px;
			width: 93px;
			}

		#sidebar-r #sb-books a {
			}
		
		#sidebar-r #sb-books p {
			position: relative;
			}

#bottom {
	background: #eee;
	border-top: 3px solid #ddd;
	}

#footer {
	font-size: 0.7em;
	float: left;
	padding: 20px 0;
	}

	#footer p {
		padding: 2px 0;
		}
