﻿#wrapper {
width: 100%; 
height: 35px; 
font-size: larger;
font-family: Verdana, Arial, sans-serif; 
list-style-type: none; 
padding: 0 0 5px;
background-color: #260f54;
background-image:url('http://www.hyms.ac.uk/_images/layout/shadedmenu40.jpg') ;
background-repeat:repeat-x;
margin: 0 auto;
position:relative;
z-index:100;
}

/* positioning */

#menuLink {
position: absolute;
left: 205px;
top: -5px;
}

#navigation {
height: 30px;

}

#navigation ul {
list-style: none;

}

#navigation li {
float: left;
position: relative;

}


#navigation li:hover {
float: left;
position: relative;
background-color:#FF9900;

}

#navigation a {
color: #ffffff;
display: block;
padding:8px 15px 5px; 
min-width:165px;
height: 27px; 
text-decoration: none;
text-align: center;
margin-right: 1px;


}

#navigation a:hover {
background-color:#FF9900;
}

.ddContainer, .ddContainer1, .ddContainerR, .ddContainerAl{
position: absolute;
left: -10055px;
}

#navigation li:hover .ddContainer, #navigation li:hover .ddContainer1 {
display: block;
left: 0px;
background: #fffffb;

}

#navigation li:hover .ddContainerR {
display: block;
left: -310px; /* This is the line to drag the dropdown onto the screen */
background: white;
}

#navigation li:hover .ddContainerAl {
display: block;
left: -275px;
background: white;
}

/* styles for drop-down */
.ddContainer,  .ddContainerAl {
width: 475px;
border: solid 3px #ff9900;
font-size: small;
background-color: #fffffb;
/* for IE */
filter:alpha(opacity=100);
/* CSS3 standard */
opacity:1.0;
z-index:10;
-moz-box-shadow: 10px 10px 50px #aaa;
-webkit-box-shadow: 10px 10px 50px #aaa;
box-shadow: 10px 10px 50px #aaa;
}

.ddContainer1, .ddContainerR {
width: 715px;
border: solid 3px #ff9900;
font-size: small;
background-color: #fffffb;
/* for IE */
filter:alpha(opacity=100);
/* CSS3 standard */
opacity:1.0;
z-index:10;
-moz-box-shadow: 10px 10px 50px #aaa;
-webkit-box-shadow: 10px 10px 50px #aaa;
box-shadow: 10px 10px 50px #aaa;
}

 #navigation .ddc2, .ddc3 {
width:195px;
float: left;
margin-top:0px; /* This line controls the top margin of the columns */
*padding-bottom:15px;/* For ie7 and below */
}

#navigation .ddc1 
{
width:195px;
float: left;
margin-top:0px; /* This line controls the top margin of the first column */
margin-left:-27px; /* This line controls the left margin of the first column */
*margin-left:15px; /* For ie7 and below */
*padding-bottom:15px; /* For ie7 and below */
}


#navigation .ddContainer li, #navigation .ddContainer1 li , #navigation .ddContainerR li, #navigation .ddContainerAl li{
width:100%;
list-style-type:none;
background:#fffffb;
}

#navigation .ddContainer a, #navigation .ddContainer1 a , #navigation .ddContainerR a, #navigation .ddContainerAl a{
color:black;
text-decoration: none;
display:block;
width:100%;
height: auto;
background: none;
border: 0;
text-align: left;
padding-left:15px;
padding-right:5px;
padding-top:5px;
padding-bottom:2px;

}

#navigation .ddContainer b, #navigation .ddContainer1 b  , #navigation .ddContainerR b, #navigation .ddContainerAl b{
font-weight: bold;
color: black;
display:block;
padding-top:20px;
padding-bottom:5px;
}

#navigation .ddContainer a:hover, #navigation .ddContainer1 a:hover, #navigation .ddContainerR a:hover, #navigation .ddContainerAl a:hover {
text-decoration:underline;
}

#navigation .ddContainer .MenuOverviewLink 
{
    background-color:#260f54;
    text-align:center;
	color:white;
  margin: 25px 0px 0px 25px;
   width:85%;
    padding-top:10px;
    padding-bottom:10px;
    font-weight:bold;
 
}
