/* MENU STYLE - IGNORE EVERYTHING ABOVE THIS LINE IF YOU WISH */

#menu {
width: 100%;
position:relative;
float:left;
z-index: 30;
margin-right: auto;
margin-left: auto;
}

ul#nav {
float: left;
width: auto;
margin: 0;
padding: 0;
z-index: 10;
padding-left: 10px;
}

.menufirst {
background: none !important;
border: none;
width: 40px !important;
padding: 0px !important;
}
/*
.menulast  {
	-moz-border-top-right-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-bottom-right-radius: 5px;
	border-bottom-right-radius: 5px;
	border-right:none !important;
}*/

ul#nav li {
	display: inline;
	float: left;

}


ul#nav li a, .btn_iferrday {
	padding-top: 10px;
float: left;
color: #FFFFFF;
text-decoration: none;
margin: 0;
font-size: 13px;
font-weight: normal;
margin-bottom: 6px;
text-transform: inherit;
font-family: 'georgiaregular';
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
width: 110px;
height: 30px;
text-shadow: 0 1px 0 rgba(0,0,0,0.8);
/*padding-top: 6px;*/
padding-right: 5px;
padding-bottom: 5px;
padding-left: 8px;
list-style: none;
position: relative;
background: #888888;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top, #888888 0%, #717171 50%, #5e5e5e 51%, #747474 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#888888), color-stop(50%,#717171), color-stop(51%,#5e5e5e), color-stop(100%,#747474));
background: -webkit-linear-gradient(top, #888888 0%,#717171 50%,#5e5e5e 51%,#747474 100%);
background: -o-linear-gradient(top, #888888 0%,#717171 50%,#5e5e5e 51%,#747474 100%);
background: -ms-linear-gradient(top, #888888 0%,#717171 50%,#5e5e5e 51%,#747474 100%);
background: linear-gradient(to bottom, #888888 0%,#717171 50%,#5e5e5e 51%,#747474 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#888888', endColorstr='#747474',GradientType=0 );
-moz-border-radius: 5px;
border-radius: 5px;
margin-left: 3px;
margin-right: 3px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;


-moz-transition: all 0.2s linear 0s;
-webkit-transition: all 0.2s linear 0s;
-o-transition: all 0.2s linear 0s;

}

/* APPLIES THE ACTIVE STATE */

ul#nav .current a, ul#nav li:hover > a  {
  	background-image: url(../img/bg_menu_hover.png);
	background-repeat: repeat-x;
	background-position:center left;
	
-moz-transition: all 0.2s linear 0s;
-webkit-transition: all 0.2s linear 0s;
-o-transition: all 0.2s linear 0s;

	
}

/* THE SUBMENU LIST HIDDEN BY DEFAULT */
ul#nav  ul {
display: none;
z-index: 2;
padding: 0px !important;
top: -8px;
left: 44px;
-moz-border-radius: 5px;
border-radius: 5px;
}

/* WHEN THE FIRST LEVEL MENU ITEM IS HOVERED, THE CHILD MENU APPEARS */
ul#nav li:hover > ul {
	position: absolute;
	display: block;
	background: rgba(56,56,56,0.9);
	height: auto;
	position: absolute;
	margin: 38px 0 0 0;
	z-index:2;
	left: 0px;
	width:150px;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-moz-border-bottom-left-radius: 3px;
	border-bottom-left-radius: 3px;
	-moz-border-bottom-right-radius: 3px;
	border-bottom-right-radius: 3px;
	-moz-box-shadow: 0px 1px 8px rgba(0,0,0,0.4);
	-webkit-box-shadow: 0px 1px 8px rgba(0,0,0,0.4);
	box-shadow: 0px 1px 8px rgba(0,0,0,0.4);
	
}


ul#nav li:hover > ul li a {
/*float: left;*/
width:150px;
color: white;
text-decoration: none;
margin: 0;
border: none;
text-transform: inherit;
font-family: 'georgiaregular';
font-size: 13px;
background: none !important;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}


ul#nav ul li a {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;

}



ul#nav li:hover > ul li a:hover, ul#nav li:hover {

  color: #91c03d;


	background-repeat: repeat-x;
-moz-border-radius: 5px;
border-radius: 5px;

}



.menu_dx a.btn_iferrday  span {
  position: relative;
  float: left;
  font-size: inherit;
  color: #808080;
  top: 0px;
  line-height: inherit;
}

