/* overlay-menu */
#overlay-menu {
	display: none;
	position: fixed;
	z-index: 5000;
	width: calc(100% - var(--sidebar-height));
	height: 100%;
	top: 0;
	left: var(--sidebar-height);
	color: #fff;
	fill: #fff;
	background-color: var(--off-black);
	overflow-x: hidden;
	font-size: var(--font-size);

	opacity: 0;
	visibility: hidden;
	pointer-events: none !important;

	overflow-y: auto;
	scrollbar-width: none; /* emove scrollbar for Firefox */
	-ms-overflow-style: none;  /* emove scrollbar for IE 10+ */

	-webkit-transform: translate(0, 40px);
	-moz-transform: translate(0, 40px);
	-o-transform: translate(0, 40px);
	transform: translate(0, 40px);

	-o-transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
	-moz-transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s, visibility 0.3s;
	transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
}
body.overlay-active #overlay-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: all !important;

	-webkit-transform: translate(0);
	-moz-transform: translate(0);
	-o-transform: translate(0);
	transform: translate(0);
}
body.search-active #overlay-menu {
	overflow-y: hidden;
}
#overlay-menu::-webkit-scrollbar { /* emove scrollbar for webkit */
	width: 0px;
	background: transparent; /* optional */
}

body.stupid-scroll-fix #wrapper {
	padding-bottom: 0 !important;
}
body.stupid-scroll-fix #container,
body.stupid-scroll-fix footer#footer {
	display: none;
}
@media all and (max-width: 1200px) {
	body.search-active .overlay-menu .grid > .col:not(.col-search) {
		display: none;
	}
}

.overlay-menu {
	display: none;
	position: relative;
	height: 100%;
}
.overlay-menu.over {
	pointer-events: all;
}
.overlay-menu .logo {
	z-index: 1;
	position: fixed;
	right: 0;
	top: 0;
	/* font-size: 0; */
	line-height: 0;
}
.overlay-menu .logo .close-btn {
	display: inline-block;
	padding: 2.2em 2.82em;
	background-color: #fff;
}
.overlay-menu .logo .close-btn > svg:first-child { /* desktop close */
    width: 2em;
    position: absolute;
    left: 0;
    margin: 0 auto;
    right: 0;
	fill: var(--off-black);
}
.overlay-menu .logo .close-btn > svg:last-child { /* mobile close */
	opacity: 0;
	width: auto;
	height: 2.1em;
	fill: #fff !important;
}
.overlay-menu .icon-input {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	max-width: 400px;
	width: 100%;
	margin: 0 auto;
	/* font-size: 0; */
	line-height: 0;
	padding: 1.2em 1.92em;
	line-height: 1;
	background-color: #292929;

	-webkit-border-radius: 2.65em;
	-moz-border-radius: 2.65em;
	border-radius: 2.65em;

	-o-transition: background-color 0.2s;
	-moz-transition: background-color 0.2s;
	-webkit-transition: background-color 0.2s;
	transition: background-color 0.2s;
}
body.search-active .overlay-menu .icon-input {
	background-color: #fff;
}
.overlay-menu .icon-input > input {
	display: inline-block;
	color: #fff;
	background-color: transparent;
	max-width: calc(100% - 2.4em);
	border: none;
	padding: 0px 0px 0px 2px;
	font-size: 1.2em;

	-o-transition: color 0.2s;
	-moz-transition: color 0.2s;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}
body.search-active .overlay-menu .icon-input > input {
	color: #000;
}
.overlay-menu .icon-input > svg {
	width: 1.68em;
	fill: #fff;
	margin-left: 1.2em;
	cursor: pointer;

	-o-transition: fill 0.2s;
	-moz-transition: fill 0.2s;
	-webkit-transition: fill 0.2s;
	transition: fill 0.2s;
}
body.search-active .icon-input > svg {
	fill: #000;
}
.overlay-menu .icon-input > svg:hover {
	fill: var(--grey);
}
.overlay-menu .icon-input *::-webkit-input-placeholder {
	color: #fff;
}
.overlay-menu .icon-input *::-moz-placeholder {
	color: #fff;
}
.overlay-menu .icon-input *:-ms-input-placeholder {
	color: #fff;
}
.overlay-menu .icon-input form *:-moz-placeholder {
	color: #fff;
}

body.search-active .overlay-menu .icon-input *::-webkit-input-placeholder {
	color: #000
}
body.search-active .overlay-menu .icon-input *::-moz-placeholder {
	color: #000;
}
body.search-active .overlay-menu .icon-input *:-ms-input-placeholder {
	color: #000;
}
body.search-active .overlay-menu .icon-input form *:-moz-placeholder {
	color: #000;
}

.overlay-menu .newsletter {
	width: 60%;
	max-width: 400px;
}

.overlay-menu .grid {
	min-height: 100%;
}
.overlay-menu .grid > .col {
	position: relative;
}
.overlay-menu .grid > .col:nth-child(2) {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.overlay-menu .grid > .col .text-content.vertical-center {
	height: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}
.overlay-menu .grid > .col:not(:last-child) {
	border-right: 1px solid var(--border-color);
}
.overlay-menu .grid > .col .text-content {
	padding-left: 20px;
	padding-right: 20px;
}

/* search column */
.overlay-menu .grid > .col.col-search {
	-o-transition: background-color 0.2s;
	-moz-transition: background-color 0.2s;
	-webkit-transition: background-color 0.2s;
	transition: background-color 0.2s;
}
body.search-active .overlay-menu .grid > .col.col-search {
	background-color: #F2F2F2;
	min-height: calc(100vh - 5.5rem);
}
.overlay-menu .grid > .col.col-search > .text-content.vertical-center {
	flex-direction: column;
}
.overlay-menu .grid > .col.col-search > .text-content > .icon-input {
	position: relative;
	font-size: 20px;
	padding: 1.31em 1.8em;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.overlay-menu .grid > .col.col-search > .text-content > .icon-input > svg {
	width: 1.3em;
}
.overlay-menu .grid > .col.col-search > .text-content > .icon-input::after {
	content: '';
	position: absolute;
	bottom: 0.5rem;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 1rem;
	height: 1rem;
	background-color: #292929;
	opacity: 0;
	pointer-events: none;

	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);

	-o-transition: bottom 0.2s, background-color 0.2s, opacity 0.2s;
	-moz-transition: bottom 0.2s, background-color 0.2s, opacity 0.2s;
	-webkit-transition: bottom 0.2s, background-color 0.2s, opacity 0.2s;
	transition: bottom 0.2s, background-color 0.2s, opacity 0.2s;
}
body.search-active .overlay-menu .grid > .col.col-search > .text-content > .icon-input::after {
	bottom: -0.5rem;
	background-color: #fff;
	opacity: 1;
}
.overlay-menu .grid > .col-search > .text-content > .more-search {
	display: none;
	width: 100%;
	margin-top: 2.5rem;
	fill: #000;
	color: #000;
	text-align: center;
}
.overlay-menu .grid > .col-search > .text-content > .more-search > .close-search {
	font-size: 0.87em;
}
.overlay-menu .grid > .col-search > .text-content > .more-search > .close-search > svg {
	height: 0.6em;
	margin-right: 0.3em;
}
.overlay-menu .grid > .col-search > .text-content > .more-search > .results {
	margin-top: 2.5rem;
	margin-bottom: -20vh !important;
	padding-bottom: 2rem;
	height: calc(80vh - 5rem - 110px);

	overflow-x: hidden;
	overflow-y: auto;
	scrollbar-width: none; /* emove scrollbar for Firefox */
	-ms-overflow-style: none;  /* emove scrollbar for IE 10+ */
}
.overlay-menu .grid > .col-search > .text-content > .more-search > .results::-webkit-scrollbar { /* emove scrollbar for webkit */
	width: 0px;
	background: transparent; /* optional */
}

.overlay-menu .grid > .col-search > .text-content > .more-search > .results > .search-group:not(:last-child) {
	margin-bottom: 2.9rem;
}
.overlay-menu .grid > .col-search > .text-content > .more-search > .results > .search-group > h5 {
	color: #969696;
	font-size: 0.87em;
	line-height: 1;
	margin-bottom: 0.7rem;
	font-family: 'LiberationSans';
	font-weight: bold;
}
.overlay-menu .grid > .col-search > .text-content > .more-search > .results > .search-group > ul > li {
	line-height: 1.2;
	font-size: 1.25em;
}
.overlay-menu .grid > .col-search > .text-content > .more-search > .results > .search-group > ul > li:not(:last-child) {
	margin-bottom: 0.6rem;
}
.overlay-menu .grid > .col-search > .text-content > .more-search > .results > .search-group > ul > li a:hover {
	text-decoration-line: underline;
}

.overlay-menu .nav-menu ul > li {
	display: block;
	position: relative;
	margin-top: 1.14em;
}
.overlay-menu .nav-menu ul > li:first-child {
	margin-top: 0;
}
.overlay-menu .nav-menu ul > li a {
	display: inline-block;
	font-size: 2.12em;
	line-height: 1;
	text-decoration-line: none;
}
.overlay-menu .nav-menu ul > li a:hover {
	color: inherit !important;
	/* text-decoration: line-through; */
}
.overlay-menu .main-nav.nav-menu ul > li a {
	font-size: 4em;
}
@media all and (min-width: 1921px) {
	#overlay-menu {
		--font-size: 16px;
	}
}
@media all and (max-width: 1400px) {
	.overlay-menu .logo .close-btn {
		width: 100%;
		padding: 1.8em 2.58em;
	}
	.overlay-menu .logo .close-btn > svg:first-child,
	.overlay-menu .logo .close-btn > svg:last-child {
		height: 1.44em;
	}
	.overlay-menu .nav-menu ul > li a {
		font-size: 1.3em;
	}
	.overlay-menu .main-nav.nav-menu ul > li a {
		font-size: 3em;
	}
	.overlay-menu .newsletter {
		width: 80%;
	}
}
@media all and (max-width: 1200px) {
	.overlay-menu .grid {
		min-height: auto;
	}
	body.search-active .overlay-menu .grid {
		height: calc(100% - 5.5rem);
	}
	.overlay-menu .logo {
		position: relative;
		top: auto;
		right: auto;
		text-align: center;
	}
	.overlay-menu .logo .close-btn {
		width: 100%;
	}
	.overlay-menu .grid > .col:not(:last-child) {
		border-right: none;
	}
	.overlay-menu .grid > .col .text-content.vertical-center {
		width: 100%;
		height: auto;
		border-top: 1px solid var(--border-color);
		padding: 2em;

		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.overlay-menu .grid > .col.col-search {
		height: 100%;
	}
	body.search-active .overlay-menu .grid > .col.col-search {
		min-height: 0;
	}
	.overlay-menu .grid > .col.col-search .text-content.vertical-center {
		height: 100%;
		justify-content: normal;
	}
	.overlay-menu .grid > .col-search .text-content.vertical-center {
		padding-top: 3.6em;
		padding-bottom: 3.6em;
	}
	body.search-active .overlay-menu .grid > .col-search .text-content.vertical-center {
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 0;
	}
	.overlay-menu .nav-menu ul > li a {
		font-size: 1.3em;
	}
	.overlay-menu .main-nav.nav-menu ul > li a {
		font-size: 1.85em;
	}
	.overlay-menu .main-nav.nav-menu ul > li a {
		font-size: 2.5em;
	}
	.overlay-menu .icon-input {
		max-width: 260px;
	}
	.overlay-menu .newsletter {
		width: 100%;
	}
	.overlay-menu .grid > .col:not(.col-search) {
		order: 2;
	}
	.overlay-menu .grid > .col.col-search > .text-content > .icon-input {
		font-size: 18px;
		padding: 0.9em 1.2em;
	}
	.overlay-menu .grid > .col.col-search > .text-content > .icon-input > svg {
		width: 1em;
	}
	.overlay-menu .grid > .col.col-search > .text-content > .more-search {
		height: calc(100% - 6.5rem);
	}
	.overlay-menu .grid > .col.col-search > .text-content > .more-search > .results {
		height: calc(100% - 4.2rem);
		margin-bottom: 0;
		padding-left: 2em;
		padding-right: 2em;
	}
}
@media all and (max-width: 800px) {
	.overlay-menu .logo .close-btn {
		padding: 2em 2.58em;
	}

}