#nav ul.level1 a,
#nav ul.level1 a:link
#nav ul.level1 a:visited {
display: block; text-decoration: none; background: none; font-family: 'Noto Sans'; font-weight: 700; font-size: 14px; line-height: 54px; text-shadow:none; padding: 0px 25px; border: none; margin: 0; border-radius:0px; -moz-border-radius:0px; -webkit-border-radius:0px; text-transform: uppercase;
transition: color 0.3s ease-out; -moz-transition: color 0.3s ease-out; -webkit-transition: color 0.3s ease-out; -o-transition: color 0.3s ease-out;
}
#nav ul.level1 > li.active,#nav ul.level1 a:hover, #nav ul.level1 > li:hover {
text-decoration: none; box-shadow: none;-moz-box-shadow: none; -webkit-box-shadow: none;
}
#nav ul.level1,
#nav ul.level1 ul {
  display: block;
  padding: 0;
  border: 0;margin:0 auto;text-align:left;
  list-style-type: none;
  width: 100%;
}
#nav ul.level1 li {
text-align:center;
  position: relative;
  z-index: 5;
  display:inline-block;
  margin: 0 auto;
  float: left;
  padding-left: 2px; 
  border: 0;
white-space: nowrap; background: url(images/marker0.png) 0 0 no-repeat;  
}
#nav ul.level1 li:hover {
  z-index: 10000;
  white-space: normal;
}
#nav ul.level1:after,
#nav ul.level1 ul:after {
  content: ".";
  height: 0;
  display: block;
  visibility: hidden;
  overflow: hidden;
  clear: both;
}
#nav ul.level1,
#nav ul.level1 ul {
  min-height: 0;
}
#nav ul.level1 {
  display: inline-block;
  vertical-align: bottom;
}
#nav ul.level1 > li {

}
#nav ul.level1 > li:first-child {

}
#nav ul.level1 > li:last-child,
#nav ul.level1 > li.last-child {

}

#nav ul.level1 > li.active {
  color:#FFF;
  text-decoration: none;
}
#nav ul.level1 > li.active a{
  color:#FFF;
  text-decoration: none;
}
#nav ul.level1 > li > a:visited,
#nav ul.level1 > li > a:hover,
#nav ul.level1 > li:hover > a {
  text-decoration: none;
}
#nav ul.level1 > li > a:hover,
#nav ul.level1 > li:hover > a {
  text-decoration: none;
}
#nav ul.level1 li a:hover {
  color: #ffffff;
}
#nav ul.level1 li li a {
  padding: 0 25px;
  margin: 0 auto;
}
#nav ul.level1 li li {
  float: none;
  width: auto;
  margin-top: 0;
  margin-bottom: 0;
}
#nav ul.level1 li li ul > li:first-child {
  margin-top: 0;
}
#nav ul.level1 li li ul > li:last-child {
  margin-bottom: 0;
}
#nav ul.level1 ul:before {
  margin: 0 auto;
  display: block;
  position: absolute;
  content: ' ';
  z-index: 1;
}
#nav ul.level1 li.parent:hover a {color:#FFF}
#nav ul.level1 li:hover > ul {
  visibility: visible;
  top: 100%;
  left:0;
  display: block;
}
#nav ul.level1 li li:hover > ul {
  top: 0;
  left: 100%;
}
#nav ul.level1 ul {
  visibility: hidden;
  position: absolute;
  z-index: 10;
  right: 0;
  top: 0;
  display: none;
}
#nav ul.level1 ul ul {
  padding: 30px 30px 30px 10px;
  margin: -30px 0 0 -10px;
}
#nav ul.level1 ul ul:before {
  border-radius: 0;
  top: 30px;
  bottom: 30px;
  right: 30px;
  left: 10px;
}
#nav ul.level1 > li > ul:before {
  top: 10px;
  right: 30px;
  bottom: 30px;
  left: 30px;
}
#nav .level2 a:visited,
#nav .level2 a:link {
  color: #ffffff;
}
#nav .level2 a:hover {
  color: #ffffff;
}
#nav ul.level2 {
  height: 30px;
}

#nav ul.level1 ul.level2 li a:link,
#nav ul.level1 ul.level2 li a:visited {
  border: none;
  color: #ffffff;
  text-decoration: none; 
box-shadow: none;-moz-box-shadow: none; -webkit-box-shadow: none;  
background: url(images/px3.png)
}
#nav ul.level1 ul.level2 li a:hover {
  border: none;
  color: #ffffff;
  text-decoration: none;
}
#nav ul.level1 ul.level2 li:hover { color: #ffffff;
}
#nav ul.level1 ul.level2 li a {line-height:40px; padding:0; text-align:left; padding-left:15px;}
#nav ul.level1 ul.level2 li {
  height: 40px;
  width: 300px;
}

@media (max-width:768px) {
#nav ul.level1 a,
#nav ul.level1 a:link,
#nav ul.level1 a:visited, 
#nav ul.level1 a:hover {line-height:30px; font-size: 16px;}
}

/* Base Styles */
#leftmenu,
#leftmenu ul,
#leftmenu li,
#leftmenu a {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  font-weight: normal;
  text-decoration: none;
  line-height: 1;
  position: relative;
}
#leftmenu a {
  line-height: 40px;
  padding-left:20px;
}
#leftmenu .level2 a {
  line-height: 30px;
}
#leftmenu {
  width: 100%;
  background: #fff;
  padding: 3px;
  -webkit-box-shadow: 0 1px 6px #666;
  box-shadow: 0 1px 6px #666;
}
#leftmenu > ul > li {
  margin: 0 0 2px 0;
}
#leftmenu > ul > li:last-child {
  margin: 0;
}
#leftmenu > ul > li > a {
  display: block;
  color: #ffffff;
  text-shadow: 0 1px 1px #000;
  background: #666;
}
#leftmenu > ul > li > a > span {
  display: block;
  border: 1px solid #666666;
  padding: 6px 10px;
  font-weight: bold;
}
#leftmenu > ul > li > a:hover {
  text-decoration: none;
  background: #000;
}
#leftmenu > ul > li.active {
  border-bottom: none;
}
#leftmenu > ul > li.active > a {
  background: #333;
  color: #fff;
  text-shadow: 0 1px 1px #000;
  border: 1px solid #79980d;
}

/* Sub menu */
#leftmenu ul ul {
  padding: 0px 12px;

}
#leftmenu ul ul li {
  padding: 3px 0;
}
#leftmenu ul ul a {
  display: block;
  color: #595959;
}
#leftmenu ul ul a:hover {
  color: #79980d;
}