
:root {
	--av-x: 34px;
	--av-x-strich: 1px;
	--av-x-farbe: #EBEBEB;
	--av-x-farbe-hover: #FFFFFF;
	
	--av-x-dauer: 0.35s;
	--av-x-kurve: cubic-bezier(.37, 0, .63, 1);
	--av-x-drehen: transform var(--av-x-dauer) var(--av-x-kurve);
}

@media (max-width: 1024px) {
	:root {
		--av-x: 30px;
	}
}

@media (max-width: 767px) {
	:root {
		--av-x: 34px;
		--av-x-strich: 2px;
	}
}


.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button {
	top: 20px;
	inset-inline-end: 20px;
	margin: 0;
	padding: 0;
	width: var(--av-x);
	height: var(--av-x);
	font-size: 0;
	transition: var(--av-x-drehen);
}

.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button svg,
.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button i {
	display: none;
}


.cmplz-cookiebanner .cmplz-close {
	position: relative;
	zoom: 1 !important;
	transition: var(--av-x-drehen);
}

.cmplz-cookiebanner .cmplz-close svg {
	display: none;
}


i.lnr.lnr-cross {
	position: relative;
	display: block;
	width: var(--av-x);
	height: var(--av-x);
	font-size: 0;
	transition: var(--av-x-drehen);
}


.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button::before,
.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button::after,
.cmplz-cookiebanner .cmplz-close::before,
.cmplz-cookiebanner .cmplz-close::after,
i.lnr.lnr-cross::before,
i.lnr.lnr-cross::after {
	content: '';
	position: absolute;
	top: calc(50% - var(--av-x-strich) / 2);
	left: calc(50% - var(--av-x) / 2);
	width: var(--av-x);
	height: var(--av-x-strich);
	background-color: var(--av-x-farbe);
	transition: background-color 0.6s;
}

.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button::before,
.cmplz-cookiebanner .cmplz-close::before,
i.lnr.lnr-cross::before {
	transform: rotate(-45deg);
}

.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button::after,
.cmplz-cookiebanner .cmplz-close::after,
i.lnr.lnr-cross::after {
	transform: rotate(45deg);
}


.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button:hover::before,
.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button:hover::after,
.cmplz-cookiebanner .cmplz-close:hover::before,
.cmplz-cookiebanner .cmplz-close:hover::after,
a:hover i.lnr.lnr-cross::before,
a:hover i.lnr.lnr-cross::after,
i.lnr.lnr-cross:hover::before,
i.lnr.lnr-cross:hover::after {
	background-color: var(--av-x-farbe-hover);
}

.elementor-lightbox.dialog-lightbox-widget .dialog-lightbox-close-button:hover,
.cmplz-cookiebanner .cmplz-close:hover,
a:hover i.lnr.lnr-cross,
i.lnr.lnr-cross:hover {
	transform: rotate(90deg);
}


body .e-add-close .e-add-x::before,
body .e-add-close .e-add-x::after {
	transition: background-color var(--av-x-dauer), var(--av-x-drehen);
}

body .e-add-close:hover .e-add-x::before {
	transform: rotate(45deg);
}

body .e-add-close:hover .e-add-x::after {
	transform: rotate(135deg);
}


button.av-x-zu,
button.av-x-zu:hover,
button.av-x-zu:focus,
button.av-x-zu:active {
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 2;
	width: var(--av-x);
	height: var(--av-x);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	cursor: pointer;
}

button.av-x-zu {
	transition: var(--av-x-drehen);
}

button.av-x-zu:hover {
	transform: rotate(90deg);
}

button.av-x-zu:focus:not(:focus-visible) {
	outline: none;
}

button.av-x-zu:focus-visible {
	outline: 1px solid rgba(255, 255, 255, .35);
	outline-offset: 4px;
}

button.av-x-zu::before,
button.av-x-zu::after {
	content: '';
	position: absolute;
	top: calc(50% - var(--av-x-strich) / 2);
	left: calc(50% - var(--av-x) / 2);
	width: var(--av-x);
	height: var(--av-x-strich);
	background-color: var(--av-x-farbe);
	transition: background-color var(--av-x-dauer), box-shadow var(--av-x-dauer);
}

button.av-x-zu::before {
	transform: rotate(-45deg);
}

button.av-x-zu::after {
	transform: rotate(45deg);
}

button.av-x-zu:hover::before,
button.av-x-zu:hover::after {
	background-color: var(--av-x-farbe-hover);
}


html.av-warm button.av-x-zu::before,
html.av-warm button.av-x-zu::after {
	background-color: var(--av-w-elfenbein, #EAE8E4);
}

html.av-warm button.av-x-zu:hover::before,
html.av-warm button.av-x-zu:hover::after {
	background-color: var(--av-w-text-hover, #F8F2E2);
	box-shadow: 0 0 8px var(--av-w-glut, rgba(242, 206, 132, .3));
}


.elementor-lightbox .swiper-lazy-preloader {
	width: 28px;
	height: 28px;
	margin-top: -14px;
	margin-left: -14px;
	border: 1px solid rgba(246, 240, 230, .35);
	border-top-color: transparent;
	animation-duration: 1.4s;
}
