html, body {
	height: 100%;
}

app {
	display: block;
	height: 100%;
}

.header-logo {
	flex-shrink: 0;
	background-image: url('../images/Logo.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position-x: center;
	width: 180px;
	height: 24px;
}

#blazor-error-ui {
	background: inherit;
	bottom: 0;
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 100001;
}

.dwdwidget {
	border-collapse: collapse !important;
	font-size: 12px;
	width: 140px;
}

	.dwdwidget td {
		border: 1px solid #c0c0c0;
		padding: 1px;
		text-align: center;
	}

.flex-container-1 {
	display: flex;
	flex-direction: row;
}

.flex-container-2 {
	display: flex;
	flex-direction: column;
	flex: 0 0 310px;
	margin-right: 16px;
}

.flex-container-3 {
	display: flex;
	flex-wrap: wrap;
	overflow-y: auto;
	width: 100%;
	height: 120px;
	align-content: flex-start;
}


.serviceCell {
	padding: 1px;
	cursor: grab;
	border: 1px solid rgba(34,34,34,.125);
	border-radius: 4px;
	box-shadow: 8px 8px 5px lightgray;
	margin: 1px;
}

.dropactive {
	background-color: deepskyblue !important;
}

td.dxbs-sc-all-day-area {
	display: none;
}

.dxbs-scheduler .DayView .dxbs-sc-date-hr {
	display: none;
}

.dxbs-sc-dayview.DayView {
	height: 400px;
	overflow: auto;
}

.dxbs-sc-dayview {
	height: 590px !important;
	overflow: auto;
}

.dxbs-sc-timeline {
	height: 590px !important;
	overflow: auto;
}

.dxbs-scheduler .dxsc-v-resource-header .dxsc-resource-header-content > span {
	-o-transform: rotate(0deg) !important;
	transform: rotate(0deg) !important;
	-ms-transform: rotate(0deg) !important;
	-webkit-transform: rotate(0deg) !important;
	writing-mode: unset !important;
	-ms-writing-mode: unset !important;
	-webkit-writing-mode: unset !important;
	width: 300px;
	text-align: center;
	font-weight: bold;
}

.dxbs-scheduler .dxbs-sc-empty-cell,
.dxbs-scheduler .dxbs-sc-resources-scroll-area {
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 auto;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	width: 300px;
}

.horizontalappointmentcard {
	overflow: hidden;
	height: 100%;
	padding: 0.2em 0.5em;
	opacity: 0.9;
	color: black;
}

.scheduler {
	height: calc(100% - 150px);
}

.droppable {
	height: 100%;
}

.holiday {
	background-color: green !important;
}

	.holiday > div {
		background-color: green;
	}

.errorPopup {
	background-color: red !important;
}

.warningPopup {
	background-color: darkorange !important;
}

.red-action {
	color: red;
}

.favorite {
	width: 16px;
	height: 16px;
	content: url("../images/Favorite.png");
}

.nonfavorite {
	width: 16px;
	height: 16px;
	content: url("../images/NonFavorite.png");
}

.w16 {
	width: 16px;
	height: 16px;
}


@font-face {
	font-family: DXIcons;
	src: url('../dxicons.ttf');
}


.w100 {
	width: 100%;
}

.no-border {
	border: 0 !important;
}

.document-filter-text-box {
	position: relative;
	width: 200px;
	float: right;
	margin: 10px 0px 10px 0px;
}

.download-icon {
	width: 16px;
	height: 16px;
	content: url("../images/download.svg");
}

/* Der SplashScreen-Component von DevExpress gibt dem Logo-<img> selbst eine feste,
   kleine CSS-Größe vor (auf die alte "XAF"-Box von 46x30px zugeschnitten). Damit unser
   Logo (siehe images/SplashScreen.svg) den Kreis sichtbar ausfüllt, wird die Größe hier
   über einen Attribut-Selektor auf den Dateinamen überschrieben - unabhängig von der
   internen DevExpress-CSS-Klasse. */
img[src*="SplashScreen.svg"] {
	width: 80px !important;
	height: 80px !important;
	object-fit: contain;
}



/* Indizes um 1 verschoben (nth-of-type 2..7 -> 1..6), weil das Such-/Filterpanel im
   Navigations-Accordion (siehe BlazorDisableNavigationSearchController) bisher selbst als
   erstes "dxbl-group-control"-Element mitgezählt wurde. Nach dessen Deaktivierung ist die
   erste tatsächliche Navigationsgruppe jetzt nth-of-type(1) statt (2), usw.

   Seit dem DevExpress-Upgrade auf 25.1 sitzen die dxbl-group-control-Elemente in einer neuen
   Wrapper-Komponente <dxbl-accordion class="dxbl-accordion-container">; ein umgebendes <nav>
   ist dort nicht mehr (zuverlässig) vorhanden. Anker daher auf .dxbl-accordion-container
   umgestellt statt auf nav. */
.dxbl-accordion-container dxbl-group-control:nth-of-type(1) .dxbl-accordion-group-header {
	background-color: #FFFF97 !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(1) .dxbl-accordion-items-container {
	background-color: lightyellow !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(2) .dxbl-accordion-group-header {
	background-color: #9BFF8C !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(2) .dxbl-accordion-items-container {
	background-color: #ddffdd !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(3) .dxbl-accordion-group-header {
	background-color: #FFC9C9 !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(3) .dxbl-accordion-items-container {
	background-color: #ffdddd !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(4) .dxbl-accordion-group-header {
	background-color: #7fffff !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(4) .dxbl-accordion-items-container {
	background-color: #bfffff !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(5) .dxbl-accordion-group-header {
	background-color: #bfbfff !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(5) .dxbl-accordion-items-container {
	background-color: #dfdfff !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(6) .dxbl-accordion-group-header {
	background-color: #ffbf7f !important;
	color: black !important;
}

.dxbl-accordion-container dxbl-group-control:nth-of-type(6) .dxbl-accordion-items-container {
	background-color: #ffdf9f !important;
	color: black !important;
}



.nopadding {
	padding: 0px !important;
}

/* 2) Splitter-Pane-Inhalt als Flex-Column */
.pane-col {
	height: 100%;
	display: flex;
	flex-direction: column;
	min-height: 0; /* wichtig f�r Scrollbars der Kinder */
}

	/* 3) TreeView soll den Platz f�llen und selbst scrollen */
	.pane-col > * {
		flex: 1 1 auto;
		min-height: 0;
		overflow: auto; /* Scrollbar hier */
	}

/* Seit dem DevExpress-Upgrade auf 25.1 gibt es die Klassen .bg-primary/.border-primary im
   SplashScreen nicht mehr (siehe SplashScreenComponent.razor). Der Hintergrund-Kreis
   (.loading-image-wrapper) und der rotierende Ring (.loading-floated-circle) beziehen ihre
   Farbe aus einer CSS-Variable für surface-primary bzw. border-primary (mit --bs-primary als
   Fallback), bereits mit !important im SplashScreen selbst gesetzt. Statt dagegen
   anzukämpfen, überschreiben wir einfach die Variablen - skopiert auf #applicationLoadingPanel
   (den äußeren SplashScreen-Container aus SplashScreenContainer.razor), damit nichts anderes in
   der App (z. B. normale Bootstrap-Primary-Elemente) mitgefärbt wird.
   Seit der Aktivierung der Fluent-Themes (v26.1) heißen die öffentlichen Design-System-
   CSS-Variablen "--dxds-*" statt wie zuvor (Classic/Bootstrap-Themes) "--DS-*" - siehe
   https://docs.devexpress.com/DesignSystem/405706/colors/color-css-variables. Gleiche
   Variablennamen (surface-primary-default-rest / border-primary-default-rest), nur anderes
   Präfix. Beide Präfixe hier gesetzt, damit die Farbe unabhängig davon greift, ob gerade ein
   Fluent- oder ein Classic-Theme aktiv ist. */
#applicationLoadingPanel {
	--DS-color-surface-primary-default-rest: #FFFF97;
	--DS-color-border-primary-default-rest: #FFFF97;
	--dxds-color-surface-primary-default-rest: #FFFF97;
	--dxds-color-border-primary-default-rest: #FFFF97;
	--bs-primary: #FFFF97;
}