html, body {
    background: #fff;
    color: #000;
	font-size:medium;
}

html {
	height: 100%;
	margin-bottom: 1px;
}

a[name] {
	padding-top: 4em;
}

a:link {
    background: #fff;
    color: #0000FF;
}

a:visited {
    background: #fff;
    color: #636;
}

h1, h2 {
	font-size: 100%;
	font-weight: bold;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 3px;
	margin-left: 0px;
}

h3, h4, h5, h6 {
	font-weight: bold;
}

h3 {
	text-align: center;
	font-size: 170%;
}

h4 {
	font-size: 120%;
}

h5 {
	font-size: 110%;
}

h6 {
	font-size: 100%;
}

img {
	border:0;
}

#header {
	margin: 0px;
	position: absolute;
	width: 100%;
	top: 0px;
	left: 0px;
}

body>#header {
	position: fixed;
}

/*Navigation*/

#header *, #bottomNav * {
	margin: 0;
	padding: 0;
}

#mainNav {
	border: 0px;
	margin: 0px;
	padding: 0px;
	position: absolute;
	left: 0px;
	top: 6px;
}

.gcse-search {
	position: absolute;
	left: 0px;
	padding-top: 1px;
	padding-bottom: 1px;
}

body>#mainNav, ul>.gcse-search {
	position:fixed;
}

#secNav, #bottomNav {
	background-color: #800000;
}

#bottomNav {
	width: 100%;
	text-align: center;
	clear: both;
}

#mainNav .gcse-search div {
	display: inline;
	margin: 0px;
	padding: 0px;
}

#mainNav ul {
	margin: 0px;
	padding: 0px;
}

#secNav ul, #bottomNav ul {
	margin: 0px;
	padding-top: 4px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 0px;
}

#mainNav li, #secNav li, #bottomNav li {
	list-style-type: none;
	list-style: none;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 70%;
	font-weight:bold;
	display: inline;
}

#mainNav li span {
	font-weight: normal;
	font-size: 85%;
	display: inline;
}

#secNav li, #bottomNav li {
	display:inline;
}

#mainNav a, #searchGoogle {
	margin: 0px;
	width: 16em;
	display: block;
	text-align: left;
	border: 1px solid gray;
	text-decoration: none;
	background: #DAA520;
	color: #000000;
	padding-left: 3px;
}

#mainNav a {
	padding-top: 0px;
	padding-bottom: 0px;
}

#secNav a, #bottomNav a {
	margin: 0px;
	border: 1px solid gray;
	text-decoration: none;
	background: #800000;
	color: #FFFFFF;
	padding-top: 2px;
	padding-right: 4px;
	padding-bottom: 2px;
	padding-left: 4px;
}

#mainNav a:hover {
	background: #B8860B;
	border: 1px solid gray;
}

#secNav a:hover, #bottomNav a:hover {
	background: #660000;
	border: 1px solid gray;
}
	 
#mainNav a:active {
	background: #808080;
	border: 1px solid gray; 
	color: #000000;
}

#secNav a:active, #bottomNav a:active {
	background: #808080;
	border: 1px solid gray; 
	color: #FFFFFF;
}

#apm, #catNav, #secNav {
	background-color: #800000;
	text-align: right;
	color: #FFFFFF;
	font-weight: bold;
	width: 100%;
}

form {
	margin: 0px;
	padding: 0px;
}

#apm a, #catNav a {
	background-color: #800000;
	color: #FFFFFF;
	text-decoration: none;
	list-style-type: none;
	padding-right: 6px;
}

#apm {
	padding-top: 6px;
}

#catNav {
	width: 100%;
	text-align: right;
}

#expand {
	padding-right: 4px;
}

#cat {
	list-style-type: none;
	text-align: right;
}

#cat li {
	list-style-type: none;
}


#tertNav {
	background-color: #FFFFFF;
	font-size: 0.8em;
	float: right;
}

#cat ul {
	margin: 0px;
	padding: 0px;
}

#cat ul ul {
	display: none;
}

#tertNav li {
	list-style-type: none;
}

#tertNav li ul li a {
	padding-left: 1em;
}

#tertNav a:hover {
	display: block;
	color: #000000;
	background-color: #CCCCCC;
	border: 1px solid #333333;
}

#tertNav a {
	display: block;
	border: 1px solid #666666;
	text-decoration: none;
	color: #000000;
	text-align: left;
	padding-right: 2px;
	padding-left: 2px;
}

#tertNav a:active {
	color: #000000;
	background-color: #CCCCCC;
	border: 1px solid #333333;
	display: block;
}

#cat ul:hover ul {
	display: block;
}

/*Text*/

#text {
	margin-left: 12em;
	padding-top: 6em;
}

#text li {
	margin-bottom: 1em;
}

#hjb {
	float: left;
	margin-right: 5px;
	border: medium outset #800000;
	margin-bottom: 1em;
}

#footer {
	text-align: center;
}

.textImage {
	float: left;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 10px;
}

.textCenter {
	text-align:center;
}

.textLeft {
	float: left;
}
.textRight {
	float: right;
}

.clear {
	clear: both;
	margin-top: 1em;
}
#text li ul {
	margin-top: 1em;
}
