ul#nav { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	float: right;
}

ul#nav li { /* all list items */
	float: left;
	position: relative;
	z-index: 999;
}
ul#nav li ul { /* second-level lists */
	display: none;
	position: absolute;
	margin-left: 0;
	top: 1.8em;
	left: 0;
	width:200px!important;
}

ul#nav ul li, ul#nav ul li a{
	width:100%;
}


ul#nav li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	/*left: auto;*/
}

ul#nav li:hover ul, #nav li.over ul { /* lists nested under hovered list items */
	display: block;
	/*background-color: #CCCCCC;*/
}

/* =========== NEW NAVIGATION =====================================================*/
td#nav-td{
	padding:0!important;
}
td.nav-wrap{
	float:left;
	width:100%;
	margin-bottom: 10px;
}
nav{
	width:1010px;
	float:left;
}
nav.top-nav-wrap{
	position: relative;
	/*using the z-index to hide lines from subnav in webkit :( */
	z-index: 1000;
}
nav.single-menu{
	margin-bottom:10px;
	float:left;
}
nav li {
    display: inline-block;
    text-align: center;
    /*font-weight: bold;*/
    text-transform: uppercase; 
    /*This is a hack to get display:inline-block to work in IE7 :( */
    zoom: 1;
	*display:inline;
}
  nav a {
    display: inline-block;
    color: #fff; }
ul#nav{
	width:100%;
	text-align: center;
	margin-bottom:0px!important;
	background: #000000;
	background: linear-gradient(90deg, rgba(255,255,255,0.6) 10%, rgba(0, 0, 0, 1.0) 90%);
	background: -moz-linear-gradient(90deg, rgba(255,255,255,0.6) 10%, rgba(0, 0, 0, 1.0) 90%);
	background: -webkit-linear-gradient(90deg, rgba(255,255,255,0.6) 10%, rgba(0, 0, 0, 1.0) 90%);
	background: -o-linear-gradient(90deg, rgba(255,255,255,0.6) 10%, rgba(0, 0, 0, 1.0) 90%);
	background: -ms-linear-gradient(90deg, rgba(255,255,255,0.6) 10%, rgba(0, 0, 0, 1.0) 90%);
}
ul#nav li{
	padding:0;
	cursor:pointer;
	/*border-left:1px solid #000;*/
	margin-left:1px;
}

ul#nav li:first-child{
	margin-left:0;
	padding-left:1px;
}

ul#nav li:last-child{
	padding-right:2px;
	margin-right:-2px;
}

ul#nav li ul li:last-child{
	padding-right:0;
	margin-right:0;
}

ul#nav li a:hover{
	color:#000;
}
ul#nav li a{
	padding: 8px 0;
	color:#fff;
	text-decoration:none;
	text-transform: uppercase;
	font-weight:normal;
	text-shadow:1px 1px 0 #000;
	width:100%;
	display:inline-block;
	font-family:verdana;
	font-size:10px;
	font-weight:bold;
	white-space:nowrap;
	text-align:center;
}

ul#nav li ul li a{
	background-image:none;
}

ul#nav li ul{
	top:24px!important;
}
ul#nav li > ul{
	margin-top:4px!important;
	border-bottom:2px solid #000;
	background: #000;

}
/*ul#nav li:last-child > ul{
	left:-32px;
}*/

ul#nav li ul > li{
	border-left:none;
	border-right:none;
	left:0px!important;	
	border-bottom:1px solid rgba(255,255,255,0.1);
	border-left:0!important;
}
ul#nav li ul > li a{
	padding:8px 5px;
	text-align:left;
	width:185px;
	white-space:normal;
}
ul#nav li ul > li:hover{
	background:#000;
}
ul#nav li ul > li a:hover{
	color:#000;
}

nav.sub-menu-wrap{
	text-align: center;
	border-left: 6px solid transparent; 
	border-right: 6px solid transparent;
	position:relative;
	width:980px;
	left:10px;
}
  nav.sub-menu-wrap:before, nav.sub-menu-wrap:after{
  		color: #fff;
  		font-size: 34px;
  		position: absolute;
   		font-family: arial!important;
   		top: -30px;
   		font-weight:bold;
   		letter-spacing:-2px;
   		height:30px;
   		overflow:hidden;
   		width:17px;
   }
  nav.sub-menu-wrap:before {
      content: "\\\\";
      left: -8px;
  }
  nav.sub-menu-wrap:after {
      content: '//';
      right: -7px;
  }
  ul.sub-menu {
    width: 95%;
    margin:0;
    position: relative;
    /*z-index: 0;*/
    display:inline-block;
    left: 0;
    padding:0;
    top:-20px;
    text-align: center;   
}
/*     ul.sub-menu:before {
      content: '';
      width: 21px;
      height: 18px;
      position: absolute;
      z-index: 2;
      left: -21px; }
   ul.sub-menu:after {
      content: '';
      width: 21px;
      height: 18px;
      position: absolute;
      z-index: 2;
      right: -21px; }
*/
    ul.sub-menu li {
      padding:0;
      font-size: 9px; 
      display: inline;
      border-right:1px solid rgb(255,255,255);
      border-right:1px solid rgba(255,255,255,0.3);
      }
      ul.sub-menu li a {
        padding: 2px 16px;
        line-height:14px;
        /*text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);*/
        text-decoration: none;
        color: #fff;
      }
       ul.sub-menu li a:hover {
          /*color: #071f40;*/
          text-shadow: none; 
       }

    ul.sub-menu li:last-child {
    	border-right-width:0!important;
    }
    
#content {
	clear: left;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	ul#nav li ul{width:101.5%}
}