/* @override http://neo.emenda.fr/wp-content/themes/emenda/css/nav.css */
#cd-cart-trigger {
  position: absolute;
  top: 20px;
  height: 100%;
}
#cd-cart-trigger a {
  width: 60px;
  height: 100%;
}
#cd-cart-trigger {
  right: 0;
}

a#close-cart,
#cd-cart-trigger a {
	text-decoration: none;
	font-size: 2em;
	padding: 0 .5em;
	color: #808080;
	top: 20px;
}
a#close-cart {
	position: absolute;
	right: 0;
}
a#close-cart:before,
#cd-cart-trigger a:before {
	font-family: 'FontAwesome';
	content: "\f0c9";
}
a#close-cart:before {
	content: "\f00d";
}
a#close-cart i,
#cd-cart-trigger a i {
	display: none;
}
nav#main-nav {
	background: #808080;
	margin: 15px 0;
}
header nav a {
	line-height: 36px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
}
nav#main-nav {
	width: 100%;
	box-shadow: 0 6px 5px rgba(0,0,0,.2);
	position: relative;
	z-index: 9;
}
nav#main-nav .wrapper {
	min-height: 46px;
	position: relative;
}
#nav,
#nav ul {
	position: relative;
	list-style: none;
	margin: 0 auto;
	padding: 0;
	display: block;
}
#nav li{
	float: left;
}
#nav a {
	font-size: 13px;
	font-weight: 400;
	display: block;
	float: left;
	position: relative;
	text-decoration: none;
	padding: 0 20px;
	color: #fff;
	line-height: 46px;
	height: 46px;
	transition: background 0.5s ease;
	border-right: 1px solid #777;
}
#nav .menu-item-has-children {
	position: relative;
}
#nav .menu-item-has-children>a:after {
	content: "\f107";
	color: #fff;
	color: rgba(255,255,255,.3);
	font-family: 'FontAwesome';
	margin-left: 10px;
}
#nav .current-menu-item>a:after,
#nav .current-menu-parent>a:after,
#nav .menu-item-has-children:hover>a:after {
	color: #fff;
}
#nav ul ul {
	background: #fff;
	display: none;
	position: absolute;
	top: 46px;
	left: 0;
	float: left;
	z-index: 9;
	padding: 0;	
	box-shadow: 0 2px 2px rgba(0,0,0,.2);
}
#nav ul ul a {
	font-size: 12px;
	line-height: 15px;
	background: #eaebe2;
	color: #6b6b6b;
	text-transform: uppercase;
	font-weight: normal;
	display: block;
	width: 100%;
	padding: 10px;
	border-top: 1px solid rgba(0,0,0,.1);
	border-right: none;
	height: auto;
}
#nav ul li.projects ul a {
	min-width: 300px;
}
#nav ul li:hover > ul {
	display: block;
}
#nav ul ul ul {
	left: 100%;
	top: 0;
}
#nav ul ul li {
	min-width: 100%;
}
#nav li:hover > a {
	background: #555;
	color: #97bf0d;
}
#nav ul ul :hover > a {
	background-color: #6b6b6b;
	color: #fff;
}
#nav ul li.current_page_item > a,
#nav ul li.current-menu-item > a,
#nav ul li.current-menu-parent > a,
#nav ul li.current-menu-ancestor > a,
#nav ul li.current-page-ancestor > a,
#nav ul li.current_page_item > a:hover,
#nav ul li.current-menu-item > a:hover,
#nav ul li.current-menu-parent > a:hover,
#nav ul li.current-menu-ancestor > a:hover,
#nav ul li.current-page-ancestor > a:hover {
	background-color: #6b6b6b;
	color: #97bf0d;
}
#nav ul li.no-active-submenu li a {
	background-color: #eaebe2;
	color: #6b6b6b;
}






/* home link */
#nav ul.nav>li:first-child>a {
	background-color: transparent;
	color: #fff;
}
#nav ul.nav>li:first-child>a:hover {
	background: #6b6b6b;
}



/* mobile menu */
#cd-cart form.mobile-form {
	padding: 10px;
}
#cd-cart form.mobile-form input.search-field,
#cd-cart form.mobile-form button.search-submit {
	height: 28px;
	line-height: 28px;
	padding-left: 10px;
	font-size: 14px;
	border: none;
	width: 80%;
	float: left;
	border-radius: 4px 0 0 4px;
	background: #fff;
}
#cd-cart form.mobile-form button.search-submit {
	width: 19%;
	text-align: right;
	border-radius: 0 4px 4px 0;
	padding: 0 10px 0 0;
}
#cd-cart form.mobile-form button.search-submit i {
	display: none;
}
#cd-cart form.mobile-form button.search-submit:before {
	font-family: 'FontAwesome';
	content: "\f002";
	vertical-align: bottom;
	font-size: 16px;
	color: #97bf0d;
}

#cd-cart ul a {
	display: block;
	padding: 15px 10px 15px 15px;
	text-decoration: none;
	border-bottom: 1px solid #666;
	font-weight: 400;
	text-transform: uppercase;
}
#cd-cart ul ul a {
	padding-left: 40px;
	font-size: .9em;
}
#cd-cart ul a:hover {
	color: #fff;
	background: #333;
}



@media only screen and (min-width: 1024px) {
  #cd-cart-trigger {
    /* cart right margin on desktop */
    right: 0;
  }
  #cd-cart-trigger a {
    position: relative;
  }
}
#cd-cart {
  position: fixed;
  top: 0;
  height: 100%;
  width: 260px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 3;
}
@media only screen and (min-width: 768px) {
  #cd-cart {
    width: 350px;
  }
}
@media only screen and (min-width: 1024px) {
  #cd-cart {
    width: 30%;
  }
}
#cd-cart {
  right: -100%;
  background: #444;
  -webkit-transition: right 0.3s;
  -moz-transition: right 0.3s;
  transition: right 0.3s;
  padding-top: 50px;
  z-index: 99999;
}
#cd-cart.speed-in {
  right: 0;
}