.lm-dealer-popup__inner {
	position: relative;
	max-height: 100%;
	z-index: 1;
}

.lm-dealer-popup a {
	display: block;
	max-height: 100%;
	position: relative;
}

.lm-dealer-popup.-hidden {
	opacity: 0;
	display: none;
}

.lm-dealer-popup {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	transition: .3s linear;
	position: fixed;
	z-index: 999999900;
	margin: auto;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	max-width: 60%;
	max-height: 80%;
}

.lm-dealer-popup:before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, .55);
}

/* Sirona: show the whole image whatever its shape (the square promo art was cut off at the bottom on desktop) */
.lm-dealer-popup img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.lm-dealer-popup__image.-small {
	display: none;
}

.lm-dealer-popup-button {
	cursor: pointer;
	position: absolute;
	top: -20px;
	right: -20px;
	width: 40px;
	height: 40px;
	background: #000;
	border-radius: 100px;
	border: none;
	outline: none;
	z-index: 90001;
	font-size: 0;
}

.lm-dealer-popup-button:before,
.lm-dealer-popup-button:after {
	content: '';
	width: 2px;
	height: 15px;
	background: #fff;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	margin: auto;
}

.lm-dealer-popup-button:before {
	transform: rotate(45deg);
}

.lm-dealer-popup-button:after {
	transform: rotate(-45deg);
}

@media (max-width: 768px) {
	.lm-dealer-popup {
		max-width: 80%;
	}

	.lm-dealer-popup__image.-desktop {
		display: none;
	}

	.lm-dealer-popup__image.-small {
		display: block;
	}
}
