body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
	font-size: 1em; /* 16px */
	color: #575757;
	text-align: center; /* IE6 block alignment */
	background: #2788de;
	background: -moz-linear-gradient(top, #4b7ed8, #4b7ed8);
}

p, div, h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	clear: both;
}

a:link, a:visited, a:active {
	color: #008bd0;
}

a:hover, a:focus {
	color: #69d02b;
}

a img {
	border: none;
}

div.clearfix {
	height: 1px;
	clear: both;
}

#header_wrapper {
	width: 100%;
	height: 267px;
	overflow: hidden;
	background: transparent url('../images/template/header_bg.jpg') left top repeat-x;
}

#banner {
	margin: 16px auto 0;
	width: 980px;
	height: 251px;
	overflow: auto;
	background: #FFFFFF url('../images/template/banner.jpg') center top no-repeat;
}

#content_wrapper {
	width: 100%;
	min-height: 250px; /* backround gradient to become fixed */
	background: transparent url('../images/template/body_bg.jpg') left top repeat-x;
}

* html #content_wrapper { height: 250px; } /* IE6 min-height */

#navigation {
	width: 980px;
	height: 59px;
	line-height: 59px;
	overflow: hidden;
	margin: 0 auto;
	background: #149fe4 url('../images/template/nav_bg.jpg') left top no-repeat;
	border-top: 2px solid #0082c1;
}

#menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

#menu li {
	margin: 0;
	padding: 0;
	float: left;
}

#menu li.first {
	
	padding-left: 1px;
}

* html #menu li.first { /* IE6 */
	padding-left: 5px;
}

#menu li.last {
	
	padding-right: 0px;
}

* html #menu li.last { /* IE6 */
	padding-right: 5px;
}

#menu a:link, #menu a:visited, #menu a:active {
	display: block;
	margin: 0;
	padding: 0 18px;
	font-size: 1.125em; /* 18px for 16px */
	color: #FFFFFF;
	text-decoration: none;
	background: transparent url('../images/template/nav_sep.jpg') right center no-repeat;
}

* html #menu a:link, * html #menu a:visited, * html #menu a:active { /* IE6 */
	padding: 0 20px;
}

#menu li.last a { background-image: none; }

#menu a:hover, #menu a:focus {
	color: #69d02b;
	text-decoration: underline;
}

#menu .current a:link, #menu .current a:visited, #menu .current a:active {

}

#content {
	margin: 14px auto 0;
	width: 820px; /* 980 - (80*2) */ 
	padding: 36px 80px;
	text-align: left;
	font-size: 0.875em; /* 14px */
	background: #FFFFFF url('../images/template/content_top.jpg') top center no-repeat;
	position: relative;
}

#content:after {
	content:url('../images/template/content_bottom.jpg');
	position: absolute;
	left: 0;
	bottom: 0;
}

#content h1 {
	margin-bottom: 10px;
	color: #008bd0;
	font-size: 2.0em; /* 28px from 14px */
}
#content h2 {
	margin-bottom: 5px;
	color: #008bd0;
	font-size: 1.4em; /* 28px from 14px */
}

#footer {
	margin: 0 auto;
	width: 980px;
	height: 214px;
	overflow: hidden;
	background: #0281c0 url('../images/template/footer_bg.jpg') top left repeat-x;
	text-align: left;
	color: #ffffff;
	font-size:  0.875em; /* 14px */
	line-height: 2em;
}

#footer div {
	position: relative;
	clear: none;
}

#footer h2 {
	margin-bottom: 20px;
	font-size: 1.3em; /* ~18px from 14px */ 
	font-weight: bold;
}

#footer ul {
	list-style-type: square;
	margin: 0;
	padding: 0 0 0 20px;
}

#footer a:link, #footer a:visited, #footer a:active {
	color: #FFFFFF;
	text-decoration: none;
}

#footer a:hover, #footer a:focus {
	color: #69d02b;
	text-decoration: underline;
}

#footer-left {
	width: 266px; /* 332px */
	height: 140px; /* 214 px */
	padding: 34px 38px 40px 28px;
	overflow: hidden;
	float: left;
	background: transparent url('../images/template/footer_left_bg.jpg') top right no-repeat;
}

#footer-center {
	width: 308px; /* 376px */
	height: 140px; /* 214 px */
	padding: 34px 34px 40px;
	overflow: hidden;
	float: left;
	background: transparent url('../images/template/footer_center_bg.jpg') top center no-repeat;
}

#footer-center img {
	position: absolute;
	top: 0;
	right: 20px;
	z-index:0;
}

#footer-center p {
	position: relative;
	z-index: 2;
}

#footer-right {
	width: 196px; /* 272px */
	height: 140px; /* 214 px */
	padding: 34px 38px 40px 38px;
	overflow: hidden;
	float: left;
	background: transparent url('../images/template/footer_right_bg.jpg') top left no-repeat;
}

#base {
	margin: 0 auto;
	width: 980px;
	height: 23px;
	border-top: 2px solid #0082c1;
	background: #63b806 url('../images/template/footer_base_bg.jpg') top left repeat-x;
}

.avd {
	margin: 5px auto 10px;
	font-size: 0.75em;
	text-align: center;
}

.avd a:link, .avd a:visited, .avd a:active {
	color: #ccc;
	text-decoration: none;
}

.avd a:hover, .avd a:focus {
	text-decoration: underline;
	color: #FFF;
}

/** boxes **/
.box {
	width: 397px;
	height: 270px;
	overflow: hidden;
	margin: 0 0 38px 0;
	clear: none;
}

.box.left { float: left;}
.box.right { float: right;} 

#content .box h2 {
	margin-bottom: 5px;
	width: 347px;
	padding-left: 50px;
	line-height: 41px;
	color: #ffffff;
	font-size: 1.3em; /* ~18px from 14px */
	font-weight: bold;
	background: #82d600 url('../images/template/box_header.jpg') top left no-repeat;
}

.box-inner {
	width: 100%;
	height: 183px;
	overflow: hidden;
	border-bottom: 2px solid #82d600;
	background-color: #ebebeb;
}

.box img {
	display: block;
	margin: 0;
	padding: 0;
}

.box p {
	margin: 20px;
}

.box a:link, .box a:visited, .box a:active {
	color: #ffffff;
	text-decoration: none;
}

.box a:hover, .box a:focus {
	color: #008bd0;
	text-decoration: underline;	
}

.box a.boxlink:link, .box a.boxlink:visited, .box a.boxlink:active {
	display: block;
	margin: -1px 0 0 0; /* overlap border of .inner-box */
	width: 201px;
	line-height: 41px;
	text-align: center;
	font-size: 1.14em; /*16px from 14px */
	font-weight: bold;
	float: right;
	background: #82d600 url('../images/template/box_link.jpg') top right no-repeat;
}

/** galleries **/

.gallery {
	width: 100%; 
	margin: 20px 0;
}

.gallery ul {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.gallery li, .gallery div {
	margin: 0 0 20px 0;
	padding: 0;
	width: 33.3%;
	height: 196px;
	overflow: hidden;
	float: left;
	text-align: center;
	clear: none;
}

.gallery a:link, .gallery a:visited, .gallery a:active {
	display: block;
	margin: 0 auto;
	padding: 0;
	border: 1px solid #31b2f3;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	text-decoration: none !important;
	float: left;
}

.gallery a:hover, .gallery a:focus {
	border-color: #FF9900;
}

.gallerytext li, .gallerytext div {
	height: 253px;
	position: relative;
}

.gallerytext span, .gallerytext p {
	display: block;
	clear: left;
	width: 248px; /* 258px */ 
	height: 46px;
	margin: 0 0 0 0;
	padding: 4px 5px;
	font-size: 0.86em; /* ~12px from 14px */
	text-align: left;
	border: 1px solid #31b2f3;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	border-top: none;
}

* html .gallerytext span, * html .gallerytext p { /* IE6 */
	position: absolute;
	top: 195px;
	left: 0px;
}
