.custom-navbar {
	position: relative;
	background-color: #00a499;
}
.custom-navbar .inner {
	margin: 0px auto;
	max-width: 1048px;
	list-style: none;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: space-between;
	padding: 14px 0;
	position: relative;
}
@media (max-width: 640px) {
	.custom-navbar .inner {
		padding: 5px 0;
	}
}

.custom-navbar ul.primary-list {
	flex: 1;
	display: flex;
	align-items: center;
	margin: 0;
	white-space: nowrap;
	list-style: none;
}

.custom-navbar ul.primary-list li {
	margin: 0;
	padding: 0;
}

.custom-navbar ul li a {
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	color: #fff;
	text-transform: uppercase;
	padding: 7px 14px 5px;
	transition: all 0.35s ease;
}

.custom-navbar ul li a:hover {
	background-color: #fff;
	color: #00a499;
}

.custom-navbar .overflow {
	position: absolute;
	z-index: 15;
	top: 0;
	right: 0;
	display: flex;
	justify-content: right;
	align-items: center;
	height: 100%;
}

.custom-navbar .overflow li {
	display: block;
}

@media (max-width: 640px) {
	.custom-navbar .overflow {
		justify-content: center;
		width: 100%;
	}
}

.custom-navbar .overflow button {
	margin: 0;
	padding: 10px 14px 8px;
	font-family: "brandon-grotesque",sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	color: #fff;
	background-color: transparent;
	transition: all 0.2s ease;
}

.custom-navbar .overflow button:hover {
	background-color: #fff;
	color: #00a499;
}

.custom-navbar .overflow button i { font-weight: 600; }

@media (max-width: 640px) {
	.custom-navbar .overflow button {
		font-size: 16px;
		letter-spacing: 2px;
	}
}

.custom-navbar .overflow ul {
	display: block;
	position: absolute;
	right: 0px;
	bottom: 0;
	margin: 0;
	padding: 10px 0;
	width: 240px;
	background-color: #00a499;
	list-style: none;
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s;
	height: auto;
	text-align: right;
}

.custom-navbar .overflow ul li a {
	display: block;
}
@media (min-width: 640px) {
	.custom-navbar span.mobile-caption {
		display: none;
	}
}
@media (max-width: 640px) {
	.custom-navbar .overflow ul {
		width: 100%;
		text-align: center;
	}
	.custom-navbar span.desktop-caption {
		display: none;
	}
}

.custom-navbar .overflow.open ul {
	opacity: 1;
	pointer-events: all;
}