/* =Styles for the lab
-------------------------------------------------------------- */
#wrapper {
	min-width:1000px;
}
nav {
	/*background-color:#990000;*/
	padding:0px 0;/*padding:10px 0; i changed this*/
	margin:0px;
}
nav ul {
    font-size: 0;
    list-style-type:none;
    margin:0;
    padding:0;
	z-index: 999;/*I ADDED THIS z-index: 999;*/
}
nav ul li {
    display:inline-block;
    position:relative; font-size:14px;
}

nav ul li > ul li{
padding-right:0;
}

/* sub navigation */
nav li ul {    
    background-color:#3E5A82;/*BG for all dropdown menu links together @Hover*/
    position:absolute;
    left:0;
    top:40px; /* make this equal to the line-height of the links (specified below) */
    width:200px;
}

nav li li {
    position:relative;
    margin:0;
    display:block;
}
nav li li ul {
    position:absolute;
    top:0;
    left:200px; /* make this equal to the width of the sub nav above */
    margin:0;
}

/* style all links */
nav div .mlink {
    color:#ffffff;
    text-decoration:none;
    display:block;
}

/*
nav li.dropdown  > a.mlink:active {background: yellow;}

nav div.dlink :active { background:yellow}:after */
/*
.nndmlink { 
 this selector is more specific, so it takes precedence over the other :after 
 background:yellow
}

[id^=top-nav-link] {
 background:yellow
}

[id^=top-nav-links]:target { background:#ff0000}*/
.current-page { background:#ff0000}

ul.submenu-divcontainer > li a:HOVER { 
background:#A6242B;
}
/* hide sub menu links */
ul.submenu-divcontainer {
    display:none;
}
/* show arrows for dropdowns */
nav li.dropdown-divcontainer > a {
/*this must be the same with (dropdown-divcontainer-iconup) except the image*/
    background-image:url('../img/icon-plus-white.png');
    background-position:right 5px;
    background-repeat:no-repeat;
}

/* show arrows for dropdowns */
nav li.dropdown-divcontainer-iconup > a {
/*this must be the same with (dropdown-divcontainer-iconup) except the image*/
    background-image:url('../img/icon-minus-white.png');
    background-position:right 5px;
    background-repeat:no-repeat;
}

/*this controls div container color for first parent dropmenu @hover*/
nav li.dropdown-divcontainer > a:HOVER {
background:#339933;
background-image:url('../img/icon-plus-white.png');
background-position:right 5px;
background-repeat:no-repeat;
}

/*this controls div container color for first parent dropmenu @hover on click*/
nav li.dropdown-divcontainer-iconup > a:HOVER {
background:#339933;
background-image:url('../img/icon-minus-white.png');
background-position:right 5px;
background-repeat:no-repeat;
}

/* sub navigation 
nav li.dropdown-divcontainer ul.submenu-divcontainer {
position:absolute;
left:201px;
top:0px; *//* make this equal to the line-height of the links (specified below) 
width:200px;
}*/

/* this controls the first set of submenu>(with link) of a div container dropmenu */
nav li.dropdown-divcontainer ul.submenu-divcontainer {
position:relative;
left:0px;
top:0px; /* make this equal to the line-height of the links (specified below) */
width:200px;
}

/* this controls the first set of submenu>(with link) of a div container dropmenu */
nav li.dropdown-divcontainer-iconup ul.submenu-divcontainer  {
position:relative;
left:0px;
top:0px; /* make this equal to the line-height of the links (specified below) */
width:200px;
}

/*this controls div container color for first parent dropmenu @hover after click*/
nav li.dropdown-divcontainer {
position:relative;
margin:0;
display:block;
width:200px;
background:#336633;
border-bottom:solid 1px rgb(200,50,50); padding-right:0px;
}

/*this controls div container color for first parent dropmenu @hover after click*/
nav li.dropdown-divcontainer-iconup {
position:relative;
margin:0;
display:block;
width:200px;
background:#336633;
border-bottom:solid 1px rgb(200,50,50); padding-right:0px;
}

nav ul.submenu-divcontainer {
    list-style-type:none;
    margin:0;
    padding:0;
	z-index: 999;/*I ADDED THIS z-index: 999;*/
}
nav ul.submenu-divcontainer li {
    display:inline-block;
    position:relative;
	padding-right:10px;
}

nav ul.submenu-divcontainer li > ul li{
padding-right:0;
}

/* this controls the first set of submenu>(without link) of a div container dropmenu 
nav li.dropdown-divcontainer-nolink ul.submenu-divcontainer-nolink {
position:relative;
left:0px;
top:0px; *//* make this equal to the line-height of the links (specified below) 
width:200px;
}*/

/*this controls div container color for first parent dropmenu without submenu @dropdown*/
nav li.just-divcontainer {
position:relative;
margin:0;
display:block;
width:200px; background:#336633;
border-bottom:solid 1px rgb(200,50,50); padding-right:0px;
}

/*this controls div container color for first parent dropmenu without submenu @dropdown>active*/
nav li.just-divcontainer > a:HOVER { background:#339933;}

/*this controls div container text color and alignment for first parent dropmenu without submenu @hover*/
nav li.just-divcontainer > a {
font-size:12px; color:#ffffff;
line-height:17px;}

/*this controls div container first parent dropmenu submenu BG @active*/
nav li.just-divcontainer-submenu > a { background:#336600;}

/*this controls div container first parent dropmenu submenu BG @hover*/
nav li.just-divcontainer-submenu > a:HOVER { background:#339933;}

/*this controls div container first parent dropmenu submenu text color and text alignment @hover*/
nav li.just-divcontainer-submenu > a {
font-size:12px; color:#ffffff; text-align:left;
line-height:17px;}

/*this controls div container first parent dropmenu submenu text color and text alignment @hover*/
nav li.just-divcontainer-submenu > a:Hover {
font-size:10px; color:#ffffff; text-align:center;
line-height:15px;}

/*this controls div container text color and text alignment for first parentmenu dropmenu @active*/
nav li.dropdown-divcontainer > a {
font-size:12px; color:#FFFFFF;
line-height:17px;
}

/*this controls div container text color and text alignment for first parentmenu dropmenu @active on click*/
nav li.dropdown-divcontainer-iconup > a {
font-size:12px; color:#FFFFFF;
line-height:17px;
}

nav li.just-divcontainer li{
    position:relative;
    margin:0;
    display:block;
	width:200px;
}
nav li.dropdown-divcontainer li > a{
    position:relative;
	font-size:10px;
	line-height:17px;
    margin:0;
    display:block;
	width:200px;
	padding-right:0px;
	padding-left:3px;
	padding-top:1px;
	padding-bottom:1px;
}

nav li.dropdown-divcontainer-iconup li > a{
    position:relative;
	font-size:10px;
	line-height:17px;
    margin:0;
    display:block;
	width:200px;
	padding-right:0px;
	padding-left:3px;
	padding-top:1px;
	padding-bottom:1px;
}

nav li.just-divcontainer li > a{
    position:relative;
	font-size:10px;
	line-height:17px;
    margin:0;
    display:block;
	width:200px;
	padding-right:0px;
	padding-left:3px;
	padding-top:1px;
	padding-bottom:1px;
}

nav li.submenu-divcontainer li {
    position:absolute;
    margin:0;
    display:block;
	width:200px; padding-right:0px;
}

nav li.dropdown-divcontainer li ul {
    position:absolute;
    top:0;
    left:200px; /* make this equal to the width of the sub nav above */
    margin:0;
}

nav li.dropdown-divcontainer-iconup li ul {
    position:absolute;
    top:0;
    left:200px; /* make this equal to the width of the sub nav above */
    margin:0;
}

nav ul li > li {  line-height:4px; }
/*div container styles ends*/

/*Normal Menu styles starts*/
nav ul li div.upload-p a {
width:150px; height:45px;
font-family:Verdana, sans-serif; font-size:14px;
transition: background-color 0.5s ease;
background: #ffffff; margin-left: 10px;
color: #0000ff; text-align:center; font-weight:500;

border: 2px solid #580C11;
border-radius: 5px;
-webkit-border-radius: 5px;
}

nav ul li div.upload-p :HOVER {
width:150px; height:45px;
font-family:Verdana, sans-serif; font-size:14px;
background-color:#ffffff;  margin-left: 10px;
color:#ff0000; text-align:center; font-weight:500;
}

/*SubMenu BG-Color for each dropdown link @Hover*/
ul.sub-menu > li a:HOVER { background:#FF9611; text-align:left}
ul.sub-menu > li {text-align:left}

/*main link mouse over BG-Color @Hover*/
div.dlink, li.dlink > ul, li a:HOVER { background:#FF7900; text-align:left;}/*Text alignment for each drop menu @Hover*/
/*li.dlink > ul { background:#FF7900}/*mouse over BG-Color for all dropdown links together @Hover [original and working well]*/
li.dlink > ul ul { background:#FF7900}/*mouse over BG-Color for all dropdown links together @Hover [optional and working well]*/
/*li.dlink > ul li ul { background:#FF7900}/*mouse over BG-Color for all dropdown links together @Hover [optional and working well]*/

nav a { vertical-align:top;
line-height:40px;/*Line Height For Main Link, will increase the div area size*/
padding:0 8px;/*Use this to adjust the background lenght of the main link to enter the arrows*//*Main Link Text Padding - creates spaces in-between link texts there by spacing them out*/
margin:0 0px;/*Main Link Text Padding - Padding Extreme Left OR Paddding Extreme Right*/
}

/*
nav a {
color:#fff;
text-decoration:none;
display:block;
}
*/

ul.content {
line-height:0px;/*Line Height For Main Link, will increase the div area size*/
padding:0 2px;/*Main Link Text Padding - creates spaces in-between link texts there by spacing them out*/
margin:0 0px;/*Main Link Text Padding - Padding Extreme Left OR Paddding Extreme Right*/
}

ul.content a {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:15px;/*Main Link font-Size @Link*/
font-weight:400;
color:#333333;/*Main Link Text Color @Link*//*Main Link Drop Menu Text Color @Main Link Hover*/
text-decoration:none;
display:block;
}

ul.content li ul li a {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;/*All Submenu Link font-Size @Link*/
font-weight:normal;
color:#ffffff;/*All Submenu Link Text Color @Link*//*All Submenu Link Drop Menu Text Color @Main Link Hover*/
text-decoration:none;
display:block;
}

ul.content li ul li a:HOVER {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;/*All Submenu Link font-Size @Link*/
font-weight:normal;
color:#ffffff;/*All Submenu Link Text Color @Link*//*All Submenu Link Drop Menu Text Color @Main Link Hover*/
text-decoration:none;
display:block;
}

nav a:hover,
nav a:focus,
nav a:active {
font-family:Verdana, Arial, Helvetica, sans-serif;
/*color:rgb(50,50,50); MAIN LINK TEXT COLOR @HOVER*/
color:#FFFFFF;
}

/* style sub level links */
nav li li a {
border-bottom:solid 1px rgb(200,50,50);line-height:15px;
padding-top:10px; padding-bottom:10px; 
/*margin:0 10px; i removed this and added those below*/
}

nav li li:last-child a {
border-bottom:none;
}

/* hide sub menu links */
ul.sub-menu {
    display:none;
}

/* hide sub menu links */
.containerdiv{
display:none;
}

.containerdiv a {

}

/* show arrows for dropdowns */
nav li.dropdown > a {
background-image:url('../img/arrow-down-black.png');
background-position:99.9% 20px;/*Use this to adjust the position of the arrow*/
background-repeat:no-repeat; margin:0px;
}

nav li li.dropdown > a {
background-image:url('../img/arrow-right.png');
background-position:right 16px;
background-repeat:no-repeat;
}