/* General elements */

*
{
	font-family: Verdana, sans-serif;
	font-size: 10px;
	margin: 0;
	padding: 0;
}

a
{
	color:  #808080;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

a img
{
	border: 0;
}

a, b, i, u, span
{
	font-family: inherit;
	font-size: inherit;
}

body
{
	background-color: white;
}

h1, h2, h3, h4, h5
{
	margin-top: 1ex;
}

h1
{
	font-size: 200%;
}

h2
{
	font-size: 175%;
}

h3
{
	font-size: 150%;
}

h4
{
	font-size: 125%;
}

h5
{
	font-size: 100%;
}

pre, tt
{
	font-family: FixedSys, Lucida, Courier, monospace;
}

/* Default content styles */

#content p
{
	margin-top: 1em;
}

#content ul, #content ol
{
	margin-top: 1em;
	padding-left: 4em;
}

#content li
{
	margin-top: 1em;
}

/* Main elements */

#page
{
	border: 4px solid silver;
	margin: 8px auto;
	width: 800px;
}

/* Header and subcomponents */

#header .container
{
	background: #808080;
	background-image: url(bg_header.jpg);
	background-position: left center;
	border-bottom: 4px solid #FFCC00;
	height: 128px;
	position: relative;
}

#logo
{
	color: white;
	display: block;
	position: absolute;
	right: 50px;
	text-align: center;
	top: 35px;
}

#logo .title
{
	display: block;
	font-size: 300%;
}

#logo .subtitle
{
	display: block;
	font-size: 150%;
}

#navbar
{
	bottom: 0;
	position: absolute;
	width: 100%;
}

#navlinks
{
	bottom: 0;
	left: 16px;
	position: absolute;
}

#navlinks li
{
	background: #101040;
	border: 1px solid #606080;
	border-right-color: #050520;
	border-bottom: none !important;
	display: block;
	float: left;
	margin-right: 8px;
	padding: 12px 8px;
}

#navlinks li.active
{
	background: #FFCC00;
	border-color: #FFCC80;
	border-right-color: #807000;
}

#navlinks li.active a
{
	color: #101040 !important;
}

#navlinks li ul
{
	display: none;
}

#navbar a
{
	color: white;
}

#form_search
{
	background: #FFCC00;
	height: 20px;
	padding: 16px;
	position: absolute;
	right: 16px;
	top: 4px;
	width: 160px;
}

#input_search_term
{
	padding: 2px;
	width: 100px;
}

#input_search_submit
{
	background-color: #101040;
	border: none;
	color: white;
	padding: 2px;
}

/* Body and subcomponents */

#body .container
{
	padding: 8px;
}

/* Sidebar and subcomponents */

#sidebar
{
	float: right;
	margin-right: 8px;
	margin-top: 52px;
	width: 192px;
}

#sidebar .section
{
	/* border: 4px solid silver; */
	margin-bottom: 8px;
	padding: 8px;
}

#sidebar h4
{
	color: #808080;
	font-size: 110%;
}

#sidebar ul
{
	color: #808080;
	list-style-type: disc;
	padding-left: 2em;
}

#sidebar ul li
{
	border-bottom: 1px dotted #808080;
	padding: 4px 0;
}

#calendar
{
	background-color: #FFCC00;
	border: 4px solid #E0E0E0;
	border-collapse: collapse;
	padding: 0 !important;
}

#calendar h4
{
	background-color: #FFCC00;
	margin: 0;
	padding: 4px;
	text-align: center;
}

#calendar table
{
	background-color: white;
	border: none;
	border-collapse: collapse;
	width: 100%;
}

#calendar th
{
	background-color: #E0E0E0;
	font-weight: normal;
	padding: 3px;
	text-align: center;
}

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

#calendar .prev, #calendar .next
{
	color: silver;
}

#calendar .today
{
	background-color: #FFCC00;
	font-weight: bold;
}

/* Crumbtrail */

#crumbtrail li
{
	display: inline;
}

#crumbtrail li:before
{
	content: '> ';
}

#crumbtrail li:first-child:before
{
	content: '';
}

/* Main content and subcomponents */

#main
{
	margin-right: 208px;
}

#main .post .meta
{
	color: #808080;
}

#main .post .actions
{
	background-color: #E0E0E0;
	border-left: 4px solid #FFCC00;
	margin: 1em 0;
	padding: 8px;
}

#main .post .actions a
{
	background-position: left;
	background-repeat: no-repeat;
	border-right: 1px solid #808080;
	padding: 0 8px 0 16px;
	margin-right: 4px;
}

#main .post .actions a.readmore
{
	background-image: url(readmore.png);
}

#main .post .actions a.comment
{
	background-image: url(comment.png);
}

#main .share
{
	float: right;
	margin-top: 1em;
}

#main .share a img
{
	padding: 3px 0 0;
}

#main .share a:hover img
{
	padding: 0 0 3px;
}

#main .tags
{
	margin: 1em 0;
}

#main .tags ul,
#main .tags li
{
	display: inline;
	margin: 0;
	padding: 0;
}

#main .tags li:before
{
	content: ', ';
}

#main .tags li:first-child:before
{
	content: '';
}

#main .comments .comment
{
	background-image: url(comment.png);
	background-position: 8px 16px;
	background-repeat: no-repeat;
	border-top: 1px dotted silver;
	padding-left: 32px;
}

#main .comments h4 + .comment
{
	background-position: 8px 4px;
	border-top: none;
}

#main .comments .comment .meta
{
	margin-bottom: 1em;
}

#form_comment
{
	padding: 1em;
}

#form_comment .field
{
	display: block;
	margin-top: 1ex;
	overflow: hidden;
}

#form_comment button
{
	clear: both;
	margin-top: 1ex;
	padding: 2px;
}

#form_comment img
{
	float: left;
	margin-right: 1ex;
}

#form_comment #captcha
{
	font-size: 20px;
	height: 28px;
	text-align: center;
	width: 88px;
}

#form_comment input
{
	width: 200px;
}

#form_comment label
{
	display: block;
}

#form_comment textarea
{
	height: 150px;
	width: 450px;
}

/* Footer */

#footer
{
	margin-right: 208px;
	padding: 8px;
	padding-top: 0;
}

#footer .container
{
	border-top: 1px dashed silver;
	padding-top: 8px;
	text-align: center;
}

#footer ul
{
	list-style-type: none;
}

#footer ul li
{
	display: inline;
	margin: 0 1ex;
}