header {
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    background: white;
    border-bottom: 2px solid var(--maincolor);
}

body.home header {
	border-bottom: 0 !important;
}

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

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

header .container nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

header figure.nav-logo {
	z-index: 99999;
    margin-right: 20px;
}

header figure.nav-logo img {
    width: 190px;
    padding: 7px 0;
}

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;
}

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

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

header .responsive-menu {
	display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999999;
}

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: var(--maincolor);
    text-align: center;
    font-size: 21px;
    padding: 16px;
    box-sizing: border-box;
}

header #topbar {
    background: var(--maincolor);
}

header #topbar .container {
    justify-content: space-between;
}

header #topbar ul {
    margin: 5px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

header #topbar ul li {
    display: inline-block;
    margin-right: 20px;
    color: white;
    font-size: 16px;
}

header #topbar ul.extra-menu li {
    margin-right: 5px;
}

header #topbar ul.extra-menu li i {
    font-size: 9px;
}

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

header #topbar ul li a {
    color: white;
    font-size: 16px;
    font-weight: 400;
}

header #topbar ul.info-menu {
    float: left;
}

header #topbar ul.phone-numbers {
    float: right;
}

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: var(--maincolor);
    top: 2px;
}

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 white;
    width: -webkit-fill-available;
    padding: 0 !important;
    max-width: 250px;
}

header nav ul li.menu-item-has-children ul li a:hover {
    background: var(--subcolor);
	position: relative;
	z-index: 9999999;
}

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:last-child {
	margin-right: 0;
}

header nav ul li a {
	color: var(--maincolor);
    font-size: 20px;
    font-weight: 500;
}

header nav ul li ul li a {
	color: white;
}

@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 (min-width: 800px) {
	header nav#nav-menu {
	    flex: 1;
    	justify-content: flex-end;
	}
}

@media screen and (max-width: 800px) {
	
	header nav#mobile-menu {
	    display: block;
	    color: var(--maincolor);
	    font-size: 22px;
	    font-weight: 900;
	    cursor: pointer;
	}
	
	header nav#nav-menu {
		display: none;
	}
	
	header .container {
		align-items: center;
	}

	header figure.nav-logo {
	    flex: 1;
	}
	
	header .responsive-menu li.menu-item-has-children {
		position: relative;
	}
	
	header .responsive-menu li.menu-item-has-children span {
    position: absolute;
    top: 19px;
    right: 0;
    color: var(--maincolor);
	}
	
	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;
    }
		
}