#menu {
	width:100%;
}
.bgnone {
	background:none !important;
}
#nav {
	text-align:center;
}
#nav, #nav li {
	position: relative;
	margin: 0;
	padding: 0;
	z-index:110;
	letter-spacing:0;
	word-spacing:0;
	font-size:0;
}
#nav li {
	list-style: none;
	display:inline-block;	
}
/* nav link */
#nav a, #nav a:hover, #nav a.selected, #nav a.selected:hover, #nav a.selectedhassubs, #nav a.selectedhassubs:hover {
	position: relative;
	display: inline-block;
	text-align:center;
	color:#343C4D;
	font-size:16px;		
 	height:60px;
	line-height:60px;	
	text-transform:uppercase;
	margin-left:20px;
	margin-right:20px;
	font-weight:600;
    transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
}
#nav a:hover, #nav a.selected, #nav a.selected:hover, #nav a.selectedhassubs, #nav a.selectedhassubs:hover {
    color: #FE6845;
}
/*@media only screen and (min-width:1200px) and (max-width:1400px) {
	#nav a, #nav a:hover, #nav a.selected, #nav a.selected:hover, #nav a.selectedhassubs, #nav a.selectedhassubs:hover {
		font-size:13px !important;	
		margin-right:10px !important;
	}
}*/
@media only screen and (max-width:1399px) {
	#nav a, #nav a:hover, #nav a.selected, #nav a.selected:hover, #nav a.selectedhassubs, #nav a.selectedhassubs:hover {
		margin-left:11px;
		margin-right:11px;
	}
}
/* nav dropdown */
#nav ul {
	top:40px;
	left:-40px;
	position: absolute;
	display: none; /* hide dropdown */
	width:280px;
	min-height:220px;
	background-image:url(images/dropdownmenu.svg);
	background-repeat:no-repeat;
	background-position: top center;
	background-size: 100% 100%;
	padding:40px 60px 60px 40px;	
	overflow: hidden;
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav ul li a, #nav ul li a:hover, #nav ul li a:link, #nav ul li a:visited  {
	float: none;
	display: block;
	width:200px;
	height:auto;
	line-height:20px;
 	padding:8px 0px;
	text-align:left;	
	color:white;
	font-weight:700;
}
#nav ul li a:hover { 	
	color:black;
}
#nav li:hover > ul {
	display: block; /* show dropdown on hover */
}