#menu {
}
/* menu icon */
#menu-icon {
	display: none; /* hide menu icon initially */
}
#nav, #nav li {
	position: relative;
	margin: 0;
	padding: 0;
	z-index:110;
}
#nav li {
	list-style: none;
	display:inline-block;	
}
#nav li.lang {
	list-style: none;
	display:block;	
	float:right;
}
/* nav link */
#nav a, #nav a:hover, #nav a.selected, #nav a.selected:hover {
	position: relative;
	display: inline-block;
	text-align:center;
	color:white;
	font-size:16px;		
 	height:40px;
	line-height:40px;	
	text-transform:uppercase;
	margin-right:20px;	
	transition: height 0.5s ease;
	-moz-transition: height 0.5s ease;
	-webkit-transition: height 0.5s ease;
	-o-transition: height 0.5s ease;	
	transition: line-height 0.5s ease;
	-moz-transition: line-height 0.5s ease;
	-webkit-transition: line-height 0.5s ease;
	-o-transition: line-height 0.5s ease;						
}
#nav a:hover, #nav a.selected, #nav a.selected:hover {
	color:#70b7fc;				
}
#nav li.lang a, #nav li a.lang:hover, #nav li.lang a.selected, #nav li.lang a.selected:hover {
	margin-right:0;
	margin-left:20px;
}
/* nav dropdown */
#nav ul {
	top:36px;
	left:-20px;
	position: absolute;
	visibility:hidden;
    opacity:0; 
	display:block;/* hide dropdown */
	width:240px;
	padding:24px 0 0 0;
	transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	box-shadow: rgba(0,0,0,0.1) 0px 2px 0px 0;
}
#nav ul li {
	width:100%;
	background:white;
	padding-bottom:15px;
	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;
	position: relative;
	display:block;
	width:74%;
	margin:0 13%;
	height:40px;
	line-height:40px;
	text-align:left;	
	background:white;
	color:#444444;
	font-size:16px;		
}
#nav ul li a:hover { 
	color:#b0244a;
}
#nav ul li a:hover:before {
    width:0;
    height:0;
    -ms-transform: scale(1, 1); /* IE 9 */
    -webkit-transform: scale(1, 1); /* Safari 3-8 */
    transform: scale(1, 1); 
	transform-origin:center;
}
#nav ul li a:before, #nav ul li a:hover:before, #nav ul li a:link:before, #nav ul li a:visited:before {
	transition: transform 0.5s ease;
	-moz-transition: transform 0.5s ease;
	-webkit-transition: transform 0.5s ease;
	-o-transition: transform 0.5s ease;	
    width:0px;
    height:0px; 
    display:block;
    float:left;
    background:#b0244a;
     position: absolute;
     left:45%;
  	bottom:5px;
 	content: '';
  	display:block; 
}
#nav ul li a:hover:before {
    width:10%;
    height:2px;
    -ms-transform: scale(10, 1); /* IE 9 */
    -webkit-transform: scale(10, 1); /* Safari 3-8 */
    transform: scale(10, 1); 
	transform-origin:center;
}
#nav li:hover > ul {
	visibility:visible;
    opacity:1;
	display:block; /* show dropdown on hover */
}