.popup-visible {
	overflow: hidden;
}

.legals-button,
.legals-popup__close {
	display: block;
	appearance: none;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	padding: 0;
	cursor: pointer;
}

.legals-button__image {
	display: block;
}

@media (max-width: 991px) {
	.legals-button {
		max-width: 125px;
	}
}

.legals-popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0);
	visibility: hidden;
	z-index: 10;
	transition: background-color 0.2s ease, visibility 0s linear 0.2s;
}

.legals-popup--hovered {
	transition: background-color 0.2s ease, visibility 0s linear 0.3s;
}

.legals-popup--visible {
	background-color: rgba(0, 0, 0, 0.2);
	visibility: visible;
	transition: background-color 0.2s ease, visibility 0s linear 0s;
}

.legals-popup__container {
	position: relative;
	margin: 30px auto;
	width: 100%;
	max-width: 74rem;
	padding: 9rem 4.5rem 5rem;
	background-color: #FFF;
	box-shadow: 0 2px 16px 0 #797979;
	opacity: 0;
	transform: translateY(-25%);
}
@media (max-width: 991px) {
	.legals-popup__container {
		height: 100%;
		margin: auto;
	}
}
.legals-popup--hovered .legals-popup__container {
	transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.legals-popup--visible .legals-popup__container {
	opacity: 1;
	transform: translateY(0);
}

.legals-popup__close {
	position: absolute;
	display: flex;
	height: 67px;
	background-color: #3D3D3D;
	opacity: 1;
	color: #FFFFFF;
	width: 67px;
	top: 0;
	right: 0;
	font-size: 3rem;
	transition: background-color 0.2s ease;
}

.legals-popup__close:hover {
	background-color: #1B1B1B;
}

.legals-popup__close-icon {
	display: block;
	margin: auto;
}

.legals-popup__text {
	font-size: 1.2rem;
	line-height: 1.1;
	font-weight: 500;
	margin-top: 1rem;
}

@media (max-width: 991px) {
	.legals-popup__text {
		font-size: 1.8rem;
		margin-top: 1.6rem;
	}
}

.legals-popup__text > *:last-child {
	margin-bottom: 3rem;
}

.show-for-sr {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	margin: -1px;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}