header {
	background: #2256a4;
	display: grid;
	grid-template-columns: 20px 150px auto 40px 20px; 
	grid-template-rows: 15px 40px 15px;
	width: 100vw;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	font-family: Century Gothic,CenturyGothic,AppleGothic,sans-serif; 
	font-size: 1.05em;
}
.header-title {
	grid-area: 2 / 2 / span 1 / span 1;
	display: flex;
	align-self: center;
}
.header-title a {
	display: block;
	text-decoration: none;
	color: #fff;
	font-size: 1.2em;
}

nav {
	display: flex;
	justify-content: flex-end;
	grid-area: 2 / 3 / span 1 / span 1;
	list-style: none;
	align-self: center;
}
nav > div > ul > li {
	display: inline-block;
	margin: 0 10px;
	position: relative;
	z-index: 6;
}
nav li a {
	color: #fff;
	text-decoration: none;
}

nav ul ul.children > li > a {
    display: block;
    padding: 0 20px;
    height: 100%;
}
nav ul ul.children a {
    border-bottom: none;
    color: black;
}
nav ul a:hover {
    color: #fff;
}
nav ul li > ul {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 1px;
    left: -10px;
    text-align: left;
    list-style: none;
    padding-top: 44px;
    z-index: -1;
}
nav ul li:hover > ul {
    color: #000;
    opacity: 1;
    visibility: visible;
}
nav ul > li > ul > li {
    background: #fff;
    padding: 10px 5px;
    border-left: 3px solid #eaeaea;
    border-right: 1px solid #eaeaea;
    width: 240px;
    position: relative;
    padding-left: 15px;
    /* padding-bottom: 1px; */
}
nav ul > li > ul li:after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid #eaeaea;
}
nav ul > li > ul > li:hover {
    border-left-color: #2256a4;
}
nav ul > li > ul a {
    color: #000!important;
}
ul#nav-icons {
	display: flex;
	justify-content: flex-end;
	grid-area: 2 / 4 / span 1 / span 1;
	list-style: none;
	align-self: center;
}
ul#nav-icons li {
	display: inline-block;
	margin-left: 12px;
}
ul#nav-icons li svg {
	fill: #fff;
}
ul#nav-icons li:nth-of-type(2) {
	display: none;
}
.current-menu-item, .current-page-ancestor {
	font-weight: bold;
	border-left-color: #2256a4;
}
.current-menu-item li, .current-page-ancestor li {
	font-weight: normal;
}
.mobile-exit {
	display: none;
}
.nav-searchbox {
	display: none;
}
#login {
	display: none;
}
@media only screen and (max-width: 950px) {
	nav {
	    display: block;
	    position: fixed;
	    top: 0;
	    width: 250px;
	    background: #2256a4;
	    min-height: 100vh;
		padding: 40px;
	    box-sizing: border-box;
	    box-shadow: -4px 3px 10px 1px rgba(0,0,0,0.5);
	    transition: all 0.5s ease-in-out;
	}
	nav > div > ul > li {
	    display: block;
	    margin-bottom: 10px;
	    margin-left: 0;
	    margin-right: 0;
	}
	ul#nav-icons li:nth-of-type(1) {
		display: none;
	}
	ul#nav-icons li:nth-of-type(2) {
		display: inline-block;
	}
	nav ul li > ul {
	    visibility: initial;
	    opacity: initial;
	    position: static;
	    padding-top: initial;
	    z-index: initial;
	}
	nav ul > li > ul > li {
	    background: initial;
	    padding: initial;
	    border: initial;
	    width: initial;
	    padding-left: 20px;
	    margin-top: 10px;
	    font-style: italic;
	}
	nav ul > li > ul a {
		color: #fff!important;
	}
	nav ul > li > ul li:after {
		display: none;
	}
	.mobile-exit {
	    text-align: center;
	    margin-bottom: 30px;
	    display: block;
	}
	.nav-searchbox {
		display: block;
		margin-top: 20px;
	}
	.nav-searchbox label {
		display: none;
	}
	.nav-searchbox input[type=submit] {
		box-shadow: none;
		border-radius: 0;
		padding: 10px;
		background: #418ad1;
		font-weight: bold;
		border: none;
		cursor: pointer;
		font-family: 'Raleway', sans-serif;
		font-size: 12px;
	}
	.nav-searchbox input[type=text] {
		border: none;
	    padding: 3px 10px;
	    font-family: 'Raleway', sans-serif;
	    font-size: 12px;
	    color: #666;
	    height: 28px;
	    width: calc(100% - 85px);
	}
	.closed {
		right: -300px;
	}
	.open {
		right: 0px;
	}
	#login {
		display: block;
	}
}