/*
Theme Name: WP-Andreas01
Theme URI: http://andreasviklund.com/wordpress-themes/
Description: The first public theme by Andreas, based on the andreas01 open source website template. More themes and add-ons are available from the author's website.
Version: 1.3
Author: Andreas Viklund
Author URI: http://andreasviklund.com/
Latest updated: July 15th, 2006
Thanks and greetings: R.J Kaplan (who did the first WordPress port of this design), Rob Miller (who wrote the List Subpages code), Ainslie Johnson (who helped with betatesting and bugfixing) and Johanna Fält (for whom this theme was originally created).
*/

/* Body */
*{margin:0; padding:0;}
body{background:#f4f4f4 url(img/bg.gif) top center repeat-y; color:#303030; font:76% Verdana,Tahoma,Arial,sans-serif;}
#wrap{background-color:#ffffff; color:#303030; margin:0 auto; width:772px;}

/* Links */
a{background-color:inherit; color:#286ea0; text-decoration:none;}
a:hover{background-color:inherit; color:#030039; text-decoration:none;}
a img{border:0;}

/* Header */
#header{margin:10px 0 0;}
#frontphoto{margin:5px 0 10px;}

/* Sidebars */
#leftside{clear:left; float:left; line-height:1.4em; margin:0 0 5px; width:140px;}
#leftside p, #leftside ul, #leftside div.textwidget{font-size:0.9em; margin:0 0 5px;}
#leftside li {line-height:1.2em; list-style:none; margin:0 0 6px;}
#leftside ul ul {margin:6px 0 0 10px;}
#leftside ul ul li {margin:0 0 4px;}
#leftside ul ul li a {font-weight:normal;}
#leftside ul.linklist {font-size:1em;}
#leftside ul.linklist ul {margin:0 0 18px;}
#leftside ul.linklist ul li a {font-weight:bold;}
#leftside h2, #leftside ul.linklist li h2, #leftside h3 {background-color:inherit; color:#505050; font-size:1.2em; margin:0 0 10px;}
#leftside label {display:none;}

#right{float:right; line-height:1.4em; margin:0 0 5px; padding: 5px 2 5 5; width:162px;}
#right p, #right ul, #right div.textwidget{font-size:0.9em; margin:0 0 18px;}
#right li{line-height:1.2em; list-style:none; margin:0 0 6px;}
#right ul ul{margin:6px 0 0 10px;}
#right ul ul li{margin:0 0 4px;}
#right ul ul li a{font-weight:normal;}
#right ul.linklist{font-size:1em;}
#right ul.linklist ul{margin:0 0 18px;}
#right ul.linklist ul li a{font-weight:bold;}
#right h2, #right ul.linklist li h2, #right h3{background-color:inherit; color:#505050; font-size:0.9em; margin:0 0 10px; padding:10px 0 0 0}
#right label{display:none;}
#right a, #right a:hover{text-decoration:none;}
#update a{font-weight:bold; color:#030039;}
#update a:hover{font-weight:bold; color:#286ea0;text-decoration:underline;}


/* Main menu */
#menu ul{list-style:none; margin:0 0 18px; width:140px;}
#menu li{display:inline; line-height:1.4em; width:140px;}
#menu ul li a{background-color:#f4f4f4; border-left:4px solid #030039; color:#505050; float:left; font-weight:bold; margin-bottom:5px; padding:5px 1px 5px 2px; text-decoration:none; width:140px;}
#menu ul li a:hover{background-color:#eaeaea; border-left:4px solid #286ea0; color:#505050;}
#menu ul ul li a{background-color:#f4f4f4; border-left:4px solid #286ea0; color:#505050; float:left; margin-bottom:5px; padding:5px 1px 5px 2px; text-decoration:none; width:125px;}
#menu ul ul li a:hover{background-color:#eaeaea; border-left:4px solid #030039; color:#505050;}
#menu ul{font-size:0.9em;margin:0 0 0 3px;padding:0 0 5px;width:125px;}
#menu ul a{padding:3px 1px 3px 5px;width:115px;}
#menu ul ul{width:125px;}
#menu ul ul a{width:125px;}

/* Content */
#content{border-left:1px solid #e0e0e0;border-right:1px solid #e0e0e0;line-height:1.6em;margin:0 165px 5px 155px;padding:0 5px;}
#contentwide{border-left:1px solid #f0f0f0;line-height:1.6em;margin:0 0 5px 150px;padding:0 0 0 10px;}
#content img,#contentwide img{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;}
.post{margin:0 0 25px;}
#content p a:hover{text-decoration:underline;}
.postinfo {background-color:#f4f4f4;border-left:4px solid 
#cccccc;color:#606060;font-size:0.9em;font-weight: 500; line-height:1.5em;margin:1px 0 40px;padding:8px 3px 8px 8px;}
.comment{background-color:#f4f4f4;border-left:4px solid #cccccc;color:#606060;margin:0 0 10px;padding:8px 5px 0 8px;}
.comment p.commenthead{line-height:1.6em;}
.comment p{font-size:0.9em;line-height:1.3em;margin:0 0 6px;padding-bottom:5px;}


/* Footer */
#footer{background-color:#ffffff;border-top:2px solid #e0e0e0;clear:both;color:#030039;font-size:0.9em;font-weight:normal;line-height:1.3em;margin:0 auto;padding:10px 0;text-align:center;width:772px;}
#footer p{margin:0;padding:0;}
#footer a{background-color:inherit;color:#808080;font-weight:normal;text-decoration:none;}
#footer a:hover{background-color:inherit;color:#286ea0;text-decoration:none;}

/* 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:#505050;}
#subpages ul.submenu li.current_page_item ul li a{background-color:#f4f4f4;border-left:4px solid #cccccc;color:#505050;}

/* Tags */
p,ul,ol{margin:0 0 16px;}
blockquote{border-left:4px solid #e0e0e0;margin:20px;padding:8px 8px 5px 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 0 18px;width:140px;}
h2{font-size:1.0em;margin:0 0 10px;}
h3{font-size:1.6em;font-family: palatino;margin:0 0 8px;}
h2,h3, h2 a, h3 a{color:#030039; text-decoration:none; font-weight:bold}
h2 a:hover, h3 a:hover{color:#286ea0; text-decoration:none;}

/* Forms */
#s,#submit{background-color:#ffffff;border:1px solid #cccccc;color:#505050;font-size:0.8em;margin:0 0 16px;padding:3px;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%;}

/* 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;}
.navigation{display:block;margin:10px 0;padding:0 0 15px;text-align:center;}
.navigation p{margin:0;padding:0;}
.prevlink{margin-right:20px;}
.nextlink{margin-left:20px;}