/*  
Theme Name: FactumTheme
Theme URI: http://www.wietseveenstra.nl/blog/
Description: The new wordpress theme for Factum Vicesimus Quartus
Version: 1.0
Author: Wietse Veenstra
Author URI: http://www.wietseveenstra.nl/blog/

/****** HTML Elements ******/
*
{
	margin:0;
	padding:0;
}

body, html
{
	min-height:101%;
}
	
body
{
	background: #3c3c3c;
	color: #545454;
	padding: 13px 0 25px 0;
}

body, select, input, textarea
{
	font: 105% Arial, Verdana, Sans-Serif;
}
	
p
{	
	margin: 15px 0;
}

a:link, a:visited
{
	color: #7da939;
	text-decoration: none;
	font-weight: bold;
}

a:hover, a:active
{
	color: #666;
	text-decoration: underline;
}

hr
{
	display: block;
	height: 1px;
	background-color: #bbb;
	border: 0;
}

img, a:link img, a:visited img
{
	border: 0;
}

pre
{
	border: 1px dotted #bbb;
	background-color: #f5f5f5;
	padding: 0.2em 0.5em;
	font-size: 1.1em;
}

/****** Structure ******/
#page
{
	width: 950px;
	margin: 0 auto;
	font-size: 0.7em;
	background: #FFF;
	padding: 10px 25px 35px 25px;
}

#branding
{
	width: 546px;
	padding: 15px 15px 35px 15px;
	border-right: 1px solid #bbb;
}

#wrapper
{
	width: 100%;
}

.left
{
	float: left;
}

.right
{
	float: right;
}

#sidebar
{
	width: 340px;
	float: right;
}

#menu_layover
{
	width: 100%;
	height: 5px;
	background-color: #7da939;
	margin-top: 10px;
	margin-bottom: 0;
}

#tabs_load
{
	min-height: 140px;
	height: auto !important;
	height: 140px;
	margin: 0;
	margin-bottom: 25px;
	background: #fff url('images/tabs_loading.png') 50% 0 no-repeat;
}
		
/******Categories ******/
.subnav li
{
	line-height : 22px;
	list-style : none;
	margin-bottom: 2px;
}

.subnav li a:link, .subnav li a:visited
{
	display: block;
	padding-left: 10px;
}
		
.subnav li a:hover, .subnav li a:active
{
	color: #7da939;
}

.subnav li li a:link, .subnav li li a:visited
{
	border-left: none;
}

/****** Headers ******/
h1
{
	font: 2.95em 'Century Gothic', Verdana, Arial, sans-serif;
	letter-spacing: -0.02em;
}

h1 a:link, h1 a:visited
{
	font-weight: normal;
}
	
h2
{
	font: 2.3em Georgia, "Times New Roman", Times, serif;
	padding-bottom: 8px;
	margin: 20px 0;
}

h3, #sidebar h2
{
	font: 1em Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 4px;
	font-weight: bold;
	color: #5f5f5f;
}

#sidebar h3, #sidebar h2
{
	padding: 8px 4px 8px 4px;
	margin: 0 0 5px 0;
	font-size: 1em;
	background-color: #efefef;
	border-top: 1px solid #bbb;
}

h3#respond
{
	border-top: 1px dotted #b6b6b6;
	margin-top: 25px;
	padding-top: 20px;
}

h3#comments
{
	margin-top: 32px;
}

h4
{
	font-family: 'Century Gothic', Verdana, Arial, sans-serif;
	font-size: 20px;
	margin-top: 18px;
	margin-bottom: 18px;
}

h4 a:link, h4 a:visited
{
	font-weight: normal;
}

h5
{
	font-family: 'Century Gothic', Verdana, Arial, sans-serif;
	font-size: 18px;
	font-weight: normal;
	margin-top: 18px;
}

h6
{
	font-family: 'Century Gothic', Verdana, Arial, sans-serif;
	font-size: 14px;
	font-weight: normal;
	margin-bottom: 16px;
}

/**** Main navigation ****/
#menu
{
	font-size: 1.1em;
	width: 100%;
	background-color: #3c3c3c;
	margin-bottom: 10px;
}

#menu, #menu ul
{
	list-style: none;
	line-height: 1.6;
}

#menu a, #menu a:hover
{
	display: block;
	text-decoration: none;
	border: none;
}

#menu li
{
	float: left;
	list-style: none;
	text-align: center;
	border-right: 1px solid #fff;
}

#menu a, #menu a:visited
{
	display: block;
	font-weight: bold;
	color: #f5f5f4;
	padding: 6px 20px;
}

#menu a:hover
{
	text-decoration: underline;
}

#menu a:active, .current_page_item	a, #home .on
{
	background: #7da939;
	text-decoration: none;
}

/****** Search area ******/
#search
{
	width: 100%;
	text-align: left;
	display: inline;
	height: 25px;
}

input#search_input
{
	text-align: left;
	background: #fff url(images/search_icon.gif) 3px 3px no-repeat;
	padding: 3px 3px 3px 25px;
	color: #5f5f5f;
	width: 300px;
	border: 1px solid #bbb;
}

input#search_input:focus
{
	text-align: left;
	background: #fff url(images/search_icon.gif) 3px 3px no-repeat;
}

/****** Content ******/
#content
{
	width: 540px;
	float: left;
	padding-right: 36px;
	border-right: 1px #bbb solid;
	margin: 0;
        font-size: 12px;
}
	
#content li
{
        margin-left: 20px;
}

.tagline
{
	font-family: 'Century Gothic', Verdana, Arial, sans-serif;
	font-size: 1.2em;
	font-weight: bold; 
	font-style: italic;
	color: #545454;
	margin-top: -4px;
	margin-left: 60px;
}

.title
{
	font-size: 1.2em;
	font-weight: bold;
	line-height: 115%;
}
	
.feature#lead .title
{
	font: 1.8em Georgia, "Times New Roman", Times, serif;
	line-height: 100%;
	display: block;
	padding-bottom: 7px;
}

#sidelist li
{
	//list-style: none;
}

.bullets li
{
	list-style: none;
	border-bottom: 1px solid #FFF;
}
	
#sidelist .bullets li
{
	list-style: square;
	margin-bottom: 5px;
	line-height: 115%;
	margin-left: 22px;
}

#sidelist .children
{
	background-color: #e4efd5;
}
	
#sidelist .children li
{
	list-style: square;
	margin-left: 28px;
	border-bottom: 1px solid #e4efd5;
}
	
#sidelist .children li a, #sidelist .children li a:visited
{
	padding: 2px 2px 2px 0px;
	border: 0;
	background-color: #e4efd5;
	color: #818d6f;
}

#sidelist .children li a:hover, #sidelist .children li a:active
{				
	color: #465d23;
}

#sidebar_left
{
	width: 165px;
	float: left;
}

#sidebar_right
{
	width: 165px;
	float: right;
}

#sidebar_left ul li, #sidebar_right ul li
{
	list-style: none;
	margin-bottom: 20px;
}

#sidebar_left ul li ul li, #sidebar_right ul li ul li
{
	border: 0;
	margin-bottom: 2px;
	border-bottom: 1px solid #bbb;
}

.sb_categories ul li
{
	background: url(images/categories_icon.gif) 3px 3px no-repeat;
	padding-left: 20px;
}

.sb_links ul li
{
	background: url(images/extlink.gif) 3px 3px no-repeat;
	padding-left: 20px;
}

.sb_comments li
{
        list-style: none;
	background: url(images/comment_small.gif) 3px 3px no-repeat;
	padding-left: 20px;
}

.sb_popular li
{
        list-style: decimal;
	margin-left: 20px;
}

.sb_tabcloud a
{
	font-weight: normal;
}

.entry
{
	padding-top: 10px;
	padding-bottom: 20px;
	text-align: justify;
	font-size: 12px;
}

.entry img
{
        padding: 10px;
}

h3 a:link, h3 a:visited
{
	color: #5f5f5f;
}

.related_posts li
{
	list-style: none;
	line-height: 18px;
}

.navigation
{
	width: 100%;
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	margin-left: 20px
}

#feed
{
	padding-left: 20px;
	padding-top: 10px;
}

#feed ul
{
	padding: 10px 15px 10px 15px;
	list-style: none;
	background: url(images/feed_button.png) no-repeat top right;
}

#feed li
{
	margin-right: 55px;
	height: 20px;
	line-height: 20px;
	text-align: right;
}

#referral-ads
{
	width: 100%;
	text-align: center;
	line-height: 20px;
}

#referral-ads img
{
	padding: 3px;
	border: 1px #cdcdcd solid;
}

/****** Post Formatting ******/
.post div.postheader div.post_title
{
	width: 100%;
}

.post div.postheader div.post_title h3
{
	text-transform: none;
        font-size: 11px;
	font-weight: normal;
	margin-top: -14px;
	width: 100%;
	border-bottom: 1px solid #ccc;
	padding-bottom: 2px;
}

.post div.postheader div.post_title h3 a:link, .post div.postheader div.post_title h3 a:visited
{
	color: #7da939;
}

.post div.postheader div.post_title .comments
{
	background: url('images/comment.gif') no-repeat left center; 
	padding-left: 20px;
}

.postmetadata
{
  	color: #666;
  	width: 100%;
  	padding: 4px 0 4px 0;
  	height: 16px;
  	line-height: 16px;
  	font-size: 11px;
  	background-color: #f1f1f1;
  	border-top: 1px solid #bbb;
  	margin-bottom: 30px;
}

.post blockquote
{
	color: #76767a;
	background-color: #f2f2f2;
	padding: 6px 14px;
	margin: 18px 35px;
	border-right: 1px solid #DDD;
	border-bottom: 1px solid #DDD;
}

.post ul li
{
	list-style: square;
	margin-bottom: 5px;
	line-height: 115%;
	margin-left: 42px;
}

.post ol li
{
	margin-bottom: 5px;
	line-height: 115%;
	margin-left: 48px;
}
	
#tags
{
	padding: 3px;
	border-bottom: 1px solid #DDD;
	border-top: 1px solid #DDD;
}

.post_info
{
	background-color: #f1f1f1;
	font-size: 1.2em;
	padding: 10px;
}

/****** Form Elements ******/
select
{
	background-color: #f2f2f2;
	border: 1px solid #9c9c9c;
	width: 100%
}
	
#searchform
{
	padding: 15px 5px;
}

#searchform .searchform_title
{
	font-weight: bold;
	text-transform: uppercase;
}

.button
{
	padding: 1px;
	background-color: #000;
	color: #e7e7e7;
	border: none;
}

.button:hover
{
	background-color: #777;
	color: #FFF;
	text-decoration: none;
}

.commentrss_link
{
	background: url(images/feed_icon.png) no-repeat left center;
	padding: 3px 0 3px 20px;
}
.trackback_link
{
	background: url(images/trackback_icon.png) no-repeat left center;
	padding: 3px 0 3px 20px;
}


#commentform input
{
	width: 170px;
	margin: 5px 5px 1px 0;
}

#commentform textarea
{
	width: 100%;
	margin-top: 5px;
}

/****** Comments ******/
.commentlist
{
	list-style: none;
}

.commentlist li
{
	padding-top: 20px;
}

#comment_text
{
	margin-top: 14px;
	padding: 0 10px 10px;
	border-top: 2px solid #7da939;
	border-bottom: 1px solid #bbb;
	background-color: #f2f2f2;
}

.commentlist cite
{
	font: 1.6em Georgia, "Times New Roman", Times, serif;
	font-weight: bold;
	letter-spacing: -0.05em;
}	

/****** Float Properties ******/
.clearfloat:after
{
	display: block;
	visibility: hidden;
	clear: both;
	height: 0;
	content: ".";
}
	
.clearfloat
{
	display: inline-block;
}

.clearfloat
{
	display: block;
}

/****** Footer *******/
#footer
{
	margin: 0 auto;
	width: 900px;
	font-size: 0.7em;
	padding-top: 15px;
	color: #fff;
}

#footer a
{
	color: #d3d1d1;
}

/******* 404 *******/
.errorpage
{
	font-size: 12px;
	text-align: justify;
}

.errorpage h1
{
	font-size: 26px;
	font-weight: normal;
	color: #7da939;
	text-transform: uppercase;
	margin-bottom: -18px;
}

.errorpage h5
{
	color: #7da939;
}