@charset "ISO-8859-1";

/* ------------------------------------------------------------------------- */
/* CHECKBOX-LISTEN
/* ------------------------------------------------------------------------- */
.cultivia-checkboxlist {
  max-height: 22rem;
  overflow-y: auto;
}

.cultivia-assign-check {
  border: 2px solid #495057;
  cursor: pointer;
}

.cultivia-assign-check:checked {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.cultivia-assign-check + label {
  cursor: pointer;
}

/* ------------------------------------------------------------------------- */
/* TABELLEN IN CULTIVIA
/* - HTML-Tabellen werden NUR fï¿½r DataTables eingesetzt
/* - Tabellen haben folgende Bootstrap-Klassen
/*   table:          Basiklasse fï¿½r Tabellen
/*   table-striped:  Zebra-Styling
/*   align-middle:   vertikale Zentrierung der Inhalte
/*   cultivia-table  gemï¿½ss Definitionen unten
/* ------------------------------------------------------------------------- */

/*
  Reduktion des Paddings auf allen Tabellen
  - ersetzt Bootstrap-Klasse table-sm mit anderen Werten
  - NOT(caption) schliesst thead, tbody und tfoot aus
*/
.cultivia-table>:not(caption)>*>* {
  padding: 0.2rem 0.2rem;
}

/* Reduktion der Schriftgrï¿½sse auf kleinen Bildschirmen */
@media ( max-width : 768px) {
  .cultivia-table {
    font-size: 0.9rem;
  }
}

/* ------------------------------------------------------------------------- */
/* BOOTSTRAP PAGINATION
/* Anpassung der Seitennavigation auf Grï¿½sse eines btn.sm                    */
/* Hint: Kï¿½nnte auch durch Setzen der Variablen in SASS gemacht werden       */
/* ------------------------------------------------------------------------- */
.page-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ------------------------------------------------------------------------- */
/* PROGRESS-BAR
/* ------------------------------------------------------------------------- */
.cultivia-progress-lg {
  height: 1.4rem;
}

/* ------------------------------------------------------------------------- */
/* TEXT
/* ------------------------------------------------------------------------- */

/*
  Lange Wï¿½rter umbrechen UND manuelle Zeilenumbrï¿½che beibehalten
  Bootstrap text-nowrap bricht \n nicht um
*/
.cultivia-text-break {
  word-break: break-word;
  white-space: pre-line;
}

/* ------------------------------------------------------------------------- */
/* Bootstrap Spinner bei der ï¿½bertragung von Formularen                      */
/* Ersetzt das Fragment Overlay Busy                                         */
/* ------------------------------------------------------------------------- */
#submission-spinner {
  z-index: 9999;
}

#submission-spinner .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* -------------------------------------------------------------------------- */
/* Klassen fï¿½r Collapsable Icons auf anderen Elementen als Accordion          */
/* Fï¿½r das Icon wird immer ein Pfeil nach unten genutzt, der im aufgeklappten */
/* Zustand um 180 Grad gedreht wird.                                          */
/* Hint: Bootstrap Accordion unterstï¿½tzt standardmï¿½ssig Icon                  */
/* -------------------------------------------------------------------------- */
.cultivia-collapse-arrow {
  transition: transform 0.2s ease-in-out;
  transform: rotate(0deg); /* Standard: Pfeil unten */
}

.cultivia-collapse-header[aria-expanded="true"] .cultivia-collapse-arrow
  {
  transform: rotate(180deg);
}

/* ------------------------------------------------------------------------- */
/* KONTEXTINFORMATIONEN INNERHALB VON SEITEN */
/* ------------------------------------------------------------------------- */
/* Divider unter den Kontextelementen auf der Seite */
.cultivia-ctx-divider {
  border: 1px solid rgba(0, 0, 0, .125);
}
/* Keine Einrï¿½ckung bei Listen in Kontextinformationen */
#ctxhelp ul {
  padding-left: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* ------------------------------------------------------------------------- */
/* STATUS SATZ                                                         */
/* ------------------------------------------------------------------------- */
.cultivia-bgcolor-satzstatus-99 {
  background-color: rgba(255, 221, 204, 0.5) !important;
}

.cultivia-bgcolor-satzstatus-10 {
  background-color: rgba(240, 255, 255, 0.5) !important;
}

.cultivia-bgcolor-satzstatus-20 {
  background-color: rgba(217, 241, 255, 0.5) !important;
}

.cultivia-bgcolor-satzstatus-30 {
  background-color: rgba(229, 255, 204, 0.5) !important;
}

.cultivia-bgcolor-satzstatus-40 {
  background-color: rgba(181, 237, 197, 0.5) !important;
}

.cultivia-bgcolor-satzstatus-50 {
  background-color: rgba(234, 234, 234, 0.5) !important;
}

/* ------------------------------------------------------------------------- */
/* STATUS ARBEIT */
/* ------------------------------------------------------------------------- */
.cultivia-bgcolor-disabled {
  background-color: #e9ecef;
}

.cultivia-bgcolor-arbeit-geplant, .cultivia-bgcolor-status-arbeit-1 {
  background-color: rgba(240, 255, 255, 0.5) !important;
}

.cultivia-bgcolor-arbeit-zugeteilt, .cultivia-bgcolor-status-arbeit-2 {
  background-color: rgba(217, 241, 255, 0.5) !important;
}

.cultivia-bgcolor-arbeit-zurueckgewiesen,
  .cultivia-bgcolor-status-arbeit-3 {
  background-color: rgba(255, 252, 204, 0.5) !important;
}

.cultivia-bgcolor-arbeit-bestaetigt, .cultivia-bgcolor-status-arbeit-4 {
  background-color: rgba(181, 237, 197, 0.5) !important;
}

table.table.dataTable>tbody>tr.cultivia-bgcolor-arbeit-geplant>td {
  background-color: rgba(240, 255, 255, 0.2) !important;
}

table.table.dataTable>tbody>tr.cultivia-bgcolor-arbeit-zugeteilt>td {
  background-color: rgba(217, 241, 255, 0.2) !important;
}

table.table.dataTable>tbody>tr.cultivia-bgcolor-arbeit-bestaetigt>td {
  background-color: rgba(181, 237, 197, 0.2) !important;
}

table.table.dataTable>tbody>tr.cultivia-bgcolor-arbeit-zurueckgewiesen>td
  {
  background-color: rgba(255, 252, 204, 0.2) !important;
}

/* ------------------------------------------------------------------------- */
/* TIMELINE SATZ */
/* ------------------------------------------------------------------------- */
/* Arbeit geplant */
.cultivia-bgcolor-timeline-geplant {
  background-color: rgba(217, 241, 255, 0.5) !important;
}
/* Arbeit abgeschlossen */
.cultivia-bgcolor-timeline-bestaetigt {
  background-color: rgba(181, 237, 197, 0.5) !important;
}

/* ------------------------------------------------------------------------- */
/* SCHRIFT */
/* ------------------------------------------------------------------------- */
.cultivia-font-green {
  color: green;
}

.cultivia-font-orange {
  color: orange;
}

.cultivia-font-red {
  color: red;
}

/* Auslastungsstufen, Postfix = Nummer von AuslastungStufeEnum */
/* Die Variablen werden auch vom Skript der Standortkarte für die Marker gelesen */
:root {
  --cultivia-auslastung-0: #6c757d;
  --cultivia-auslastung-1: green;
  --cultivia-auslastung-2: orange;
  --cultivia-auslastung-3: red;
}

/* 0 UNBEKANNT */
.cultivia-font-auslastung-0 {
  color: var(--cultivia-auslastung-0);
}

/* 1 NIEDRIG */
.cultivia-font-auslastung-1 {
  color: var(--cultivia-auslastung-1);
}

/* 2 MITTEL */
.cultivia-font-auslastung-2 {
  color: var(--cultivia-auslastung-2);
}

/* 3 HOCH */
.cultivia-font-auslastung-3 {
  color: var(--cultivia-auslastung-3);
}

.cultivia-font-small {
  font-size: 0.8em;
}

.letter-spacing-sm {
  letter-spacing: 0.25em;
}

.letter-spacing-md {
  letter-spacing: 0.5em;
}

.letter-spacing-lg {
  letter-spacing: 0.75em;
}

.letter-spacing-xl {
  letter-spacing: 1em;
}

/* ------------------------------------------------------------------------- */
/* BILDER */
/* ------------------------------------------------------------------------- */
/* Bilder in kleiner Darstellung (z.B. Kontextinformation, Infoseiten)  */
.cultivia-img-sm {
  width: 24px;
  height: 24px;
}

/* Bilder in den Cards der Hauptseiten */
.cultivia-img-card {
  width: 28px;
  height: 28px;
}

/* Navigationselemente (in Datatables) */
.cultivia-img-nav {
  width: 28px;
  height: 28px;
}

/* ------------------------------------------------------------------------- */
/* FORMULARE */
/* ------------------------------------------------------------------------- */
/* Üœberschreiben der Standardwerte von Bootstrap auf Legenden im fieldset */
legend {
  font-size: 1.0rem;
  margin-bottom: 0;
  padding: 0 10px;
  width: auto;
  border: none;
  float: none;
}

/* Klasse: Darstellung von disabled Optionen in Dropdowns */
.cultivia-form-select option:disabled {
  font-weight: bold;
  background-color: lightgrey;
}

/* Trennlinie zwischen Kontextinfo und Inhalt */
.cultivia-form-divider {
  border: 1px solid rgba(0, 0, 0, .125);
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ------------------------------------------------------------------------- */
/* DATATABLES */
/* ------------------------------------------------------------------------- */

/* Abstaende der Anzeige der Anzahl Tabelleneintraege */
.dataTables_info {
  padding-top: 0.0 !important;
  padding-bottom: 0.5em !important;
  text-align: left !important;
}

.dataTables_length {
  text-align: left !important;
}

.dataTables_filter {
  text-align: right !important;
}

/* Ab Version 2.3 werden die Pfeile fï¿½r die Spalternsortierung abhï¿½ngig vom Inhalt angeordnet */
/* Die Sortierpfeile sollen immer rechts der Spaltenbezeichnung sein (wie in Version 2.1 */
table.dataTable th div.dt-column-header {
  flex-direction: row !important;
}

/* ------------------------------------------------------------------------- */
/* KARTE */
/* ------------------------------------------------------------------------- */
.cultivia-map {
  height: 500px;
}

/* Markierung der Woche von heute in der Leiste des Zeitsliders, die Lage setzt das Skript */
.cultivia-map-heute {
  width: 2px;
}

/* Leiste der Herkunft im Zeitslider der Karte: hoeher als die Standardleiste von Bootstrap */
.progress.cultivia-map-leiste {
  height: 2rem;
  font-size: 0.9rem;
}

/* Knoepfe Trend und Prognose im Zeitslider: gleich breit */
.cultivia-map-modus {
  min-width: 7rem;
}

/* Achse mit Monaten oder Quartalen unter dem Zeitslider der Karte, die Marken setzt das Skript */
.cultivia-map-achse {
  height: 2.6rem;
}

/* Farbskala der Auslastung auf der Karte: 10 Stufen zu je 10 Prozent von hellgruen (bis 10) bis dunkelrot (ab 100) */
/* Nur fuer die Visualisierung auf Karten, die drei Stufen von AuslastungStufeEnum bleiben unveraendert */
:root {
  --cultivia-auslastung-skala-1: hsl(100, 55%, 72%);
  --cultivia-auslastung-skala-2: hsl(89, 60%, 67%);
  --cultivia-auslastung-skala-3: hsl(78, 65%, 62%);
  --cultivia-auslastung-skala-4: hsl(67, 70%, 58%);
  --cultivia-auslastung-skala-5: hsl(56, 80%, 54%);
  --cultivia-auslastung-skala-6: hsl(44, 85%, 50%);
  --cultivia-auslastung-skala-7: hsl(33, 90%, 47%);
  --cultivia-auslastung-skala-8: hsl(22, 90%, 44%);
  --cultivia-auslastung-skala-9: hsl(11, 85%, 40%);
  --cultivia-auslastung-skala-10: hsl(0, 80%, 34%);
}

/* Release Notes: Navigation und Sprungziele */
.release-nav {
  max-height: 100vh;
}

.release {
  scroll-margin-top: 1rem;
}
