/************************************************************************************
NAV
*************************************************************************************/


.HighLighted, #menuElem > a:hover
{
    background-color:#f2f0f0;
    text-decoration:none;
    }


#menuElem > li > ul > li > a { text-decoration:none !important;}
#menuElem-wrap {

}

/* menu icon */
#menu-icon {
	display: none; /* hide menu icon initially */
}

#menuElem, 
#menuElem li {
	margin: 0;
	padding: 0;
}
#menuElem li {
	list-style: none;
	float: left;
	padding-right: 5px;
	border-right:1px solid gray;
}

/* nav link */
#menuElem a, #menuElem span {
	padding: 0px 15px 2px;
	display: block;
	color: #1f436f;
	font-weight:bold;
	text-decoration:none;
	cursor:pointer;
}



/* nav dropdown */
#menuElem ul {
	background: #fff;
	padding: 2px;
	position: absolute;
	border: solid 1px #ccc;
	display: none; /* hide dropdown */
	z-index:1001;

}
#menuElem ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#menuElem li:hover > ul {
	display: block; /* show dropdown on hover */
}

/************************************************************************************
NAV FLOATS ON TOP OF WEB PAGE
*************************************************************************************/


.default, .fixed nav 
{
    margin:0px auto; width: inherit;
}

.fixed {
    box-shadow: 0 3px 8px 3px #888888;
    -webkit-box-shadow: 0px 3px 8px 3px #888;
    -moz-box-shadow: 0px 3px 8px 3px #888;
    left: 0;
    position: fixed;
    top: 0;
    width: 100% !important;
    z-index: 1001;
 background-color:White !important;
}
  .fixed table {
    margin: 0 auto;
    text-align: center;
}





/************************************************************************************
MOBILE
*************************************************************************************/
@media screen and (max-width: 601px) {


.MobileMainMenu {
    float: left;
    padding-top: 4px;
}
	/* nav-wrap */
	#menuElem-wrap {
		position: relative;
		border: solid 1px #666;
		margin-left: 1px;
		height:100%;
	}
    #menu, #menuElem-wrap{height:31px;}
    #menuElem a, #menuElem ul a, .menutitleshowmaincategory {font-size:20px !important;}
	/* menu icon */
	#menu-icon {
		color: #000;
		width: 100%;
		height: 30px;
		background: #ecebeb url(menu-icon.png) no-repeat 10px center;
		padding: 0px;
		cursor: pointer;
		display: block;

	}
	#menu-icon:hover {
		background-color: #f8f8f8;
	}
	#menu-icon.active {
		background-color: #bbb;
	}
	
	/* main nav */
	#menuElem {
		clear: both;
		position: absolute;
		top: 30px;
		left:-1px;
		width: 100%;
		z-index: 10000;
		background: #f8f8f8;
		border: solid 1px #999;
		display: none; /* visibility will be toggled with jquery */
	}
	#menuElem li 
	{
	    border-right:0px;
		clear: both;
		float: none;
		padding: 3px 0 3px 10px;

	}
	#menuElem a, 
	#menuElem ul a {
		font: inherit;
		background: none;
		display: block;
		padding: 0;
		border: none;
	}
	#menuElem a:hover, 
	#menuElem ul a:hover {
		background: none;
		color: #000;
	}
	
	/* dropdown */
	#menuElem ul {
		width: auto;
		position: static;
		display: none;
		border: none;
		background: inherit;
	}
	#menuElem ul li {
		margin: 3px 0 3px 15px;
	}
#menuElem li:hover > ul {
	display: none; /* show dropdown on hover */
}
.default{width:100% !important;}

.HighLighted, .HighLighted a{ background-color:#BFD3F0; color:White;}

}


/************************************************************************************
NON MOBILE
*************************************************************************************/
@media screen and (min-width: 601px) 
{
    #menuElem > li { background-color:inherit;}
#menuElem .HighLighted a,#menuElem a:hover{ text-decoration:underline;}
	/* ensure #menuElem is visible on desktop version */
#menuElem {
		
		padding-top:6px;	
	       }
.HighLightedFirstMenuItem, .FirstMenuItem{ border-left:1px solid gray;}
#menuElem li:hover > ul li { border:0px;}

}

