/*Strip the ul of padding and list styling*/
#menubar {
clear: both;
width: 100%; 
height: 50px;
background: #444;
}

nav {
    width: 100%;
    background: #444;
    text-align: center;
    
}

nav ul {
	list-style-type:none;
	margin: 0 auto;
	padding:0;
    background: #444;
    width: 100%;
    max-width: 960px;
}

/*Create a horizontal list with spacing*/
nav li {
	display:inline-block;
	float: left;
	margin-right: 1px;
border-right: solid thin #fff;
}

/*Style for menu links*/
nav li a {
	display:block;
	min-width: 150px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-family: "Montserrat", Arial, sans-serif;
	color: #fff;
	background: #444;
	text-decoration: none;
}

/*Hover state for top level links*/
nav li:hover a {
	background: #ccc;
    color: #444;
}

/*Style for dropdown links*/
nav li:hover ul a {
	background: #ccc;
	color: #444;
	height: 40px;
	line-height: 40px;
    text-align: left;
}

/*Hover state for dropdown links*/
nav li:hover ul a:hover {
	background: #f3f3f3;
	color: #444;
}

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

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

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

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

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: "Montserrat", Arial, sans-serif;
	text-decoration: none;
	color: #fff;
	background: #000;
	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 ~ #menu{
    display: block;
}

/*********************************************************** Responsive *********************************************************************/

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

#menubar {
margin-top: 50px;
}

/*Make dropdown links appear inline*/
	nav ul {
		position: static;
		display: none;
	}
	/*Create vertical spacing*/
	nav li {
		border-bottom: solid thin white;
/*margin-bottom: 1px;*/
	}
	/*Make all menu links full width*/
	nav ul li, li a {
		width: 100%;
	}
    
    nav li:hover ul a {
    text-align: center;
}
    
    /*Display 'show menu' link*/
	.show-menu {
		display:block;
cursor: pointer;
	}
}