.list {
	list-style: none;
	margin: 0;
	padding: 8px 0px;
	position: relative;
}

.listItem {
	display: flex;
	padding: 4px 16px;
	align-items: center;
	height: 100%;
	width: 100%;
	border: none;
	background-color: var(--background-color);
	color: var(--app-font-color);
	font-size: 16px;
	font-family: var(--app-font-family);
}

.listItemChildren {
	flex-grow: 1;
	gap: 8px;
	display: flex;
	align-items: center;
	text-align: left;
}

.listItemClickable {
	user-select: none;
	cursor: pointer;
}

.listItemIcon {
	width: 52px;
	min-width: 52px;
	display: flex;
}

.listItemBulletPoint {
	width: 24px;
	min-width: 24px;
	display: flex;
}

.listItemClickable:hover {
	background-color: var(--background-highlight-color);
}

.listItemClickable:disabled {
	cursor: not-allowed;
	opacity: 0.5;
	pointer-events: none;
}

.divider {
	margin: 1rem 0;
	border-color: var(--background-highlight-color);
	border-width: 0;
	border-style: solid;
	border-bottom-width: thin;
}
.buttonGroup {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	gap: 10px;
}

/* Gemeinsame Stile für icon-button und viewButtonContainer button */
.icon-button,
.viewButtonContainer button {
	display: flex;
	align-items: center;
	padding: 2px;
	transition: background-color 0.125s ease-in-out;
	border: none;
	background-color: var(--background-color);
	color: var(--app-font-color);
}

.icon-button:hover,
.viewButtonContainer button:hover {
	cursor: pointer;
	background-color: var(--gray-tertiary);
}

.icon-button:disabled,
.viewButtonContainer button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
	color: var(--gray-primary) !important;
}

.viewButtonContainer {
	z-index: 3;
	border: 2px hidden;
	box-shadow: 0 1px 4px var(--gray-secondary);
	background-color: var(--background-color);
	justify-content: center;
	align-items: center;
	height: 32px;
	font-size: 14px;
	display: flex;
	gap: 2px;
	pointer-events: all;
	border-radius: 5px;

	& button {
		height: 32px;
		width: 32px;
		justify-content: center;
		border-radius: 5px;
	}

	& .switch {
		padding: 8px;
		gap: 8px;
		height: 100%;
		color: var(--app-font-color);
		width: 100%;
	}
}
.tagInputTextfield {
	& .MuiInputBase-input {
		padding: 0 0.5em;
		margin-left: 5px;
		width: 100%;
		border: 1px solid var(--border-color);
		color: var(--app-font-color);
		font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 14px;
	}

	& .MuiButtonBase-root {
		background-color: var(--background-highlight-color);
	}

	& .MuiChip-label {
		color: var(--app-font-color);

		& .MuiSvgIcon-root {
			color: var(--app-font-color);
			&:hover {
				background-color: var(--highlight-color);
			}
		}
	}

	& .MuiOutlinedInput-root fieldset {
		border-radius: 0;
		border-color: var(--border-color);
	}

	& .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
		border-color: var(--border-color);
	}
}

.tagInputAutocomplete {
	& .MuiTextField-root {
		padding: 0;
		border-radius: 50px;
	}
}
/* ColorInput */
.colorInput {
	border: 1px solid #959595;
	height: 32px;
	cursor: pointer;

	& .colorInputButton {
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		& calcite-icon {
			color: white;
			mix-blend-mode: difference;
			isolation: isolate;
		}
	}
}

.colorInputPopover {
	z-index: 2000;
	right: 8px;
	bottom: 8px;
}

.colorInputCover {
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
}
.colorInputCloseButton {
	position: absolute;
	bottom: 5px;
	right: 5px;
}

.sketch-picker {
	width: 260px !important;
	border-radius: 4px 4px 0 0 !important;
	background: var(--background-color) !important;
}

.sketch-picker label {
	color: var(--app-font-color) !important;
}
.checkboxLabel {
	color: var(--app-font-color);
	line-height: 1.3em;
	display: flex !important;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	cursor: pointer;
	user-select: none;
	padding-top: 2px;
}

.checkboxLabel:hover {
	background-color: var(--background-highlight-color);
}

.checkboxInput {
	cursor: pointer;
	margin: 3px 3px 3px 4px;
}
.switch,
.switch-disabled {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	font-size: 14px;
	gap: 27px;
	padding: 4px 0px;
	width: 100%;
	user-select: none;
	border: none;
	background-color: inherit;
	font-family: inherit;
	color: var(--app-font-color);
	text-align: left;

	& .switch-background {
		width: 26px;
		min-width: 26px;
		height: 10px;
		border-radius: 13px;
		background-color: var(--gray-secondary);
		transition: background-color 0.3s ease;
	}

	& .switch-knob {
		width: 16px;
		height: 16px;
		border-radius: 50%;
		background-color: var(--gray-secondary);
		transition: transform 0.3s ease;
		transform: translateX(0) translateY(-3px);
	}

	& .switch-knob.checked {
		transform: translateX(10px) translateY(-3px);
		background-color: var(--app-primary-color);
	}
}

.switch:hover {
	background-color: var(--background-highlight-color);
}

.switch-disabled {
	opacity: 0.35;
}
.radioGroup {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;

	& .radioButton,
	& .radioLabel {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 0.5rem;
		cursor: pointer;
	}

	& .radioButtonInput {
		width: 16px;
		height: 16px;
		cursor: pointer;
	}
}
.sliderContainer {
	margin: auto;
	padding: 5px 0;

	/* Entfernt das Standardaussehen des Sliders */
	& .sliderInput {
		-webkit-appearance: none;
		appearance: none;
		background: transparent;
		cursor: pointer;
		width: 100%;
	}

	/* Dezenter Fokus-Stil für bessere Accessibility */
	& .sliderInput:focus {
		outline: 1px solid var(--gray-primary);
		outline-offset: 1px;
	}

	/* Slider Track (WebKit) */
	& .sliderInput::-webkit-slider-runnable-track {
		background-color: var(--app-primary-color);
		border-radius: 0.25rem;
		height: 0.25rem;
	}

	/* Slider Thumb (WebKit) */
	& .sliderInput::-webkit-slider-thumb {
		-webkit-appearance: none;
		appearance: none;
		margin-top: -6px;
		background-color: var(--app-primary-color); /* Primärfarbe für Thumb */
		height: 1rem;
		width: 0.5rem;
	}

	& .sliderInput:focus::-webkit-slider-thumb {
		border: 1px solid var(--app-primary-color);
		outline-offset: 0.125rem;
	}

	/* Slider Track (Mozilla Firefox) */
	& .sliderInput::-moz-range-track {
		background-color: var(--app-primary-color);
		border-radius: 0.25rem;
		height: 0.25rem;
	}

	/* Slider Thumb (Mozilla Firefox) */
	& .sliderInput::-moz-range-thumb {
		border: none;
		border-radius: 0;
		background-color: var(--app-secondary-color); /* Sekundärfarbe für Thumb */
		height: 1rem;
		width: 0.5rem;
	}

	& .sliderInput:focus::-moz-range-thumb {
		border: 1px solid var(--app-primary-color);
		outline: 3px solid var(--app-primary-color);
		outline-offset: 0.125rem;
	}
}
.fileUpload {
	border: 1px solid #959595;
	width: 100%;
	height: 100%;
	background-color: var(--background-color);
	display: flex;
	flex-direction: column;
	padding: 4px;

	& .fileDropZone {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		cursor: pointer;
		color: var(--app-font-color);
		border: 1px dotted var(--border-color);
		border-radius: 5px;
		padding: 8px;
		transition: background-color 0.3s ease;
	}

	& .fileDropZone.dragging {
		background-color: #d2e9f9;

		[data-theme="dark"] & {
			background-color: #2a3b47;
		}
	}

	& .selectedFileInfo {
		display: flex;
		justify-content: flex-start;
		margin: 4px;
		gap: 4px;

		& span {
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
			font-size: 12px;
		}
	}

	& input {
		display: none;
	}
}
.inputContainer {
	margin-top: 5px;
	width: 100%; /* Kann bspw. als umschließendes Div um neue Standardkomponente gesetzt werden, dann automatisch margin top */
	color: var(--app-font-color);

	& * {
		font-family: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
		font-size: 14px;
	}

	& label {
		line-height: 1.3em;
	}

	& .basicInput,
	& textarea,
	& select {
		color: var(--app-font-color);
		height: 32px;
		padding: 0 0.5em;
		width: 100%;
		margin: 0;
		background-color: var(--background-color);
		border: 1px solid #959595;
		font-size: 0.9em;
	}

	& input:disabled {
		opacity: 0.5;
		cursor: not-allowed;
	}

	& select {
		cursor: pointer;
		display: block;
		color: var(--app-font-color);
		-webkit-appearance: none;
		-moz-appearance: none;
		border-radius: 0;
		background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-8 -8 32 32%27 width=%2732%27 height=%2732%27%3E%3Cpath d=%27M8 11.207l-4-4V5.793l4 4 4-4v1.414z%27 fill=%27%236e6e6e%27 fillrule=%27nonzero%27/%3E%3C/svg%3E")
			no-repeat right center var(--background-color);
		padding-right: 2.2em; /* hinzugefügt, da längere Texte sonst den Pfeil überdecken */
	}

	& input[type="number"]::-webkit-inner-spin-button,
	& input[type="number"]::-webkit-outer-spin-button {
		opacity: 1; /* Erzwingt, dass Arrows immer sichtbar sind */
	}
}

.inputSpinner {
	height: 32px;
	background-color: var(--background-color);
	border: 1px solid #959595;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* Toast Content Styling */
.toast-content {
	display: flex;
	flex-direction: column;
	gap: 12px;

	&:focus-visible {
		outline: none;
	}
}

.toast-content p {
	line-height: 1.5rem;
}
/* Suchen Widget - Colors */
.esri-menu__list-item--active {
	background-color: var(--gray-tertiary) !important;
	border-left-color: var(--app-primary-color) !important;
}

.esri-search {
	border: 1px solid lightgray;
	width: 500px !important;
}
.menuContainer {
	height: 100%;
	background-color: var(--background-color);
}

.headerMenuContainer {
	display: flex;
	height: var(--header-height);
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0 8px;
	border-bottom: 2px solid rgba(110, 110, 110, 0.3);
}

.headerMenuDev {
	font-size: 12px;
	color: gray;
	cursor: pointer;
	text-decoration: none !important;
}

.pwaDiv {
	width: 100%;
	bottom: 0;
	border-top: 10px solid var(--footer-secondary);
}

.pwaBtn {
	background-color: var(--footer-primary) !important;
	border-radius: unset !important;
	width: 100%;
	text-transform: unset !important;
}

.pwaSpan {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 16px 8px;
	color: white;
	gap: 2rem;
	font-weight: bold;
}

.pwaBtn:hover {
	background-color: var(--hover-color) !important;
}

.pwaBtn:after {
	content: "»";
	font-size: 20px;
	opacity: 0;
	transition: 0.7s;
}
.pwaBtn:hover:after {
	opacity: 1;
}

.menuBottomDiv {
	display: flex;
	flex-direction: column;
	gap: 5px;
	position: absolute;
	bottom: 0;
	width: 100%;
}

.terratwinLink {
	cursor: pointer;
	display: flex;
	font-size: 11px;
	justify-content: center;
	padding-right: 5px;
	align-items: center;
	gap: 4px;
	text-decoration: none !important;
}

/* MUI Menu Icons */
.MuiListItemIcon-root {
	width: 3rem;
}
.header {
	height: var(--header-height);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 0px 12px;
	z-index: 20;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 4px 0px;
	background-color: var(--background-color);
}

.headerLogo {
	display: flex;
	align-items: center;
	line-height: 0.5;
	margin-left: 12px;
	height: 100%;
	max-height: var(--header-height);
}

.headerLogo img {
	height: calc(100% - 8px);
	max-height: calc(100% - 8px);
	width: auto;
	display: block;
	background: transparent;
	border-radius: 5px;
	box-shadow: none;
	margin-top: 4px;
	margin-bottom: 4px;
	padding-top: 0;
	padding-bottom: 0;
}

[data-theme="dark"] .headerLogo img {
	background: transparent;
	filter: brightness(0.95) contrast(1.2);
}

.headerMenu {
	color: var(--app-tertiary-color);
	display: flex;
	flex-direction: row;
	margin-right: 12px;
	align-items: center;
	background-color: transparent;
	border: none;
	border-radius: 5px;
	padding-right: 2px;

	&:hover {
		background-color: var(--background-highlight-color);
		cursor: pointer;
	}

	& .menuTitle {
		font-family: var(--app-font-family);
		font-size: 1rem;
		font-weight: bold;
		margin-left: 4px;
	}
}

.headerActionContainer {
	display: flex;
	align-items: center;
}

@media only screen and (width < 800px) {
	.versionInfo,
	.menuTitle {
		display: none;
	}
}
/* MAP */
.mapContainer {
	display: flex;
	position: relative;
	flex: 1;
	width: 100%;
	/* box-shadow: inset 0 4px 6px rgba(99, 99, 99, 0.2); */
}
.sceneViewDiv,
.mapViewDiv {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	transition: 2000ms cubic-bezier(0.23, 1, 0.32, 1) 0ms opacity;
}

.sceneViewDiv.switch-on,
.mapViewDiv.switch-on {
	opacity: 1;
	z-index: 2;
}

.sceneViewDiv.switch-off,
.mapViewDiv.switch-off {
	opacity: 0;
	z-index: 1;
}

.esri-ui-corner {
	z-index: 5;
}

/* Esri Black Outline View Removed */
.esri-view .esri-view-surface--inset-outline:focus::after,
.esri-view-surface::after {
	outline: none !important;
	border: none !important;
}
.esri-popup__main-container {
	--calcite-color-brand: var(--app-secondary-color);
	--esri-view-outline-color: var(--app-secondary-color);
	border-radius: 5px;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 24px;

	& .esri-widget__table tr:nth-child(odd) {
		background-color: var(--background-color);
	}

	& .esri-widget__table tr:nth-child(2n) {
		background-color: var(--background-highlight-color);
	}
	& .esri-feature__content-element {
		background-color: var(--gray-tertiary);
		border-radius: 3px;
		margin-bottom: 10px;
		padding: 15px;
	}
	& .esri-widget__heading.esri-feature-element-info__title {
		color: var(--app-font-color);
		font-size: 14px;
		font-weight: 500;
	}

	& .customContent {
		& .heading {
			text-align: start;
			background-color: var(--gray-tertiary);
			font-size: 14px;
			font-weight: 500;
			margin-bottom: 4px;
		}

		& .linkList {
			list-style-type: none;
			margin: 0px;
			background-color: var(--background-color);
			padding: 8px;
			line-height: 1.4rem;

			& li > a:hover {
				color: var(--app-primary-color);
			}
		}
	}

	& .ownerTbl {
		width: 100%;
		max-width: 411px;
		border-collapse: collapse;
		color: var(--app-font-color);

		& tr {
			background-color: var(--background-color);
			border-top: 1px solid var(--gray-tertiary);
		}

		& th {
			text-align: start;
			background-color: var(--gray-tertiary);
			font-size: 14px;
			font-weight: 500;
		}

		& td {
			font-size: 0.75rem;
			vertical-align: top;
			padding: 8px 12px;
		}

		& .col1 {
			width: 90px;
			padding-right: 0px;
		}

		& .col2 {
			width: auto;
			padding-left: 0px;
			padding-right: 0px;
		}

		& .col3 {
			width: 50px;
			padding-left: 0px;
			text-align: right;
		}
	}

	& .ownerDate {
		font-size: 0.7rem;
		font-style: italic;
		margin-top: 0.2rem;
		float: right;
	}
}

/* No display for related Tables with no match */
.esri-feature__content-element:has(calcite-notice) {
	display: none;
}

/* Draggable Popup Styles */

/* Mobile touch improvements */
@media (max-width: 768px) {
	.esri-popup__main-container.esri-popup-drag-mode {
		border-width: 3px !important;
		box-shadow: 0 6px 18px rgba(0, 122, 194, 0.4) !important;
	}
}

/* Popup interaction states - shared styles */
.esri-popup__main-container.esri-popup--dragging,
.esri-popup__main-container.esri-popup--resizing {
	opacity: 0.8 !important;
}

.esri-popup__main-container.esri-popup--dragging {
	cursor: grabbing !important;
}

/* Resize Handle Styles */
.popup-resize-handle {
	cursor: se-resize;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 24px;
	height: 24px;
	background: transparent;
	z-index: 10000;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.popup-resize-handle .resize-indicator {
	position: absolute;
	bottom: 4px;
	right: 4px;
	width: 16px;
	height: 16px;
	background: repeating-linear-gradient(
		-45deg,
		transparent,
		transparent 2px,
		rgba(128, 128, 128, 0.6) 2px,
		rgba(128, 128, 128, 0.6) 4px
	);
	border-radius: 0 0 2px 0;
}

/* Show resize handle on popup hover */
.esri-popup__main-container:hover .popup-resize-handle,
.popup-resize-handle:hover {
	opacity: 0.8 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
	.popup-resize-handle {
		opacity: 0.3;
		width: 30px;
		height: 30px;
	}
}

.esri-ui .esri-popup .esri-widget__heading {
	cursor: grab;
	user-select: none;
}

.esri-ui .esri-popup--is-docked .esri-widget__heading {
	cursor: default;
}

.esri-ui .esri-popup--dragging .esri-widget__heading {
	cursor: grabbing;
}
.headerContainer {
	display: flex;
	align-items: center;
	height: var(--widget-header-height);
	margin: 5px 5px 3px 5px;

	& .headerLeft {
		display: flex;
		width: 100%;
		margin: 5px 0px 5px 2px;
	}

	& .headerRight {
		display: flex;
		justify-content: flex-end;
		margin: 5px 0px 9px 0px;
	}

	& .headerTitle {
		margin-left: 10px;
		font-weight: bold;
		font-size: 16px;
		line-height: 1.6;
		color: var(--app-tertiary-color);
		display: flex;
		gap: 10px;
		user-select: none;

		& .headerNavigation {
			cursor: pointer;
			text-decoration: underline;
		}

		& .headerNavigation:hover {
			background-color: var(--gray-tertiary);
		}
	}
	& .dragHandle {
		position: absolute;
		top: 10px;
		left: 50%;
		width: 30px;
		height: 4px;
		background-color: var(--gray-primary);
		border-radius: 2px;
		transform: translateX(-50%);
		cursor: ns-resize;
	}
}
.resize-handle-wrapper {
	/* height: 30px; */
	width: 100%;
	cursor: grab;
}

.resize-handle {
	height: 10px;
	background: var(--app-secondary-color);
	width: 100%;
	text-align: center;
	display: flex;
}

.resize-handle div {
	width: 40px;
	height: 4px;
	background: var(--gray-tertiary);
	margin: 3px auto;
	border-radius: 2px;
}

/* ResizeHandleBottomLeft */
/* Dafür sollte das umschließende Element (Parent) "position: relative" sein.*/
.resize-handle-wrapper-bottom-left {
	height: 20px;
	width: 20px;
	cursor: nesw-resize;
	position: absolute;
	bottom: 4px;
	left: 4px;
	transform: rotate(90deg);
}
.widgetRight {
	display: flex;
	flex-direction: column;
	position: relative;
	right: 0;
	background-color: var(--background-color);
	padding: 5px;
	border-top: 2px solid rgba(110, 110, 110, 0.3);
	color: var(--app-font-color);
	border-left: 3px solid var(--app-secondary-color);
}

.widget {
	z-index: 300;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 4px;
	background-color: var(--background-color);
	/* overflow-y: hidden; */
	display: flex;
	flex-direction: column;
	border-radius: 5px;
}

/* Focus styles for accessibility */
.widgetMd:focus,
.widgetLg:focus,
.widgetRight:focus {
	outline: none;
}

.widgetBody {
	position: relative;
	max-height: calc(100% - var(--widget-header-height));
	flex-grow: 1; /* Nimmt den verfügbaren Platz ein */
	flex-shrink: 1; /* Passt sich dynamisch an, wenn das Widget verkleinert wird */
	overflow-y: auto; /* Scrollbalken aktivieren */
	width: 100%;
	/* height: 100%; */
	padding: 5px;
	/* border-top: 2px solid rgba(110, 110, 110, 0.3); */
	color: var(--app-font-color);
}

.widgetSm {
	width: 100%;
	height: 100%;
	position: relative;
	bottom: 0;
	left: 0;
	border-top: 3px solid var(--app-secondary-color);
	box-shadow: rgba(99, 99, 99, 0.2) 0px -2px 4px 0px;
}

/* large widget */
.widgetMd,
.widgetLg {
	position: absolute;
	top: calc(var(--header-height) + 5px);
	right: 5px;
	border-left: 3px solid var(--app-secondary-color);
	/* max-width: 40vw; -> muss individuell in den widgets geregelt werden*/
}

.widgetSm .widgetBody {
	flex-grow: 1;
	max-height: 100%;
	overflow-y: auto; /* Auto-Scroll aktivieren */
}

.esri-button {
	text-decoration: none !important;
	background-color: var(--button-color);
	color: #fff !important;
	border: 2px solid var(--button-color) !important;
	font-weight: bold !important;
	padding: 6px 12px !important;
	min-width: 60px !important;
}
.esri-button:hover {
	background-color: var(--button-hover-background) !important;
	color: var(--button-hover-color) !important;
	border: 2px solid var(--button-hover-border) !important;
}
.secondary-button {
	cursor: pointer;
	font-weight: 400 !important;
	text-decoration: none !important;
	background-color: var(--background-color);
	color: var(--app-font-color) !important;
	border: 2px solid var(--app-font-color) !important;
	padding: 6px 12px !important;
	min-width: 60px !important;
}

.secondary-button:hover {
	border: 2px solid var(--app-font-color) !important;
	box-shadow: inset 0px 0px 0.1px 0.5px var(--app-font-color);
	color: var(--app-font-color) !important;
}

/* Änderung wegen Esri Widgets u.a. Measure */
calcite-button[appearance="solid"] {
	--calcite-ui-brand: var(--button-color);
	--calcite-ui-brand-hover: var(--button-hover-background);
	border: 2px solid var(--button-color);
}

/* Höhenprofil Linie auswählen Dark mode */
calcite-button[appearance="outline-fill"] {
	--calcite-ui-brand: var(--app-font-color);
	--calcite-ui-brand-hover: var(--app-font-color);
	--calcite-font-weight-normal: 400;
}

/* Dark Mode */
[data-theme="dark"] calcite-button[appearance="solid"]:hover {
	border: 2px solid var(--button-hover-border) !important;
}

/* Light Mode */
[data-theme="light"] calcite-button[appearance="solid"]:hover {
	/* Änderung wegen Esri Widgets u.a. Measure */
	--calcite-ui-brand: var(--app-primary-color);
	--calcite-ui-brand-hover: var(--background-color);
	--calcite-ui-text-inverse: var(--app-primary-color);
	border: 2px solid var(--button-color);
}
.installDiv {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
}

.scrollDownIcon {
	position: absolute;
	bottom: 10px;
	background-color: var(--background-highlight-color);
	border: 1px solid var(--border-color);
	border-radius: 50%;
	font-size: 3rem;
	left: 50%;
	transform: translateX(-50%) scale(1);
	animation: pulse 1.5s infinite;
}

#scrollBottom {
	justify-content: space-between;
	margin: 2rem 0 0.5rem 0;
	padding: 0;
}

#splash-content {
	& .dialogLink {
		background: none;
		padding: 0;
	}
}

@media screen and (min-width: 500px) {
	.installDiv {
		flex-direction: row;
		align-items: center;
	}
}
.footer {
	position: relative;
	height: var(--footer-sm-height);
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 0 10px;
	z-index: 3;
	bottom: 0;
	background-color: var(--footer-primary);
	overflow: hidden;
	border-top: 5px solid var(--footer-secondary);
	box-sizing: content-box;
}

.footerIos {
	height: var(--footer-ios-height);
	padding: 0 10px 15px 10px;
}

.tabTitle {
	font-size: 10px;
}

.MuiTabs-root {
	width: 100%;
	align-items: center;
}

.MuiTabs-flexContainer {
	justify-content: space-between !important;
}

.MuiTab-root {
	min-width: 0 !important;
	padding: 6px 12px 6px 12px !important;
	min-height: unset !important;
	color: white !important;
	text-transform: unset !important;
}

.MuiTab-root:hover {
	background-color: var(--hover-color);
}

.footerOverflowButton {
	width: 100%;
	color: var(--app-tertiary-color) !important;
}

@media screen and (min-width: 900px) {
	.footer {
		height: var(--footer-lg-height);
		padding: 2px;
		border-top: 8px solid var(--footer-secondary);
		box-shadow: rgba(99, 99, 99, 0.2) 0px -2px 4px 0px;
	}

	.footerIos {
		height: var(--footer-ios-height);
		padding: 0 10px 15px 10px;
	}

	.tabTitle {
		font-size: 14px;
		margin-top: 6px;
	}

	.MuiTabs-flexContainer {
		justify-content: center !important;
	}

	.MuiTab-root {
		width: 150px;
		font-family: var(--app-font-family) !important;
	}
}
.dialogContent {
	margin: 0;
	font-weight: 400;
	font-size: 1rem;
	line-height: 170%;
	border-top: 2px solid rgba(110, 110, 110, 0.3);
	background-color: var(--background-color);
	color: var(--app-tertiary-color);
}

.popoverContent {
	margin: 0;
	padding: 10px !important;
}

.dialogTitle {
	font-weight: bold;
	font-size: 16px;
	margin-top: 30px;
}

.dialogSubDesc {
	margin-block-end: 0.5em;
	flex: 1;
}

.dialogList {
	margin-left: 1.2em;
}

.dialogNote {
	background-color: var(--gray-tertiary);
	padding: 0.5em;
	margin: 1em 0em;
	display: flex;
	align-items: center;
	border-left: 2px solid var(--app-primary-color);
}

.dialogNoteIcon {
	margin: 0 6px 0 0;
	color: var(--app-primary-color);
	font-size: 16px;
}

.dialogHighlight {
	background-color: var(--gray-tertiary);
	padding: 0 5px;
	font-weight: 500;
	font-size: 0.875rem;
	border-radius: 3px;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.dialogLink {
	text-decoration: underline;
	cursor: pointer;
	border: none;
	background-color: var(--gray-tertiary);
	padding: 0 5px;
	font-weight: 500;
	font-size: 0.875rem;
	border-radius: 3px;
	font-family: var(--app-font-family);
	color: inherit;
	width: fit-content;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
}

.dialogLink:hover {
	color: var(--background-highlight-color);
	background-color: var(--gray-primary);
}

.dialogImageContainer {
	font-size: 12px;
	font-style: italic;
	margin: 15px 0px;
	display: flex;
	justify-content: center;
	line-height: normal;
	gap: 15px;
	flex-wrap: wrap;
	align-items: baseline;

	& div {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	& img {
		width: 320px;
	}
}

/* Hilfe */
.toolContainer {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 16px;
}

.toolSpan {
	padding: 8px;
	display: flex;
	align-items: center;
	gap: 5px;
}

/* Dialog Table */
.dialog-table-container {
	overflow-x: auto;
	margin: 16px 0;
}

.dialog-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	table-layout: fixed;

	& thead tr {
		background-color: var(--gray-tertiary);
	}

	& th {
		padding: 12px 8px;
		border-bottom: 1px solid var(--border-color);
		border-right: 1px solid var(--border-color);
		word-wrap: break-word;
		word-break: break-word;
		overflow-wrap: break-word;
		hyphens: auto;

		&:first-child {
			width: 20%;
		}

		&:not(:first-child) {
			width: 26.67%;
		}

		&:last-child {
			border-right: none;
		}
	}

	& tbody tr {
		border-bottom: 1px solid var(--border-color);

		&:last-child {
			border-bottom: none;
		}
	}

	& td {
		padding: 10px 8px;
		border-right: 1px solid var(--border-color);
		word-wrap: break-word;
		word-break: break-word;
		overflow-wrap: break-word;
		hyphens: auto;

		&:last-child {
			border-right: none;
		}

		&:first-child {
			font-weight: bold;
		}
	}
}
:root {
  --toastify-color-light: #fff;
  --toastify-color-dark: #121212;
  --toastify-color-info: #3498db;
  --toastify-color-success: #07bc0c;
  --toastify-color-warning: #f1c40f;
  --toastify-color-error: hsl(6, 78%, 57%);
  --toastify-color-transparent: rgba(255, 255, 255, 0.7);

  --toastify-icon-color-info: var(--toastify-color-info);
  --toastify-icon-color-success: var(--toastify-color-success);
  --toastify-icon-color-warning: var(--toastify-color-warning);
  --toastify-icon-color-error: var(--toastify-color-error);

  --toastify-container-width: fit-content;
  --toastify-toast-width: 320px;
  --toastify-toast-offset: 16px;
  --toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));
  --toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));
  --toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));
  --toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));
  --toastify-toast-background: #fff;
  --toastify-toast-padding: 14px;
  --toastify-toast-min-height: 64px;
  --toastify-toast-max-height: 800px;
  --toastify-toast-bd-radius: 6px;
  --toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  --toastify-font-family: sans-serif;
  --toastify-z-index: 9999;
  --toastify-text-color-light: #757575;
  --toastify-text-color-dark: #fff;

  /* Used only for colored theme */
  --toastify-text-color-info: #fff;
  --toastify-text-color-success: #fff;
  --toastify-text-color-warning: #fff;
  --toastify-text-color-error: #fff;

  --toastify-spinner-color: #616161;
  --toastify-spinner-color-empty-area: #e0e0e0;
  --toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);
  --toastify-color-progress-dark: #bb86fc;
  --toastify-color-progress-info: var(--toastify-color-info);
  --toastify-color-progress-success: var(--toastify-color-success);
  --toastify-color-progress-warning: var(--toastify-color-warning);
  --toastify-color-progress-error: var(--toastify-color-error);
  /* used to control the opacity of the progress trail */
  --toastify-color-progress-bgo: 0.2;
}

.Toastify__toast-container {
  z-index: var(--toastify-z-index);
  -webkit-transform: translate3d(0, 0, var(--toastify-z-index));
  position: fixed;
  width: var(--toastify-container-width);
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.Toastify__toast-container--top-left {
  top: var(--toastify-toast-top);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--top-center {
  top: var(--toastify-toast-top);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--top-right {
  top: var(--toastify-toast-top);
  right: var(--toastify-toast-right);
  align-items: end;
}
.Toastify__toast-container--bottom-left {
  bottom: var(--toastify-toast-bottom);
  left: var(--toastify-toast-left);
}
.Toastify__toast-container--bottom-center {
  bottom: var(--toastify-toast-bottom);
  left: 50%;
  transform: translateX(-50%);
  align-items: center;
}
.Toastify__toast-container--bottom-right {
  bottom: var(--toastify-toast-bottom);
  right: var(--toastify-toast-right);
  align-items: end;
}

.Toastify__toast {
  --y: 0;
  position: relative;
  touch-action: none;
  width: var(--toastify-toast-width);
  min-height: var(--toastify-toast-min-height);
  box-sizing: border-box;
  margin-bottom: 1rem;
  padding: var(--toastify-toast-padding);
  border-radius: var(--toastify-toast-bd-radius);
  box-shadow: var(--toastify-toast-shadow);
  max-height: var(--toastify-toast-max-height);
  font-family: var(--toastify-font-family);
  /* webkit only issue #791 */
  z-index: 0;
  /* inner swag */
  display: flex;
  flex: 1 auto;
  align-items: center;
  word-break: break-word;
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container {
    width: 100vw;
    left: env(safe-area-inset-left);
    margin: 0;
  }
  .Toastify__toast-container--top-left,
  .Toastify__toast-container--top-center,
  .Toastify__toast-container--top-right {
    top: env(safe-area-inset-top);
    transform: translateX(0);
  }
  .Toastify__toast-container--bottom-left,
  .Toastify__toast-container--bottom-center,
  .Toastify__toast-container--bottom-right {
    bottom: env(safe-area-inset-bottom);
    transform: translateX(0);
  }
  .Toastify__toast-container--rtl {
    right: env(safe-area-inset-right);
    left: initial;
  }
  .Toastify__toast {
    --toastify-toast-width: 100%;
    margin-bottom: 0;
    border-radius: 0;
  }
}

.Toastify__toast-container[data-stacked='true'] {
  width: var(--toastify-toast-width);
}

.Toastify__toast--stacked {
  position: absolute;
  width: 100%;
  transform: translate3d(0, var(--y), 0) scale(var(--s));
  transition: transform 0.3s;
}

.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,
.Toastify__toast--stacked[data-collapsed] .Toastify__close-button {
  transition: opacity 0.1s;
}

.Toastify__toast--stacked[data-collapsed='false'] {
  overflow: visible;
}

.Toastify__toast--stacked[data-collapsed='true']:not(:last-child) > * {
  opacity: 0;
}

.Toastify__toast--stacked:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: calc(var(--g) * 1px);
  bottom: 100%;
}

.Toastify__toast--stacked[data-pos='top'] {
  top: 0;
}

.Toastify__toast--stacked[data-pos='bot'] {
  bottom: 0;
}

.Toastify__toast--stacked[data-pos='bot'].Toastify__toast--stacked:before {
  transform-origin: top;
}

.Toastify__toast--stacked[data-pos='top'].Toastify__toast--stacked:before {
  transform-origin: bottom;
}

.Toastify__toast--stacked:before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: scaleY(3);
  z-index: -1;
}

.Toastify__toast--rtl {
  direction: rtl;
}

.Toastify__toast--close-on-click {
  cursor: pointer;
}

.Toastify__toast-icon {
  margin-inline-end: 10px;
  width: 22px;
  flex-shrink: 0;
  display: flex;
}

.Toastify--animate {
  animation-fill-mode: both;
  animation-duration: 0.5s;
}

.Toastify--animate-icon {
  animation-fill-mode: both;
  animation-duration: 0.3s;
}

.Toastify__toast-theme--dark {
  background: var(--toastify-color-dark);
  color: var(--toastify-text-color-dark);
}

.Toastify__toast-theme--light {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--default {
  background: var(--toastify-color-light);
  color: var(--toastify-text-color-light);
}

.Toastify__toast-theme--colored.Toastify__toast--info {
  color: var(--toastify-text-color-info);
  background: var(--toastify-color-info);
}

.Toastify__toast-theme--colored.Toastify__toast--success {
  color: var(--toastify-text-color-success);
  background: var(--toastify-color-success);
}

.Toastify__toast-theme--colored.Toastify__toast--warning {
  color: var(--toastify-text-color-warning);
  background: var(--toastify-color-warning);
}

.Toastify__toast-theme--colored.Toastify__toast--error {
  color: var(--toastify-text-color-error);
  background: var(--toastify-color-error);
}

.Toastify__progress-bar-theme--light {
  background: var(--toastify-color-progress-light);
}

.Toastify__progress-bar-theme--dark {
  background: var(--toastify-color-progress-dark);
}

.Toastify__progress-bar--info {
  background: var(--toastify-color-progress-info);
}

.Toastify__progress-bar--success {
  background: var(--toastify-color-progress-success);
}

.Toastify__progress-bar--warning {
  background: var(--toastify-color-progress-warning);
}

.Toastify__progress-bar--error {
  background: var(--toastify-color-progress-error);
}

.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,
.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {
  background: var(--toastify-color-transparent);
}

.Toastify__close-button {
  color: #fff;
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s ease;
  z-index: 1;
}

.Toastify__toast--rtl .Toastify__close-button {
  left: 6px;
  right: unset;
}

.Toastify__close-button--light {
  color: #000;
  opacity: 0.3;
}

.Toastify__close-button > svg {
  fill: currentColor;
  height: 16px;
  width: 14px;
}

.Toastify__close-button:hover,
.Toastify__close-button:focus {
  opacity: 1;
}

@keyframes Toastify__trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}

.Toastify__progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.7;
  transform-origin: left;
}

.Toastify__progress-bar--animated {
  animation: Toastify__trackProgress linear 1 forwards;
}

.Toastify__progress-bar--controlled {
  transition: transform 0.2s;
}

.Toastify__progress-bar--rtl {
  right: 0;
  left: initial;
  transform-origin: right;
  border-bottom-left-radius: initial;
}

.Toastify__progress-bar--wrp {
  position: absolute;
  overflow: hidden;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-bottom-left-radius: var(--toastify-toast-bd-radius);
  border-bottom-right-radius: var(--toastify-toast-bd-radius);
}

.Toastify__progress-bar--wrp[data-hidden='true'] {
  opacity: 0;
}

.Toastify__progress-bar--bg {
  opacity: var(--toastify-color-progress-bgo);
  width: 100%;
  height: 100%;
}

.Toastify__spinner {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid;
  border-radius: 100%;
  border-color: var(--toastify-spinner-color-empty-area);
  border-right-color: var(--toastify-spinner-color);
  animation: Toastify__spin 0.65s linear infinite;
}

@keyframes Toastify__bounceInRight {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0);
  }
  75% {
    transform: translate3d(10px, 0, 0);
  }
  90% {
    transform: translate3d(-5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutRight {
  20% {
    opacity: 1;
    transform: translate3d(-20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInLeft {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(-3000px, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(25px, 0, 0);
  }
  75% {
    transform: translate3d(-10px, 0, 0);
  }
  90% {
    transform: translate3d(5px, 0, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutLeft {
  20% {
    opacity: 1;
    transform: translate3d(20px, var(--y), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-2000px, var(--y), 0);
  }
}

@keyframes Toastify__bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0);
  }
  75% {
    transform: translate3d(0, 10px, 0);
  }
  90% {
    transform: translate3d(0, -5px, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes Toastify__bounceOutUp {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes Toastify__bounceInDown {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: translate3d(0, -3000px, 0);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 25px, 0);
  }
  75% {
    transform: translate3d(0, -10px, 0);
  }
  90% {
    transform: translate3d(0, 5px, 0);
  }
  to {
    transform: none;
  }
}

@keyframes Toastify__bounceOutDown {
  20% {
    transform: translate3d(0, calc(var(--y) - 10px), 0);
  }
  40%,
  45% {
    opacity: 1;
    transform: translate3d(0, calc(var(--y) + 20px), 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 2000px, 0);
  }
}

.Toastify__bounce-enter--top-left,
.Toastify__bounce-enter--bottom-left {
  animation-name: Toastify__bounceInLeft;
}

.Toastify__bounce-enter--top-right,
.Toastify__bounce-enter--bottom-right {
  animation-name: Toastify__bounceInRight;
}

.Toastify__bounce-enter--top-center {
  animation-name: Toastify__bounceInDown;
}

.Toastify__bounce-enter--bottom-center {
  animation-name: Toastify__bounceInUp;
}

.Toastify__bounce-exit--top-left,
.Toastify__bounce-exit--bottom-left {
  animation-name: Toastify__bounceOutLeft;
}

.Toastify__bounce-exit--top-right,
.Toastify__bounce-exit--bottom-right {
  animation-name: Toastify__bounceOutRight;
}

.Toastify__bounce-exit--top-center {
  animation-name: Toastify__bounceOutUp;
}

.Toastify__bounce-exit--bottom-center {
  animation-name: Toastify__bounceOutDown;
}

@keyframes Toastify__zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}

@keyframes Toastify__zoomOut {
  from {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translate3d(0, var(--y), 0) scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 0;
  }
}

.Toastify__zoom-enter {
  animation-name: Toastify__zoomIn;
}

.Toastify__zoom-exit {
  animation-name: Toastify__zoomOut;
}

@keyframes Toastify__flipIn {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }
  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }
  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }
  to {
    transform: perspective(400px);
  }
}

@keyframes Toastify__flipOut {
  from {
    transform: translate3d(0, var(--y), 0) perspective(400px);
  }
  30% {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, -20deg);
    opacity: 1;
  }
  to {
    transform: translate3d(0, var(--y), 0) perspective(400px) rotate3d(1, 0, 0, 90deg);
    opacity: 0;
  }
}

.Toastify__flip-enter {
  animation-name: Toastify__flipIn;
}

.Toastify__flip-exit {
  animation-name: Toastify__flipOut;
}

@keyframes Toastify__slideInRight {
  from {
    transform: translate3d(110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInLeft {
  from {
    transform: translate3d(-110%, 0, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInUp {
  from {
    transform: translate3d(0, 110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideInDown {
  from {
    transform: translate3d(0, -110%, 0);
    visibility: visible;
  }
  to {
    transform: translate3d(0, var(--y), 0);
  }
}

@keyframes Toastify__slideOutRight {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutLeft {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(-110%, var(--y), 0);
  }
}

@keyframes Toastify__slideOutDown {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, 500px, 0);
  }
}

@keyframes Toastify__slideOutUp {
  from {
    transform: translate3d(0, var(--y), 0);
  }
  to {
    visibility: hidden;
    transform: translate3d(0, -500px, 0);
  }
}

.Toastify__slide-enter--top-left,
.Toastify__slide-enter--bottom-left {
  animation-name: Toastify__slideInLeft;
}

.Toastify__slide-enter--top-right,
.Toastify__slide-enter--bottom-right {
  animation-name: Toastify__slideInRight;
}

.Toastify__slide-enter--top-center {
  animation-name: Toastify__slideInDown;
}

.Toastify__slide-enter--bottom-center {
  animation-name: Toastify__slideInUp;
}

.Toastify__slide-exit--top-left,
.Toastify__slide-exit--bottom-left {
  animation-name: Toastify__slideOutLeft;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-right,
.Toastify__slide-exit--bottom-right {
  animation-name: Toastify__slideOutRight;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--top-center {
  animation-name: Toastify__slideOutUp;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

.Toastify__slide-exit--bottom-center {
  animation-name: Toastify__slideOutDown;
  animation-timing-function: ease-in;
  animation-duration: 0.3s;
}

@keyframes Toastify__spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Calcite */

:root {
	--app-height: calc(var(--vh, 1vh) * 100);
	--header-height: clamp(36px, 6vh, 50px);
	--footer-sm-height: 55px; /*clamp(40px, 6vh, 60px);*/
	--footer-lg-height: 66px;
	--widget-header-height: 30px;
	--footer-ios-height: 75px;
}

/* Updates in 4.29 */
.calcite-mode-light {
	--calcite-color-brand-hover: var(--button-hover-background);
	--calcite-color-brand-press: var(--app-secondary-color);
	--calcite-color-foreground-1: var(--background-color);
	--calcite-color-foreground-2: var(--button-hover-background);
	--calcite-color-foreground-3: var(--background-color);
	--calcite-color-text-1: var(--app-font-color);
	--calcite-color-text-2: var(--app-font-color);
	--calcite-color-text-3: var(--app-font-color);
	--calcite-color-focus: var(--app-font-color);

	& calcite-button {
		--calcite-color-brand: var(--button-color);
		--calcite-font-weight-normal: 700;
	}

	& calcite-button:hover {
		--calcite-color-text-inverse: var(--button-hover-color);
	}

	& calcite-button[appearance="transparent"]:hover {
		--calcite-color-brand-hover: var(--app-font-color);
	}

	& calcite-button[appearance="outline-fill"] {
		--calcite-color-brand: var(--gray-primary);
		--calcite-color-brand-hover: var(--gray-primary);
	}

	& calcite-checkbox {
		--calcite-color-brand: var(--app-primary-color);
	}

	& calcite-list-item {
		--calcite-color-brand: var(--app-primary-color);
	}

	& calcite-loader {
		--calcite-color-brand: var(--app-primary-color);
	}

	& calcite-notice {
		--calcite-color-brand: var(--app-primary-color);
	}
}

.calcite-mode-dark {
	--calcite-color-brand-hover: var(--button-hover-background);
	--calcite-color-brand-press: var(--app-secondary-color);
	--calcite-color-foreground-1: var(--background-color);
	--calcite-color-foreground-2: var(--button-hover-background);
	--calcite-color-foreground-3: var(--background-color);
	--calcite-color-text-1: var(--app-font-color);
	--calcite-color-text-2: var(--app-font-color);
	--calcite-color-text-3: var(--app-font-color);
	--calcite-color-focus: var(--app-font-color);

	& calcite-button {
		--calcite-color-brand: var(--button-color);
		--calcite-font-weight-normal: 700;
		--calcite-color-text-inverse: var(--app-font-color);
		--calcite-color-brand-press: var(--app-secondary-color);
		--calcite-button-border-color: var(--app-font-color);
	}

	& calcite-button[appearance="outline-fill"] {
		--calcite-color-brand: var(--gray-primary);
		--calcite-color-brand-hover: var(--gray-primary);
	}

	& calcite-button[appearance="transparent"] {
		--calcite-color-brand: var(--gray-primary);
		--calcite-color-brand-hover: var(--gray-primary);
	}

	& calcite-checkbox {
		--calcite-color-brand: var(--gray-primary);
	}

	& calcite-list-item {
		--calcite-color-brand: var(--gray-primary);
	}

	& calcite-loader {
		--calcite-color-brand: var(--gray-primary);
	}

	& calcite-notice {
		--calcite-color-brand: var(--gray-primary);
	}
}

/* Updates in 4.29 end */

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

a {
	color: var(--app-font-color);
	text-decoration: underline !important;
}

a:hover {
	color: var(--app-primary-color);
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
	/* accent-color ändert auch die checkboxen im print widget */
	/* accent-color ändert den standard-Radio-button */
	accent-color: var(--app-primary-color) !important;
}
html,
body {
	font-family: var(--app-font-family);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow: hidden;
}

.container {
	/* calculating inner height of screen with react-viewport-height*/
	height: var(--app-height);
	display: flex;
	flex-direction: column;
}

.appStartSpinnerBox {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 80%;
	margin: auto;
}

/* position Toasts on top of view */
@media only screen and (min-width: 480px) {
	:root {
		--toastify-toast-top: calc(var(--header-height) + 10px);
		--toastify-toast-bottom: calc(var(--footer-sm-height) + 10px);
		--toastify-toast-shadow: rgba(0, 0, 0, 0.4) 0px 1px 4px;
	}
}

/* Android */
.esri-select:active {
	background-color: var(--app-secondary-color);
}

/* Pulsating Icon */
/* In Splashscreen */
@keyframes pulse {
	0% {
		transform: translateX(-50%) scale(1);
	}
	50% {
		transform: translateX(-50%) scale(1.1);
	}
	100% {
		transform: translateX(-50%) scale(1);
	}
}

/* Scrollbars - nur chrome */
/* Vertikale Scrollbar */
::-webkit-scrollbar {
	width: 12px; /* Breite der Scrollbar */
}

/* Thumb (der bewegliche Teil der Scrollbar) */
::-webkit-scrollbar-thumb {
	background-color: var(--gray-secondary); /* Hintergrundfarbe des Thumb */
	border-radius: 2px; /* Abrundung des Thumbs */
}

/* Track (der Hintergrund der Scrollbar) */
::-webkit-scrollbar-track {
	background-color: var(--background-color); /* Hintergrundfarbe des Tracks */
}

/* Horizontal Scrollbar */
::-webkit-scrollbar-horizontal {
	height: 12px; /* Höhe der horizontalen Scrollbar */
}

/* MUI Typography */
.MuiTypography-root,
.MuiTableCell-root {
	color: var(--app-font-color) !important;
}

/* iframe background */
.esri-feature__content-node:has(iframe) {
	background-color: white;
}

/* PDF images background white */
.esri-attachments__container--list .esri-attachments__image {
	background-color: white;
}

.esri-identity-modal,
.esri-identity-modal--open {
	z-index: 5000 !important;
	position: fixed !important;
}

.MuiPaper-root {
	/* Styles für MuiPaper */
	background-color: var(--background-color) !important;
	color: var(--app-font-color) !important;
}
