/*
Original design: andreas01 (v3.0 - Apr 24, 2008) - A free xhtml/css website template by Andreas Viklund.
For more information, see http://andreasviklund.com/templates/andreas01/
*/

/* Main body */
body {background:#f4f4f4; color:#404040; font:76% Verdana,Tahoma,Arial,sans-serif; margin:0 auto; padding:0; text-align:center; }
#wrap {background-color:#fff; color:#404040; margin:0 auto; padding:0; width:980px; text-align:left; border-left:1px solid #555; border-right:1px solid #555; border-bottom:1px solid #555; }
/*
#wrap {width:960px; background-color:#fff; color:#555; padding:10px; margin:10px auto 0 auto; text-align:left; border:1px solid #555;}
*/
#inner {margin:0 10px; padding:0; width:960px;}

/* Basic tags */
a {background-color:inherit; color:#286ea0; font-weight:700; text-decoration:none;}
a:hover {background-color:inherit; color:#286ea0; text-decoration:underline;}
a img {border:0;}
p {margin:0 0 1.4em;}

/* Header */
/* #header {height:45px; margin:0; padding:0;} */
/* this started as original Andreas above */
#header {			/* Warning: not printed out on paper */
   color:           #003399;
   background:      #ffffff;
   margin:0; 
   padding:0;
width:980px; 
}

#header a:link,
#header a:visited {
   color:           #003399;
   background:      transparent;
}

#header .highlight,
#header a.highlight:link,
#header a.highlight:visited {
   color:           white;
   background:      transparent;
}

/* Left part of header (ideally an image but may be a link) */

#header div.headleft {
   float:           left;
   clear:           left;
   margin:          0;
   padding:         0;
}

#header div.headleft img {
   display:         block;	/* Otherwise IMG is an inline, causing gaps */
}

#header div.headleft,
#header div.headleft a:link,
#header div.headleft a:visited {
   font-size:       200%;
   font-weight:     bold;
   text-decoration: none;
   color:           white;
   background:      transparent;
}

#header div.headleft p {
   margin:          0 0 0 0.25em;
   padding:         0;
}

#header div.headleft .alt {
   color:           #FF9800;
   background:      transparent;
}

/* Right part of header is for external/global links, search, etc */

#header div.headright {
   font-size:       90%;
   text-align:      right;
   margin:          0;
   padding:         0.5em 1.17em 0 1em;
   float:           right;
   clear:           right;
 }

#header div.headright a:link,
#header div.headright a:visited {
   margin:          0;
   padding:         0 0.5em;
}

#header div.headright form {
   margin:          0;
   padding:         0.25em 0.5em 0 0;
}

#header div.headright form input {
   font-size:       95%;
   vertical-align:  middle;
}

/* Subheader for global links */

#header div.subheader {
   color:           white;
   background:      #003399;
   margin:          0;
   padding:         0.2em;
   border-bottom:          1px solid #003399; /* Required for IE/Win */
   clear:           both;
}

#header div.subheader p {	/* To overcome an IE/Win unwanted padding */
				/* bug, still present in IE7.             */
   margin:          0;
   padding:         0.5em;
}

#header div.subheader a:link,
#header div.subheader a:visited {
   font-weight:     bolder;
   color:           white;
   background:      transparent;
   margin:          0;
   padding:         0 0.5em;
}

#header div.subheader .highlight,
#header div.subheader a.highlight:link,
#header div.subheader a.highlight:visited {
   color:           #FDA05E;
   background:      transparent;
}















/* below is the original andreas */
#header h1 {background-color:inherit; color:#505050; float:left; font-size:2em; margin:0 0 10px; width:460px;}
#header h1 a {background-color:inherit; color:#505050; text-decoration:none;}
#header p {float:right; font-weight:700; line-height:1.3em; margin:8px 0 0; text-align:center; width:510px;}
#frontphoto {border:0; margin:0 0 10px;}

/* Breadcrumb */
#breadcrumb {width:958px; text-align:left; margin:10px 0 10px 0; border:1px solid #ccc; background-color:#f0f0f0; color:#777; font-size:0.9em; clear:both;}
#breadcrumb p {margin:2px 2px 2px 10px; padding:0;}


/*Left and right sidebar */
#leftside {clear:left; float:left; margin:0 0 5px; padding:0; width:200px;}
#rightside {float:right; line-height:1.4em; margin:0 0 5px; padding:0; width:200px;}
#leftside p,#leftside ul, #rightside p,#rightside ul {margin:0 0 16px; padding:0;}
#leftside p, #rightside p {font-size:0.9em; line-height:1.4em;}
#leftside li, #rightside li {line-height:1.2em; list-style:none; margin:0 0 6px; padding:0;}
#leftside ul ul, #rightside ul ul {margin:6px 0 0 10px; padding:0;}
#leftside ul ul li, #rightside ul ul li {margin:0 0 4px;}
#leftside ul ul li a, #rightside ul ul li a {font-weight:400;}
#leftside h2,#leftside h3, #rightside h2,#rightside h3 {color:#505050; font-size:1.2em; margin:0 0 8px; padding:0;}

/* Main menu */
#leftside ul.avmenu, #rightside ul.avmenu {display:block; list-style:none; margin:0 0 18px 0; padding:0; width:200px;}
#leftside ul.avmenu li, #rightside ul.avmenu li {display:inline; line-height:1.4em; padding:0; width:200px;}
#leftside ul.avmenu li a, #rightside ul.avmenu li a {background-color:#f4f4f4; border-left:4px solid #286ea0; color:#505050; float:left; font-weight:700; margin-bottom:5px; padding:5px 1px 5px 5px; text-decoration:none; width:190px;}
#leftside ul.avmenu li a:hover,#leftside ul.avmenu li a.current, #rightside ul.avmenu li a:hover,#rightside ul.avmenu li a.current {background-color:#eaeaea; border-left:4px solid #286ea0; color:#505050;}
#leftside ul.avmenu ul, #rightside ul.avmenu ul {font-size:0.9em; margin:0 0 0 15px; padding:0 0 5px; width:185px;}
#leftside ul.avmenu ul a, #rightside ul.avmenu ul a {font-weight:400; padding:3px 1px 3px 5px; width:175px;}
#leftside ul.avmenu ul ul, #rightside ul.avmenu ul ul {width:173px;}
#leftside ul.avmenu ul ul a, #rightside ul.avmenu ul ul a {width:160px;}

/* Main content */
#content {border-left:1px solid #e0e0e0; border-right:1px solid #e0e0e0; line-height:1.5em; margin:0 210px 5px; padding:0 10px;}
#contentwide {border-left:1px solid #e0e0e0; line-height:1.5em; margin:0 0 5px 210px; padding:0 0 0 10px;}
#contentwide2 {border-right:1px solid #e0e0e0; line-height:1.5em; margin:0 210px 5px 0; padding:0 10px 0 0;}
#content h1,#contentwide h1,#contentwide2 h1 {font-size:1.8em; color:#286ea0; margin:0 0 10px;}
#content h2,#contentwide h2,#contentwide2 h2 {font-size:1.6em; margin:0 0 10px;}
#content h3,#contentwide h3,#contentwide2 h3 {font-size:1.3em; margin:0 0 8px;}
#content img,#contentwide img,#contentwide2 img {background:#ccc; border:4px solid #f0f0f0; color:#303030; display:inline; padding:1px;}
#content ul,#contentwide ul,#contentwide2 ul,#content ol,#contentwide ol,#contentwide2 ol {margin:0 0 16px 20px; padding:0;}
#content li,#contentwide li,#contentwide2 li {margin:0; padding:0 0 0 5px;}
#content ul ul,#contentwide ul ul,#contentwide2 ul ul,#content ol ol,#contentwide ol ol,#contentwide2 ol ol {margin:0 0 0 16px; padding:0;}
div.alert { background: #ffffa0; border: 1px solid #e5e597; }

/* Footer */
#footer {background:#fff; border-top:2px solid #e0e0e0; clear:both; color:gray; margin:0 auto; padding:10px 0; text-align:center; width:960px; line-height:1.5em; font-size:0.9em;}
#footer p {margin:0; padding:0;}
#footer a {background-color:#fff; color:gray; font-weight:400; text-decoration:none;}
#footer a:hover {text-decoration:underline;}
#footer span {font-size:1.2em;}

/* Additional classes */
.left {float:left; margin:3px 10px 2px 0;}
.right {float:right; margin:2px 0 2px 10px;} 
.textright {text-align:right; margin:5px 0;}
.center {text-align:center;}
.small {font-size:0.8em;}
.bold {font-weight:700;}
.timestamp {font-size:1.2em; margin:-5px 0 15px 10px;}
.timestamp a {font-weight:400;}
.announce {background-color:#f4f4f4; border:1px solid #286ea0; clear:left; color:#505050; font-size:0.9em; line-height:1.5em; margin:10px 0 15px; padding:7px 5px 2px 5px; width:188px;}
.announce p {margin:10px 0 0; padding:0;}
.postinfo {background-color:#f4f4f4; border-left:4px solid #ccc; color:#606060; font-size:0.9em; line-height:1.4em; margin:1px 0 20px; padding:8px 5px 8px 8px;}
.clearing {clear:left; margin:0; padding:0; visibility:hidden;}
.hide {display:none;}
.right_box {background-color: #e3f0f2; border:1px solid #addde6; clear:right; color:#505050; font-size:0.9em; line-height:1.5em; margin:10px 0 15px; padding:7px 5px 2px 5px; width:188px;}
.right_box p {margin:10px 0 0; padding:0;}

