body {
	padding-left: 2px;
	padding-right: 2px;
	padding-bottom: 2px;
	color: #fff;
	/*
	background-image: url('gfx/bg-4.png');
	background-repeat: repeat;
	*/
	background-color: #000;
	font-family: Arial, Verdana, sans-serif;
	font-size: 1rem;
}
header, main, footer {
	min-width: 300px;
	max-width: 850px;
	margin: 0 auto;
}
a {
	color: #bdf;
}
a:hover {
	color: #7bf;
}
#div_viewportBorderL {
	z-index: 1;
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background-color: #fff;
}
#div_viewportBorderR {
	z-index: 1;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 2px;
	background-color: #fff;
}
#div_viewportBorderB {
	z-index: 1;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	background-color: #fff;
}
header {
	padding-top: 4px;
}
header img {
	border-radius: 3px;
}
footer {
	clear: both;
	margin-top: 24px;
	border-top: 2px solid #888;
	padding: 6px 0;
	text-align: center;
}

nav {
	display:table;
	margin: 4px auto;
}
nav .navbartabActive {
	color: #ea3 !important;
}

@media screen and (min-width: 700px) {

ul.dropdown,
ul.dropdown li,
ul.dropdown ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.dropdown {
	position: relative;
	z-index: 597;
	float: left;
}
ul.dropdown li {
	float: left;
	min-height: 1px;
	line-height: 1.3em;
	vertical-align: middle;
}
ul.dropdown li.hover,
ul.dropdown li:hover {
	position: relative;
	z-index: 599;
	cursor: default;
}
ul.dropdown ul {
	visibility: hidden;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 598;
	width: 100%;
}
ul.dropdown ul li {
	float: none;
}
ul.dropdown ul ul {
	top: 1px;
	left: 99%;
}
ul.dropdown li:hover > ul {
	visibility: visible;
}


ul.dropdown {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16px;
}
ul.dropdown li:hover {
	background-color: #444;
}
ul.dropdown li a {
	text-decoration: none;
	letter-spacing: 1px;
}
ul.dropdown > li {
	padding: 2px 10px;
	border-radius: 4px;
}
ul.dropdown ul {
	display: table;
	padding: 2px 1px;
	border: 1px solid #555; /* eee */
	background-color: #000;
}
ul.dropdown ul li {
	padding: 0 10px;
	line-height: 200%;
}

}/* media */

@media screen and (max-width: 700px) {

body {
	padding: 4px;
}
main {
	margin-top: 16px;
}
ul.dropdown {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.dropdown ul {
	list-style-type: none;
}
ul.dropdown li {
	line-height: 1.5em;
}
ul.dropdown li a {
	letter-spacing: 1px;
}
#div_viewportBorderL, #div_viewportBorderB, #div_viewportBorderR {
	display: none;
}

}/* media */

@media screen and (max-width: 500px) {
	header nav {
		display: none;
	}
}

main {
	position: relative;
	margin-top: 10px;
	line-height: 1.7;
}
main li {
	line-height: 1.5;
}
main h1 {
	margin-top: 0px;
	margin-bottom: 1em;
	border: 1px solid #888;
	padding: 1px 0;
	text-align: center;
	font-weight: bold;
	font-size: 19px;
	color: #ea3;
	background-color: #444;
}
main h2 {
	font-weight: normal;
	color: #ea3;
}
main h3 {
	font-weight: normal;
	color: #ea3;
}

.cjcHighlight {
	color: #ea3; /* orange logo: ee912e; green: dacd79 */
}
