/* Some general overall styles */

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #C2C4BA;
	width: 90%;
	min-width: 780px;
	margin: 0 auto;
	font-family: verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
}

a:link, a:hover, a:visited, a:focus, a:active {
	color: #7A9D00;
}

a img {
	border: none;
}

h2 {
	position: relative; /* Needs to be positioned to allow for corners - see below */
	padding-left: 40px;
	background: #DADED2 url('/res/images/arrow.png') 5px 50% no-repeat;
	color: #444444;
	font-size: 12px;
	padding-top: 10px;
	padding-bottom: 10px;
}

h3 {font-size: 14px; padding-top: 7px}
img {display: block}

ul, p, h3 {
	margin: 12px;
}

ol li, blockquote {
	margin-left: 2em;
}

blockquote {margin-left: 3em}
div.content {width: 600px; padding-left: 1em}
div.content p.l, div.content p.p {/*width: 500px; */color: #444444; font-size: 10px; float: none}
div.content p.l {height: 270px}
/*div.content p.l img {margin: 0 auto}*/

table.lined {background-color: #AAAAAA; margin: 1em}
table.lined td {background-color: white; padding: 2px}

p.pl {width: 100%; text-align: center}
p.pl img {width: 90%; max-width: 240px}
p.l, p.p {width: 320px; height: 350px; text-align: center; float: left; margin: 1em 2em 2em 1em}
p.l img, p.p img, p.pl img {margin-bottom: 5px; display: block}
/*p.l img {margin-bottom: 80px}*/
p.p img {margin: 0 auto}

ul, ol {
	padding-left: 2em;
}

div.clearer {
	clear: both;
	height: 1px;
	font-size: 1px;
}

.centre {
	text-align: center;
}

.centreblock {
	margin: 0 auto;
}

/* Main template design */

#wrapper {
	background-color: white;
	padding: 20px;
}

#topmenu {
	float: right;
	width: 55%;
}

#topmenu ul, #foot ul {
	list-style-type: none;
	width: 90%;
	text-align: right;
	margin-top: 43px;
}

#topmenu li, #foot li {
	display: inline;
	border-left: 1px solid #C2C4BA;
	padding: 0 10px;
}

#topmenu li.first, #foot li.first {
	border-left: none;
}

#topmenu a:link, #topmenu a:visited, #foot a:link, #foot a:visited {
	text-decoration: none;
	/*color: black;*/
}

#head {
	background-color: #C7E44B;
	height: 250px;
	position: relative;
	margin-top: 25px;
}

#head_tl, #head_bl {
	position: absolute;
	left: 0;
	width: 7px;
	height: 7px;
}

#head_tl {
	top: 0;
	background-image: url('/res/images/corners/head_tl.png');
}

#head_bl {
	bottom: 0;
	background-image: url('/res/images/corners/head_bl.png');
}


#download_btn {
	position: absolute;
	top: 73px;
	right: 462px;
}

#mainmenu {
	background: transparent url('/res/images/head_right.jpg') top right no-repeat;
	height: 250px;
}

#mainmenu ul {
	list-style-type: none;
	padding: 20px 25px 0 0;
	margin: 0 615px 25px 0;
}

/*#mainmenu ul:hover li a {
	background-color: transparent;
}

#mainmenu ul:hover li a .menu_tr, #mainmenu ul:hover li a .menu_br {
	display: none;
}*/

#mainmenu ul li a:link, #mainmenu ul li a:visited {
	display: block;
	width: 100%;
	color: white;
	font-weight: bold;
	text-decoration: none;
	padding: 7px 0 7px 25px;
	position: relative;
}

#mainmenu ul li.current {
	color: white;
	font-weight: bold;
	text-decoration: none;
	padding: 7px 0 7px 25px;
	margin-right: -25px;
	position: relative;
}

.menu_tr, .menu_br {
	position: absolute;
	display: none;
	width: 7px;
	height: 7px;
}

#mainmenu ul li a:hover, #mainmenu ul li a:active, #mainmenu ul li a:focus {
	background-color: #B4DC46;
}

#mainmenu li.current, #mainmenu li a.current {
	background-color: #AACC31;
}

#mainmenu ul li a:hover .menu_tr, #mainmenu ul li a:hover .menu_br, #mainmenu ul li a:active .menu_tr, #mainmenu ul li a:active .menu_br, #mainmenu ul li a:focus .menu_tr, #mainmenu ul li a:focus .menu_br, #mainmenu ul li.current .menu_tr, #mainmenu ul li.current .menu_br, #mainmenu ul li a.current .menu_tr, #mainmenu ul li a.current .menu_br {
	display: block;
}

#mainwrapper, #footwrapper {
	margin: 2em 0;
	background-color: #F0F5E1;
	border: 1px solid #DFDFDF;
	position: relative;
	min-height: 0;
}

.main_tl, .main_tr, .main_bl, .main_br {
	position: absolute;
	width: 7px;
	height: 7px;
}

.main_tl {
	background-image: url('/res/images/corners/main_tl.png');
	top: -1px;
	left: -1px;
}

.main_tr {
	background-image: url('/res/images/corners/main_tr.png');
	top: -1px;
	right: -1px;
}

.main_br {
	background-image: url('/res/images/corners/main_br.png');
	bottom: -1px;
	right: -1px;
}

.main_bl {
	background-image: url('/res/images/corners/main_bl.png');
	bottom: -1px;
	left: -1px;
}

#leftcol, #midcol, #rightcol {
	float: left;
	width: 33%;
}

.colcontainer {padding: 0.5em}

#rightcol {
	float: right;
}

.heading_tl, .heading_tr, .heading_bl, .heading_br {
	display: block;
	position: absolute;
	width: 5px;
	height: 5px;
}

.heading_tl {
	background-image: url('/res/images/corners/heading_tl.png');
	top: 0px;
	left: 0px;
}

.heading_tr {
	background-image: url('/res/images/corners/heading_tr.png');
	top: 0px;
	right: 0px;
}

.heading_br {
	background-image: url('/res/images/corners/heading_br.png');
	bottom: 0px;
	right: 0px;
}

.heading_bl {
	background-image: url('/res/images/corners/heading_bl.png');
	bottom: 0px;
	left: 0px;
}

#foot {
	color: #7F7F7F;
	margin-bottom: 0px;
	padding: 20px 20px 0px 10px;
	/*font-size: 90%;*/
	height: 3em;
}

#foot ul {
	float: left;
	width: auto;
	margin: 0;
	padding: 0;
	text-align: left;
}

#foot a:link, #foot a:visited {
	/*color: #7F7F7F;*/
	white-space: nowrap;
}

#foot p {
	float: right;
	margin: 0;
	padding: 0;
	text-align: right;
	white-space: nowrap;
	width: auto;
}
