@charset "UTF-8";
/* Main */
#menu {
    width: 100%;
    margin: 0;
    padding: 8px 0 8px 0;
    list-style: none;  
    text-align:center;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	
}
#menu li {
	display: flex; flex-direction: column
}
#menu a {
	float: none;
    height: 25px;
    padding: 0px 12px;
    color: #000000;
    text-transform: uppercase;
    font-size:18px;
	font:"Arial";
	font-weight: bolder;
    text-decoration: none;display: flex; flex-direction: column
}

#menu li:hover > a {
    color: #000000;
	text-decoration: underline;
	text-decoration-color: #FFBF00;
	background-color:yellow;padding: 10px 5px 10px 5px;
}
*html #menu li a:hover { /* IE6 */
    color: #FFBF00;
	text-decoration: underline;
	text-decoration-color: #FFBF00;
	background-color:#002CFF;
}

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

/* Sub-menu */
#menu ul {
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
	top:;
    z-index: 99999;    
    background-color: #002CFF;
	color:#FFFFFF;
}   

#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;
	background-color:#002CFF;
	color:#ffffff;
}

*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-color:yellow;
}

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

#menu ul li:first-child a:after {
    content: '';
    position: absolute;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid transparent;
}

#menu ul li:first-child a:hover:after {
    border-bottom-color: transparent; 
}

#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-color: #002CFF;
	text-align: center;
	padding: 5px;
	display: none;
	 font-size:28px;

}

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

/*Show menu when invisible checkbox is checked*/
input[type=checkbox]:checked ~ #menu{
    display: block;
}
@media screen and (max-width : 1056px){
	#menu {
display: none;background-color: deeppink;z-index:99;
}

	#menu ul {
    list-style: none;
    margin: 0px;
    padding:0;
    display: none;
    position: relative;
    top: auto;
    z-index: 99999999;
    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;
    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;
}
}