/*
Theme Name: KH_orange

Based On: wp-andreas01
Theme URI: http://andreasviklund.com/wordpress-themes/
Description: Updated for WordPress v2.6, now supporting tags, gravatars and other useful features. Originally based on the classic <a href="http://andreasviklund.com/templates/andreas01/">andreas01 CSS template</a>. Valid XHTML 1.0 Strict and CSS. Public domain.
Version: 2.0
Author: Andreas Viklund
Author URI: http://andreasviklund.com/
Tags: 2 columns, 3 columns, white, widgets, fixed width, 960px, andreas
*/

/* Body */
* {
	margin:0;
	padding:0;
}

html, body {
	margin:0;
	padding:0;
	height:100%;
}
	
body {
	background:#ffd2b3;
	color:#303030;
	font:76% Verdana,Tahoma,Arial,sans-serif;
}

#wrap {
	min-height:100%;
	background-color:#999;
	margin:0 auto;
	width:960px;
}

/* Links */
a {
	background-color:inherit;
	color:#286ea0;
	font-weight:bold;
	text-decoration:none;
}

a:hover {
	background-color:inherit;
	color:#286ea0;
	font-weight:bold;
	text-decoration:underline;
}

a img {
	border:0;
}

/* Header */
#header {
background-color:#cfcfcf;
width:960px;
height:100px;
background-image:url(img/front.jpg);
margin-top:21px;
margin-bottom:10px;
left:0;
top:0}
/*
#header h1 {
	background-color:#cfcfcf;
	color:#555;
	font-size:2em;
	letter-spacing:-1px;
	margin:0 0 10px;
	width:350px;
}

#header h1 a {
	background-color:inherit;
	color:#555;
	text-decoration:none;
}

#header p {
	background-color:inherit;
	color:#777;
	float:right;
	font-size:1.1em;
	font-weight:bold;
	line-height:1.3em;
	margin:6px 0 0;
	text-align:center;
	width:400px;
}
*/
/*#frontphoto {margin:0 0 10px 0;}*/

/**************Rules for the menu_bar*********************/
#menu_bar {
	width:960px;
	height:52px;
	background-color: #666;
    }
	
#menu_bar ul {
    margin:0;
    padding:0;
    list-style:none;
    }
	
#menu_bar li {
    float:left;
    margin:0;
    padding:0;
	background-image:url(img/menu_item_blue.jpg);
	background-color:#cfcfcf;
    }
	
#menu_bar a {
    display:block;
	width:160px;
	height:52px;
	text-align:center;
	line-height:3em;
	text-decoration:none;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	background-image:url(img/menu_item_blue.jpg);
	font-size:large;
	color:#666;
    }
	
#menu_bar .currentpage a {
	background-image:url(img/menu_item_blue.jpg);
	font-weight:bold;
	color:#ffff00;
}

#menu_bar a:active {
background-image:url(img/menu_item_down_blue.jpg);
}

/* Sidebars */
#leftside {clear:left; float:left; line-height:1.5em; margin:10px; padding:0; width:120px; border:1px solid #d35c02;}
#extras {float:right; line-height:1.4em; font-size:small; margin:10px 10px 10px 0px; padding:0; width:120px; border:1px solid #d35c02;}
#searchform #s{width: 110px;}
#leftside p, #leftside ul, #leftside div.textwidget, #extras p, #extras ul, #extras div.textwidget {font-size:0.9em; margin:0 0 18px;}
#leftside li, #extras li {line-height:1.2em; list-style:none; margin:0 0 6px;}
#leftside ul ul, #extras ul ul {margin:6px 0 0 10px;}
#leftside ul ul li, #extras ul ul li {margin:0 0 4px;}
#leftside ul ul li a, #extras ul ul li a {font-weight:normal;}
#leftside ul.linklist, #extras ul.linklist {font-size:1em;}
#leftside ul.linklist ul, #extras ul.linklist ul {margin:0 0 20px;}
#leftside ul.linklist ul li a, #extras ul.linklist ul li a {font-weight:bold;}
#leftside h2, #leftside ul.linklist li h2, #leftside h3, #extras h2, #extras ul.linklist li h2, #extras h3, table#wp-calendar caption {background-color:inherit; color:#505050; font-size:1.3em; font-weight:normal; text-align:left; margin:0 0 6px;}
#leftside label, #extras label {display:none;}

/* Main menu */
ul.page {list-style:none; margin:0 0 20px; width:100px; border:1px solid #d35c02;}
ul.page li {display:inline; line-height:1.4em; width:100px;}
ul.page li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#505050; float:left; font-weight:bold; margin-bottom:5px; padding:5px 1px 5px 5px; text-decoration:none; width:90px;}
ul.page li a:hover, ul.page li.current_page_item a {background-color:#eaeaea; border-left:4px solid #286ea0; color:#505050;}
ul.page ul {font-size:0.9em; margin:0 0 0 15px; padding:0 0 5px; width:95px;}
ul.page ul a {padding:3px 1px 3px 5px; width:95px;}
ul.page ul ul {width:93px;}
ul.page ul ul a {width:80px;}

/* Content */
#content { height:100%; line-height:1.6em; margin:10px 140px 5px; padding:5px; border:1px solid #d35c02; background-color:#cfcfcf; text-align:justify;}
#contentwide {line-height:1.6em; margin:0 0 5px 150px; padding:0;}
/*#content h2,*/#contentwide h2 {font-size:1.6em; margin:0 0 10px;}
#content h3,#contentwide h3 {font-size:1.4em; margin:0 0 8px;}
#content img,#contentwide img {border:1px solid #d0d0d0; float:left; margin:3px 10px 3px 0;}
#content ul,#contentwide ul,#content ol,#contentwide ol {margin:0 0 16px 20px;}
#content li,#contentwide li {padding:0 0 0 5px;}
#content ul ul,#contentwide ul ul,#content ol ol,#contentwide ol ol {margin:0 0 0 16px;}
#content .post h2 {margin-bottom:0; line-height:1em;}
#content .post small {line-height:1em; margin-bottom:15px; color:#286EA0;}

/* Footer */
#footer {font-size:0.9em; clear:both; color:#777; font-weight:normal; line-height:1.7em; margin:0 auto; padding:10px 0; text-align:center; width:960px;}
#footer p {margin:0; padding:0;}
#footer a {color:#777; font-weight:normal; text-decoration:none;}
#footer a:hover {color:#555; text-decoration:underline;}
#footer strong a {font-weight:bold;}
#footer span.credits {font-size:1.1em;}

/* Subpage menu */
#subpages {border-bottom:1px solid #e0e0e0; border-left:1px solid #e0e0e0; float:right; font-weight:bold; line-height:1.3em; margin:-5px 0 8px 15px; padding:0 0 10px 10px; width:190px;}
#subpages h2 {font-size:1.2em; font-weight:bold; letter-spacing:-1px; line-height:1.3em; margin:0 0 12px;}
#subpages ul.submenu {line-height:1.4em; list-style:none; margin:0;}
#subpages ul.submenu li {display:inline; line-height:1.4em; width:180px; padding:0;}
#subpages ul.submenu li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#505050; float:left; font-weight:bold; margin-bottom:5px; padding:3px 1px 3px 5px; text-decoration:none; width:180px;}
#subpages ul.submenu li ul {margin:0 0 5px 10px; width:170px;}
#subpages ul.submenu li ul li a {width:170px;}
#subpages ul.submenu li ul ul {margin:0 0 5px 10px; width:160px;}
#subpages ul.submenu li ul ul li a {width:160px;}
#subpages ul.submenu li ul ul ul {margin:0 0 5px 10px; width:150px;}
#subpages ul.submenu li ul ul ul li a {width:150px;}
#subpages ul.submenu li a:hover,#subpages ul.submenu li.current_page_item a {background-color:#eaeaea; border-left:4px solid #286ea0; color:#555;}
#subpages ul.submenu li.current_page_item ul li a {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#555;}

/* Tags */
/*p,ul,ol {margin:0 0 18px;}*/
blockquote {border-left:4px solid #e0e0e0; margin:20px; padding:8px 8px 8px 15px;}
blockquote p {background-color:inherit; color:#505050; font-size:0.9em; line-height:1.3em;}
label {background-color:inherit; color:#606060; font-size:0.9em; font-weight:bold;}
table#wp-calendar {margin:0; width:110px;}
code {font-size:1.2em; display:block; padding:5px 5px 5px 8px; background-color:#f4f4f4; margin:5px 0 15px 0;border-left:4px solid #cccccc;}

/* Forms */
#s,#submit {background-color:#ffffff; border:1px solid #cccccc; color:#505050; font-size:0.9em; margin:0 0 16px; padding:4px; width:130px;}
#author,#email,#url,#comment {border:1px solid #cccccc; font-family:Verdana,Tahoma,Arial,Sans-Serif; font-size:1em; margin:0; padding:4px;}
#commentsection {margin:25px 0 0;}
#commentsection p {margin:0 0 6px;}

/* Float fix */
.contenttext {overflow:hidden;}
* html .contenttext {height:1px; overflow:visible;}
* html .contenttext p {overflow:hidden; width:99%;}

/* WP image align classes */
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;}

/* Various classes */
.left {border:1px solid #cccccc; float:left; margin:10px 15px 10px 0;}
.right {border:1px solid #cccccc; float:right; margin:10px 0 5px 10px;}
.center {border:1px solid #aaaaaa; margin:5px auto 12px; text-align:center;}
.textright {text-align:right;}
.small {font-size:0.8em;}
.bold {font-weight:bold;}
.hide {display:none;}
.post {margin:0 0 25px;}
.postinfo {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#606060; font-size:0.9em; font-weight:bold; line-height:1.5em; margin:1px 0 30px; padding:8px 5px 8px 8px;}
.comment {background-color:#f4f4f4; border-left:4px solid #cccccc; color:#606060; margin:0 0 10px; padding:8px 5px 0 8px;}
.comment p {font-size:0.9em; line-height:1.3em; margin:0 0 6px; padding-bottom:5px;}
.gravatarside {float:right; width:48px; height:48px; margin:0 5px 5px 5px;}
.navigation {display:block; margin:10px 0 20px 0; padding:0; text-align:center;}
.navigation p {margin:0; padding:0;}
.prevlink {margin-right:20px;}
.nextlink {margin-left:20px;}
.hidden {position:absolute; left:0px; top:-500px; width:1px; height:1px; overflow:hidden;}