ol,ul{
    list-style:none;
}

.mainmenu{
  background-color:#133a53;
  margin:0 auto;
  height:38px;
  border-radius: 6px; /*To make the corners rounded in IE*/
  -moz-border-radius: 6px; /*this is for mozilla*/
  -webkit-border-radius: 6px; /*chrome and other browsers*/
  width:90%;
  min-width:1000px;
  font-family: 'Open Sans', sans-serif;
  font-size:13px;
  display: inline-block;
}

#nav {
  margin: 50px;
  z-index: 10;
  display: block;
  margin: 0 auto;
  width:950px;
  font-family: 'Open Sans', sans-serif;
  float:none;
}

#nav li {
  float: left; 
/*  text-align: left; */
}

#nav li:hover { 
  position: relative; 
}

#nav li:hover > a { 
  color:#133a53;
  background: #eee; 
 /* box-shadow: 5px 5px 25px #000;
  -moz-box-shadow: 5px 5px 25px #000;
  -webkit-box-shadow: 5px 5px 25px #000;*/
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  padding: 7px;
  margin-top: 3px; 
}

#nav li.sub:hover > a {
  border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;        
}

#nav li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  display: block;
  padding: 7px;
  margin-top: 3px; 
  margin-right: 15px; 
  white-space: nowrap;
}

#nav li a:hover { 
  background-color: #eee; 
  color: #1b5377;
  transition:.2s ease .05s;
}

#nav li:hover ul {
  display:block; 
  position:absolute; 
}

#nav li ul {
  margin-top: 0px;
  display: none;   
  background: #607D8B;
  padding: 2px 5px;
  border-top: solid 3px #133a59;
  /*box-shadow: 2px 2px 2px 0px #b5b5b5;
/*  -moz-box-shadow: 5px 5px 25px #000;
  -webkit-box-shadow: 5px 5px 25px #000;*/
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  margin-left: 0px; 
}

#nav li ul li a, #nav li ul li a:hover {
  background: transparent;
  font-weight: bold;
  transition:.2s ease .05s;
  margin-right: 0px; 
}
#nav li ul li a:hover { 
  background:#eee;
  color: #1b5377;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
