/* Reset (http://meyerweb.com/eric/tools/css/reset/)
------------------------------------------------------------------- */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, textarea, input, select {margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline;}
table {border-collapse: collapse; border-spacing: 0;}
caption, th, td {text-align: left; font-weight: normal;}
table, td, th {vertical-align: middle;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img {border: none;}
:focus {outline: 0;}

/* General 
------------------------------------------------------------------- */

html {
	height: 100%;
	padding-bottom: 1px; /* Okay, the tricky part, force the scrollbars. */
}
body {
	background: #000 url('./images/background.jpg') top center no-repeat fixed;
	color: #505050;
	font: normal 75% "Verdana", "Arial", sans-serif;
	line-height: 1.5;
}

/* Typography 
------------------------------------------------------------------- */
/* Headings */
h1,h2,h3,h4,h5,h6 {
	color: #555;
	font-weight: normal;
	line-height: 1;
	margin-bottom: 0.3em;
	font-family: "Lucida Blackletter", "Times New Roman", "Arial", sans-serif;
}
h4,h5,h6 {font-weight: bold;}
h1 {font-size: 2.6em;}
h2 {font-size: 2em;}
h3 {font-size: 1.5em;}
h4 {font-size: 1.25em;}
h5 {font-size: 1.1em;}
h6 {font-size: 1em;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin: 0;}

/* Text elements */
p {margin-bottom: 1em;}
p:first-letter {
	font-family: "Lucida Blackletter", "Times New Roman", "Arial", sans-serif;
	font-size: 20px;
}
a:focus,a:hover {color: #004dff;}
a {
	color:  #004294;
	text-decoration: underline;
}

abbr, acronym {border-bottom: 1px dotted #666;}
address {margin-bottom: 1.5em;}
blockquote {margin: 1.5em;}
del, blockquote {color: #725d3e;}
em, dfn, blockquote, address {font-style: italic;}
strong, dfn {font-weight: bold;}
sup, sub {line-height: 0;}

pre {
	margin: 1.5em 0;
	white-space: pre;
}
pre,code,tt {
	font: 1em monospace;
	line-height: 1.5;
}

/* Lists */
li ul, li ol {margin-left: 1.5em;}
ul, ol {margin: 0 1.5em 1.5em 1.5em;}

ul {list-style-type: disc;}
ol {list-style-type: decimal;}

dl {margin: 0 0 1.5em 0;}
dl dt {font-weight: bold;}
dd {margin-left: 1.5em;}

ul.tabbed {
	display: inline;
	margin: 0;
}
ul.tabbed li {
	float: left;
	list-style: none;
	margin: 0;
}

/* Tables */
table {
	border: 1px solid #CCB;
	margin-bottom: 2em;
	width: 100%;
}
table th {
	background: #505050;
	border: 1px solid #505050;
	color: #fff;
	text-align: left;
}
table tr {border-bottom: 1px solid #DDD;}
table td, table th {padding: 10px;}
table td {
	background: #d4c0a1;
	border: 1px solid #505050;
}
table tr.even td {background: #f1e0c6;}
table tr.footer td {background: #505050;}
table tr.footer a { color: #fff; }

/* Misc classes */
.small {font-size: 0.9em;}
.smaller {font-size: 0.8em;}
.smallest {font-size: 0.7em;}

.large {font-size: 1.1em;}
.larger {font-size: 1.2em;}
.largest {font-size: 1.3em;}

.hidden {display: none;}

.quiet {color: #666;}
.loud {color: #000;}
.highlight {background: #FF0;}

.text_left {text-align: left;}
.text_right {text-align: right;}
.text_center {text-align: center;}

/* Forms 
------------------------------------------------------------------- */
label {
	cursor: pointer;
	font-weight: bold;
}
fieldset {border: 1px solid #505050;}
legend {
	font-size: 1.2em;
	font-weight: bold;
}
textarea {
	overflow: auto;
	padding: 3px;
}
textarea.staffnotes {
	width: 590px;
	height: 200px;	
}
input.text, textarea, select {
	background: #FCFCFC;
	border: 1px inset #AAA;
	padding: 4px 5px;
	margin-top: 2px;
}
input.text, textarea { display: block; }
select.category, input.text { width: 300px; }
option { margin: 3px 5px; }
input.text:focus, textarea:focus, select:focus {background: #fffae3;}
input.button {
	background: #F9F9F3;
	border: 1px outset #AAA;
	padding: 4px 5px;
}
input.button:active {border-style: inset;}
.form_row {
	background: #f1e0c6;
	border-top: 1px solid #d4c0a1;
	border-bottom: 1px solid #E1E1E1;
	padding: 10px 0;
}
.form_required {font-weight: bold;}
.form_row_submit, .legend {
	background: #505050;
	border-bottom: 1px solid #CCC;
	border-top: 1px solid #FAFAFA;
	padding: 4px 0 8px;
}
.legend {
	background: #505050;
	border-bottom: 1px solid #fff;
	padding: 8px 18px 6px;
	font-size: 1.4em;
	color: #fff;
}
.form_property, .form_value {float: left;}
.form_property {
	text-align: right;
	width: 110px;
}
.form_value {padding-left: 24px;}
.form_row_submit .form_value {padding-left: 132px;}

.radio {
	padding: 2px;
	margin: 0 2px;
}
.radio input {margin-right: 5px;}

/* Polls
------------------------------------------------------------------- */
#poll fieldset { padding: 5px; border: none; margin: 5px; }
#poll legend {
	font-family: "Lucida Blackletter", "Times New Roman", "Arial", sans-serif;
	font-size: 17px;
	color: #004294;
}
#poll input {
	background: #F9F9F3;
	border: 1px outset #AAA;
	padding: 4px 5px;
	margin: 0 10px;
}
#poll input.submit { display: inline;}
#poll label { padding: 0 10px; }
#poll .poll_row {
	background: #d4c0a1;
	border-top: 1px solid #505050;
	padding: 4px 10px;
}
#poll .poll_row_submit {
	background-color: #505050;
	padding: 3px;
	margin: 0;
}
#poll a, #poll a:focus, #poll a:hover {color: #FFF;}
#poll_results {
	margin: 0 10px;
	padding-left: 10px;
}
#poll_results h4 {
	color: #004294;
	margin-bottom: 10px;
}
#poll_results .graph { right: 40px; }
#poll_results .bar-title {
	line-height: 15px;
	font-weight: bold;
	text-align: left;
}
#poll_results .bar-container {
	width: 200px;
	height: 15px;
	margin: 0px 0px 5px;
}
#poll_results .bar-container div {
	background-color: #32b200;
	border: 1px solid #2b9103;
	height: 15px;
	color: #3A3A3A;
	text-align: left;
	padding: 0 2px;
}
#poll_results p { text-align: center; }

/* Alignment
------------------------------------------------------------------- */
/* General */
.center, .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Images */
img.bordered, img.alignleft, img.alignright, img.aligncenter {
	background: #FAFAFA;
	border: 1px solid #CCCCCC;
	padding: 5px;
	margin: 5px auto;
}
img.alignleft, img.left {margin: 0 1.5em 1em 0;}
img.alignright, img.right {margin: 0 0 1em 1.5em;}

/* Separators 
------------------------------------------------------------------- */
.content_separator, .archive_separator {
	background: #505050;
	clear: both;
	color: #FFE;
	display: block;
	font-size: 0;
	height: 1px;
	line-height: 0;
	margin: 12px 0 10px;
}
.archive_separator {margin: 0 0 9px;}

/* Posts
------------------------------------------------------------------- */
.post {
	background: #f1e0c6;
	border: 1px solid #505050;
	margin-bottom: 10px;
}
.post img {
	padding: 2px;
	margin: 5px;
	border: 1px solid #505050;
	background: #FAFAFA;
}
.post_top {
	background: #d4c0a1;
	border-bottom: 4px solid #505050;
	border-top: 1px solid #505050;
	padding: 10px 16px 13px;
}
.post_title h2 {
	font-size: 2em;
	margin-bottom: 5px;
	padding: 0;
}
.post_body {
	border-top: 1px solid #333;
	padding: 16px 16px 0;
}
.post_metadata {padding: 10px;}
.post_metadata .content {
	background: #424242;
	color: #999;
	font-size: 0.9em;
	padding: 10px 12px;
}
.post_metadata a {color: #BBB;}
.post_metadata a:hover {color: #DDD;}

.post_body ul, .post_body ol {margin: 0 0 1em 1.5em;}
.post_body ul {list-style: disc;}
.post_body ol {list-style: decimal;}

/* Arhive
------------------------------------------------------------------- */
.archive_pagination {margin-bottom: 1.6em;}
.archive_post {margin-bottom: 14px;}
.archive_post h3 a {
	color: #725d3e;
	text-decoration: underline;	
}
.archive_post h3 a:hover {
	color: #725d3e;
	text-decoration: none;
}
.archive_post_title {padding-top: 3px;}
.archive_post_date {
	background: #d4c0a1;
	border-bottom: 1px solid #505050;
	border-right: 1px solid #505050;
	float: left;
	margin-right: 12px;
	padding: 2px 0 5px;
	text-align: center;
	width: 46px;
}
.archive_post .post_date {
	border: none;
	padding: 3px 0 0;
}
.archive_post_day {font: normal 1.6em Georgia,serif;}

/* Artciles
------------------------------------------------------------------- */
#article_short_content {
	border: 1px solid #505050;
	margin: 10px auto;
	font-size: 9pt;
	background: #d4c0a1;
}
#article_short_content img {
	width: 20%;
}
#article_short_content span {
	width: 50%;
}
#article_short_content.even { background: #f1e0c6; }
#article_short_content p { display: block; }
#article_short_content a { display: block; }
#article_short_content div { padding: 5px; }
#article_short_content div:hover {
	background: #bff4a0;
	cursor: pointer;
	padding: 5px;
}

/* Gallery
------------------------------------------------------------------- */
.categorybox {
	background: #d4c0a1;
	border: 1px solid #333;
	text-align: center; 
	width: 135px;
	float: left; 
	margin: 5px;
	padding: 5px;
	font-size: 8pt;
}
.categorybox img {
	width: 120px; 
	height: 85px;
	border: 1px solid #333;
}
.categorybox p {
	display: block;
	text-align: left;
}
.categorybox p.center { text-align: center; }
.categorybox a { margin-top: 5px; }

/* Library
------------------------------------------------------------------- */
.librarybox img {
	border-color: #505050;
	height: 64px;
	width: 64px;
	background-color: #FFFFFF;
}
.librarybox span {
	display: block;
	text-align: center;
}
.librarybox div {
	background-color: #d4c0a1;
	width: 85px;
	height: 130px;
	border: 1px solid #505050;
	float: left;
	text-align: center;
	margin: 5px;
	padding: 5px;
	font-size: 8pt;
}
.librarybox div:hover { background: #d8f7cc; }

/* weirdiary
------------------------------------------------------------------- */
#weirdiary {
	border: 1px solid #505050;
	background-color: #efe8d2;
	padding: 5px;
}
#weirdiary div { margin-top: 5px; }
#weirdiary table {
	margin: 10px 0;
	font-size: 12px;
}
#weirdiary .category {
	background-color: #505050;
	color: white;
	width: 70px;
}
#weirdiary .orange { color: orange; }
#weirdiary .red { color: red; }
#weirdiary .green { color: green; }

/* Pagination
------------------------------------------------------------------- */
#pagination {
	background: #d4c0a1;
	border: 1px solid #505050;
	padding: 5px;
	margin: 15px auto;
}
#pagination a { margin: 0 5px; }
#pagination span {
	background:	#f1e0c6;
	border: 1px solid #333;
	padding: 3px 6px;
}
.pagination {
	margin: 1px;
	padding: 1px;
}
.pagination ul {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 15px;
}
.pagination li {
	list-style-type: none;
	display: inline;
	font-size: 12px;
	margin: -1px;
}
.pagination a {
	padding: 2px 3px 2px 3px;
	border: 1px solid green;
	text-decoration: none;
	color: green;
	background-color: white;
}
.pagination a:hover { border: 1px solid black; background-color: green; color: black; }

/* Thumbnails
------------------------------------------------------------------- */
.thumbnails {margin: 0 0 1em 0;}
.thumbnails a.thumb {	
	background: #FAFAFA;
	border: 1px solid #CCCCCC;
	padding: 5px;
	display: block;
	float: left;
	margin: 0 0 8px 5px;
}
.thumbnails a.thumb:hover {background: #d8f7cc;}
.thumbnails .thumb img {display: block;}

/* Box
------------------------------------------------------------------- */
.box { margin-bottom: 5px;}
.box_title {
	color: #fff;
	width: 230px;
	height: 40px;
	padding: 12px 15px 0 15px;
	font: bold 1.3em sans-serif;
	font-family: "Lucida Blackletter", "Times New Roman", "Arial", sans-serif;
	background: url('./images/sidebg_green.png') top repeat-x;
}
.box_content {
	padding: 8px 0 8px;
	background-color: #f1e0c6; /*#d4c0a1*/
	border: 1px solid #505050;
}
.box li:first-child { border-top: none; }
.box li {
	display: block;
	border-bottom: 1px solid #505050;
	list-style: none;
	padding: 5px;
	margin: 0;	
}
.box li:hover {
	background: #FFF6BF;
	border-color: #FFD324;	
}

/* Comments 
------------------------------------------------------------------- */
div.comment_list {
	border-top: 1px solid #505050; 
	margin: 1em 0 2em;
}
.comment {
	border-bottom: 1px solid #505050;
	padding-top: 10px;
}
.comment_date {font-size: 0.9em; color: #567;}
.comment_body {padding-top: 4px;}
.comment_avatar {width: 48px;}
.comment_avatar img {
	background: #FFF;
	border: 1px solid #DDD;
	padding: 2px;
}

/* Layout 
------------------------------------------------------------------- */
/* General wrappers */
#layout_wrapper {
	margin: 0 auto;
	padding: 0;
	width: 980px;
	border-left: 1px solid #272626;
	border-right: 1px solid #272626;
}
/* Header */
#header {
	height: 220px;
}
/* Navigation */
#navigation {
	background: #3A3A3A url('./images/gradient.gif') repeat-x;
	font: bold 14px sans-serif;
	border-bottom: 1px solid #272626;
	padding: 0 8px;
}
#navigation ul, #navigation li {display: inline;}
#navigation li {display: inline;}
#navigation a {
	float: left;
	margin-right: 1px;
	text-align: center;
	text-decoration: none;
}
#nav a {
	color: #BBB;
	padding: 8px 12px 10px;
}
#nav a:hover {color: #EEE;}
#nav li.current_page_item a, #nav li.current_page_parent a {
	background: url('./images/nav1_arrow.gif') no-repeat center bottom;
	color: #49951b;	
}
#subnav {
	background: #2b9103 url('./images/subnav-bg.gif') repeat-x;
	margin: 0 -8px;
	padding: 0 8px;
	min-height: 30px;
}
#subnav a {
	color: #D0D6DA;
	padding: 7px 10px;
}
#subnav a:hover {color: #FFF;}
#subnav li.current_page_item a {color: #FFF;}


/* Main */
#main_wrapper {
	background: #eae1c8 url('./images/main.png') top left no-repeat;
	border-bottom: 1px solid #C3C4C1;
}
#main {
	padding: 30px 0 24px 0;
}
#content_wrapper {width: 685px;}
#content {padding: 0 20px;}


/* Sidebar */
#sidebar_wrapper {width: 295px;}
#sidebar {padding: 0 18px;}

/* Bottom */
#bottom {
	background: #3A3A3A url('./images/gradient.gif');
	text-align: center;
	padding: 10px 0 5px 0;
	height: 25px;
	margin: 10px 0;
	color: #9fc7d0;
}
#bottom a {color: #9fc7d0; text-decoration: none;}
#bottom a:hover {color: #bee1e9; text-decoration: underline;}

/* Footer */
#footer {
	padding: 0 10px;
	margin: 0;
	height: 15px;
	text-align: center;
}

/* Miscelanous
------------------------------------------------------------------- */
/* Border */
.noborder {border: 0;}
.notborder {border-top: 0;}
.norborder {border-right: 0;}
.nobborder {border-bottom: 0;}
.nolborder {border-left: 0;}

/* Margin */
.nomargin {margin: 0;}
.notmargin {margin-top: 0;}
.normargin {margin-right: 0;}
.nobmargin {margin-bottom: 0;}
.nolmargin {margin-left: 0;}

/* Padding */
.nopadding {padding: 0;}
.notpadding {padding-top: 0;}
.norpadding {padding-right: 0;}
.nobpadding {padding-bottom: 0;}
.nolpadding {padding-left: 0;}

/* Floats */   
.left,.alignleft {float: left;}
.right,.alignright {float: right;}

.clear,.clearer {clear: both;}
.clearer {
	display: block;
	font-size: 0;
	line-height: 0;	
}

/* Messages */
.error, .notice, .success {
	font-size: 1.1em;
	border: 1px solid #DDD;
	margin-bottom: 1em;
	padding: 0.6em 0.8em;
}
.error {
	background: #FBE3E4;
	border-color: #FBC2C4;
	color: #8A1F11;
}
.error a {color: #8A1F11;}
.notice {
	background: #FFF6BF;
	border-color: #FFD324;
	color: #514721; 
}
.notice a {color: #514721;}
.success {
	background: #E6EFC2;
	border-color: #C6D880;
	color: #264409;
}
.success a {color: #264409;}