.custom-navbar {
	position: relative;
	background-color: #000;
	margin-bottom: 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: 12px 0px;
	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;
	font-family: "montserrat", sans-serif;
}

.custom-navbar ul li a {
	display: inline-block;
    font-family: "montserrat", sans-serif;
    text-transform: uppercase;
    font-style: normal;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-right: 20px;
}

.custom-navbar .overflow {
	position: absolute;
	z-index: 5;
	top: 0;
	right: 0;
	display: flex;
	justify-content: right;
	align-items: center;
	height: 100%;
}

@media (max-width: 640px) {
	.custom-navbar .overflow {
		justify-content: center;
		width: 100%;
	}
}

.custom-navbar .overflow button {
	margin: 0;
	padding: 0 12px;
	font-size: 20px;
	font-weight: 600;
	line-height: 1em;
	color: #FFF;
	background: none;

	width: 201px;
	font-family: "montserrat", sans-serif;
}
.custom-navbar .overflow button:focus {
	outline: none;
}
@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;

}

.custom-navbar .overflow ul li a{
	color: #FFF;
	font-weight: 500;
}
@media (min-width: 641px) {
	.custom-navbar span.mobile-caption {
		display: none;
	}
}
@media (max-width: 640px) {
	.custom-navbar .overflow ul {
		width: calc(100% + 1.875rem);
		padding: 12px 50px;
	}
	.custom-navbar span.desktop-caption {
		display: none;
	}
}

.custom-navbar .overflow.open ul {
	opacity: 1;
	pointer-events: all;
	background-color: #000;
}

.custom-navbar.editorial {
	height: 82px;
	background-color: #f0df02;
}

@media (min-width: 641px) {
	.custom-navbar.editorial {
		border-top: 2px solid #f0df02;
		border-bottom: 2px solid #f0df02;
		background-color: #fff;
	}
}

.custom-navbar.editorial .inner {
    height: 100%;
}

@media (min-width: 641px) {
	.custom-navbar.editorial .inner {
		margin: 0;
		padding: 0 50px;
	}	
}

@media (min-width: 1025px) {
	.custom-navbar.editorial .inner {
		width: 66.6666%;
		max-width: calc(100vw - 514px);
	}
}

@media (min-width: 641px) {
	.custom-navbar.editorial .overflow {
		right: 50px;
	}
}

.custom-navbar.editorial .overflow button {
    display: block;
	padding: 0;
    width: 100%;
	height: 100%;
	font-family: "montserrat", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.75;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #000;
}

@media (min-width: 641px) {
	.custom-navbar.editorial .overflow button {
		display: block;
		padding: 0;
		width: 100%;
		height: 100%;
		font-weight: 400;
		line-height: 1.625;
		color: #000;
		text-transform: uppercase;
	}	
}

.custom-navbar.editorial .overflow.open ul {
	width: auto;
    background-color: #f0df02;
    opacity: 1;
    pointer-events: all;
}

.custom-navbar .overflow ul li a {
    color: #fff;
    font-weight: 600;
}

@media (min-width: 641px) {
	.custom-navbar.editorial ul.primary-list li {
		padding: 0;
	}

	.custom-navbar.editorial ul li a {
		display: inline-block;
		margin-right: 33px;
		font-family: "montserrat", sans-serif;
		font-weight: 400;
		line-height: 1.625;
		color: #000;
		text-transform: uppercase;
		letter-spacing: 1px;
	}
}