﻿html, body {border: 0; margin: 0; padding: 0;}

body {
  	font: 90%/1 arial, helvetica, sans-serif;
	background: url(images/bg_repeat.jpg) repeat 0 0;
  	line-height: 130%;
  	width: 100%;
  	min-width: 970px;
}

/***** Common Formatting *****/

h1, h2, h3, h4, h5, h6 {
  	margin: 0;
  	padding: 0;
  	font-weight: normal;
}

p {margin: 0; padding: 0 0 18px 0;}

ul {list-style: none; margin: 0; padding: 0;}

blockquote {
  	font-family: Georgia, "Times New Roman", Times, serif;
  	font-style: italic;
  	color: #666;
	margin: 10px 20px;
	display: block;
}

code {
  	display: block;
  	background-color: #F5F4F3;
  	border: #E2DBD8 1px solid;
  	color: #666666;
  	padding: 3px 5px;
  	margin: 10px 15px;
	font-size: 1.2em;
}

pre {
  	padding: 1em;
  	border: 1px dashed #2f6fab;
  	color: black;
  	background-color: #f9f9f9;
  	line-height: 1.1em;
}

small {font-size: 0.85em;}

big {font-size: 1.4em;}

.red {
	color: #FF0000;
}


/***** Links *****/

a {
  	text-decoration: none;
  	color: #0099CC;
}

a:hover {text-decoration: none; color: #00CCFF;}

a img {
  border: none;/*remove border for linked images*/
}
/***** Global Classes *****/
.clear {clear: both;}

.alignleft {display: block; float: left;}

.alignright {display: block; float: right;}

.aligncenter {
  	display: block;
  	text-align: center;
  	margin: 0 auto;
}

.endOfSection {
  	clear: both;
  	width: 100%;
  	height: 0;
  	line-height: 0;
  	font-size: 0;
  	padding: 0;
  	margin: 0;
  	border: 0;
}

/* images */
img {border: none;}

img.alignleft,
img.alignright,
img.aligncenter {
	display: block;
	padding: 3px;
	background: #F5F4F3;
	border: 1px solid #E8E4E2;
}

img.alignleft {
	float: left;
	margin: 0 10px 2px 0;
}

img.alignright {
	float: right;
	margin: 0 0 2px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

/***** Main Layout ****/

#container {
  	width: 100%;
  	height: 100%;
  	text-align: center;/* IE fix to center the page */
  	background: url(images/bg.jpg) repeat-x 0 0;
	position: relative;
	z-index: 0;
}

#wrapper {
  	width: 960px;
  	background: url(images/bg_content.jpg) repeat-y top left;
  	margin: 0 auto;/* center the page in Firefox */
  	text-align: left;
	position: relative;
	z-index: 2;
}

/***** TOP PAGE *****/
#top {
	height: 90px;
	padding: 0 25px;
  	background: #F4F4EA url(images/bg.jpg) repeat-x 0 0;
}

#top .logo {
	width: 360px;
  	height: 45px;
  	float: left;
  	clear: left;
  	margin-top: 45px;
	margin-left: 20px;
}

#top .logo a {
	display: block;
	width: 100%;
	height: 100%;
}

/***** SIDEBAR *****/
#sidebar {
	display: block;
	float: left;
	width: 255px;
	height: 430px;
	padding-left: 15px;
	margin-bottom: 30px;
	font-size: 0.8em;
	background: url(images/sidebar_bg.jpg) no-repeat 0 0;
}

/* Language */
#top ul.lang {
  	height: 36px;
	width: auto;
  	float: right;
  	clear: right;
  	font-weight: bold;
	line-height: 36px;
	margin-right: 50px;
  	color: white;
  	font-size: 80%;
	text-align: center;
  	background: url(images/lang_r.jpg) no-repeat right 0;
	padding-right: 40px;
}

#top ul.lang li.left {
  	background: url(images/lang_l.jpg) no-repeat left 0;
  	height: 36px;
	width: 40px;
	padding: 0;
	margin: 0;
  	display: block;
	float: left;
}

#top ul.lang li {
 	text-align: left;
  	padding: 0 6px;
	display: block;
	float: left;
	height: 36px;
  	background: url(images/lang_bg.jpg) repeat-x 0 0;
}

#top ul.lang li a {
	color: #8EF433;
}

#top ul.lang li a:hover {
	color: white;
}

/***** HEADER *****/
#header {
	width: 100%;
	height: 214px;
	background: url(images/header.jpg) no-repeat;
	position: relative;
	z-index: 1;
	color: white;
	font-family: "Trebuchet MS",Tahoma, Arial, sans-serif;
}

#header .intro {
	width: 500px;
	height: 130px;
	padding: 50px 0 0 30px;
}

#header .intro h1 {
	font-size: 1.8em;
	padding: 5px 0 5px 0;
	line-height: 1em;
	font-weight: bold;
	text-transform: uppercase;
}

#header .intro h2 {
	font-size: 1.4em;
	padding: 0;
	margin: 0;
	font-weight: bold;
}

#header .intro p {
	font-size: 1.2em;
	padding: 0;
	margin: 0;
	color: #333;
}


/***** CONTENT *****/
#content {
	display: block;
	float: left;
	clear: left;
	width: 635px;
	padding: 20px;
	margin: 0 0 30px 0;
	clear: both;
	text-align: justify;
	font-size: 0.9em;
}

#content h1 {
	background: #F8F7F3 url(images/flying-bird.png) no-repeat 0 bottom;
	border: #EEEEDF 1px solid;
	height: 20px;
	font-size: 1.4em;
	font-variant: small-caps;
	font-weight: bold;
	padding: 5px 0 0 30px;
	margin: 10px 0;
	color: #006699;
}

#content h2 {
	background: #F8F7F3;
	border: #EEEEDF 1px solid;
	height: 20px;
	font-size: 1.4em;
	font-variant: small-caps;
	font-weight: bold;
	padding: 5px 0 0 30px;
	margin: 10px 0;
	color: #65C80B;
}

#content h3 {
	font-size: 1.4em;
	color: #4A4A4A;
	font-weight: bold;
	margin: 30px 0 10px 0;
	padding: 5px 0;
}

#content h4 {
	font-size: 1.2em;
	color: #333;
	font-weight: bold;
	margin: 10px 0 10px 20px;
}

#content a {
	text-decoration: underline;
}

#content p {
	padding: 5px 0  5px 15px;
}

#content ul, #content ol {
	padding: 5px 0 5px 20px;
	margin-left: 15px;
}

#content ul li {
	background: url(images/bullet.jpg) 0 6px no-repeat;
	padding-left: 15px;
}

.content300
{
	width: 300px;
	display: block;
	float: left;
}

/* content typography */
#content .dwnld,
#content .note,
#content .error {
	display: block;
	width: 585px;
	min-height: 35px;
	float: left;
	margin: 10px 0;
	padding: 7px 10px 7px 40px;
	border-top: #EBE8D7 1px solid;
	border-bottom: #EBE8D7 1px solid;
	line-height: normal;
}

#content .error {
	background: #FF9D9D url(images/error.gif) no-repeat 5px 4px;
	border-top: #FF3300 1px solid;
	border-bottom: #FF3300 1px solid;
	min-height: 20px;
}

#content .full  {
	width: 870px !important;
}

/***** FOOTER *****/
#footer {
	clear: both;
	width: 960px;
	height: 150px;
	background: #F4F4EA url(images/footer_bg.jpg) repeat-x 0 0;
	color: #999;
	font-size: 0.9em;
}

#footer a {
	color: #999;
	border-bottom: 1px dotted #555;
}

#footer a:hover {
	color: #bbb;
	border-bottom: none;
}

#footer .foot_l {
	background: url(images/footer_l.jpg) no-repeat left top;
	width: 80px;
	height: 74px;
	float: left;
}

#footer .foot_l a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
	border: 0;
}

#footer .foot_r {
	background: url(images/footer_r.jpg) no-repeat right top;
	width: 26px;
	height: 74px;
	float: right;
	clear: none;
}

#footer .foot_content {
	display: block;
	clear: none;
	width: 800px;
	float: left;
	clear: none;
	padding: 10px 0 0 0;
	text-align: center;
}

#footer .foot_content p {
	margin: 0;
	padding: 0;
	line-height: 20px;
}

#footer .foot_info {
	display: block;
	clear: both;
	width: 850px;
	margin: 0 auto;
	text-align: center;
	font-size: 0.80em;
	line-height: normal;
}


/* Navigation menu */
#nav {
	display: block;
	background: transparent url(images/nav_bg.jpg) repeat-x left top;
	padding: 0;
	margin: 0;
	height: 34px;
	z-index: 100;
  	position: relative;
	width: 100%;
	list-style: none;
	text-align: center;
}

#nav li {
	text-align: center;
	display: block;
	float: left;
	height: 34px;
	margin: 0;
	padding: 0;
  	position: relative;
	background: url(images/nav_sep.jpg) no-repeat 0 0;
}

#nav li a {
	float: left;
	height: 25px;
	padding: 0 15px;
	padding-top: 9px;
	color: #ccc;
	font-size: 0.9em;
	margin-left: 2px;
}

#nav li a:hover {
	background: url(images/nav_over.jpg) repeat-x 0 0;
	color: white;
}

#nav li a.active {
	background: url(images/nav_over.jpg) repeat-x 0 0;
  	color: white;
	font-weight: bold;
}

#nav li.sep {
	background: url(images/nav_sep.jpg) no-repeat 0 0;
	width: 2px;
	height: 34px;
	float: left;
}

#nav li.left {
	background: url(images/nav_l.jpg) no-repeat left top;
	width: 36px;
	height: 34px;
	float: left;
}

#nav li.right {
	background: url(images/nav_r.jpg) no-repeat right top;
	width: 36px;
	height: 34px;
	float: right;
}

#nav li ul {
	display: none;
	width: 170px;
	position: absolute;
	top: 34px;
	left: 0;
	margin: 0;
	padding: 0;
}

#nav li ul li {
  	border: 0;
  	height: 25px;
  	color: #99FF00;
  	background: #111;
  	margin: 0;
}

#nav li ul li a {
	display: block;
  	height: 25px;
  	width: 140px;
  	padding: 0 20px 0 15px;
  	border-top: 1px #333 solid;
  	white-space: nowrap;
  	background: #000;
  	color: white;
  	text-align: left;
  	line-height: 25px;
  	font-weight: normal;
}

#nav li ul li a:hover {
  	color: #99FF00;
  	background: #111;
}

/* Hacks for Opera to fix the drop down menu problem */
html:first-child #nav li a {
	float: none;
	height: 34px;
	padding-top: 0;
	line-height: 34px;
	display: block;
}
html:first-child #nav li ul li a {
  	height: 25px;
  	line-height: 25px;
}
