@charset "UTF-8";
/* CSS Only Responsive Menu */

/*Strip the ul of padding and list styling*/
#primary-nav ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;
}

/*Create a horizontal list with spacing*/
#primary-nav li {
	display:inline-block;
	float: left;
	margin-right: 1px;	/*edit if you want margin on parent menu*/
}

/*Style for parent menu links*/
#primary-nav li a {
	display:block;
	min-width: 40px; /* even spacing on parent items*/
	padding: 0 15px 0 15px;/*edit if you want padding on parent menu*/
	margin-left: 56px;
	text-align: left;	/*center if desired*/
	height: 40px;    /*modify to accomidate design*/
	line-height: 40px;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 700;
	font-size: 175%;
	color: #0f5c92;
	text-decoration: none;
}

/*Hover state for parent menu links*/
#primary-nav li:hover a {
	color: #ed1c24;
}

/*Style for dropdown links*/
#primary-nav li:hover ul a {
	background: #a8c686;
	color: #FFF;
	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/
#primary-nav li:hover ul a:hover {
	background: #0f5c92;
	color: #fff;
}

/*Hide dropdown links until they are needed*/
#primary-nav li ul {
	display: none;
}

/*Make dropdown links vertical*/
#primary-nav li ul li {
	display: block;
	float: none;
}

/*Set properties for sub-menu items. Prevent text wrapping*/
#primary-nav li ul li a {
	min-width: 100px;
	padding: 0 15px 0 15px;
	text-align: left;
}

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

/*Style 'show menu' label button and hide it by default hamburger menu*/
.show-menu {
	background-image: url(../images/menu-icon.png);
	background-repeat: no-repeat;
	background-size: cover;
	width: 50px;
	height: 50px;
	text-decoration: none;
	color: #fff;
	display: none;
	float: right;
}

.show-menu:hover {	
	background-image: url(../images/menu-icon-hover.png);
}

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

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


/*Mobile declarations*/

@media screen and (max-width : 767px){
	
	/*Make dropdown links appear inline*/
	#primary-nav ul {
		position: static;
		display: none;
	}
	
	/*Create vertical spacing*/
	#primary-nav li {
		margin-bottom: 1px;
	}
	
	/*Make all menu links full width*/
	#primary-nav ul li, #primary-nav li a {
		width: 100%;
		padding: 0;
		text-align: center;
	}	

	#primary-nav li ul li a {
		padding: 0;
		text-align: center;
	}
		
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}
