/*
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.2
Author: Andreas Viklund
Author URI: http://andreasviklund.com/

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 and main container *****/
body {
margin:0 auto;
padding:0;
font:76% Verdana,Tahoma,Arial,sans-serif;
background:#f4f4f4 url(img/bg.gif) top center repeat-y;
color:#303030;
}

#wrap {
background-color:#dddd99;
color:#303030;
margin:0 auto;
width:890px;
border: solid white 10px;
}

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

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

a img {
border:0;
}

/***** Header *****/

#frontphoto {
margin:0 0 10px 0;
border:0;
}


/***** Left and right sidebars *****/
#leftside {
clear:left;
float:left;
width:120px;
margin:5px 10px 5px 10px;
padding:0;
line-height:1.4em;
display: inline;
}

#extras {
float:right;
width:180px;
margin:5px 10px 5px 5px;
padding:0;
line-height:1.4em;
display: inline;
}

/***** Sidebar styles *****/

#leftside p, #leftside ul, #leftside div.textwidget, #extras p, #extras ul, #extras div.textwidget{
font-size:0.9em;
margin:0 5px 18px;
padding:3px;
}

#leftside li, #extras li {
list-style:none;
line-height:1.2em;
margin:0 5px 6px;
padding:0;
}

#leftside ul ul, #extras ul ul {
margin:6px 5px 0;
padding:0;
}

#leftside ul ul li, #extras ul ul li {
margin: 0 5px 5px;
}

#leftside ul ul li a, #extras ul ul li a {
font-size:1.1em;
font-weight:normal;
}

#leftside h2, #leftside h3, #extras h2, #extras h3 {
color:#505050;
background-color:dddd99;
font-size:1.2em;
margin:0 5px 10px;
padding:0;
}

#leftside label, #extras label {
display:none;
}

/***** Main menu *****/
ul.page{
width:110px;
margin:0 0 18px;
padding:0;
list-style:none;
}

ul.page li {
width:110px;
padding:0;
line-height:1.4em;
display:inline;
}

ul.page li a {
background-color:#dddd99;
color:#505050;
font-weight:bold;
width:110px;
float:left;
margin-bottom:5px;
padding:5px 1px 5px 5px;
border-left:4px solid #cccccc;
text-decoration:none;
display: inline;
}

ul.page li a:hover, ul.page li.current_page_item a {
background-color:#f5deb3;
border-left:4px solid #286ea0;
color:#505050;
}

ul.page ul {
margin:0 0 0 15px;
padding:0 0 5px 0;
font-size:0.9em;
width:125px;
}

ul.page ul a {
padding:3px 1px 3px 5px;
width:115px;
}

ul.page ul ul {
width:113px;
}

ul.page ul ul a {
width:100px;
}

/***** Main content *****/
#content {
margin:0 200px 5px 140px;
border-left:1px solid #e0e0e0;
border-right:1px solid #e0e0e0;
padding:0px 10px;
line-height:1.6em;
}

#contentwide {
margin:0 0 5px 140px;
border-left:1px solid #f0f0f0;
padding:0 0 0 10px;
line-height:1.6em;
}

#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 {
padding:0;
float:left;
margin:3px 10px 3px 0;
border:1px solid #d0d0d0;
}

#content ul, #contentwide ul, #content ol, #contentwide ol {
margin:0 0 16px 20px;
padding:0;
}

#content li, #contentwide li {
margin:0;
padding:0 0 0 5px;
}

#content ul ul, #contentwide ul ul, #content ol ol, #contentwide ol ol{
margin:0 0 0 16px;
padding:0;
}

/***** Footer *****/
#footer {
clear:both;
margin:0 auto;
padding:10px 0 20px;
border-top:4px solid #f0f0f0;
width:875px;
text-align:center;
color:#808080;
background-color:#dddd99;
font-size:0.9em;
}

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

#footer a:hover {
text-decoration:underline;
}

/*** Sub-pages menu ***/
#subpages {
border-bottom:1px solid #e0e0e0;
border-left:1px solid #e0e0e0;
float:right;
font-weight:bold;
line-height:1.3em;
margin:-5px -5px 8px 10px;
padding:0 10px 10px 10px;
width:140px;
}

#subpages h2 {
font-size:1.2em;
font-weight:bold;
letter-spacing:-1px;
margin:0 5px 12px;
line-height:1.3em;
padding:0;
}

#subpages ul.submenu {
line-height:1.4em;
margin:0;
padding:0;
list-style:none;
}

#subpages ul.submenu li {
width:130px;
padding:0;
line-height:1.4em;
display:inline;
}

#subpages ul.submenu li a {
background-color:#f4f4f4;
color:#505050;
font-weight:bold;
width:130px;
float:left;
margin-bottom:5px;
padding:3px 1px 3px 5px;
border-left:4px solid #cccccc;
text-decoration:none;
display: inline;
}

#subpages ul.submenu li ul {
width:130px;
padding:0;
margin:0 0 5px 10px;
}

#subpages ul.submenu li ul li {
width:130px;
padding:0;
margin:0;
}

#subpages ul.submenu li ul li a {
width:130px;
}

#subpages ul.submenu li a:hover, #subpages ul.submenu li.current_page_item a{
background-color:#f5deb3;
border-left:4px solid #286ea0;
color:#505050;
}

#subpages ul.submenu li.current_page_item ul li a{
background-color:#f5deb3;
border-left:4px solid #cccccc;
color:#505050;
}

/*** Footer ***/
#footer {
border-top:2px solid #e0e0e0;
clear:both;
color:#808080;
font-size:0.9em;
font-weight:normal;
margin:0 auto;
padding:10px 0;
text-align:center;
width:875px;
}

#footer p {
margin:0;
padding:0;
}

#footer a {
color:#808080;
font-weight:normal;
text-decoration:none;
}

#footer a:hover {
color:#505050;
background-color:inherit;
text-decoration:underline;
}

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

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

a img {
border:0;
}

p,ul,ol {
margin:0 0 16px;
}

blockquote {
border-left:4px solid #286ea0;
margin:20px;
padding:8px 8px 8px 15px;
}

blockquote p {
color:#505050;
background-color:inherit;
font-size:1.0em;
line-height:1.3em;
margin:0;
}

label {
color:#606060;
background-color:inherit;
font-weight:bold;
font-size:0.9em;
}

/*** Forms ***/
#s,#submit {
background-color:#f5deb3;
border:1px solid #cccccc;
color:#505050;
font-size:0.9em;
margin:0 0 16px 0;
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;
}

/*** WP-Calendar ***/
table#wp-calendar {
width:140px;
margin:0 0 18px 0;
}

/*** Float fix ***/
.contenttext {
overflow:hidden;
}

* html .contenttext {
overflow:visible;
height:1px;
}

* html .contenttext p {
width:99%;
overflow:hidden;
}

/*** Various classes ***/
.left {
border:1px solid #cccccc;
float:left;
margin:10px 15px 10px 0;
display: inline}

.right {
border:1px solid #cccccc;
float:right;
margin:10px 0 5px 10px;
display: inline}

.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 10px 25px;
}

.postinfo {
background-color:#dddd99;
color:#606060;
font-size:0.9em;
font-weight:bold;
line-height:1.5em;
margin:1px 0 40px;
border-left:4px solid #cccccc;
padding:8px 5px 8px 8px;
}

.comment {
background-color:#f4f4f4;
border-left:4px solid #cccccc;
color:#606060;
margin:0 0 10px;
padding:8px 5px 4px 8px;
}

.comment p.commenthead {
line-height:1.6em;
padding:0;
}

.comment p {
font-size:0.9em;
line-height:1.3em;
margin:0 0 6px;
padding:0;
}

.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;
}