/* GLOBAL */

:root {
  --scene-bg-img-url: url(/media/image-not-found.png);
}


html, body {
  overflow-x: hidden; /* Temporär Hack. 2DO: Zeile löschen und offcanvas overflow-x lösen */
}

body {
	font-family: "Times New Roman", Times, serif;
}

h1, h2, h3, h4 {
	margin-bottom: 1rem;
}

h2.element-title {
	font-size:0.66em;
	margin:0;
}

.debug-element {
	font-size:0.5em;
}

* {
	font-family: unset; /* gebnutzt Bootstrap Native font stack */
}

textarea {
	resize: none !important;
}

img {
	max-width: 100%;
	height: auto;
}

.space-xsmall { height: 5px; }
.space-small { height: 10px; }
.space-normal { height: 20px; }
.space-medium { height: 25px; }
.space-big { height: 32px; }

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
	box-shadow: none;
}

.input-group-xs>.btn, .input-group-xs>.form-control, .input-group-xs>.btn, .input-group-xs>.form-select, .input-group-xs>.form-select, .input-group-xs>.input-group-text {
	padding: 0.15rem 0.3rem;
	font-size: .75rem;
	border-radius: 0.15rem;
}

label.required:after, .label.required:after {
	color: red;
	content: " *";
	margin-left: 0.1rem;
}

.btn > i {
	letter-spacing: 0.25rem;
}

.btn-link-danger {
	--bs-btn-font-weight: 400;
	--bs-btn-color: #dc3545;
	--bs-btn-bg: transparent;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-color: #bb2d3b;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-color: #bb2d3b;
	--bs-btn-active-border-color: transparent;
	--bs-btn-disabled-color: #6c757d;
	--bs-btn-disabled-border-color: transparent;
	--bs-btn-box-shadow: none;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	text-decoration: underline;
}

.btn-link-success {
	--bs-btn-font-weight: 400;
	--bs-btn-color: #198754;
	--bs-btn-bg: transparent;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-color: #157347;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-color: #157347;
	--bs-btn-active-border-color: transparent;
	--bs-btn-disabled-color: #6c757d;
	--bs-btn-disabled-border-color: transparent;
	--bs-btn-box-shadow: none;
	--bs-btn-focus-shadow-rgb: 49,132,253;
	text-decoration: underline;
}

div[class^='slot-nr'], div[class*=' slot-nr'] {
	position: relative;
	height: 100%;
}

.form-note {
	font-size: 0.8rem;
	margin-top: 0.5rem;
	margin-top: 0.2rem;
}

.form-link:hover {
	text-decoration: underline;
	cursor: pointer;
}

.flex-bp {
	width: 0;
	flex-basis: 100%;
}

.image-wrapper-circle {
	width: 100%; /* Dynamische Breite */
	padding-top: 100%; /* erzwingt 1:1 Aspect Ratio */
	position: relative;
	border-radius: 50%;
	overflow: hidden;
}

.image-wrapper-circle img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width:100%; /* erforderlich für object-fit */
	height:100%;
	object-fit: cover;
	object-position: center;
}

.image-wrapper-square {
	width: 100%; /* Dynamische Breite */
	padding-top: 100%; /* erzwingt 1:1 Aspect Ratio */
	position: relative;
	overflow: hidden;
}

.image-wrapper-square img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width:100%; /* erforderlich für object-fit */
	height:100%;
	object-fit: cover;
	object-position: center;
}

.css-slider-container {
	height: 100%;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.css-slider-container {
	height: 100%;
	width: 100%;
	position: relative;
}

.css-slider-container > * {
	animation: 12s autoplayslider-menu infinite linear;
	position: absolute; 
	top: 0; 
	left: 0; 
	opacity: 0.0;
	width:100%; /* erforderlich für object-fit */
	height:100%;
	object-fit: cover;
	object-position: center;
}

@keyframes autoplayslider-menu {
	0% {opacity: 0.0}
	4% {opacity: 1.0}
	33.33% {opacity: 1.0}
	37.33% {opacity: 0.0}
	100% {opacity: 0.0}
}

/* css-slider benötigt animation-delay für jede Bilder. Das findet sich statt im Inline-Stilattribut */

.css-with-icon {
	position: relative;
}
.css-with-icon > span:first-child {
	position: absolute;
	top: 1px;
	left: 1px;
	bottom: 1px;
	background-color: transparent;
	border: 0px;
	z-index: 10;
	width: 40px;
	padding: 0;
    text-align: center;
    margin-top: 2px;
}
.css-with-icon *:nth-child(2) {
	padding-left: 40px !important;
}
	

.checkbox-hide,
.css-cbox-dropdown {
	position: absolute;
	left: -9999px;
}

.css-cbox-dropdown:not(:checked) + * {
	display: none !important;
}

.css-accordion .accordion-item .accordion-button, .accordion-flush .accordion-item .accordion-button.collapsed {

}
.css-accordion {

}
.css-accordion > .css-accordion-item {
	border-right: 0;
	border-left: 0;
	border-radius: 0;
    padding: 0.25rem 0;
}
.css-accordion .css-accordion-item:first-child {
	border-top: 0;
}
.css-accordion .css-accordion-item:last-child {
	border-bottom: 0;
}

.css-accordion > .css-accordion-item .css-accordion-button {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	cursor: pointer;
	border-bottom: 1px solid lightgrey;
	padding-bottom: 0.5rem;
	margin-bottom: 0.5rem;
}

.css-accordion > .css-accordion-item .css-accordion-button::before {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	content: "-";
	transition: transform 0.2s ease-in-out;
	background-color: lightgrey;
	margin-right: 0.75rem;
	font-family: monospace;
	font-size: 1.2em;
	font-weight: bolder;
	display: flex;
	align-items: center;
	justify-content: center;
}
.css-accordion > .css-accordion-item > input:not(:checked) ~ * > .css-accordion-button::before {
	content: "+";
}

.css-accordion > .css-accordion-item > .css-accordion-content {
}

.css-accordion > .css-accordion-item > input:not(:checked) ~ .css-accordion-content {
	overflow: hidden;
	height: 0;
	padding: 0;
}

.product-card {
	text-align: center;
}

.product-card  .product-img-fill {
	position:relative;
	/*border:1px dashed red;*/
	display:flex;
	justify-content:center;
	align-items:center;
	overflow:hidden;
	height: 125px;
}
.product-card .product-img-fill img {
	flex-shrink:0;
	min-width:100%;
	min-height:100%;
}
.product-card .product-card-title {
	margin: 0;
	padding: 0.8em 0 0.8em;
	font-size: 1.2em;
	font-weight: bold;
	overflow: hidden;
	text-overflow: ellipsis;
} 
.product-card p:not(.product-card-title) {
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 0.5rem;
}

.product-card {
	text-align: left;
}

.product-card p.product-card-price {
	font-weight: bold;
}

.product-card p:not(.product-card-title):not(.product-card-price) {
	font-size: 0.8em;
}

div.scene {
	position: relative;
	margin-bottom: 2rem;
	/* z-index: 1; */
}

.img-viewer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	grid-gap: 20px;
	grid-column-start: 1;
	grid-row-start: 1;
	grid-row-end: 3;
	align-content: start;
	max-width: 700px;
	margin: 0 auto;
	transition: all 150ms linear;
}

.img-viewer input[type="radio"] {
	display: none;
}

.img-viewer label {
	position: relative;
	display: block;
	padding-bottom: 60%;
	margin: 5px;
	cursor: pointer;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}

.img-viewer label:before {
	border: 1px solid #e3e3e3;
	content: '';
	position: absolute;
	left: -5px;
	right: -5px;
	bottom: -5px;
	top: -5px;
}

.img-viewer input[name="select"]:checked + label:before {
	border: thin solid var(--bs-secondary-bg);
}

.img-viewer img {
}
.img-viewer label + div {
	display: none;
	grid-column-start: 1;
	grid-column-end: 5;
	grid-row-start: 1;
	grid-row-end: 2;
	width: 100%;
	transition: all 150ms linear;
	border: thin solid lightgrey;
	padding: 5px;
	text-align: center;
}
.img-viewer label + div > img {
	height:350px;
	max-width: 100%;
	width: auto;
}
.img-viewer input[name="select"]:checked + label + div {
	display: block;
}


.filter-content {
	font-size: 0.8em;
}

.filter-input-group {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}

.filter-input-group > .form-control, .filter-input-group > .form-select, .filter-input-group > .form-floating, .filter-input-group > .form-select {
	position: relative;
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
}

.filter-input-group > * {
	padding: .25rem .5rem;
	font-size: .875rem;
	border-radius: .25rem;
}

.filter-input-group > *:not(:first-child) {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.filter-input-group > *:not(:last-child) {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.filter-input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
	margin-left: calc(var(--bs-border-width) * -1);
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.filter-input-group > .form-control:focus, .filter-input-group > .form-select:focus, .filter-input-group > .form-floating:focus-within, .filter-input-group > .form-select:focus {
	z-index: 5;
}

.filter-liste-checkbox {}

.filter-liste-checkbox > div {
	margin-bottom: 0;
}


.css-color-chart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.css-color-chart > div {
	flex-grow: 0;
	flex-shrink: 0;
	width: 100px;
	border: 1px solid lightgrey;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: space-between;
	margin: 0.15rem;
}

.css-color-chart > div > img {
	margin: 0.5rem;
	min-height: 20px;
}

.css-color-chart > div > label {
	background: lightgrey;
	padding: 0.25rem 0.5rem;
	font-size: 0.6rem;
	text-align: center;
	flex-grow: 1;
	flex-shrink: 1;
}

.warenkorb {
	position: relative;
}

.overlay-outside {
	display:none;
	position: fixed;
	background-color: white;
	color: black;
	top: 4em;
	padding: 1em;
	z-index: 999999;
	overflow: scroll;
	overflow-x: hidden;
	position: absolute;
}

.overlay-iniside {
	
}

.line-clamp {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}


.line-clamp.lines-2 {	-webkit-line-clamp: 2; }
.line-clamp.lines-3 {	-webkit-line-clamp: 3; }
.line-clamp.lines-4 {	-webkit-line-clamp: 4; }
.line-clamp.lines-5 {	-webkit-line-clamp: 5; }
.line-clamp.lines-6 {	-webkit-line-clamp: 6; }
.line-clamp.lines-7 {	-webkit-line-clamp: 7; }


.box-padded {
	padding: 2rem;
	padding: 2rem 4%;
}
.box-padded-sm {
	padding: 1rem 2%;
}
.box-padded-xs {
	display: block;
	padding: 0.6rem;
}




@keyframes pulse {
	0%   { opacity: 1; }
	100% { opacity: 0; }
}

.lds-square {
	display: flex;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: white;
	/*
	filter: blur(10px);
	-webkit-filter: blur(10px);
	*/
	z-index: 999;
}

.lds-ca {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
	width: 3em;
	height: 3em;
	margin: auto;
}

.lds-blk {
	height: 35%;
	width: 35%;
	animation: pulse 0.75s ease-in infinite alternate;
	background-color: var(--bs-primary-bg-subtle);
}

.lds-blk-delay {
	animation-delay: 0.75s;
}


.lds-roller {
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #c9c9c9;
  padding-left: 33%;
  padding-top: 20%;
  z-index: 999999;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
    
}
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  margin: -4px 0 0 -4px;
  background-color:rgb(239, 226, 203);

}
.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}
@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

figure {
	border: thin solid lightgrey;
	display: flex;
	flex-flow: column;
	padding: 0.4rem;
	margin: auto;
}

figure img {
	width: 100%;
}

figure figcaption {
	background-color: var(--bs-secondary-bg-subtle);
	color: var(--bs-secondary-color);
	font: italic smaller sans-serif;
	font-family: sans-serif;
	padding: 0.3rem;
	text-align: center;
}

.modal .modal-header {
	border-bottom: none;
	position: relative;
	text-align: center;
	padding: 0.5rem 1.45rem;
	min-height: 47px;
	border-bottom: 1px solid var(--bs-modal-border-color);
}
.modal-success .modal-header .modal-title,
.modal-error .modal-header .modal-title,
.modal-primary .modal-header .modal-title,
.modal-secondary .modal-header .modal-title {
	color: #fff;
}
.modal-success .modal-header {
	background: rgb(var(--bs-success-rgb));
	border-bottom: 1px solid var(--bs-success-rgb);
}
.modal-error .modal-header {
	background: rgb(var(--bs-danger-rgb));
	border-bottom: 1px solid var(--bs-danger-rgb);
}
.modal-primary .modal-header {
	background: rgb(var(--bs-primary-rgb));
	border-bottom: 1px solid var(--bs-primary);
}
.modal-secondary .modal-header {
	background: rgb(var(--bs-secondary-bg-rgb));
	border-bottom: 1px solid var(--bs-secondary-bg);
}
.modal-success .modal-header .btn-close,
.modal-error .modal-header .btn-close,
.modal-primary .modal-header .btn-close,
.modal-secondary .modal-header .btn-close {
	filter: var(--bs-btn-close-white-filter);
}

.modal .modal-header .btn-close {
	position: absolute;
	top: 15px;
	right: 15px;
	text-shadow: none;
	opacity: 0.5;
	padding: 1rem 1rem;
	margin: -1rem -1rem -1rem auto;
}

.modal .modal-body {
	padding: 1.45rem;
}

.nojs-msg {
	margin-top: 1rem;
	padding: 0.75rem 1.45rem;
	border-radius: 4px;
}

.nojs-msg-title {
	font-family: 'Oswald', sans-serif !important;
	letter-spacing: 0.05em !important;
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.infobox{
	position: relative;
	padding: 0.7rem 1.2rem;
	background-repeat: no-repeat;
	background-size: 92px;
	border: thin solid var(--bs-secondary-bg);
	/*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='0' viewBox='0 0 24 24'%3E%3Cpath stroke='none' d='M20.309 17.708C22.196 15.66 22.006 13.03 22 13V5a1 1 0 0 0-1-1h-6c-1.103 0-2 .897-2 2v7a1 1 0 0 0 1 1h3.078a2.89 2.89 0 0 1-.429 1.396c-.508.801-1.465 1.348-2.846 1.624l-.803.16V20h1c2.783 0 4.906-.771 6.309-2.292zm-11.007 0C11.19 15.66 10.999 13.03 10.993 13V5a1 1 0 0 0-1-1h-6c-1.103 0-2 .897-2 2v7a1 1 0 0 0 1 1h3.078a2.89 2.89 0 0 1-.429 1.396c-.508.801-1.465 1.348-2.846 1.624l-.803.16V20h1c2.783 0 4.906-.771 6.309-2.292z'/%3E%3C/svg%3E");*/
}
.infobox > .infobox-bg-icon{
	position: absolute;
	right: 0.7rem;
	top: 0;
	width: 100px;
	height: 100px;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='0' viewBox='0 0 24 24'%3E%3Cpath stroke='none' d='M20.309 17.708C22.196 15.66 22.006 13.03 22 13V5a1 1 0 0 0-1-1h-6c-1.103 0-2 .897-2 2v7a1 1 0 0 0 1 1h3.078a2.89 2.89 0 0 1-.429 1.396c-.508.801-1.465 1.348-2.846 1.624l-.803.16V20h1c2.783 0 4.906-.771 6.309-2.292zm-11.007 0C11.19 15.66 10.999 13.03 10.993 13V5a1 1 0 0 0-1-1h-6c-1.103 0-2 .897-2 2v7a1 1 0 0 0 1 1h3.078a2.89 2.89 0 0 1-.429 1.396c-.508.801-1.465 1.348-2.846 1.624l-.803.16V20h1c2.783 0 4.906-.771 6.309-2.292z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='0' viewBox='0 0 24 24'%3E%3Cpath stroke='none' d='M20.309 17.708C22.196 15.66 22.006 13.03 22 13V5a1 1 0 0 0-1-1h-6c-1.103 0-2 .897-2 2v7a1 1 0 0 0 1 1h3.078a2.89 2.89 0 0 1-.429 1.396c-.508.801-1.465 1.348-2.846 1.624l-.803.16V20h1c2.783 0 4.906-.771 6.309-2.292zm-11.007 0C11.19 15.66 10.999 13.03 10.993 13V5a1 1 0 0 0-1-1h-6c-1.103 0-2 .897-2 2v7a1 1 0 0 0 1 1h3.078a2.89 2.89 0 0 1-.429 1.396c-.508.801-1.465 1.348-2.846 1.624l-.803.16V20h1c2.783 0 4.906-.771 6.309-2.292z'/%3E%3C/svg%3E");
	background-color: var(--bs-secondary);
	z-index: -1;
}

.infobox-text{
	line-height: 1.1rem;
	font-weight: 500;
	margin-bottom: 0.7rem;
	padding-top: 1.4rem;
}
.infobox-author{
	display: block;
	font-size: 1.1rem;
	line-height: 1.2rem;
	margin: 1.1rem 0 0;
}
.infobox-author-sub{
	font-size: 0.9rem;
	font-style: italic;
}

.nojs .d-nojs-none {
	display: none !important;
}
.nojs .d-nojs-inline {
	display: inline !important;
}
.nojs .d-nojs-inline-block {
	display: inline-block !important;
}
.nojs .d-nojs-block {
	display: block !important;
}
.nojs .d-nojs-grid {
	display: grid !important;
}
.nojs .d-nojs-inline-grid {
	display: inline-grid !important;
}
.nojs .d-nojs-table {
	display: table !important;
}
.nojs .d-nojs-table-cell {
	display: table-cell !important;
}
.nojs .d-nojs-table-row {
	display: table-row !important;
}
.nojs .d-nojs-flex {
	display: flex !important;
}
.nojs .d-nojs-inline-flex {
	display: inline-flex !important;
}

.coupon {
	padding: 0.5rem 1rem;
	border-radius: 0.2rem;
	overflow: hidden;
	text-overflow: ellipsis;
	filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
	display: flex;
	align-items: stretch;
	position: relative;
	/*text-transform: uppercase;*/
	color: #fff;
}

.coupon::before, .coupon::after {
	content: "";
	position: absolute;
	top: 0;
	width: 50%;
	height: 100%;
	z-index: -1;
}

.coupon::before {
	left: 0;
	background-image: radial-gradient( circle at 0 50%, transparent 0.38rem, var(--bs-primary) 0.4rem )
}
.coupon::after {
	right: 0;
	background-image: radial-gradient( circle at 100% 50%, transparent 0.38rem, var(--bs-primary) 0.4rem );
}
.coupon > span {
	width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
}

.coupon + .coupon-delete-div {
	flex-grow: 1;
	text-align: right;
}