@charset "UTF-8";
/* CSS Document */



 div#menu {
    font-size: 1em;
	line-height: 2em;
	background-color:#039;
	padding: 0px 10px 0 10px;
	width: 780px;
		text-align: center;

  } 





/*Create a horizontal list with spacing*/
li {
	display:inline-block;
	margin-right: 1px;
}

/*Style for menu links*/
li a {
	display:inline-block;
	text-align: center;
	line-height: 2em;
	color: #ccc;
	background: #039;
	text-decoration: none;
	padding: 0 20px 0 20px;


}

/*Hover state for top level links*/
li:hover a {
	color: #039;
	background-color:#ccc;
	text-align:center; 
	line-height: 2em;

}

/*Style for dropdown links*/
li:hover ul a {
	background: #ccc;
	color: #039;
	height: 40px;
	line-height: 40px;

}

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



/*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: 80px;
	padding: 0;
}

/*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 {
	text-decoration: none;
	color: #fff;
	background: #039;
	text-align: center;
	padding: 10px 0;
	display: none;
}

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

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


/*Responsive Styles*/


@media screen and (max-width : 800px){

 div#menu {
	width: 560px;
		padding:0;
    font-size: 1em;

  } 

li a {
	padding: 0 5px 0 5px;


}

  
}



@media screen and (max-width : 560px){
	/*Make dropdown links appear inline*/
	div#menu {
	width: 340px;
	    font-size: 1.4em;

  } 
	
	ul {
		position: static;

		display: none;



}
	/*Create vertical spacing*/
	li {
		margin-bottom: 1px;
	}
	/*Make all menu links full width*/
	ul li, li a {
		width: 100%;
		margin-left:-20px;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}