.custom-navbar {
	position: relative;
	border-bottom: 2px solid #d9dfe2;
	margin: 0 0 30px;
	--title-box-width: 150px;
}

.custom-navbar .inner {
	margin: 0px auto;
	max-width: 986px;
	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;
	display: flex;
}

.custom-navbar ul li a {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1em;
	color: #004d71;
	text-transform: uppercase;
}

@media (hover : hover) {
	.custom-navbar ul li a:hover {
		text-decoration: none; /*reboot.css override*/
	}
}

.custom-navbar .overflow {
	position: absolute;
	z-index: 15;
	top: 0;
	right: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 100%;
	width: 100%;
}

.custom-navbar .overflow button {
	margin: 0;
	padding: 0 12px;
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 600;
	line-height: 1em;
	color: #004d71;
	background-color: transparent;
	width: 201px;
	text-transform: uppercase;
}

.custom-navbar .overflow button:focus {
	outline: none;
}

.custom-navbar .overflow button .fa {
	vertical-align: middle;
}

.custom-navbar .overflow ul {
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 0;
	width: 100%;
	list-style: none;
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
}

.custom-navbar .overflow ul li {
	padding: 5px 12px;
}

.custom-navbar .overflow.open ul {
	opacity: 1;
	pointer-events: all;
	background-color: #fff;
}

.custom-navbar span.desktop-caption {
	display: none;
}

/* alt styles */
.custom-navbar.alt-style {
	border-bottom: none;
	background-color: #eeeeee;
	margin-bottom: 5px;
}

.custom-navbar.alt-style .inner {
	height: 65px;
	padding: 0;
	justify-content: flex-start;
}

.custom-navbar.alt-style .blog-title {
	background-color: #004d71;
	color: white;
	padding: 0 15px;
	margin: 0;
	max-width: var(--title-box-width);
	bottom: 0;
	z-index: 10;
	display: flex;
	align-items: center;
    min-height: 100%;
}

.custom-navbar.alt-style.has-desc .blog-title {
	bottom: 0;
	padding-top: 18px;
	padding-bottom: 18px;
	flex-direction: column;
	position: absolute;
}

.custom-navbar.alt-style .blog-title h2 {
	display: flex;
	align-items: center;
	color: white;
	margin: 0;
	font-family: var(--font-display);
	text-transform: uppercase;
	font-size: 30px;
	font-weight: var(--font-weight-bold);
	text-align: center;
	line-height: .8;
}

.custom-navbar.alt-style.has-desc .blog-title h2 {
	min-height: 100%;
	margin-bottom: 8px;
}

.custom-navbar.alt-style.has-desc .blog-title p {
	font-family: var(--font-display-hand);
	text-align: center;
	line-height: 1.3;
}

.custom-navbar.alt-style ul li a,
.custom-navbar.alt-style .overflow button {
	font-size: 22px;
	font-family: var(--font-display);
	font-weight: var(--font-weight-bold);
	color: var(--black);
	text-decoration: none;
}
 
.custom-navbar.alt-style .overflow button i {
	color: var(--teal);
}

.custom-navbar.alt-style .overflow ul {
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.178);
}

.custom-navbar.alt-style .overflow li {
	padding: 9px 30px;	
}

@media (hover : hover) {
	.custom-navbar.alt-style .overflow li:hover {
		background-color: #bcebea;
	}
}

.custom-navbar.alt-style .overflow ul li a {
	text-transform: none;
	font-size: 17px;
	font-family: var(--font-body);
	font-weight: var(--font-weight-semibold);
	color: var(--black);
}

@media screen and (min-width: 23.43em) {
	.custom-navbar {
		--title-box-width: 181px;
	}

	.custom-navbar.alt-style .blog-title h2 {
		font-size: 45px;
	}

	.custom-navbar.alt-style .blog-title {
		max-width: var(--title-box-width); 
	}
}

@media screen and (min-width: 40em) {
	.custom-navbar {
		--title-box-width: 300px;
	}

	.custom-navbar .inner {
		padding: 12px 0px;
	}
	
	.custom-navbar ul.primary-list {
		flex: 1;
		display: flex;
		align-items: center;
		margin: 0;
		white-space: nowrap;
		list-style: none;
	}
	
	.custom-navbar .overflow {
		width: auto;
	}
	
	.custom-navbar span.mobile-caption {
		display: none;
	}	
	
	.custom-navbar span.desktop-caption {
		display: inline-block;
	}

	/* alt style */
	.custom-navbar.alt-style .inner {
		max-width: unset;
	}

	.custom-navbar.alt-style ul.primary-list {
		padding-left: 30px;
	}

	.custom-navbar.alt-style.has-desc ul.primary-list {
		padding-left: var(--title-box-width);
	}
}

@media screen and (min-width: 64em) {
	.custom-navbar.alt-style {
		margin-bottom: 28px;
	}
}

@media screen and (min-width: 80em) {
	.custom-navbar {
		--title-box-width: 400px;
	} 

	/* alt styles */
	.custom-navbar.alt-style .inner {
		max-width: unset;
		height: 100px;
	}

	.custom-navbar.alt-style .blog-title {
		padding: 0 65px;
	}

	.custom-navbar.alt-style.has-desc .blog-title {
		padding: 44px 60px 40px;
	}

	.custom-navbar.alt-style .blog-title h2 {
		font-size: 80px;
		margin-bottom: 5px;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
 
	.custom-navbar.alt-style.has-desc .blog-title h2 {
		font-size: 90px;
		margin-bottom: 12px;
	}

	.custom-navbar.alt-style .blog-title p {
		font-size: 25px;
		line-height: 1.1;
	}
	
	.custom-navbar.alt-style ul li a,
	.custom-navbar.alt-style .overflow button {
		font-size: 25px;
	}

	.custom-navbar.alt-style .overflow ul li a {
		font-size: 17px;
	}

	.custom-navbar.alt-style ul.primary-list {
		padding-left: 400px;
	}

	.custom-navbar.alt-style ul.primary-list li:first-of-type {
		padding-left: 70px;
	}
	.custom-navbar.alt-style ul.primary-list li {
		padding: 0 20px;
	}

	.custom-navbar.alt-style .overflow {
		margin-right: 105px;
	}

	.custom-navbar.alt-style .overflow ul {
		bottom: 18px;
	}

	.custom-navbar.alt-style ul.primary-list {
		padding-left: 0;
	}
}