.preset-selector {
	width: 100%;
	padding: 8px;
	border-radius: 8px;
	font-size: 1em;
	background-color: #e2f0fd;
}

.preset-selector:hover {
	background-color: #b3dbff;
}

.selector-label {
	display: block;
	padding-bottom: 8px;
	user-select: none;
}

#background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

#background img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content {
	font-size: 1em;
}

.content div {
	line-height: 1.4;
}

.content ul {
	list-style-type: disc;
	margin-left: 24px;
}

.content ul ul {
	list-style-type: circle;
}

.content ul > li {
	margin: 8px 0;
}

.content ul > li li {
	margin: 4px 0;
}

.content a {
	position: relative;
	color: inherit;
}

.content a:hover {
	text-decoration: none;
	background-color: #e48902;
}

.content h1, h2 {
	margin: 6px 0;
	font-size: 1.375em;
	font-weight: lighter;
	border-bottom: 1px solid #c9c9c9;
	padding-bottom: 2px;
	text-transform: uppercase;
}

.content h3 {
	font-size: 1.25em;
	font-weight: 600;
	margin-bottom: 6px;
}

.embed-container {
	display: flex;
}

.embed-container object {
	height: 50vh;
}

.preview {
	text-decoration: none;
}

.message {
	background-color: #ff2424;
	color: #ffffff;
	padding: 5px;
	margin-bottom: 10px;
	display: block;
}

.inset {
	color: #ffffff;
	background-color: #023e6e;
}

/* CSS-SLIDER */
.css-gallery {
	user-select: none;
	display: grid;
	grid-gap: 10px;
	grid-auto-flow: column;
	scroll-snap-type: x mandatory;
	overflow: hidden;
}

.css-columns-3 {
	grid-auto-columns: calc((100% - 20px) / 3);
}

.css-slide {
	scroll-snap-align: center;
}

.slide-main {
	position: relative;
	background-color: #ffffff;
	text-decoration: none;
	cursor: pointer;
	border: 1px solid #121212;
	border-radius: 8px;
}

.slide-img-holder {
	position: relative;
	line-height: 0 !important;
	transition: background-color ease-out 0.2s;
	background-color: #ffffff;
}

.slide-main:hover .slide-img-holder {
	background-color: #b3dbff;
}

.slide-info {
	display: flex;
	gap: 4px;
	width: 100%;
	font-size: 0.875em;
	padding: 3px 4px;
	background-color: #e48902;
	border-top: 1px solid #121212;
}

.slide-zeile2 {
	border-top: 0;
	padding-top: 0;
}

.slide-info-text {
	flex-grow: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.slide-info-price {
	position: absolute;
	z-index: 11;
	bottom: 4px;
	right: 4px;
	background-color: #023e6e;
	color: #ffffff;
	font-size: 0.75em;
	padding: 4px;
	border-radius: 8px;
	text-align: right;
}

.slide-info-price:hover {
	background-color: #2a7e0e;
}

.button-preis td, .slide-info-price td {
	padding: 0 2px;
}

.slide-info-indicator {
	text-align: right;
}

.loader-holder {
	display: flex;
	position: absolute;
	justify-content: center;
	align-items: center;
	z-index: -1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.loader-ring {
	display: block;
	z-index: 1;
	width: 80px;
	height: 80px;
}

.loader-ring:after {
	content: " ";
	display: block;
	width: 64px;
	height: 64px;
	margin: 8px;
	border-radius: 50%;
	border: 3px solid #2a7e0e;
	border-color: #2a7e0e transparent #2a7e0e transparent;
	animation: loader-ring 1.2s linear infinite;
}

@keyframes loader-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* FOOTER */
footer {
	position: sticky;
	top: 100vh;
	color: #000000;
	margin-top: 10px;
	padding: 20px;
}

footer a:hover {
	text-decoration: none;
}

.footer-holder {
	display: flex;
	flex-direction: row;
	gap: 10px;
	padding: 10px;
	background-color: #d5d5d5;
	border-radius: 8px;
	font-size: 1em;
}

.footer-holder > div {
	flex: 1 1 0;
}

.footer-holder > div:last-child {
	text-align: right;
}

.footer-holder a {
	color: #000000;
	text-decoration: underline;
	padding: 4px 0;
	display: inline-block;
}

.footer-holder a:hover {
	background-color: #e48902;
}

.with-cookie {
  padding-bottom: 163px;
}

.cookie-info,
#cookie-form,
#cookie-checkbox {
	display: none;
}

#cookie-checkbox:checked + label .cookie-info {
	display: block;
}

#cookie-checkbox:checked + label > .button-more {
	display: none;
}

.button-more {
	cursor: pointer;
	padding: 4px;
}

.button-more:hover {
	color: #ffffff;
	background: #2a7e0e;
}

#cookie {
	display: flex;
	flex-direction: column;
	gap: 8px;
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	border-top: 1px solid #121212;
	color: #000000;
	background: #b3dbff;
	text-align: center;
	z-index: 10000;
	padding: 12px;
}

#cookie .cookie-title {
	font-size: 1.25em;
	font-weight: bold;
}

/* MODAL, POPUP */
#modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	padding: 20px;
}

#modal.shown {
	display: block;
}

#modal-background {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #999999ef;
	cursor: pointer;
}

#popup-content {
	position: relative;
	background-color: #f3f3f3;
	max-height: 100%;
	padding: 10px;
	overflow: hidden;
	z-index: 2;
	border-radius: 8px;
	width: 80%;
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

#popup-scroller {
	overflow: auto;
}

#popup-img-holder{
	line-height: 0;
	cursor: pointer;
}

#popup-title {
	margin: 6px 0;
	font-weight: bold;
}

#popup-description {
	font-weight: normal;
}

#popup-buttons {
	display: flex;
	width: 100%;
	gap: 5px;
}

.closebutton {
	color: #000000;
	background-color: #dfdfdf;
	cursor: pointer;
	display: inline-block;
	padding: 3px;
}

.closebutton:hover {
	background-color: #1bac16;
}

.sizes td {
	padding: 0 5px;
}

.sizes tr:hover {
	background-color: #2a7e0e;
}

/* BUTTON-DESIGNER */
.button-designer,
.form input[type="submit"] {
	text-align: center;
	display: inline-block;
	padding: 8px 16px;
	border-radius: 12px;
	background-color: #023e6e;
	color: #ffffff !important;
	text-decoration: none;
	border: 1px solid #121212;
	text-transform: uppercase;
	align-items: center;
	cursor: pointer;
	text-overflow: ellipsis;
	overflow: hidden;
}

.button-designer:hover,
.form input[type="submit"]:hover {
	background-color: #2a7e0e !important;
}

.form input[type="password"],
.form input[type="text"] {
	display: block;
	width: 100%;
	margin: 8px 0;
	padding: 8px;
	font-size: 1.25em;
	border: 1px solid #121212;
	border-radius: 12px;
	color: #000000;
	background-color: #ffffff;
}

/* SORTIMENT */
.sortiment {
	width: 100%;
	display: grid;
	grid-gap: 10px;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	background-color: #ffffff;
	border-radius: 8px;
}

.ccc {
	border: 1px solid #121212;
	background-color: #ffffff;
	border-radius: 8px;
	padding: 8px;
	overflow: hidden;
}

.ccc:hover {
	background-color: #b3dbff;
}

.ccc .container1 {
	width: 100%;
	display: flex;
	flex-direction: column;
	position: relative;
}

.button-preis {
	margin-top: 4px;
	font-size: 0.875em;
	line-height: 1.25em;
	text-align: right;
	text-decoration: none !important;
}

.button-preis table {
	background-color: #e2f0fd;
	border: 1px solid #121212;
	color: #000000;
	border-radius: 8px;
}

.button-preis td {
	padding: 0 3px;
}

.ccc .title {
	font-size: 1em;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zusatz {
	font-size: 0.875em;
	font-style: italic;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ccc .teaser {
	width: 100%;
}

.ccc .button-designer{
	width: 100%;
	display: block;
}

.ccc a:hover {
	background-color: unset;
}

.ccc a {
	text-decoration: none;
}

/* PRESET */
.preset {
	position: relative;
	text-decoration: none;
	color: #000000;
	width: 100%;
}

.preset .prices {
	margin: 10px 0;
	width: 100%;
	max-width: 400px;
	text-align: center;
}

.preset .prices .title {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	background-color: #fbe7b2;
	text-transform: uppercase;
	font-size: 1.125em;
	padding: 8px;
	font-weight: bold;
	border: 1px solid #121212;
	border-bottom: 0;
}

.preset .prices .footer {
	font-size: 0.875em;
	padding: 2px;
	background-color: #fbe7b2;
	border: 1px solid #121212;
	border-top: 0;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.preset .prices table {
	background-color: #e2f0fd;
	width: 100%;
	text-align: center;
	border-collapse: collapse;
}

.preset .prices td {
	width: 50%;
	padding: 2px;
	border: 1px solid #121212;
}

.preset .description {
	font-size: 0.875em;
}

.preset .cards-holder {
	width: 100%;
	background-color: #b3dbff;
	border-radius: 8px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 8px;
}

.preset .cards {
	display: grid;
	grid-gap: 8px;
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
}

.preset .cards > .card {
	width: 100%;
	line-height: 0;
	position: relative;
	overflow: hidden;
	box-sizing: border-box;
}

.preset .button-designer {
	margin-top: 4px;
}

.imgholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid #121212;
	border-radius: 5%;
	overflow: hidden;
}

.imgholder img {
	position: absolute;
	top: -5%;
	left: -8%;
	width: calc(100% + 16%);
	height: calc(100% + 10%);
}

@media screen and (max-width: 1000px) {
	.sortiment {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

@media screen and (max-width: 600px) {
	.content {
		font-size: 0.875em;
	}
	.sortiment {
		grid-template-columns: 1fr 1fr;
	}
	.preset .cards {
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	.preset .prices {
		max-width: unset;
	}
	.preset-holder {
		gap: 10px;
	}
	.css-gallery {
		grid-auto-columns: 100%;
	}
	footer {
		padding: 0;
	}
	.footer-holder {
		flex-direction: column;
		text-align: center;
		border-top: 1px solid #121212;
		border-radius: 0;
	}
	.footer-holder > div:last-child {
		text-align: center;
	}
	.footer-holder a {
		width: 100%;
		padding: 4px 8px;
	}
	.with-cookie {
		padding-bottom: 143px;
	}
	#modal {
		padding: 0px;
	}
	#popup-content {
		border-radius: 0;
		width: 100%;
	}
	.content h1, h2 {
		margin: 3px 0;
		font-size: 1.125em;
	}
	.content h3 {
		font-size: 1em;
	}
}

@media screen and (max-width: 400px) {
	.sortiment {
		grid-template-columns: 1fr;
	}
}
