/*
Responsive Mobile Toggle Menu v2.0
Description: Mobile first responsive toggle menu
Author: Danielle Vautier
*/

/*Menu mobile first CSS*/
body{ -webkit-animation: bugfix infinite 1s; }
/*This fixes a chrome/webkit bug for older Android Browsers */
@-webkit-keyframes bugfix { from {padding:0;} to {padding:0;} } 

.mainMenu {
	display:block;
	position:relative;
	width:100%;
	margin:0;
	padding:0;
	text-align: center;
	float:left;
	}
	
#toggleMenu, .toggleMenu { 
	display: none;
	}

.toggleMenu { 
	display: block; 
	position: relative; 
	cursor: pointer; 
	-webkit-touch-callout: none; 
	-webkit-user-select: none; 
	user-select: none; 
	}
	
#toggleMenu:checked ~ .menu {  
	max-height:2000px; /*Make page height */ 
	opacity:1;
	}
	
.menu {
	width:100%;
	margin:0;
	padding:0;
	list-style:none;
	float:left;
    overflow-y: hidden;
	max-height:0;
	}

.menu ul {
	float:left;
	width:100%;
}

.menu li {
	margin:0;
	padding:0;
	white-space:nowrap;
	display:block;
	width:100%;
	}
	
.menu li:hover {
	cursor:pointer;
	}
	
.menu a, .menu a:visited {
	text-decoration:none;
	display:block;
	width:94%;
	padding:5px 3%;
	}

.menu li:first-child {
	border-left:0;
	}	

label.menuTitle {
	text-align:left;
	padding:6px 3%;
	margin:0;
	width:94%;
	display:block;
	font-weight:bold;
	cursor:pointer;
/*	background:url(../images/menu.svg) no-repeat 97% 10px;*/
	background:url(../images/menu.png) no-repeat 97% 10px;
	background-size: 24px 19px; 
	}
	
@media screen and (min-width:768px) {
	label.menuTitle {
		display:none;
		}
	
	.menu { 
		display:block!important;
		border:0;
		overflow:visible;
		max-height:100px!important;
		padding:10px 0;
		}	

	.menu li {
		width:auto; 
		display:inline; 
		border:0; 
		}
		
	.menu li:hover  {
		background:none;
		}
	
		
	.menu a, .menu a:visited {
		display:inline; 
		width:auto;
		}
	}


/*Menu Styling CSS*/

.mainMenu {
	border-bottom:1px solid #ccc;
	box-shadow:0px 0px 3px 5px #ececec;
	}

.menu li {
	border-top:1px solid #ccc;
	}
	
.menu a, .menu a:visited, .menu:active {
	color:#333;
	background: none;
	}
	
label.menuTitle {
	font-size:20px;
	}
	
@media screen and (min-width:768px) {
	.menu li {
		border:0;
		}
	
	.menu li:hover a {
		color:#ccc;
		}

	.menu a, .menu a:visited {
		padding:0 3px 0 8px;
		}
}