/*Define Toggle Menu*/
div.iframemenu  { /*Button container*/
display:block;
float:none;
position: relative;
z-index:5;
width :145px; 
padding:0 0;
margin : 0 0; 
} 

div.iframemenu p  {
padding : 0 0;
margin: 0 0;
text-indent: 0px
}

/*Increase width for longer link text*/
#myiframe {
float:left;
width: 320px;
height: 500px; /*Adjust height if scrolling isnt desired or needed*/
margin: 0 0;
padding: 0 0;
display:block;
position:absolute;
z-index: 7;
border-radius: 8px;
border: solid 1px #0066cc;
}


#toggleButton {
width:170px;
color: #fff;
text-shadow: 1px 1px 1px #000;
font-weight: bold;
font-size: 16px;
padding: 5px 0;
background: #0066cc;
box-shadow: 1px 1px 2px #000
}

div.iframemenu  {display:none} /*Hide Toggle Button*/

/* Define appearance and position of lmenu*/
.lmenu a {
float:left;
display: block;
position:relative;
 z-index:5;
color: #ffffff;
background: #0066cc;
font-weight: bold;
text-decoration: none;
margin: 1% 1%;
padding:10px 10px;
text-shadow :1px 1px 1px #000;
box-shadow: 1px 2px 4px #000}

.lmenu {display:none} /*Hide until needed activate before longest links overflow viewing width*/

/*Footer Navigation*/

p.footernav {
text-indent: 0px
}


p.footernav a {
text-decoration: none;
font-size : 50px;
text-shadow: 1px 1px 1px #000

}

.ftr-left {
float: left
}

.ftr-right {
float:right
}


/*Define main navbar*/
nav {
width:90%;
	background:#f0f0f0;
	padding:0 0;
	float:left;
	margin:1% 5%;
	box-shadow: none}


ul.hnavbar2{
	list-style:none;
	margin-bottom:0;
	float:left;
	position:relative;
	z-index:5}
ul.hnavbar2 li{
	float:left;
	margin-right:15px;
	margin-bottom:0;
	position:relative;
	}
ul.hnavbar2 a{ /*define first tier link*/
	display:block;
	padding: 5px 5px;
	color:#000; 
   background: #f9f9f9;
	border:none;
	text-decoration:none}
ul.hnavbar2 a:hover{
    color:#cd4000;
	border:none}
ul.hnavbar2 ul{
	list-style:none;
	position:absolute;
   left: -9999px	}
ul.hnavbar2 ul li{
	float:none;
	width:100%} /* Fills empty space - prevents transparency*/
ul.hnavbar2 ul a {
   color: #0066cc; /*2nd tier color*/
	white-space:nowrap}
ul.hnavbar2 li:hover ul{
	left:0;
	border:none;
	box-shadow: 1px 1px 4px #000 /*box shadow instead of border*/
	}
ul.hnavbar2 li:hover a{
	background-color:#ffffff;/*Needed to prevent transparency*/
	box-shadow: none}
ul.hnavbar2 li:hover ul a {
    padding :5px 25px 5px 5px; /*Increase white space in drop down*/
	text-decoration:none}
ul.hnavbar2 li:hover ul li a:hover{
	color: #cd4000; /*2nd tier link color*/
	background:#f9f9f9;
	text-decoration:none; /*Set underline instead of color change*/
	padding :5px 25px 5px 5px;
	box-shadow:none}



/* Hide nested lists*/
ul.hnavbar2 li ul,
ul.hnavbar2 li:hover ul li ul ,
ul.hnavbar2 li:hover ul li ul li ul {
position: absolute;
display:none
}

/*display 2nd tier list*/

ul.hnavbar2 li:hover ul {
position: absolute;
display: block;
left: 0;
min-width: 195px;
white-space:nowrap;
z-index:5
}

/*Display 3rd tier list*/
ul.hnavbar2 li ul li:hover ul {
display: block;
position: absolute;
top: 0;
left: 100%; /* display to right */
min-width: 195px; /* width is based on the containing block */
z-index: 5
}



@media (max-width: 800px) {
nav {display: none} /*Hide Nav Menu*/
div.lmenu {display : none}  /*Show or Hide lmenu*/
div.iframemenu  {display:block} /*Show or Hide Toggle Button */
}
