/* Import Fonts
------------------------------------------------------------ */
@import url(https://fonts.googleapis.com/css?family=CAbin:400,700);

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

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

/*Style for menu links*/
li a {
	display:block;
	min-width:117px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-family: Cabin;
	color: #ffffff;
	background: #ce2127;
	text-decoration: none;
	cursor:pointer;
}

/*Hover state for top level links*/
li:hover a {
	background: #b61c21;
	color: #ffffff;
}

/*Style for dropdown links*/
li:hover ul a {
	background: #145f9c;
	color: #494949;
	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/
li:hover ul a:hover {
	background-image:url(images/btn_hov2.jpg);
	background-position:center top;
	color: #494949;
}

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

/*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: Cabin;
	font-size:22px;
	color: #ffffff;
	background: #ce2127;
	text-align: center;
	padding: 10px 0;
	display: none;
	cursor:pointer;
}

/*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 : 870px){
	/*Make dropdown links appear inline*/
	ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	li {
		margin-bottom: 0px;
	}
	/*Make all menu links full width*/
	ul li, li a {
		width: 100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
	
    /*Style for menu links*/
li a {
	
	background: #494949;
}

/*Hover state for top level links*/
li:hover a {
	background: #e0e0e0;
	color: #494949;
}

/*Hover state for dropdown links*/
li:hover ul a:hover {
	background-image:url(images/btn_hov4.jpg);
	background-position:center top;
	color: #494949;

}