﻿/* css reset - makes the layout looking good in all browsers */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
 }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block; }
body {
	line-height: 1; 
	font-family: Arial, Helvetica, sans-serif;
	font-size:10px;
	margin: 0; 
	max-height: 750px;
//	overflow: hidden;
	overflow:scroll;
	scroll="no";}
	}
ol, ul {
	list-style: none; }

/* Main Styles */
	
/* logo appearing at top of each page */
div#logo {
	padding: 10px 0;
	font-size:10px;
}
	
#wrapper{
	width:1000px;
	font-size:10px;
	max-height:750px;
	margin:0 auto;
	margin-top:5px;
	scroll="no";
}
#page{
	width:1000px;
	height:550px;
	font-size:12px;
	margin:0 auto;
	margin-top:5px;
}
#nav {
	position:relative;
	width:750px;
	max-height:750px;
	margin:0 auto;
}

ul#navigation {
	margin:0px auto;
	position:relative;
	float:left;
	border-left:0px solid #c4dbe7;
	border-right:0px solid #c4dbe7;
}

ul#navigation li {
	display:inline;
	font-family: Arial, Helvetica, sans-serif;
	font-size:11px;
	font-weight:bold;
	margin:0;
	padding:0;
	float:left;
	position:relative;
	border-top:2px solid #c4dbe7;
	border-bottom:2px solid #c4dbe7;
}

/* top level pulldown menu formatting */
ul#navigation li a {
	padding:8px 18px;
	color:#000;
	height:14px;
	width:110px;
	text-decoration:none;
	display:inline-block;
	border-right:2px solid #fff;
	border-left:2px solid #fff;
	border-top:2px solid #fff;
	border-bottom:2px solid #fff;
	background: #bbb;
    /* css3 transitions for smooth hover effect */
    -webkit-transition:opacity 0.2s linear, visibility 0.2s linear;
    -moz-transition:opacity 0.2s linear, visibility 0.2s linear;
    -o-transition:opacity 0.2s linear, visibility 0.2s linear;
    transition:opacity 0.2s linear, visibility 0.2s linear;		
}

ul#navigation li a:hover {
	background:#aaa;
	color:#000;
	bottom:100%;
    border-bottom: 1px solid transparent
}

ul#navigation li:hover > a {
	background:#fff;
	bottom:100%;
    border-bottom: 1px solid transparent
}

/* Drop-Down Navigation */
ul#navigation li:hover > ul
{
	visibility:visible;
	opacity:1;
	bottom:100%;
    border-bottom: 1px solid transparent
}

ul#navigation ul, ul#navigation ul li ul {
	list-style: none;
    margin: 0;
    padding: 0;    
	visibility:hidden;
    position: absolute;
    z-index: 99999;
	width:150px;
	height:35px;
	background:#fff;
	box-shadow:2px 2px 2px 2px #ccc;
	opacity:0;
	-webkit-transition:opacity 0.2s linear, visibility 0.2s linear; 
	-moz-transition:opacity 0.2s linear, visibility 0.2s linear; 
	-o-transition:opacity 0.2s linear, visibility 0.2s linear; 
	transition:opacity 0.2s linear, visibility 0.2s linear; 	
}

ul#navigation ul {
    top: 43px;
    left: 1px;
}

ul#navigation ul li ul {
    top: 0;
    left: 150px;
}
/* Drop-Down Navigation 2d thru 4th-level cells */
ul#navigation ul li {
	clear:both;
	width:100%;
	border:0 none;
	border-top:1px solid #000;
	border-bottom:1px solid #000;
	border-left:1px solid #000;
	border-right:1px solid #000;
	/*bottom:100%;*/
    /*border-bottom: 1px solid transparent*/
}
/*"drop-up" menu source: https://stackoverflow.com/questions/7814186/drop-down-menu-that-opens-up-upward-with-pure-css
ul#navigation>ul>li:hover>ul { 
    bottom:100%;
}*/


/* ===== footer is copyright notice ===== */
div#footer {
text-align:center;
clear: center;
width: 100%;
height: 20px;
}

/*Code a media query to select for typical tablet device viewport  */
/*@media only screen and (max-width: 1024px) {
	body { background-image: none; }
	#wrapper { width: auto;
				min-width: 0;
				margin: 0;
				padding: 0;
				box-shadow: none; 	}
	header { border-bottom: 5px solid #FEF6C2; }
	h1 { margin-top: 0;
	    margin-bottom: 1em;
		padding-top: 1em;
		padding-bottom: 1em;
		font-size: 2.5em; 	}
	nav { float: none;
	      width: auto;
		  padding-top: 0;
		  margin: 10px;
		  font-size: 1.3em; 	}
	nav li  { display: inline-block; }
	nav a { padding: 1em; 
	      width: 8em;
		  font-weight: bold;
		  border-style: none; }
	nav ul { padding: 0;
	      margin: 0; }
	main { padding: 0;
	      margin: 0;
		  font-size: 90%; }
}*/
/*Code a media query to select for typical tablet device viewport  */
/*@media only screen and (max-width: 768px) {
	header { background-image: url(images/quabkgnd.gif); 
			height: 128px; }
	h1 { font-size: 2em;
	    text-align: center;
		padding-left: 0; }
	nav { margin: 0; }
	nav a { display: block;
	      padding: 0.2em;
		  width: auto;
		  border-bottom: 1px solid #FEF6C2; }
	nav li { display: block; }
	main  { padding-top: 1px; }
	h2 { padding: 0.5em 0 0 0.5em;
	    margin-right: 0.5em; }
	.details { padding-left: 0; padding-right: 0; }
	.floatleft { padding-left: 0.5em; padding-right: 0.5em; }
	#mobile { display: inline; }
	#desktop { display: none; }
} */