header {
    position: absolute;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    padding: 10px 0;
    box-sizing: border-box;
}

header .res-white-logo {
	display: none;
}

header:after {
	content: '';
    position: absolute;
    top: -140px;
    right: 0;
    width: 100%;
    height: 286px;
    background: url(/wp-content/themes/bravons/assets/singleheader.png);
    z-index: 99;
    background-repeat: no-repeat;
}

body.home header:after {
	display: none;
}

header .container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	overflow: visible;
}

header figure.nav-logo {
	z-index: 99999;
}

header figure.nav-logo img {
	width: 200px;
}

header nav {
	z-index: 999999999;
}

header nav#mobile-menu {
	display: none;
}

header nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	max-width: 875px;
	max-width: 1100px;
}

@media screen and (max-width: 1500px) {
	
	header nav {
		max-width: calc(100% - 270px);
	}
	
}

body.home header nav ul {
	max-width: 875px;
}

header nav ul li {
    margin: 5px 40px 5px 0px;
    position: relative;
}

header .responsive-menu {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #72b51b;
}

header .responsive-menu div {
	height: 100%;
}

header .responsive-menu ul.menu {
    display: grid;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    height: 100%;
    width: auto;
    margin: 0 auto;
}

header .responsive-menu ul.menu li {
	width: 100%;
}

header .responsive-menu ul.menu li a {
    color: white;
    text-align: center;
    font-size: 21px;
    padding: 16px;
    box-sizing: border-box;
}

header nav ul li.menu-item-has-children {
    padding-right: 15px;
    display: inline-block;
}

header nav ul li.menu-item-has-children ul.sub-menu {
	display: none;
}

header nav ul li.menu-item-has-children span {
	position: absolute;
    right: 0;
    color: white;
    top: 5px;
}

header nav ul li.menu-item-has-children ul {
    position: absolute;
    padding-top: 10px;
    width: max-content;
}

header nav ul li.menu-item-has-children ul li {
	margin: 0;
	border-top: 1px solid #333;
    width: -webkit-fill-available;
    padding: 0 !important;
    min-width: 200px;
}

header nav ul li.menu-item-has-children ul li a:hover {
    background: #588c15;
}

header nav ul li.menu-item-has-children ul li:first-child {
	border-top: 0;
}

header nav ul li.menu-item-has-children ul li a {
    background: var(--maincolor);
    padding: 10px 20px;
    width: auto;
}

header nav ul li.current-menu-item a {
border-bottom: 2px solid white;
}

header nav ul li:last-child {
	margin-right: 0;
}

header nav ul li a {
color: white;
    font-size: 17px;
    font-weight: 500;
}

@media screen and (max-width: 1500px) {
	
	header nav ul li a {
		    font-size: 18px;
	}
	
	header nav ul li.menu-item-has-children span {
		top: 2px;
	}
	
}

@media screen and (max-width: 800px) {
	
	header nav#mobile-menu {
	    display: block;
	    color: white;
	    font-size: 22px;
	    font-weight: 900;
	    cursor: pointer;
	}
	
	header nav#nav-menu {
		display: none;
	}
	
	header .container {
		align-items: center;
	}
	
	header .responsive-menu li.menu-item-has-children {
		position: relative;
	}
	
	header .responsive-menu li.menu-item-has-children span {
	    position: absolute;
	    top: 19px;
	    right: 45px;
	    color: white;
	}
	
	header .responsive-menu ul.menu li ul li:before {
		content: '-';
		color: white;
		position: relative;
	}
	
	header .responsive-menu ul.menu li ul li {
		display: flex;
	    align-items: center;
	    justify-content: center;
	    flex-wrap: wrap;
    }
		
}