.custom-navbar {
	position: relative;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 20px 0;
}
.custom-navbar .inner {
	margin: 0px auto;
	max-width: 1200px;
	list-style: none;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: space-between;
	padding: 30px 15px;
	position: relative;
}
@media (max-width: 640px) {
	.custom-navbar .inner {
		padding: 24px 15px;
	}
}

.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 12px;
}

.custom-navbar ul li a {
	font-family: 'Helvetica Neue LT W01_71488914', Arial, Helvetica, sans-serif;
	font-size: 27px;
	line-height: 1;
	color: #1d1d1d;
}

.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 {margin-bottom: 10px;}

@media (max-width: 640px) {
	.custom-navbar .overflow {
		justify-content: center;
		width: 100%;
	}
	.custom-navbar .overflow {
		z-index: initial;
	}
	.custom-navbar .overflow ul { 
		z-index: 2;
	}
}

.custom-navbar .overflow button {
	margin: 0;
	font-family: 'Helvetica Neue LT W01_71488914', Arial, Helvetica, sans-serif;
	font-size: 27px;
	line-height: 1;
	color: #1d1d1d;
	background-color: transparent;
	width: 300px;
}

@media (max-width: 640px) {
	.custom-navbar .overflow button {
		font-weight: 600;
	}
}

.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;
}
@media (min-width: 640px) {
	.custom-navbar span.mobile-caption {
		display: none;
	}
}
@media (max-width: 640px) {
	.custom-navbar .overflow ul {
		padding: 12px 35px;
	}
	.custom-navbar span.desktop-caption {
		display: none;
	}
}

.custom-navbar .overflow.open ul {
	opacity: 1;
	pointer-events: all;
	background-color: #fff;
	border: 1px solid #ddd;
}