/* andreas01 - an open source xhtml/css website layout by Andreas Viklund (http://andreasviklund.com). Made for OSWD.org, free to use as-is for any purpose as long as the proper credits are given for the original design work. For design assistance and support, contact me through my website or through http://oswd.org/email.phtml?user=Andreas

Version: 1.0
(July 25, 2005)

Screen layout: */

body
{
	margin: 0 auto;
	padding: 0;
	font: 85% "Myriad Pro", "Myriad Web", "Lucida Grande", "Trebuchet MS", "Tahoma", "Helvetica", "Arial", sans-serif;
	background: #f4f4f4 url(bg.gif) top center repeat-y;
}

#page
{
	position: relative;
	left: 10px;
	display: inline;
}

#pageheadwrap
{
	margin: 0;
	padding: 0 0 0 18px;
	background: url(boxtop.gif) no-repeat top left;
	line-height: 60px;
}

#pageheadwrap h2
{
	width: 595px;
	height: 60px;
	margin: 0;
	font-size: 20px;
	color: #FFFFFF;
	font-family: Geneva, Arial, Helvetica, sans-serif;
}

#pagebodwrap
{
	margin-top: 0px;
	padding: 3px 30px 0 17px;
	background-image: url(boxrep.gif);
	background-repeat: repeat-y;
}

#pagefootwrap
{
	background-image: url(boxbottom.gif);
	background-repeat: no-repeat;
}

#wrap
{
	background: #ffffff;
	color: #303030;
	margin: 0 auto;
	width: 760px;
	overflow:hidden;
}

#header
{
	clear: both;
	margin: 0 0 0 2px;
	padding: 0;
	border-bottom-width: 2px;
	border-bottom-color: #999999;
}

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

#avmenu
{
	width: 150px;
	margin: 10px 0 10px 0;
	padding: 0;
	font-size: 0.9em;
}

#avmenu ul
{
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;

}

#avmenu li
{
	margin-bottom: 3px;
	/*display: inline;*/
}

#avmenu li a
{
	width: 150px;
	display: block;
	padding: 0 0 0 8px;
	background: #121ba4;
	color: white;
	border-left: 4px solid #5786b4;
}

#avmenu li a:hover
{
	background: #D2D2D2;
	color: #286ea0;
	border-left: 4px solid #A8C6DE;
}

#announce
{
	width: 130px;
	color: #505050;
	background-color: #f4f4f4;
	line-height: 1.3em;
	/*margin: 10px 0 10px 0;*/
	padding: 10px;
}

#sideright
{
	float: right;
	width: 302px;
	margin: 0 0 10px 0;
	font-size: 0.9em;
	line-height: 1.5em;
	background-color: #f4f4f4;
}

#sideright p
{
	margin: 0 0 0em 0em;
	border-left: 6px;
	border-left-color: #98C5D8;
	border-left-style: solid;
	padding-left: 10px;
}

#sideright h2
{
	color: #505050;
	background-color: #9ED7F1;
	border-bottom-width: 10px;
	border-bottom-color: #286ea0;
	border-bottom-style: solid;
}

#sideright h2 div { margin-left: 1em; }
#sideright h2, #sideright p { margin-left: 10px; }
#sideright_spacer { height: 300px; }

#middle
{
	margin: 0 310px 20px 160px;
	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
	padding: 0 10px 0 10px;
	line-height: 1.6em;
	text-align: left;
}

#middle h2
{
	font-size: 1.5em;
	margin: 0 0 0.5em 0;
}

#middle img
{
	padding: 1px;
	display: inline;
	background: #cccccc;
	border: 4px solid #f0f0f0;
}

#bottom
{
	width: 600px;
	float: right;
	background-color: #f4f4f4;
	color: #505050;
}

#bottom h3 { color: #505050; }
#bottom_spacer { margin-left: 1em; }

.rounded
{
	background-color: #f4f4f4;
	margin-left: 10px;
	margin-bottom: 15px;
	margin-right: 5px;
	width: 600px;
}

.padding { padding: 10px; }
.imgheader { }

h3
{
	font-size: 1.3em;
	margin: 0 0 10px 0;
}

a
{
	text-decoration: none;
	color: #286ea0;
}

a:hover
{
	text-decoration: none;
	color: #98C5D8;
}

a img { border: 0; }

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

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

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

.left
{
	margin: 10px 10px 5px 0;
	float: left;
}

.right
{
	margin: 10px 0 5px 10px;
	float: right;
}

.textright { text-align: right; }
.center { text-align: center; }
.small { font-size: 0.8em; }
.bold { font-weight: bold; }
.hide { display: none; }

/* nifty corners */
.rtop,.artop { display: block; }

.rtop *,.artop *
{
	display: block;
	height: 1px;
	overflow: hidden;
	font-size: 1px;
}

.artop *
{
	border-style: solid;
	border-width: 0 1px;
}

.r1,.rl1,.re1,.rel1 { margin-left: 5px; }
.r1,.rr1,.re1,.rer1 { margin-right: 5px; }
.r2,.rl2,.re2,.rel2,.ra1,.ral1 { margin-left: 3px; }
.r2,.rr2,.re2,.rer2,.ra1,.rar1 { margin-right: 3px; }
.r3,.rl3,.re3,.rel3,.ra2,.ral2,.rs1,.rsl1,.res1,.resl1 { margin-left: 2px; }
.r3,.rr3,.re3,.rer3,.ra2,.rar2,.rs1,.rsr1,.res1,.resr1 { margin-right: 2px; }
.r4,.rl4,.rs2,.rsl2,.re4,.rel4,.ra3,.ral3,.ras1,.rasl1,.res2,.resl2 { margin-left: 1px; }
.r4,.rr4,.rs2,.rsr2,.re4,.rer4,.ra3,.rar3,.ras1,.rasr1,.res2,.resr2 { margin-right: 1px; }
.rx1,.rxl1 { border-left-width: 5px; }
.rx1,.rxr1 { border-right-width: 5px; }
.rx2,.rxl2 { border-left-width: 3px; }
.rx2,.rxr2 { border-right-width: 3px; }
.re2,.rel2,.ra1,.ral1,.rx3,.rxl3,.rxs1,.rxsl1 { border-left-width: 2px; }
.re2,.rer2,.ra1,.rar1,.rx3,.rxr3,.rxs1,.rxsr1 { border-right-width: 2px; }
.rxl1,.rxl2,.rxl3,.rxl4,.rxsl1,.rxsl2,.ral1,.ral2,.ral3,.ral4,.rasl1,.rasl2 { border-right-width: 0; }
.rxr1,.rxr2,.rxr3,.rxr4,.rxsr1,.rxsr2,.rar1,.rar2,.rar3,.rar4,.rasr1,.rasr2 { border-left-width: 0; }
.r4,.rl4,.rr4,.re4,.rel4,.rer4,.ra4,.rar4,.ral4,.rx4,.rxl4,.rxr4 { height: 2px; }

.rer1,.rel1,.re1,.res1,.resl1,.resr1
{
	border-width: 1px 0 0;
	height: 0px !important;
	/**/
}
