/* ============ Full-screen sitemap menu popup (#popup2) ============ */

#popup2.popup-overlay {
	background: rgba(20, 30, 28, 0.55);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	/* background-image: url(../images/bg6.jpg); */
}

#popup2 .popup-box {
	background-color: #fff;
	background-image: url(../images/bg6.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 100%;
	max-width: 100%;
	border-radius: 0;
	padding: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	transform: translateY(24px);
	opacity: 0;
	transition: transform 0.45s cubic-bezier(.22, 1, .36, 1), opacity 0.35s ease;
}

#popup2.popup-overlay.active .popup-box {
	transform: translateY(0);
	opacity: 1;
}

#popup2 .popup-close {
	position: fixed;
	top: 28px;
	right: 40px;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	line-height: 1;
	color: var(--black);
	background: #f3f3f3;
	border-radius: 50%;
	transition: all 0.3s ease;
	z-index: 20;
}

#popup2 .popup-close:hover {
	background: var(--primary-color);
	color: #fff;
	transform: rotate(90deg);
}

.mm-head-row {
	max-width: 1440px;
	margin: 0 auto;
	padding: 15px 0px 23px;
	border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.mm-head-row span {
	display: block;
	color: var(--primary-color);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.mm-head-row h3 {
	color: var(--white);
	font-size: 32px;
	font-weight: 700;
	margin: 0;
}

.mm-grid {
	/* max-width: 1440px; */
	margin: 0 auto;
	padding: 50px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0 40px;
}

.mm-col ul {
	list-style: none;
	margin: 0 0 25px;
	padding: 0;
}

.mm-col li {
	margin: 0;
}

.mm-col a {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 2px 0;
	font-size: 15px;
	color: var(--white);
	transition: color 0.25s ease, transform 0.25s ease;
	line-height: 20px;
}

.mm-col a:before {
	content: '';
	width: 0;
	height: 1px;
	background: #a1eeff;
	margin-right: 0;
	transition: width 0.25s ease, margin-right 0.25s ease;
}

.mm-col a:hover {
	color: #a1eeff;
	/* transform: translateX(4px); */
}

.mm-col a:hover:before {
	width: 7px;
	margin-right: 5px;
}

.mm-col a.mm-head, .mm-head a {
	display: block;
	color: #a1eeff;
	font-size: 17px;
	font-weight: 700;
	/* margin-top: 22px; */
	padding: 2px 0;
}

.mm-col li:first-child a.mm-head {
	margin-top: 0;
}

.mm-col a.mm-head:hover, .mm-head a:hover {
	color: #a1eeff;
	transform: translateX(4px);
}

.mm-col a.mm-head:hover:before, .mm-head a:before {
	background: var(--secondary-color);
}

/* staggered entrance for columns */
.mm-col {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

#popup2.popup-overlay.active .mm-col {
	opacity: 1;
	transform: translateY(0);
}
.mm-head{margin-bottom: 8px;}

#popup2.popup-overlay.active .mm-col:nth-child(1) { transition-delay: 0.05s; }
#popup2.popup-overlay.active .mm-col:nth-child(2) { transition-delay: 0.12s; }
#popup2.popup-overlay.active .mm-col:nth-child(3) { transition-delay: 0.19s; }
#popup2.popup-overlay.active .mm-col:nth-child(4) { transition-delay: 0.26s; }
#popup2.popup-overlay.active .mm-col:nth-child(5) { transition-delay: 0.33s; }

@media only screen and (max-width: 1200px) {
	.mm-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 30px;
	}
}

@media only screen and (max-width: 800px) {
	.mm-head-row,
	.mm-grid {
		padding-left: 30px;
		padding-right: 30px;
	}

	.mm-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mm-head-row h3 {
		font-size: 24px;
	}
}

@media only screen and (max-width: 560px) {
	.mm-grid {
		grid-template-columns: 1fr;
		padding-top: 30px;
	}

	.mm-head-row {
		padding-top: 18px;
	}

	#popup2 .popup-close {
		top: 16px;
		right: 16px;
		width: 40px;
		height: 40px;
		font-size: 22px;
	}
	.mm-head-row h3{ text-align: left;}
}

@media only screen and (max-width: 360px) {
	.mm-head-row h3{ font-size: 20px;}
}

