/* Main */
#menu {
    width: 100%;
	padding:3px 0 6px 0;
    margin: 0 auto;
    list-style: none;
	text-align: center;

}

#menu li {
	 display:inline-block;
}
#menu a {
    height: 40px;
    padding: 4px 15px;
    color: #ffffff;
    text-transform: uppercase;
    font-size:20px; font-family:Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
    text-decoration: none;font-weight: bolder;
	text-align: center;
}

#menu li:hover > a {
    color: deepskyblue;
	text-decoration: underline;
}
/* IE6 */
html #menu li a:hover { 
    color: deepskyblue;
	text-decoration: underline;
}

#menu li:hover > ul {
    display: block;
}

/* Sub-menu */
#menu ul {
    list-style: none;
    margin: 0px;
    padding: 5px 0 ;    
    display: none;
    position: absolute;
    left: auto;
    z-index: 99999;background-color: navy;text-align: center;
    

}

#menu ul li {
    float: none;
    margin: 0;
    padding:0px 0px;
    display: block;  
    
}

#menu ul li:last-child { 
    box-shadow: none;    
}

#menu ul a {    
    padding: 5px 5px;
    height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;font-size:18px;

}

html #menu ul a { /* IE6 */   
    height: 100%;
    width: 100%;
}

*:first-child+html #menu ul a { /* IE7 */    
    height: 100%;
    width: 100%;
}

#menu ul a:hover {
    background:blue;width:100%;
}

#menu ul li:first-child a {
    border-radius: 0px 0px 0 0;
}

#menu ul li:first-child a:after {
   
}

#menu ul li:first-child a:hover:after {
 
}

#menu ul li:last-child a {
    border-radius: 0 0 0px 0px;
}

/* Clear floated elements */
#menu:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

 html #menu             { zoom: 1; } /* IE6 */
:first-child+html #menu { zoom: 1; } 

/*Style for dropdown links*/
li:hover ul a {
	background: navy;
	color: #2f3036;
	height: 40px;
	line-height: 40px;padding:10px
}

/*Hover state for dropdown links*/
li:hover ul a:hover {
	background: #ff00ff;
	color: #fff;
}

/*Hide dropdown links until they are needed*/
li ul {
	display: none;
}

/*Make dropdown links vertical*/
li ul li {
	display: block;
	float: none;
}

/*Prevent text wrapping*/
li ul li a {
	width: auto;
	min-width: 150px;
	padding: 0 	10px;
}

/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
	display: block;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: bold;
	text-decoration: none;
	color: #ffffff;
background-color:#000000 ;
	text-align: center;
	padding: 10px 0;
	display: none;
	 font-size:26px;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}


/*Responsive Styles*/

@media screen and (max-width : 1056px){
	#menu {
display: none;background-color: #0000FF;
}

	#menu ul {
	width:98%;
    list-style: none;
    margin: 0px;
    padding:0;
    display: none;
    position: relative;
    top: auto;
    z-index: 99999;
	background-color: #000000;   
	}
	

/*Make dropdown links appear inline*/
     #menu2 ul {
    position: static;
     display: none;
}
	/*Create vertical spacing*/
	li {
		margin-bottom: 1px;width:95%;
	}
	/*Make all menu links full width*/
	ul li, li a {
		width: 100%;
		padding-bottom: 5px;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
#menu ul li:first-child a:after {
    content: '';
    position: absolute;
    left: 0px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: #04acec;
	text-align: center;
}
}