/********color reference
	#0e98fb	gradient top (deep blue)
	#e1faff gradient bottom (light blue)
	#95e5fc border, menu hover (med-light blue)
	#a6e8f5 [old] border, menu hover (med-lighter blue)
	#f0fcff page background (white blue)
	#f16704 links, headings (orange)
********/

/****typical stuff****/
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
body {
	margin: 0px;
	margin-left: auto;
	margin-right: auto;
	padding: 0px;
	background-color: #e1faff;
	background-image: url("../images/headergrad.png");
	background-repeat: repeat-x;
	width: 1000px;
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 100%;
}
h1 {
	margin: 0;
	padding: 0 0 6px;
	font-size: 1.5em;
	color: #f16704;
}
h2 {
	margin: 0;
	padding: 0 0 6px;
	font-size: 1.25em;
	color: #f16704;
}
h3 {
	margin: 0;
	padding: 0 0 4px;
	font-size: .875em;
	color: #f16704;
}
p {
	margin: 0;
	padding: 0 0 6px;
	font-size: .75em;
	line-height: 1.25em;
}
a:link {
/*	color: #f16704; */
	color: #0000cc;
	text-decoration: none;
}
a:visited {
	color: #660099;
	text-decoration: none;
}
a:hover {
	color: #f16704;
	text-decoration: underline;
}
a:active {
	color: #f16704;
	text-decoration: none;
}
img {
	margin: 4px;
	border: none;
}

/** Mengly added - 2011-07-26 **/
table.mytable{
	margin: 0;
	padding: 0 0 6px;
	font-size: .75em;
	line-height: 1.25em;
}
/** Mengly added - 2011-08-24 **/
table.smalltable{
	border: 1px solid;
	padding: 3px 3px 3px; 
	font-size: .60em;
	height: 10px; /** cannot reduce this **/
}
/** Mengly added - 2011-08-16 **/
blockquote { 
        text-indent: 1em;
	margin: 0; 
	padding: 0 0 6px;
	font-size: .75em;
	line-height: 1.25em;
}

/**special cases**/
img#header {
	margin: 0;
}
img.floatleft {
	float: left;
}
img.floatright {
	float: right;
}
img.floatclearleft {
	float: left;
	clear: left;
}
img.floatclearright {
	float: right;
	clear: right;
}
img.scale {
	width: 98%;
	height: auto;
}
div.center {
	text-align: center;
}
/**/
/**some whitespace Joomla added**/
span.article_separator {
	display: none;
}
/****/

/****layout****/
table.contentpaneopen {
	width: 100%;
}
div#header {
	background-image: url("../images/headergrad.png");
	background-repeat: repeat-x;
	width: 100%;
	text-align: center;
}
div#menu {
	margin: 6px 0 0 0;
	width: 100%;
	float: left;
	border: solid #95e5fc;
	border-width: 2px 2px 2px 2px;
}
div#main {
	margin: 0 0 6px 0;
	width: 100%;
	float: left;
	border: solid #95e5fc;
	border-width: 0 2px 2px 2px;
	background-color: #f0fcff;
}
div#footer {
	text-align: center;
	width: 100%;
}
/**content layout in #main**/
div#content {
	width: 70%;
	padding: 4px;
	float: left;
	box-sizing: border-box;
}
div#column {
	width: 27%;
	padding: 4px;
	float: left;
}
div#whole {
	padding: 4px;
}
/**/
/****/

/****for smaller screens (phones, tablets)****/
@media (max-width: 1024px) {
	body {
		width: 100%;
	}
	div#content {
		width: 100%;
		float: none;
	}
	div#column {
		width: 100%;
		float: none;
	}
}

/****suckerfish dropdown menu****/
/*http://htmldog.com/articles/suckerfish/dropdowns/*/
/**menu and submenu**/
ul#mainlevel, ul#mainlevel ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
/**menu links**/
ul#mainlevel a {
	padding: 2px 0;
	display: block;
	font-size: .875em;
	font-weight: bold;
}
ul#mainlevel a:hover {
	text-decoration: none;
}
/**/
/**submenu links**/
ul#mainlevel ul a {
	padding: 2px;
	font-weight: normal;
}
/**main menu elements**/
ul#mainlevel li {
	float: left;
	width: 20%;
	text-align: center;
	background-color: #f0fcff;
}
/**submenu elements**/
ul#mainlevel li li {
	float: none;
	width: 100%;
	text-align: left;
	background-color: #f0fcff;
}
/**submenu**/
ul#mainlevel li ul {
	position: absolute;
	width: 11em;
	left: -999em;
	border: solid #95e5fc;
	border-width: 2px 2px 2px 2px;
}
/**submenu on hover**/
/*see index.php for fakeMobileHover explanation*/
ul#mainlevel li:hover,
ul#mainlevel li.mobileFakeHover {
	background-color: #95e5fc;
}
ul#mainlevel li:hover ul,
ul#mainlevel li.mobileFakeHover ul {
	left: auto;
}
/**/
/****/