/*
Responsive Mobile Toggle Menu v2.2
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;
}
}
/*Required functional CSS don't change this bit
CSS styles are at the end! */

.mainMenu {
	display: block;
	position: relative;
	/*width:100%;*/
	margin: 0;
	padding: 0;
	float: left;
}
#toggleMenu {
	display: none;
}
#toggleMenu:checked ~ ul {
	max-height: 100%; /*Make page height*/
	opacity: 1;
}
.mainMenu > ul {
	/*width:100%;*/
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	overflow-y: hidden;
	max-height: 0;
}
.mainMenu li:first-child a{
	background: url(../img/home_icon.png) no-repeat center center;
	width: 26px;
	height: 12px;
	vertical-align: middle;
	padding: 27px 10px;
}
.mainMenu li:first-child a:hover {
	cursor: pointer;
}
.mainMenu li {
	margin: 0;
	padding: 0;
	white-space: nowrap;
	display: block;
	width: 100%;
	float: left;
	line-height: 60px;
	color: #fff;
}
.mainMenu a, .mainMenu a:visited {
	display: block;
	width: 100%; /*required to make whole element clickable*/
}
label.menuTitle {
	margin: 0;
	color: #5f5d53;
	display: block;
	cursor: pointer;
	background: url('../img/menu-white.png');
	background-image: url('../img/menu-white.svg'), none;
	background-repeat: no-repeat;
	background-position: 3% 30px;
	background-size: 24px 19px; /*Make same size as your menu.png*/
}
 @media screen and (min-width:768px) {
label.menuTitle {
	display: none;
}
.mainMenu ul {
	display: block!important;
	border: 0;
	overflow: visible;
	max-height: 100%!important;
	width: 100%;
}
.mainMenu ul li {
	width: auto;
	display: inline;
	border: 0;
}
}
/*Menu Styling CSS - change the below to suit your site!*/
.mainMenu {
	border-bottom: 0px solid #ccc;
	text-align: center;
}
.mainMenu li {
	border-top: 1px solid #ccc;
}
.mainMenu a, .mainMenu a:visited {
	color: #fff;
	text-decoration: none;
	width: 94%; /*Use 100% and box-sizing if not supporting ie7*/
	padding: 5px 3%;
	background: none;
}
label.menuTitle {
	font-size: 20px;
	width: 94%;  /*Use 100% and box-sizing if not supporting ie7*/
	padding: 6px 3%;
	font-weight: bold;
	line-height: 68px;
}
 @media screen and (min-width:768px) {
.mainMenu li {
	border: 0;
}
.mainMenu a:hover {
	color: #df5d0c;
}
.mainMenu a, .mainMenu a:visited {
	padding: 3px 8px 3px 8px;
}
}
 @media screen and (max-width:767px) {
.mainMenu a:hover {
	color: #df5d0c;
}
.mainMenu {
	width: 100%!important;
	background: #5f5d53;
	position: relative;
	z-index: 99;
}
.mainMenu ul {
	width: 100%!important;
}
.mainMenu li:first-child {
	width: 100%;
	padding: 27px 0px;
}
}
