#menu, #menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu {
	margin: 0px auto 10px;
	float:right;
}

#menu:before,
#menu:after {
	content: "";
	display: table;
}

#menu:after {
	clear: both;
}

#menu {
	zoom:1;
}

#menu li {
	float: left;
	position: relative;
	margin-bottom:0;
	text-align: center;
	line-height: 1;
	margin-left:2.5%;
}
.mac #menu > li{
	margin-left:12px;
}
.ie10 #menu > li{
	margin-left:11px;
}
@-moz-document url-prefix() {
	.mac #menu > li{
		margin-left:11px;
	}
	#menu > li{
		margin-left:15px;
	}
}

#menu > li:first-child{
	margin-left:0;
}
#menu > li:last-child{
	margin-left:00px;
	float:right;
}
body.en #menu > li:last-child{
	margin-left:12px;
	float:left;
}

#menu a, #menu .separator {
	font-size:12px;
	float: left;
	color: #ffffff;
	text-decoration: none;
	padding:12px 10px 10px 9px;
	border:1px solid #9f2633;
	font-weight:bold;
}
#menu li.active a, #menu li.active .separator{
	border-top:3px solid #9f2633;
}
#menu li.active li a, #menu li.active li .separator{
	border-top:none;
}

#menu a img{
	max-width:82px;
}
#menu a span{display:none;}


#menu li:hover > a, #menu li:hover > .separator{
	border-top:3px solid #9f2633;

}


*html #menu li a:hover { /* IE6 only */
	color: #fafafa;
}

#menu ul {
	margin: 20px 0 0 0;
	_margin: 0; /*IE6 only*/
	opacity: 0;
	display:none;
	visibility: hidden;
	position: absolute;
	top: 38px;
	left: 0;
	z-index: 999999;    
	background: #444;
	background: -moz-linear-gradient(#444, #111);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111));
	background: -webkit-linear-gradient(#444, #111);    
	background: -o-linear-gradient(#444, #111);	
	background: -ms-linear-gradient(#444, #111);	
	background: linear-gradient(#444, #111);
	-moz-box-shadow: 0 -1px rgba(255,255,255,.3);
	-webkit-box-shadow: 0 -1px 0 rgba(255,255,255,.3);
	box-shadow: 0 -1px 0 rgba(255,255,255,.3);	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;  
}

#menu li:hover > ul, #menu li.hover_effect > ul {
	opacity: 1;
	visibility: visible;
	margin: 0;
	display:block;
}

#menu ul ul {
	top: 0;
	left: 200px;
	margin: 0 0 0 20px;
	_margin: 0; /*IE6 only*/
	-moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
	-webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
	box-shadow: -1px 0 0 rgba(255,255,255,.3);		
}
#menu ul{
    min-width: 200px;
}

#menu ul li {
	float: none;
	display: block;
	border: none;
	text-align:left;
	_line-height: 0; /*IE6 only*/
	-moz-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
	-webkit-box-shadow: 0 1px 0 #111, 0 2px 0 #666;
	box-shadow: 0 1px 0 #111, 0 2px 0 #666;
	margin:0;
}

#menu ul li:last-child {   
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;    
}

#menu ul a {    
	padding:10px;
	_height: 10px; /*IE6 only*/
	height:34px;
	display: block;
	white-space: nowrap;
	font-weight:normal;
	float: none;
	text-transform: none;
	border:none;
}
#menu ul a:before{
	content: url(../images/list.png);	
}

#menu ul a:hover {
	background-color: #747474;
	background-image: -moz-linear-gradient(#878787,  #0186ba);	
	background-image: -webkit-gradient(linear, left top, left bottom, from(#878787), to(#747474));
	background-image: -webkit-linear-gradient(#878787, #747474);
	background-image: -o-linear-gradient(#878787, #747474);
	background-image: -ms-linear-gradient(#878787, #747474);
	background-image: linear-gradient(#878787, #747474);
	border-top:0;
}

#menu ul li:first-child > a {

}


#menu ul li:first-child a:hover:after {
	border-bottom-color: #04acec; 
}

#menu ul ul li:first-child a:hover:after {
	border-right-color: #0299d3; 
	border-bottom-color: transparent; 	
}

#menu ul li:last-child > a {

}

/* Mobile */
#menu-trigger {
	display: none;
}

@media screen and (max-width: 767px) {
    
    .open, .close {
    display: block;
    float: right;
    right: 0px;
    padding: 0;
    top: -4px;
    z-index: 99999;
    cursor: pointer;
    border: 1px solid;
    font-size: 22px;
    font-weight: lighter;
    }
    
    [class^="icon-"]:before, [class*=" icon-"]:before {
      font-family: "fontello";
      font-style: normal;
      font-weight: normal;
      speak: none;

      display: inline-block;
      text-decoration: inherit;
      width: 1em;
      margin-right: .2em;
      text-align: center;
      /* opacity: .8; */

      /* For safety - reset parent styles, that can break glyph codes*/
      font-variant: normal;
      text-transform: none;

      /* fix buttons height, for twitter bootstrap */
      line-height: 1em;

      /* Animation center compensation - margins should be symmetric */
      /* remove if not needed */
      margin-left: .2em;

      /* you can be more comfortable with increased icons size */
      /* font-size: 120%; */

      /* Uncomment for 3D effect */
      /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
    }
        .icon-plus:before { content: '+'; } /* '' */
        .icon-minus:before { content: '-'; } /* '' */
        *, *:before, *:after {
      -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
     }
	/* nav-wrap */
	#menu-wrap {
	}
    
	#menu-wrap * {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	/* menu icon */
	#menu-trigger {
		display: block; /* show menu icon */
		height: 32px;
		line-height: 35px;
		width:32px;
		cursor: pointer;		
		padding: 0 0 0 30px;
		color: #fafafa;
		font-weight: bold;
		background-color: #111;
		background: url(../images/resp_menu.png) no-repeat center center, -moz-linear-gradient(#444, #111); 
		background: url(../images/resp_menu.png) no-repeat center center, -webkit-linear-gradient(#444, #111);	
		background: url(../images/resp_menu.png) no-repeat center center, -o-linear-gradient(#444, #111);
		background: url(../images/resp_menu.png) no-repeat center center, -ms-linear-gradient(#444, #111);
		background: url(../images/resp_menu.png) no-repeat center center, linear-gradient(#444, #111);
		position:absolute;
		right:4px;
		top:-36px;
	}
	#menu-trigger.active{
		background: url(../images/close.png) no-repeat center center, -moz-linear-gradient(#444, #111); 
		background: url(../images/close.png) no-repeat center center, -webkit-linear-gradient(#444, #111);	
		background: url(../images/close.png) no-repeat center center, -o-linear-gradient(#444, #111);
		background: url(../images/close.png) no-repeat center center, -ms-linear-gradient(#444, #111);
		background: url(../images/close.png) no-repeat center center, linear-gradient(#444, #111);
	}
	
/*	.navigation{
		position:absolute;
		top:0;
		z-index: 9999;
	}*/
	
	/* main nav */
	#menu {
		margin: 0; padding: 10px;
		top: 00px;
		width: 100%;
		z-index: 1;
		background-color: #444;
		display: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;		
	}
        .lang-inline{
        display: inline-flex !important;}
    .lang-inline a:before{
        content:none !important;
}
    
	#menu ul {
		position: static;
		visibility: visible;
		opacity: 1;
		margin: 0;
		background: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;				
	}
    
    
    
	#menu ul ul {
		margin: 0 0 0 20px !important;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;		
	}
	#menu > li:first-child{margin:5px;}
    
    #menu li:hover > ul, #menu li.hover_effect > ul {
	opacity: 1;
	visibility: visible;
	margin: 0;
	display:none;
    }
	#menu li {
		position: static;
		display: block;
		float: none;
		border: 0;
		margin: 5px;
        line-height: 2;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		text-align: left;
	}
    
	#menu ul li{
		margin-left: 5px;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		text-align: left;		
	}
	#menu li:hover > a{border:none;}
	#menu a, #menu .separator{
		display: block;
		float: none;
		padding: 0;
		/*color: #999;*/
		background:none;	
		border:none;
		height:25px;	

	}

	#menu a:hover, #menu .separator:hover{
		color: #fafafa;
	}
	#menu li.active a, #menu li.active .separator{
		color: #fafafa;
	}
	#menu li.active li a, #menu li.active .separator a{
		color:#999999;
	}		
	#menu li.active li.active a, #menu li.active li.active .separator{
		color:#fafafa;
	}

	#menu ul a, #menu ul .separator{
		padding: 0;
		width: auto;	
		background:none;
		height:25px;	
	}

	#menu ul a:hover, #menu ul .separator:hover{
		background: none;	
	}

	#menu ul li:first-child a:after,
	#menu ul ul li:first-child a:after {
		border: 0;
	}		
	#menu li.active a{border:none;}
	#menu li:hover > .separator{border-top:none;}

}

@media screen and (min-width: 767px) {
	#menu {
		display: block !important;
		width:100%;
	}
}	

/* iPad */
.no-transition {
	-webkit-transition: none;
	-moz-transition: none;
	-ms-transition: none;
	-o-transition: none;
	transition: none;
	opacity: 1;
	visibility: visible;
	display: none;  		
}

#menu li:hover > .no-transition {
	display: block;
}

/*
Sidebar Menu
*/

.lsidebar .menu{
	background:#f8f8f8;
	border:1px solid #e8e8e8;
	padding:10px;
	border-radius:2px;
	/*box-shadow: 1px 1px 3px rgba(0,0,0,0.1);*/
}
.lsidebar .menu li a{
	text-decoration:none;
	-webkit-transition: border-bottom .2s ease-in;
	-moz-transition: border-bottom .2s ease-in;
	-ms-transition: border-bottom .2s ease-in;
	-o-transition: border-bottom .2s ease-in;
	transition:border-bottom .2s ease-in;
}
.lsidebar .menu li a:hover{
	border-bottom:2px solid #e8e8e8;

}
