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

}

#menu li {
	 display:inline-block; 
}
#menu a {
    height: 30px;
    padding: 8px 15px;
    color: #ffffff;
 
    font-size:19px; font-family:Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
    text-decoration: none;font-weight: bolder;
	text-align: center;
}

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

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

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

}

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

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

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

*html #menu ul a { /* IE6 */   
    height: 10px;
    width: 150px;
}

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

#menu ul a:hover {
    
    background:navy;
}

#menu ul li:first-child a {
    border-radius: 5px 5px 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 5px 5px;
}

/* 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; } /* IE7 */

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

/*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: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
	font-weight: bold;
	text-decoration: none;
	color: #ffffff;
background: #000000;
	text-align: center;
	padding: 10px 0;
	display: none;
	 font-size:20px;
}

/*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 {
    list-style: none;
    margin: 0px;
    padding:0;
    display: none;
    position: relative;
    top: auto;
    z-index: 99999;
    background-color: #000000;
  

}
	/*Make dropdown links appear inline*/
/*Make dropdown links appear inline*/
     #menu2 ul {
    position: static;
     display: none;
}
	/*Create vertical spacing*/
	li {
		margin-bottom: 1px;
	}
	/*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;
	padd
    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;
}