/*  
Theme Name: Factolex
Theme URI: http://www.factolex.com/
Description: Our factolex theme
Version: 1.0
Author: Nader Cserny
Author URI: http://www.factolex.com
*/


/* Browser 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, strong, 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;
}

:focus { outline: 0; }

body { color: black; background: white; }

body, p, div { line-height: 1.4em; }

strong { font-weight: bold; }

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

ul { list-style-type: none; }

ol { list-style-type: decimal; }

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: "" ""; }


/* Standards */

body { font-family: Arial, Helvetica, Verdana, sans-serif; }

a, a:link, a:visited { color: #002fa5; text-decoration: none; }

a:hover { color: #002fa5; text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	color: #666;
	font-weight: normal;
}

h1 {
	font-size: 20pt;
	border-bottom: 1px solid #dfe0df;
	padding-bottom: 0.2em;
	margin-bottom: 0em;
	color: #444;
}

#header h1 {
	margin: 0.4em 0 0 0;
}

#content h2 {
	font-size: 18pt;
	margin-top: 0em;
	margin-bottom: 0.4em;
}

#sidebar h2 {
	font-size: 12pt;
	margin-top: 2em;
}


h3 {
	font-size: 12pt;
	margin-top: 2.6em;
	margin-bottom: 0.6em;
}

.tags { margin-top: -1.2em; margin-bottom: 1.4em;}


/* Layout Elements */

#header {
	background: #e0e0e0 url('img/header_bg.png');
	background-repeat: repeat-x;
	border-bottom: 1px solid #cecece;
	padding: 1.3em 1em 1em 1em;
	height: 3.6em;
}

#logo { float: left; line-height: 1em }

#login a { margin-left: 1em; }

#subheader {
	padding: 0.2em 1em 0.2em 1.1em;
	background-color: #f5f5f5;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 3em;	
	color: #666;
	font-size: 90%;
	clear: both;
}

.navigation {
	clear: both;
	height: 4em;
}


#content {
	width: 65%;
	margin-left: 1em;
	float: left;
	margin-bottom: 4em;
}

#sidebar {
	float: right;
	margin-right: 1em;
	width: 28%;
	font-size: 90%;
}

#sidebar .box {
	border: 1px solid #dcdcdc;
	background: url('img/box_bg.png');
	background-repeat: repeat-x;
	padding: 0.9em 0.9em 0.9em;
	margin-bottom: 0.9em;
}

#sidebar #map {
	height: 20em;
}

#sidebar .box h3 { margin-top: -0.2em; }

#sidebar .box.yellow {
	background: #f8f4da url('../img/box_bg_yellow.png');
	background-repeat: repeat-x;
}

#sidebar .box.blue {
	background: #f2f9ff url('../img/box_bg_blue.png');
	background-repeat: repeat-x;
	padding: 0.3em 0.4em 0.3em 0.6em;	
}

#sidebar .box table .col_label, #sidebar .box table .col_field, #sidebar .box table .col_fact, #sidebar .box table td {
	padding: 0.5em 0 0 0;
	background: none;
}

#sidebar .box ul {
	list-style-type: disc;
	margin-left: 1.1em;
}



#footer, #copyright {
	font-size: 9pt;
	color: #666;
	padding: 0.5em 1.2em 0.5em 1.4em;	
	margin: 0
}

#footer {
	background-color: #efefef;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;	
	clear: both;
}

#copyright {
	padding-top: 1em;
	margin-bottom: 2em;
}

#search {
	float: right;
	text-align: right;
	margin-top: 0.9em;
}

#search-input {
	padding: 0.2em 0 0.1em 0.4em;
	margin-right: 0.5em;
	width: 15em;
	float: left;
}

#search-input.blur { color: #666; }


table td {
	padding: 0.4em 0.7em 0.4em 0.7em;
	border: 0;
	margin: 0;
	border-bottom: 1px solid #fff;
	vertical-align: top;
}


small, .small, .postmetadata { font-size: 10pt; }

.postmetadata {
	clear: both;
	border-top: 1px solid #ddd;
	padding-top: 0.5em;
	margin-bottom: 3em;
	margin-top: 2em;
}

.entry {
	margin-top: 1.4em;
}

.floatright { float: right }
.floatleft { float: left }

small, .grey, a.grey, .tags a, ol#factlist, .source, .source a, .source a:link, .source a:active, .source a:visited { color: #666; }

.red { color: red; }

.green { color: green; }


ol { margin: 0.8em 0 1em 1.2em; }


blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	color: #666;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}


.link-feed {
	background: url('img/icon_feed.gif');
	background-position: 0 0.3em;
	background-repeat: no-repeat;
	padding: 0.3em;
	padding-left: 1.7em;
}
.imgborder {
	border: 1px solid #999;
}
tt {
	font-family: Monaco, "Courier New", monospace;
	background-color: #eee;
	padding: 0.2em;
}

.small { font-size: 90%; }
.smaller { font-size: 74%; }

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */


