/* @override http://2013.davidemanuel.com/wp-content/themes/DE2013/ui.css */

/* @override http://2013.davidemanuel.com/wp-content/themes/DE2013/ui.css */

/*=====================================================

   Navigation (with dropdowns)
   	
 ======================================================*/

div.menu {
	width: 100%;
	float: left;
	display: inline-block;
}

.navbar { /* Change this to suit the color theme of your site */
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
		box-sizing: border-box;
	float: right;
}
	
	.navbar a.toggle {
	  display: none;
	}
	
	.navbar ul {
		display: table;
		float: none;
		vertical-align: middle;
		margin-bottom: 0;
	width: 100%;
	margin-left: 0;
}

.navbar li a {
		display: table;
		float: none;
		vertical-align: middle;
		margin-bottom: 0;
	width: 100%;
	margin-left: 0;
	color: black;
	font: 18px 'Lato' ,"Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}
	
	.navbar ul li {
		display: inline-block;
		float: none;
		list-style-type: none;
		text-align: center;
	margin: 16px 40px 0 0;
}

.navbar ul li:last-child {
	margin-right: 0;
	margin-bottom: 0;
}
	
	.navbar > ul > li > a {
		display: block;
		padding: 0;
	}
	
	.navbar > ul > li .field {
		position: relative;
		display: inline-block;
		text-align: center;
	}
	
	.navbar > ul > li .field .search input {
		line-height: 14px;
	}
	
	.navbar > ul > li:hover > a {	
		position: relative;
		z-index: 1000;
	color: #b6aa7a;
	padding-bottom: 0;
	margin-bottom: 0;
}
	
	.navbar > ul > li > li > a {
		padding: 0 33px;
	}
	
	.navbar > ul > li:last-child, .navbar > ul > li:last-child a:hover {
		border-right: none;
}
	
	
	/**** Navbar positioning for Microsoft's browser who deserves not to be mentioned ****/
	.ie7 .navbar > ul { width: auto; }

	.ie7 .navbar, .ie7 .navbar > ul > li > a { display: block; }
	
	.ie7 .navbar .logo, .ie7 .navbar ul, .ie7 .navbar ul li { float: left; display: inline-block; }
	
	.ie7 .navbar .logo a { display: block; overflow: hidden; }
	
	.ie7 .navbar > ul > li .field { display: block; padding: 12px 18px 0; width: 80%; }
	
	
	
	/******** CSS3 Dropdown Menu Styles **********/
	
	.navbar li .dropdown {
		width: auto;
		min-width: 0px;
		max-width: 380px;
		height: 0;
		position: absolute;
		background: #fff;
		overflow: hidden;
		z-index: 999;
	}
	
	.navbar li:hover .dropdown {
		min-height: 60px;
		max-height: 500px;
		height: auto;
		width: 100%;
		padding: 0;
		border-top: 1px solid #1d692d;
		
		-webkit-box-shadow: 0px 3px 4px rgba(0,0,0,.3);
		box-shadow: 0px 3px 4px rgba(0,0,0,.3);
	
	
		-webkit-transition: ease-in-out .2s;
		-moz-transition: ease-in-out .2s;
		-o-transition: ease-in-out .2s;
		-ms-transition: ease-in-out .2s;
		transition: ease-in-out .2s;
	}

	.navbar li .dropdown ul {
		margin: 0;
	}
	
	.navbar li .dropdown ul > li {
		display: block;
		width: 100%;
		float: left;
		text-align: left;
		height: auto;
		font: 16px "Helvetica Neue", arial, sans-serif;
		border-radius: none;
	}
	
	.navbar li .dropdown ul > li a {
		display: block;
		line-height: 26px;
		height: 26px;
		padding: 10px 20px;
		border-bottom: 1px solid #ddd;
	}
	
	.navbar ul .dropdown ul li:first-child a {
		border-radius: 0;
	margin-bottom: 0;
}
	
	@media only screen and (max-width: 767px) {
		
		.navbar, .pretty.navbar {
		  position: relative;
	  	background: transparent;
	  	border: none;
	margin-top: 0;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	padding-left: 0;
}
	  
	  .navbar a.toggle {
	    position: relative;
	    float: right;
	    display: inline-block;
	    right: -1px; /* Move me around */
	    top: 0;
	    width: 40px;
	    height: 36px;
	    line-height: 36px;
	    -webkit-transition-duration: .1s;  /* Saf3.2+, Chrome */
	    -moz-transition-duration: .1s;  /* FF4+ */
	    -ms-transition-duration: .1s;  /* IE10 */
	    -o-transition-duration: .1s;  /* Opera 10.5+ */
	    transition-duration: .1s;
border-radius: 6px;
	border: 1px solid #ece4dc;
	background: url(images/menu_icon.png) no-repeat center center;
}
	  
	  .navbar a.toggle:hover, .navbar a.toggle.active {
	    background: #c8c1bb;
	    -webkit-box-shadow: none;
	    box-shadow: none;
	    -webkit-transition-duration: .1s;  /* Saf3.2+, Chrome */
	    -moz-transition-duration: .1s;  /* FF4+ */
	    -ms-transition-duration: .1s;  /* IE10 */
	    -o-transition-duration: .1s;  /* Opera 10.5+ */
	    transition-duration: .1s;
	color: black;
		background: url(images/menu_icon.png) no-repeat center center;
}
	  
	  .navbar a.toggle.active {
	    background: #484543 url(images/menu_icon.png) no-repeat center center;
	color: #b6aa7a;
	text-shadow: #fff8f6 1px 1px 0;
-webkit-border-radius: 0px;
-webkit-border-top-left-radius: 6px;
-webkit-border-top-right-radius: 6px;
-moz-border-radius: 0px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-topright: 6px;
border-radius: 0px;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
}

#basicnav a.toggle img {
	margin-right: auto;
	margin-left: 2px;
	margin-top: -2px;
}
	  
	  .navbar ul {
	    position: absolute;
	    width: 93.75%;
	    height: 0;
	    max-height: 0;
	    overflow: hidden;
	    display: inline-block;
	    
	    background: #fff;

	    -webkit-transition-duration: .2s;  /* Saf3.2+, Chrome */
	    -moz-transition-duration: .2s;  /* FF4+ */
	    -ms-transition-duration: .2s;  /* IE10 */
	    -o-transition-duration: .2s;  /* Opera 10.5+ */
	    transition-duration: .2s;
	    
	    -webkit-box-shadow: 0px 3px 4px rgba(0,0,0,.3);
	    box-shadow: 0px 3px 4px rgba(0,0,0,.3);
	top: 37px;
	right: 0;
}
	  
	  .navbar ul.active {
	    width: 300px;
	    height: auto;
	    max-height: 600px;
	    z-index: 999;
	    -webkit-transition-duration: .5s;  /* Saf3.2+, Chrome */
	    -moz-transition-duration: .5s;  /* FF4+ */
	    -ms-transition-duration: .5s;  /* IE10 */
	    -o-transition-duration: .5s;  /* Opera 10.5+ */
	    transition-duration: .5s;
	top: 37px;
	float: left;
	position: absolute;
	background-color: #484543;
	-webkit-border-bottom-right-radius: 6px;
-webkit-border-bottom-left-radius: 6px;
-moz-border-radius-bottomright: 6px;
-moz-border-radius-bottomleft: 6px;
border-bottom-right-radius: 6px;
border-bottom-left-radius: 6px;
}
	  
	  .navbar ul li {
	  	display: block;
	  	width: 100%;
	  	-webkit-box-shadow: none;
	  	box-shadow: none;
	margin: 0;
}
	
	  .navbar ul li > a {
			background: #fefaf0;
	padding-bottom: 10px;
}
	  
	  .navbar li a:hover, .navbar > ul > li:first-child, .navbar > ul > li:first-child a:hover, .navbar > ul > li:last-child, .navbar > ul > li:last-child a:hover {	
	  	-webkit-box-shadow: none;
	  	box-shadow: none;
	padding-bottom: 10px;
}

.navbar li a:hover{	
	  	-webkit-box-shadow: none;
	  	box-shadow: none;
	background-color: black;
	border-bottom-width: 2px;
	border-width: 0;
	border-bottom-color: black;
}
	  
	  .navbar > ul > li:last-child, .navbar > ul > li:last-child a:hover {
	  	border-right: none;
	padding-bottom: 10px;
}
	  
	  .navbar li:first-child a {
	  	border-radius: 4px 4px 0 0 !important;
	  }
	  
	  .navbar li:last-child a {
	  	border-radius: 0 0 4px 4px !important;
}
	  
	  .navbar li:hover .dropdown {
	  	display: none;
	  }
	  
	  .navbar ul li > a {
	    background: transparent;
	    border: none;
	    font-size: 18px;
	color: #fefaf0;
	padding-top: 10px;
	padding-bottom: 10px;
	display: block;
	line-height: 20px;
	text-align: center;
	clear: left;
	float: left;
	border-bottom-style: hidden;
}
	  
	  .navbar ul li:hover > a {
	  	-webkit-box-shadow: none !important;
	  	box-shadow: none !important;
	display: block;
	padding-bottom: 10px;
}
	  
	}
	
	
/*=====================================================

   	Sub Navigation
   	
 ======================================================*/


  .subnav {
  	display: block;
    width: auto;
    overflow: hidden;
    margin: 0 0 18px 0;
    padding-top: 4px;
  }

  .subnav li, .subnav dt, .subnav dd {
    float: left;
    display: inline;
    margin-left: 9px;
    margin-bottom: 4px;
  }
  
  .subnav li:first-child, .subnav dt:first-child, .subnav dd:first-child {
  	margin-left: 0;
  }

  .sub-nav dt {
    color: #999;
    font-weight: normal;
  }

  .subnav li a, .subnav dd a {
  }
  
  .subnav li.active a, .subnav dd.active a {
  }
