/* ------------------------------------------------
Stylesheet for Steve Johnson's personal website
Created by: Steve Johnson
Last Updated: September 16, 2009
------------------------------------------------ */

/*--------------------------------------
	Global items
--------------------------------------*/
html, body {
	border: 0;
	margin: 0;
	padding: 0;
}

body {
	background: #bbb;	
	color: #444;
	font-size: small;
	line-height: 1.5em;
}

form {
	margin: 0;
	padding: 0;
}

body, th, td, input, textarea, select, option {
	font-family: "Lucida Grande", Verdana, "Arial Unicode", sans-serif;
	font-weight: normal;
}

img { border: 0; }

p {
	margin: 0;
	padding: 0.5em 0;
}

h1, h2, h3 {
	color: #000;
	font-family: "Trebuchet MS", Verdana, sans-serif;
	margin: 15px 0;
	padding: 0;
}

h1 { /* This is for individual posts */
	font-size: 210%;
	line-height: 1em;
	margin: -1px 0 5px 0;
}

h1.nonpost { margin: 0 0 15px 0; } /* Nonpost pages */

h2 {
	font-size: 190%;
	margin: 30px 0 15px 0;
}

h2.headline { /* Home page headlines */
	line-height: 1em;
	margin: -1px 0 5px 0;
}

h3 { font-size: 160%; }

ul {
	list-style-type: none;
	margin-left: 0;
	padding: 0;
}

ol {
	margin: 0;
	padding-left: 30px;
}

dt {
	background: url(/images/icons/arrow.gif) no-repeat 0 50%;
	font-weight: bold;
	margin-left: 10px;
	padding-left: 15px;
}

dd {
	margin-left: 25px;
	padding-bottom: 5px;
}

blockquote {
	background: #eee;
	border-left: 4px solid #bbb;
	margin: 0 50px 0 10px;
	padding: 1px 10px;
}

cite {
	color: #063;
	font-style: italic;
	font-weight: bold;
}

/*--------------------------------------
	Site layout
--------------------------------------*/
#wrap {
	background: #fff;
	border: solid #444;
	border-width: 0 1px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	width: 900px;
}

#header { /*height: 159px;*/ }

#content {
	float: left;
	padding: 20px 10px 10px 10px;
	width: 580px;
}

#sidecolumn {
	float: right;
	padding: 20px 10px 10px 0;
	width: 280px;
}

#footer {
	background: #444;
	clear: both;
	color: #fff;
	font-size: 90%;
	padding: 10px;
}

/*--------------------------------------
	Images
--------------------------------------*/
img.left {
	float: left;
	padding: 0 5px 5px 0;
}

img.right {
	float: right;
	padding: 0 0 5px 5px;
}

div.img { border: 0; }

img.border {
	border: 1px solid #bbb;
	float: right;
	/* padding-left: 10px; */
}

/*--------------------------------------
	Other specific styling
--------------------------------------*/
#sidecolumn h2 { font-size: 140%; }

#sidecolumn h3 { font-size: 120%; }

div.description {
	font-size: 110%;
	font-style: italic;
	font-weight: bold;
	text-align: right;	
}

div.box { border: 1px solid #bbb; /*959596;*/ }

div.boxed {
	background: #efefef;
	border: 1px solid #bbb;
	margin: 20px 0;
	padding: 10px;
	text-align: center;
}

div.selected {
	background: #FF9;
	border: 1px solid #bbb;
	margin: 20px 0;
	padding: 10px;
	text-align: center;
}

div.box p {
	font-size: 90%;
	line-height: 2em;
	padding: 5px;
}

div.box ul, div.container ul{
	margin-top: 5px;
	padding-left: 5px;
}

div.row {
	clear: both;
	padding-top: 10px;
}

div.row span.left {
	float: left;
	text-align: right;
	width: 60px;
}

div.row span.right {
	float: right;
	text-align: left;
	width: 380px;
}

.center { text-align: center; }

.right { text-align: right; }

.endpost {
	border-bottom: 1px solid #bbb;
	color: #888;
	font-size: 90%;
	margin-bottom: 20px;
	text-align: left;
}

#content ul li {
	background: url(/images/icons/arrow.gif) no-repeat 0 50%;
	line-height: 1.6em;
	padding-left: 15px;
}

#content .sociable ul li {
	background: none;
	padding-left: 0;
}

#sidecolumn li {
	background: url(/images/icons/bullet_arrow_right.png) no-repeat 0 50%;
	line-height: 1.8em;
	padding-left: 15px;
}

/*--------------------------------------
	Links: link, visited, hover, active
--------------------------------------*/
a:link {
	color: #069;
	font-weight: normal;
	text-decoration: none;
}

/*h2.headline a:link { color: #800; }*/

div.img a, div.img a:link, div.img a:visited, div.img a:hover {
	text-decoration: none;
}

#footer a:link { color: #9cf; }

a:visited, #footer a:visited {
	color: #c30;
	font-weight: normal;
	text-decoration: none;
}

a:hover, #footer a:hover {
	color: #f60;
	text-decoration: underline;
}

a:active { color: #f60; }

/*--------------------------------------
	Rounded corners
--------------------------------------*/
.container {
	background: transparent;
	padding-bottom: 20px;
}

.container p {
	margin: 0;
	padding: 5px 8px;
}

.container ul {
	list-style-type: none;
	margin: 0;
	padding: 0 5px 5px 0;
}

.container .boxtitle {
	background: #ddd;
	border-bottom: 1px solid #bbb;
	color: #444;
	font-family: "Trebuchet MS", Verdana, sans-serif;
	font-size: 120%;
	font-weight: bold;
	letter-spacing: 1px;
	padding: 1px 0 1px 5px;
}

.container .b1, .container .b2, .container .b3, .container .b4, .container .b1b, .container .b2b, .container .b3b, .container .b4b {
	display: block;
	font-size: 1px;
	overflow: hidden;
}

.container .b1, .container .b2, .container .b3, .container .b1b, .container .b2b, .container .b3b { height: 1px; }

.container .b2, .container .b3, .container .b4 {
	background: #ddd; 
	border-left: 1px solid #bbb; 
	border-right: 1px solid #bbb;
}

.container .b4b, .container .b3b, .container .b2b {
	background: #fff;
	border-left: 1px solid #bbb; 
	border-right: 1px solid #bbb;
}

.container .b1 {
	margin: 0 5px; 
	background: #bbb;
}

.container .b2, .container .b2b {
	border-width: 0 2px;
	margin: 0 3px;
}

.container .b3, .container .b3b { margin: 0 2px; }

.container .b4, .container .b4b {
	height: 2px;
	margin: 0 1px;
}

.container .b1b {
	background: #bbb;
	margin: 0 5px;
}

.container .boxcontent {
	background: #fff; 
	border-left: 1px solid #bbb; 
	border-right: 1px solid #bbb;
	display: block;
}

/*--------------------------------------
	Specific elements
--------------------------------------*/	
.navigation {
	display: block;
	margin-bottom: 20px;
	margin-top: 10px;
	text-align: center;
}

#header .navigation {
	display: block;
	margin-bottom: 0;
	margin-top: 0;
	text-align: center;
}

#footer .navigation {
	display: block;
	margin-bottom: 30px;
	margin-top: 0;
	text-align: center;
}

.alignright { float: right; }

.alignleft { float: left; }

em.bold { font-weight: bold; }

.padright { padding: 0 10px 0 0; }

.date {
	color: #888;
	font-size: 80%;
	margin-bottom: 30px;
}

.author {
	color: #888;
	font-size: 90%;
	margin-bottom: 10px;
}

.light {
	color: #600;
	font-size: 170%;
	letter-spacing: 1.5px;
}

#content ul.lastpost, #content ul.lastpost li {
	background: none;
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

div.spacer, .clear { clear: both; }

.center { text-align: center; }

.right { text-align: right; }

.notice { color: #f00; }

.shade { color: #888; }

/*--------------------------------------------
	Submit button
--------------------------------------------*/
.submitbutton {
	border: 2px solid #888;
	border-top-color: #ccc;
	border-left-color: #ccc;
	background-color: #eee;
	color: #222;
	font-weight: bold;
	font-family: "Trebuchet MS", sans-serif;
	text-align: center;
	margin: 4px;
	width: 110px;
}

.container .submitbutton {
	border: 2px solid #888;
	border-top-color: #ccc;
	border-left-color: #ccc;
	background-color: #eee;
	color: #222;
	font-weight: bold;
	font-family: "Trebuchet MS", sans-serif;
	text-align: center;
	margin: 4px 10px;
	width: 110px;
}

/*--------------------------------------
	Comments
--------------------------------------*/
input.comment {
	background: #f6f6f6;
	padding: 2px 4px;
	border: 1px solid #aaa;
}

.comments textarea {
	background: #f6f6f6;
	border: 1px solid #aaa;
	font-size: small;
	padding: 2px 4px;
	width: 500px;
	
}

input.comment:hover, textarea:hover { border: 1px solid #069; }

input.submitbutton:hover { border: 2px solid #069; }

ol.comments {
	list-style: none;
	margin: 10px 0 20px 0;
	padding: 0;
}

.comments li {
	background: #eee;
	border-top: 2px solid #bbb;
	color: #555;
	padding: 0 0 10px 0;
}

.comments li.bypostauthor {
	border-top: 2px solid #9cf;
	background-color: #e7f0f2;
}

.comment_user {
	float: left;
	padding-left: 5px;
}

.comment_time {
	float: right;
	font-size: 90%;
	padding-right: 5px;
}

.comment_author {
	float: left;
	padding: 10px 0 0 5px;
	width: 75px;
}

.comment_text {
	float: left;
	font-size: 90%;
	padding: 0 5px 0 0;
	width: 495px;
}


/*--------------------------------------
	Header navigation
--------------------------------------*/
ul.navbar, ul.navbar li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.navbar a {
	color: #444;
	background: #eee;
	border: solid #bbb;
	border-width: 1px 1px 1px 0;
	display: block;
	float: left;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 14px;
	padding: 5px 10px;
}

ul.navbar a:link, ul.navbar a:visited {
	color: #444;
}

ul.navbar a:hover, ul.navbar a:active {
	background: #ddd;
	text-decoration: none;
}

ul.navbar .homelink {
	border-left: 1px solid #bbb;
}

ul.navbar #current a {
	background: #fff;
}
