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

/* MAIN MENU */

#menu {margin-top:0px;}

.mainmenu {width:100%; background-color:#0f3458; height:50px; }

/*Strip the ul of padding and list styling*/
.mainmenu ul {
	list-style-type:none;
	margin:0;
	padding:0;
	
}

/*Create a horizontal list with spacing*/
.mainmenu li {
	display:inline-block;
	float: left;
	margin-bottom:1px;
	
}

.mainmenu li ul{
	position: absolute;
	z-index: 100;
	
}

/*Style for menu links*/
.mainmenu li a {
	display:block;
	min-width:152px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-family: 'Lato', serif;
	color: #deeffa;
	background: #0f3458;
	text-decoration: none;
	border-right:solid 1px #fff;
	
}

/*Hover state for top level links*/
.mainmenu li:hover a {
	background: #05213c;
}

/*Style for dropdown links*/
.mainmenu li:hover ul a {
	background: #4585c5;
	color: #deeffa;
	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/
.mainmenu li:hover ul a:hover {
	background: #215992;
	color: #deeffa;
	z-index:9999px;
}

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

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

/*Prevent text wrapping*/
.mainmenu li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}

/*Display the dropdown on hover*/
.mainmenu ul li a:hover + .hidden, .hidden:hover {
	display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Lato", sans-serif;
	text-decoration: none;
	color: #deeffa;
	background: #4585c5;
	text-align: center;
	padding: 16px 0;
	display: none;
	height:20px;
}

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


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

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


/*Responsive Styles*/
@media screen and (max-width : 760px){
	/* MAIN MENU */
	/*Make dropdown links appear inline*/
	.mainmenu ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	.mainmenu li {
		margin-bottom: 1px;
	}
	/*Make all menu links full width*/
	.mainmenu ul li, li a {
		width: 100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
	
}