/* Main menu */


@media only screen and (min-width: 360px){

.top-bar label {display:none}
	
#mainmenu {
    margin: 0;
    list-style: none;
    margin-left:1em;
    float:left;
    padding-top:30px;
}

#mainmenu > li {
	border:0px solid #bbb;
}

#mainmenu > li > ul{
	margin-top:10px;
}

#mainmenu li {
    float: left;
    position: relative;
	/*margin-right:10px;*/
}
    
#mainmenu a  {
    float: left;
    /* height: 20px; */
    padding: 0 10px 0 10px;
    font-size: 1.1em;
    /*font-family: Verdana, Geneva, sans-serif; */
    text-decoration: none;
	line-height: 1.5;
}

#mainmenu li:hover > ul {
    display: block;
}
    
/* Sub-mainmenu */
    
#mainmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    /*  top: 16px;   //had to push it down only 9px in case the top menu forms two lines */
    top: 3.5ex;
    left: 0;
    z-index: 99999;
        
    
    background: #fdfdfd;
    /*border:1px solid black;*/
    
    /*
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left
					top,color-stop(0, #111),color-stop(1, #444));
    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 0 2px rgba(255,255,255,.5);
	-webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
	box-shadow: 0 0 2px rgba(255,255,255,.5);
	
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	border:1px solid #bbb;
	box-shadow: 1px 1px 2px rgba(95,95,95,.5);		
}
			
#mainmenu ul ul {
	top: -1px;
	left: 150px;
}
			    
#mainmenu ul li {
	float: none;
	margin: 0;
	padding: 0;
	display: block;
	/*
	-moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    */
}
	
#mainmenu ul li:last-child {   
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;    
}
		    
#mainmenu ul a {    
	padding: 10px;
	height: 10px;
	min-width: 130px;
	height: auto;
	line-height: 1;
	display: block;
	white-space: nowrap;
	float: none;
	text-transform: none;
}


					
					

*:first-child+html #mainmenu
ul a /* IE7 */
{    
height: 10px;
}


#mainmenu ul a:hover
{
    background: #0186ba;
    background: #333;
    background: #f1f1f1;
    /*
    background: -moz-linear-gradient(#04acec,  #0186ba);
    background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
	background: -webkit-linear-gradient(#04acec,  #0186ba);
	background: -o-linear-gradient(#04acec,  #0186ba);
	background: -ms-linear-gradient(#04acec,  #0186ba);
	background: linear-gradient(#04acec,  #0186ba);
	*/
}

#mainmenu ul li:first-child > a
{
    /*-moz-border-radius: 5px 5px 0 0;*/
   
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#mainmenu ul li:last-child > a
{
    /*-moz-border-radius: 5px 5px 0 0;*/
   
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}




	
#mainmenu ul li:first-child > a:after {
	/* Create a small triangle */
	content: '';	
	position: absolute;
	left: 20px;
	top: -8px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 8px solid #444;
}

#mainmenu ul ul li:first-child a:after {
	/* Small triangle for the 2nd sub-element */
	left: -8px;
	top: 12px;
	width: 0;
	height: 0;
	border-left: 0;
	border-bottom: 5px solid transparent;
	border-top: 5px solid transparent;
	border-right: 8px solid #444;
}



#mainmenu ul li:first-child a:hover:after {
	border-bottom-color: #04acec;		/* Color of the small triangle for first sub-element  */
	border-bottom-color:#333;	
}

#mainmenu ul ul li:first-child a:hover:after {
	border-right-color: #04acec;	/* blueish */
	border-right-color:#333;	
	border-right-color:#ddd;
	border-bottom-color: transparent;  
}





/* Clear floated elements */

#mainmenu:after 
{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
}