/*Strip the ul of padding and list styling*/
ul#menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
	overflow: auto;
}
/*Create a horizontal list with spacing*/
ul#menu li {
	display: inline-block;
	float: left;
	margin-right: 1px;
}

/*Style for menu links*/
ul#menu li a {
	display: block;
	min-width: 40px;
	height: 2.5em;
	text-align: center;
	line-height: 2.5em;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #fff;
	background: #1500fd;
	text-decoration: none;
	padding: 0 1em;
}
/*Hover state for top level links*/
ul#menu li:hover a {
	background: #693dff;
}
/*Style for dropdown links*/
ul#menu li:hover ul a {
	background: #f3f3f3;
	color: white;
	height: 1.5em;
	line-height: 1.5em;
}
/*Hover state for dropdown links*/
ul#menu li:hover ul a:hover {
	background: #b38bff;
	color: #fff;
}

/*Hide dropdown links until they are needed*/
ul#menu li ul {
	display: none;
}
/*Make dropdown links vertical*/
ul#menu li ul li {
	display: block;
	float: none;
}
/*Prevent text wrapping*/
ul#menu li ul li a {
	width: auto;
	min-width: 40px;
	padding: 0 0.5em;
}
/*Display the dropdown on hover*/
ul#menu 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;
	text-decoration: none;
	color: #fff;
	background: #1500fd;
	display: none;
	text-align: center;
	padding: 8px 0;
	border-bottom: 1px solid #240bce;
}
.show-menu .navicon {
	float: left;
	padding-left: 1em;
}
.show-menu .navicon-hide {
	color: #1500fd;
	float: right;
	padding-right: 1em;
}
/*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 : 760px){
	/*Make dropdown links appear inline*/
	ul#menu {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	ul#menu li {
		border-top: 1px solid #693dff;
		border-bottom: 2px solid #240bce;
	}
	/*Make all menu links full width*/
	ul#menu li, 
	ul#menu li a {
		width: 100%;
		padding: 0;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}
