.custom-navbar {
	position: relative;
	border-bottom: 1px solid #cbcbcb;
	margin: 0 -10px 50px;
}

.custom-navbar .inner {
	margin: 0px auto;
	max-width: 966px;
	list-style: none;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: space-around;
	padding: 24px 15px;
	position: relative;
	visibility: hidden;
}

.custom-navbar.initialized .inner {
	visibility: visible;
}

.custom-navbar ul.primary-list {
	display: none; /* this should always be hidden in mobile */
}

.custom-navbar ul.primary-list li {
	margin: 0;
	padding: 0 12px;
}

.custom-navbar ul li a {
	font-size: 15px;
	font-weight: 600;
	line-height: 1em;
	color: #021d44;
}

.custom-navbar .overflow {
	position: absolute;
	z-index: 15;
	top: 0;
	right: 0;
	display: flex;
	justify-content: right;
	align-items: center;
	height: 100%;
	width: 100%;
}

.custom-navbar .overflow button {
	margin: 0;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1em;
	color: #021d44;
	background-color: transparent;
	width: 201px;
	font-family: 'Montserrat', sans-serif;
}

.custom-navbar .overflow button:focus {
	outline: none;
}

.custom-navbar .overflow button .fa {
	vertical-align: middle;
}

.custom-navbar .overflow ul {
	position: absolute;
	right: 0px;
	bottom: 0;
	margin: 0;
	padding: 12px 24px;
	width: 100%;
	list-style: none;
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}

.custom-navbar .overflow.open ul {
	opacity: 1;
	pointer-events: all;
	background-color: #fff;
	border: 1px solid #cbcbcb;
}

.custom-navbar span.desktop-caption {
	display: none;
}

@media screen and (min-width: 640px) {
	.custom-navbar .inner {
		padding: 12px 0px;
		margin: 0 15px;
	}
	
	.custom-navbar ul.primary-list {
		flex: 1;
		display: flex;
		align-items: center;
		margin: 0;
		white-space: nowrap;
		list-style: none;
		font-family: 'Montserrat', sans-serif;
	}
	
	.custom-navbar .overflow {
		width: auto;
	}
	
	.custom-navbar span.mobile-caption {
		display: none;
	}	
	
	.custom-navbar span.desktop-caption {
		display: inline-block;
	}
}
@media screen and (min-width: 64em) {
	.custom-navbar .inner {
		margin: 0 auto;
	}
}