/*
Restructuring and modifications by fgb
Original design: andreas07 (v2.0 - Jul 07, 2008) - A free xhtml/css website template by Andreas Viklund and stylishtemplate.com.
For more information, see http://andreasviklund.com/templates/andreas07/
*/

/* *** Colors *** */

/* Backgrounds */
body, #leftside, #menu a{ background:#c2c9c9; }
#menu a:hover{ background:#f0f0f0; }
#menu a.active, #menu a.active:hover, #content, #submit{ background:#fafafa; }

/* Fonts */
body{ color:#404040; }
a img { color:#fafafa; }
a, #leftside h1, #content h1, #content h3, #submit{ color:#596691; }
#menu a:hover{	color:#303030; }
a:hover, #menu a.active:hover, #submit:hover{ color:#505050; }
#leftside h2, #leftside h3, #leftside a, #content h2{	color:#808080; }
#extras{	color:#666; }
#leftside h3, #leftside p, #menu a, #extras h2, #extras h3{	color:#606060; }
#bydate{ color:#A5A5A5; }

/* Borders */
#menu a.active, #content{ border-style: solid; border-color: #c0c0c0; }
#extras h2, #extras h3{ border-style: solid; border-color: #b0b0b0; }


/* *** Main tags *** */
body{
	margin:0;
	padding:0;
	font:76% Verdana,Tahoma,sans-serif;
}
ul{
	margin:5px 0 16px 5px;
	padding:0;
}
li{
	margin:0 0 8px 15px;
	padding:0;
}
/* img{
	margin:10px;
} */
a, #submit{
	font-weight:bold;
	text-decoration:none;
	border-style:none;
    padding:0;
}
a:hover{
	text-decoration:underline;
}
    

/* *** Wrap *** */
#wrap{
	min-width: 1000px;
}


/* *** Left sidebar *** */
#leftside{
	width:20%;
	text-align:right;
	float:left;
}
#leftside h1{
	margin:20px 18px 0 5px;
	font-size:1.6em;
	text-align:right;
}
#leftside h2, #leftside h3{
	margin:0 20px 18px 5px;
	font-size:1.1em;
	font-weight:bold;
	text-align:right;
}
#leftside h3{
	margin:20px 18px 4px 5px;
}
#leftside p{
	margin:0 20px 18px 5px;
	font-size:0.8em;
}


/* *** Navigation menu *** */
#menu a{
	display:block;
	padding:5px 16px 5px 0;
	font-size:1.6em;
	font-weight:normal;
	text-decoration:none;
}
#menu a.active{
	padding:5px 18px 5px 0;
	margin: 0 -2px 0 0;
	border-width: 2px 0;
}


/* *** Content area *** */
#content{
	margin:0 20%;
	padding: 10px 22px;
	border-width: 0 2px 2px 2px;
}
#content p{
	margin: 10px 0 16px 0;
	line-height:1.5em;
	font-size:1.3em;
}
#content h1{
	margin:10px 0 30px 0;
	font-size:3.6em;
	text-align:center;
}
#content h2{
	margin-top:-30px;
	font-weight:normal;
	font-size:2em;
	text-align:center;
}
#content h3{
	margin:20px 0 10px 0;
	font-weight:normal;
	font-size: 2em;
}
#content h4{
	margin: 0;
}


/* *** Right sidebar *** */
#extras{
	width:18%;
	margin-right: 1%; 
	float:right;
}
#extras h2, #extras h3{
	margin:10px 0 12px 0;
	font-size:1.6em;
	font-weight:400;
	text-align:center;
	border-width: 0 0 2px;
}
#extras p{
	line-height:1.4em;
	margin: 0 0 15px 0;
}


/* *** Footer *** */
#footer{
	margin:0 20%;
	padding:0 1%;
    text-align:right;
}
#footer a, a:hover{
	text-decoration:none;
}
.separator{
    color:#999;
}
#thanks a{
    float:right;
	font-weight:400;
}

