.header {
	height: var(--header-height);
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	z-index: 350;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 4px 0px;
	background-color: var(--background-color);
	gap: 0.75rem;

	& .header-button {
		color: var(--app-tertiary-color);
		display: flex;
		flex-direction: row;
		align-items: center;
		background-color: transparent;
		border: none;
		height: 100%;
		padding: 0 0.75rem;

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

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

		& .header-menu-icon {
			position: relative;
			display: inline-flex;
			align-items: center;
			/* Hält den Platz für die Glocke frei, die absolut darüber liegt. */
			padding-right: 20px;
		}

		& .header-notification-bell {
			position: absolute;
			right: -6px;
			display: inline-flex;
			pointer-events: none;
		}
	}

	& .header-right {
		display: flex;
		flex-direction: row;
		align-items: center;
		height: 100%;

		& .logo-container {
			display: flex;
			align-items: center;
			line-height: 0.5;
			height: 100%;
			max-height: var(--header-height);

			& 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;
			}
		}

		& .avatar-container {
			display: flex;
			align-items: center;
			height: 100%;

			& .login-span {
				font-size: 0.875rem;
				font-family: var(--app-font-family);
				color: var(--app-font-color);
			}

			& .popover-container,
			& .popover-trigger {
				height: 100%;
				display: flex;
				align-items: center;
			}
		}
	}
}

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

@media screen and (max-width: 599px) {
	.menu-caption,
	.avatar-container {
		display: none !important;
	}
}
.footer {
	position: relative;
	height: var(--footer-sm-height);
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 0 0.25rem;
	z-index: 3;
	bottom: 0;
	background-color: var(--footer-primary);
	overflow: hidden;
	border-top: 5px solid var(--footer-secondary);
	box-sizing: content-box;
}

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

.footer-nav {
	display: flex;
	align-items: stretch;
	justify-content: flex-start;
	height: 100%;

	/* Popover-Wrapper sollen das flex-Layout nicht brechen */
	& .popover-container,
	& .popover-trigger {
		display: flex;
		align-items: stretch;
	}
}

.footer-button {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	border: none;
	background: transparent;
	color: var(--alt-font-color, white);
	cursor: pointer;
	font-family: var(--app-font-family);
	font-weight: 500;
	transition: background-color 0.15s;
	width: 75px;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;

	&::after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 70%;
		height: 3px;
		background: white;
		transform: scaleX(0);
		transform-origin: center;
		transition: transform 0.25s ease;
		border-radius: 2px;
	}
}

.footer-button:hover {
	background-color: var(--hover-color);
}

.footer-button--active {
	&::after {
		transform: scaleX(1);
	}
}

.footer-button-title {
	font-size: 10px;
}

.footer-overflow-button {
	width: 100%;
	height: 100%;
	border: none;
	background: transparent;
	color: var(--alt-font-color, white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-overflow-button:hover {
	background-color: var(--hover-color);
}

.footer-context-menu {
	width: 210px;

	& .list-item {
		padding: 0.5rem;
		font-size: 14px;
		width: 100%;
		border-radius: 0;
	}
}

@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;
	}

	.footer-button {
		width: 140px;
	}

	.footer-button-title {
		font-size: 14px;
	}
}
: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: 0px;
  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);
}

@media only screen and (max-width: 480px) {
  .Toastify__toast-container[data-stacked='true'] {
    width: 100vw;
  }
}

.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) !important;
		--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 */
}

/* 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;
}

code {
	background-color: var(--gray-tertiary);
	padding: 0.2em 0.4em;
	border-radius: 4px;
	color: var(--app-font-color);
}

.Toastify__toast {
	background-color: var(--background-color);
	color: var(--gray-primary);

	& .Toastify__close-button {
		color: var(--app-font-color);
	}
}

.zoomable,
.esri-ui-inner-container {
	zoom: var(--page-zoom, 1);
}
.appModal {
	border: none;
	padding: 0;
	border-radius: 4px;
	background-color: var(--background-color);
	color: var(--app-font-color);
	box-shadow:
		0 11px 15px -7px rgba(0, 0, 0, 0.2),
		0 24px 38px 3px rgba(0, 0, 0, 0.14),
		0 9px 46px 8px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	max-height: calc(100vh - 64px);
	max-height: calc(100dvh - 64px);
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2000;
	width: 100%;

	&.appModal--sm {
		max-width: min(600px, calc(100vw - 64px));
	}

	&.appModal--md {
		max-width: min(960px, calc(100vw - 64px));
	}

	&.appModal--lg {
		max-width: min(1280px, calc(100vw - 64px));
	}

	&.appModal--xl {
		max-width: min(1920px, calc(100vw - 64px));
	}

	&.appModal--fullscreen {
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		max-width: 100vw;
		max-height: 100vh;
		max-height: 100dvh;
		border-radius: 0;
		top: 0;
		left: 0;
		transform: none;
		margin: 0;
	}
}

.appModalBackdrop {
	position: fixed;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1999;
}

.appModalInner {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}
.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);
	overflow-y: auto;
	flex: 1;
	min-height: 0;
	padding: 20px 24px;
}

/* 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;
		}
	}
}
