/* basic components */

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%; /* for footer functionality */
	overflow-y: scroll;

}

* html #nonfooter {
	height: 100%; /* for footer functionality */
}

* html #bg-wrapper {
	height: 100%; /* for footer functionality */
}

body {
	height: 100%; /* for footer functionality */
	background-color: #999999;
}

a {
	outline: none; /* kills mozilla link outlines */
}

p {
	color: #333333;
	font-family: arial, helvetica, sans-serif;
}

#bg-wrapper {
	margin: auto; 
	min-height: 100%; /* for footer functionality */
	height: auto !important;
	height: 100%;
	width: 800px;
	background-image: url('bg.jpg'); background-repeat: repeat-y;
}



#nonfooter {
	position: relative; 
	min-height: 100%; /* for footer functionality */
	height: auto !important;
	height: 100%;
	padding-bottom: 45px;
}

.hr {
	width: 92%; height: 2px;
	border-top: dotted #333333 2px;
	margin-left: auto; margin-right: auto;
}
	

.clearer {
	clear: both;
}

/* header components */

#header-wrapper {
	position: relative;
	height: 175px;
	padding: 1px 0;
}

#logo {
	width: 450px; height: 84px;
	position: absolute; right: 110px; top: 16px;
	border-left: dotted #000000 2px;
	border-right: dotted #000000 2px;
	background-image: url('logotrans.gif'); background-position: center;
	background-repeat: no-repeat;
}

#emblem {
	width: 72px; height: 72px;
	position: absolute; right: 26px; top: 23px;
	overflow: hidden;
}

#emblem a {
	display: block;
	width: 72px; height: 72px;
	text-indent: -9000em;
	background-image: url('emblem.gif');
}

#emblem a:hover {
	display: block;
	width: 72px; height: 72px;
	background-image: url('emblemhover.gif');
}
	
#contactblock {
	width: 195px; height: 60px;
	position: absolute; left: 30px; top: 34px;
	text-align: center; font-size: 9px;
	line-height: 1.75em; letter-spacing: 0.03em;
	overflow: hidden;
}

/* navigation */

#navbar {
	width: 760px; height: 65px; 
	margin-left: auto; margin-right: auto;
	position: absolute; top: 112px; left: 20px;
	background-color: #000000;
	overflow: hidden;
}

#nav {
	position: absolute; top: 6px; right: 90px;
	width: 335px; height: 50px;
}

#navbar h1 {
	color: #ffffff;
	position: absolute; top: 21px; right: 540px;
	text-align: right;
	font-family: verdana, arial, sans-serif;
	font-style: italic;
	font-weight: bold;
	font-size: 19px;
}

/* main content */

#content-wrapper {
	float: left;
	padding: 12px 5px 55px 12px;
	width: 776px; 
	font-size: 12px;
	line-height: 1.5em;
}

#leftbar {
	width: 224px; 
	float: left;
}

#leftbar p {
	font-size: 11px;
	text-align: right;
	margin: 12px 19px 15px 20px;
}

#leftbar p.title {
	font-size: 13px;
	font-weight: bold;
	font-family: times new roman, serif;
	color: #999999;
	letter-spacing: 0.06em;
	position: absolute; bottom: 10px; right: 0px;
	margin: 0px;
}

#leftbar p.float {
	float: left;
	position: relative; left: 40px; bottom: 3px;
	font-weight: bold;
}

#leftbar form {
	text-align: right;
	margin-right: 15px;
}

#leftbar-top {
	position: relative; left: 14px;
	width: 190px; height: 220px;
	border-bottom: dotted #000000 2px;
}

#leftbar-top img {
	float: right;
	border-style: none;
}

#leftbar-buttons {
	width: 70px; height: 180px;
	position: absolute; left: 0px;
}

#maintext {
	width: 450px; 
	min-height: 275px;
	height: auto !important;
	height: 275px;
	float: left;
	border-left: dotted #000000 2px;
	border-right: dotted #000000 2px;
}

#maintext a {
	text-decoration: none;
	color: #999999;
}

#maintext a:hover {
	color: #66ccff;
}

#maintext p {
	margin: 15px 20px; 
	text-align: justify;
}

#maintext p.head {
	font-weight: bold;
	font-family: times new roman, serif;
	font-size: 14px;
	color: #999999;
	word-spacing: 0.1em; letter-spacing: 0.2em;
}
	
#rightbar{
	width: 96px; 
	float: right;
}

#rightbar p{
	text-align: left;
	margin: 15px 15px 15px 17px;
}

#rightbar a {
	color: #cccccc;
	text-decoration: none;
	font-weight: bold;
}

#rightbar form {
	position: relative;
	top: 15px; left: 12px;
}

#rightbar a:hover {
	color: #66ccff;
	text-decoration: none;
}

/* footer components */
	
#footer-wrapper {
	position: relative;
	height: 45px; 
	margin-top: -45px;
	margin-left: auto; margin-right: auto;
	width: 800px;  /* prevents footer movement on window resize */
}
	
#footer {
	position: relative;
	margin: 0px auto 0 auto;
	width: 760px; height: 35px;
	background-color: #000000; 
}

#footer-nav {
	text-align: center;
	margin-top: -24px;
	font-family: verdana, arial, sans-serif;
	font-style: italic;
	font-weight: bold;
	font-size: 12px;
	color: #ffffff;
}

#footer-nav ul {
	position: relative;
	list-style-type: none;
}

#footer-nav li {
	border-right: 1px solid #ffffff;
	padding: 0 .9em;
	display: inline;
}

#footer-nav li.last {
	border: none;
}

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

#footer-nav a:hover {
	text-decoration: none;
	color: #66ccff;
}