/* ---- Sports: a dashboard look (deep indigo to violet and pink, white tiles, red-orange accent, big outlined number) ---- */
:root {
  /* Sports */
  --headfoot-background: #2d2070;
  --headfoot-color: #ffffff;
  --headfoot-link-color: #ffffff;
  --headfoot-link-color-hover: #ffc4e8;
  --main-background-light: #f6f3ff;
  --main-background-dimmed: #ece7fb;
  --main-color: #2b2352;
  --main-link-color: #6a3fd6;
  --main-link-color-hover: #d9479f;
  --headline-background: #ece6ff;
  --headline-color: #2e1f7a;
  --headline-border-color: #8b5cf6;

  /* tabulator, select and lineedit: the blues derive from the line color of the headline, so a change of --headline-border-color varies them */
  --tab-header-background: color-mix(in srgb, var(--headline-border-color) 22%, #fff);
  --tab-header-border: color-mix(in srgb, var(--headline-border-color) 45%, #fff);
  --tab-col-border: color-mix(in srgb, var(--headline-border-color) 38%, #fff);
  --tab-hover-background: color-mix(in srgb, var(--headline-border-color) 12%, #fff);
  --tab-even-background: color-mix(in srgb, var(--headline-border-color) 4%, #fff);
  --tab-text-color: #2e1f7a;
  --tab-focus-color: var(--headline-border-color);

  /* left navigation: the active entry */
  --navleft-width:300px;
  --navleft-background: #2d2070;
  --navleft-color: #ffffff;
  --navleft-link-color: #ffffff;
  --navleft-link-color-hover: #ffffff;
  --navleft-active-color: #2e1f7a;
  --navleft-link-bg-hover: var(--navhover-bg);
  --navhover-bg: linear-gradient(90deg, #1d4ed8, #C522CE);   /* hover of the dropdowns of the top menu and of the left navigation: blue to violet, white letters */
  --navleft-active-bg: #ffffff;   /* the active entry is a white tile like the active icon of the dashboard */
  --navleft-sub-line: #d75fb0;
  --navleft-divider-color: rgba(255,255,255,.3);
  --navtop-active-color: #2e1f7a;
  --navtop-active-bg: #ffffff;
  --tab-selected-background: #efb1d6;   /* soft red-violet */
  --tab-selected-color: #3b0f33;
}

body {
  color: var(--main-color);
  background-color: var(--headfoot-background);
}

.mycontainerbg {
    background: var(--main-background-light);
    padding-top: 0.1px;
    padding-bottom: 0.1px;
}

.k8-element-hint:after{
  content:attr(value);
  font-size:12px;
  background:yellow;
  color:black;
  border-radius:50%;
  border: solid 1px #ccc;
  padding:0;
  position:relative;
  left: 8px;
  bottom: 16px;
  opacity:0.9;
}

.k8-page-content{
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  min-height: 200px;
}

.k8-bg-stripes>div:nth-child(odd) {
    background-color: var(--main-background-light);
}
.k8-bg-stripes>div:nth-child(even) {
    background-color: var(--main-background-dimmed);
}

/* header */
h1{
  font-weight: bold;
  color: var(--headline-color);
}

.k8-headline0 {
    background-color: var(--headline-background);
}

.masterdata .headline {
    background-color: var(--headline-background) !important;
    border: 0;
}

.masterdata .maindata, .k8-by-blue {
    border-top: 3px solid var(--headline-border-color);
    border-bottom: 3px solid var(--headline-border-color);
}

/* left navigation: the line at its edge like the line beneath the blue bars of the elements (3px, color of the headline line);
   beside the content on the right side, above the content (small screens) on the bottom side */
@media (min-width: 992px) {
  .k8-layout2-body > .k8-leftnav.show {
    border-right: 3px solid var(--headline-border-color);
  }
}
@media (max-width: 991.98px) {
  .k8-layout2-body > .k8-leftnav.show {
    border-bottom: 3px solid var(--headline-border-color);
  }
}

/* links */
a {
  color: var(--main-link-color);
  text-decoration: none;
}
a:hover {
  color: var(--main-link-color-hover);
  text-decoration: none;
}

footer a {
    color: var(--headfoot-link-color);
}
footer a:hover{
  color: var(--headfoot-link-color-hover);
}

/* header navbar */
.navbar-brand, #pagetimer, .navbar .nav-link{color:var(--headfoot-link-color);}
.navbar-brand:hover, .navbar .nav-link:hover{
  color:var(--headfoot-link-color-hover);
}
.navbar-nav .nav-item .active,
.navbar-nav .nav-link.show{
  color:var(--headfoot-link-color-hover);
}
.navbar-toggler{
  color:white;
  border-color:white;
}
.navbar-toggler-icon {
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* footer */
footer {
  color: var(--headfoot-color);
}

/* landing page */
.generate-content{
  padding:0 100px;
}
@media only screen and (max-width: 576px) {
  .generate-content{
    padding: 0 calc(var(--bs-gutter-x) * .5);
  }
}

/* tabulator */
.row_selected,
.tabulator-row.tabulator-selected,
.tabulator-row.tabulator-selectable:hover {
  opacity:0.6
}

@media print {
    @page {
      margin: 0;
    }
    body {
      -webkit-print-color-adjust: exact;
      print-color-adjust: exact;
    }
    footer, header {
      display: none !important;
    }
    .container {
      max-width: 100% !important;
      margin: 0 !important;
    }
    .k8-element-shadow {
       box-shadow: none !important;
    }
}

/* headline of catalog and detail like the headline of masterdata: same background, the line beneath and the footer line in the color of the line of masterdata */
.k8-line-catalog .rec_head,
.k8-nopag-catalog .rec_head,
.k8-line-detail .rec_head {
    background-color: var(--headline-background) !important;
}
.k8-line-catalog .rec_head, .k8-line-catalog .rec_foot,
.k8-nopag-catalog .rec_head, .k8-nopag-catalog .rec_foot,
.k8-line-detail .rec_head, .k8-line-detail .rec_foot {
    border-bottom-color: var(--headline-border-color) !important;
}

/* ---- Blue sky: tabulator, select, lineedit ---- */
/* tabulator header: light blue instead of grey (all tabulator lists) */
.tabulator .tabulator-header,
.tabulator .tabulator-header .tabulator-col {
  background-color: var(--tab-header-background);
}

/* tabulator sum row / footer: same light blue as the header */
.tabulator .tabulator-footer,
.tabulator .tabulator-footer .tabulator-calcs-holder,
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row,
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-cell,
.tabulator .tabulator-footer .tabulator-footer-contents,
.tabulator .tabulator-row.tabulator-calcs,
.tabulator .tabulator-row.tabulator-calcs .tabulator-cell {
  background-color: var(--tab-header-background) !important;
}

/* modern tabulator design (all tabulator lists) */
.tabulator {
  border: 1px solid #dcd3f5;
  border-radius: 0;
  overflow: hidden;
  font-size: 0.92rem;
  box-shadow: 0 2px 10px rgba(45, 32, 112, 0.14);
  background-color: #fff;
}
.tabulator .tabulator-header {
  border-bottom: 2px solid var(--tab-header-border);
  font-weight: 600;
  color: var(--tab-text-color);
}
.tabulator .tabulator-header .tabulator-col {
  border-right: 1px solid var(--tab-col-border);
}
.tabulator .tabulator-header .tabulator-col:last-child {
  border-right: none;
}
/* the column with the checkbox (row header): the line beside it like the lines between the other columns (Tabulator: 2px #aaa) */
.tabulator .tabulator-header .tabulator-col.tabulator-row-header,
.tabulator .tabulator-row .tabulator-cell.tabulator-row-header {
  border-right: 1px solid var(--tab-col-border);
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
  padding: 10px 8px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input,
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter select {
  border: 1px solid #c9bdf0;
  border-radius: 6px;
  padding: 3px 6px;
  background-color: #fff;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus,
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter select:focus {
  outline: none;
  border-color: var(--tab-focus-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tab-focus-color) 25%, transparent);
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row {
  border-bottom: 1px solid #ece6fb;
  min-height: 38px;
  transition: background-color 0.12s ease;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row .tabulator-cell {
  border-right: none;
  padding: 9px 8px;
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-row-even {
  background-color: var(--tab-even-background);
}
.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-selectable:hover {
  background-color: var(--tab-hover-background);
  cursor: pointer;
}
.tabulator .tabulator-footer {
  border-top: 2px solid var(--tab-header-border);
  color: var(--tab-text-color);
}

/* customizable select (Chrome/Edge 135+): frame and light blue on the option under the cursor,
   other browsers keep the normal select */
@supports (appearance: base-select) {
  select.form-select,
  select.form-select::picker(select) {
    appearance: base-select;
  }
  select.form-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(1.5em + 0.75rem + 2px);   /* height of a normal form field */
  }
  select.form-select::picker-icon {
    display: none;                            /* Bootstrap already draws the arrow */
  }
  select.form-select::picker(select) {
    border: 1px solid var(--headline-border-color);
    border-radius: 0;
    padding: 2px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(45, 32, 112, 0.28);
  }
  select.form-select option {
    padding: 2px 8px;
    min-height: 0;
    border: 2px solid transparent;
  }
  select.form-select option:hover,
  select.form-select option:focus-visible {
    background: #fff !important;        /* also beats the colour of the status options */
    color: #111 !important;
    border-color: var(--main-link-color);
    outline: none;
  }
  select.form-select option:checked {
    background: var(--tab-header-background);
  }
  select.form-select option::checkmark {
    color: var(--main-link-color);
  }
}

/* form labels: bold */
label.col-form-label {
  font-weight: 600;
}

/* lineedit: column header like the header of tabulator */
.k8-flex-table-head {
  background-color: var(--tab-header-background);
  border-bottom: 2px solid var(--tab-header-border);
  font-weight: 600;
  color: var(--tab-text-color);
}
.k8-flex-table-head > div {
  border-right: 1px solid var(--tab-col-border);
}
.k8-flex-table-head > div:nth-last-child(1) {
  border-right: 0;
}

/* ===== Sports: header, page, panels ===== */
:root { --sports-number: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20400%20400%22%3E%3Cpath%20d=%22M350.0%20200.0%20L363.0%20208.5%20L371.7%20218.0%20L373.9%20227.5%20L369.8%20236.1%20L361.6%20243.3%20L352.3%20249.5%20L344.4%20255.4%20L338.2%20261.5%20L332.8%20267.7%20L326.4%20273.0%20L318.0%20276.6%20L308.2%20278.6%20L298.8%20280.0%20L292.1%20282.9%20L289.4%20289.4%20L290.4%20300.4%20L293.1%20315.0%20L294.9%20330.7%20L293.5%20344.0%20L288.0%20352.4%20L279.1%20355.2%20L268.4%20353.7%20L257.7%20350.4%20L248.0%20347.7%20L239.3%20346.5%20L231.1%20346.1%20L222.9%20344.7%20L214.8%20340.8%20L207.1%20334.6%20L200.0%20328.0%20L193.5%20323.9%20L186.9%20325.0%20L179.1%20331.9%20L169.6%20342.8%20L158.7%20354.3%20L147.3%20362.2%20L137.0%20364.1%20L128.9%20359.7%20L123.2%20350.8%20L118.9%20340.4%20L115.0%20330.8%20L110.6%20323.0%20L105.8%20316.3%20L101.6%20309.2%20L99.3%20300.7%20L99.0%20290.9%20L99.9%20281.1%20L99.4%20273.1%20L95.1%20268.1%20L85.6%20266.0%20L71.6%20265.4%20L55.8%20264.2%20L42.0%20260.7%20L33.2%20254.2%20L30.7%20245.4%20L33.5%20235.4%20L38.9%20225.5%20L44.1%20216.4%20L47.7%20208.0%20L50.0%20200.0%20L52.7%20192.3%20L57.5%20185.0%20L64.8%20178.6%20L73.1%20173.0%20L79.5%20167.7%20L81.5%20161.5%20L78.0%20153.2%20L70.1%20142.2%20L61.1%20129.2%20L54.6%20116.0%20L53.3%20104.7%20L57.9%2096.8%20L67.0%2092.3%20L78.0%2090.2%20L88.6%2088.6%20L97.6%2086.3%20L105.4%2083.2%20L113.1%2080.3%20L121.6%2079.2%20L131.1%2080.6%20L140.6%2083.5%20L149.1%2085.6%20L155.5%2084.0%20L160.0%2076.9%20L163.7%2064.5%20L168.0%2049.4%20L174.0%2035.6%20L181.8%2026.6%20L190.8%2024.3%20L200.0%2028.0%20L208.6%2035.0%20L216.6%2042.5%20L224.0%2048.4%20L231.3%2052.7%20L238.4%2056.7%20L244.7%2062.4%20L249.8%2070.4%20L253.6%2079.7%20L257.1%2087.9%20L262.0%2092.6%20L269.9%2092.4%20L281.4%2088.0%20L295.6%2081.9%20L310.3%2077.5%20L322.7%2077.3%20L330.8%2082.2%20L334.3%2091.2%20L334.5%20102.3%20L333.6%20113.3%20L333.4%20123.0%20L334.5%20131.5%20L335.8%20139.5%20L335.7%20147.9%20L333.0%20156.8%20L328.2%20165.6%20L323.7%20173.7%20L322.4%20180.6%20L326.6%20186.7%20L336.6%20192.8%20Z%22%20fill=%22none%22%20stroke=%22%23ffffff%22%20stroke-opacity=%22.22%22%20stroke-width=%222.5%22%20stroke-linejoin=%22round%22/%3E%3Ctext%20x=%22200%22%20y=%22262%22%20font-family=%22Arial,%20Helvetica,%20sans-serif%22%20font-weight=%22700%22%20font-size=%22190%22%20text-anchor=%22middle%22%20fill=%22%23ffffff%22%20fill-opacity=%22.05%22%20stroke=%22%23ffffff%22%20stroke-opacity=%22.28%22%20stroke-width=%222.5%22%3E23%3C/text%3E%3C/svg%3E"); }

/* header: a gradient from deep indigo over violet to magenta, a light top edge, a thin pink line beneath */
header {
  position: relative;
  background-image: linear-gradient(90deg, #2d2070 0%, #5b3fc8 48%, #b447c9 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 4px 14px rgba(25,12,70,.45);
}
/* the pink-orange line at the lower edge of the header, inside the header (bottom: 0) so that the content of the pages does not cover it */
header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, rgba(255,120,200,0) 0%, #ff78c8 25%, #ffb08a 60%, rgba(255,176,138,0) 100%);
  pointer-events: none;
}
header .navbar { background: transparent; }
.navbar-brand { font-weight: 700; letter-spacing: .03em; }
.mynavi .navbar-nav > .nav-item > .nav-link { border-radius: 999px; padding-left: .8rem; padding-right: .8rem; }
.mynavi .navbar-nav > .nav-item > .nav-link:hover:not(.active) { background: rgba(255,255,255,.16); }
.mynavi .navbar-nav > .nav-item > .nav-link.active { font-weight: 700; box-shadow: 0 2px 8px rgba(25,12,70,.35); }
.navbar .dropdown-menu {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(139,92,246,.25);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(25,12,70,.35);
  padding: .4rem;
}
.navbar .dropdown-item { border-radius: 8px; }
.navbar .dropdown-item:hover:not(.active), .navbar .dropdown-item:focus:not(.active) {
  background-image: var(--navhover-bg);
  color: #fff;
}
.navbar .dropdown-item.active, .navbar .dropdown-item:active {
  color: #fff; font-weight: 600;
  background-image: linear-gradient(90deg, #6a3fd6, #d9479f);
}

/* the page: indigo with a violet glow at the upper left and a pink glow at the lower right, the big outlined number at the lower left;
   fixed to the window; the footer is transparent and shows it */
body {
  min-height: 100vh;
  background-color: #251a5e;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-image:
    /* var(--sports-number), moved to the left navigation */
    radial-gradient(ellipse 70% 80% at 100% 100%, rgba(236,84,170,.55) 0%, rgba(236,84,170,0) 70%),
    radial-gradient(ellipse 70% 70% at 0% 0%, rgba(120,90,240,.55) 0%, rgba(120,90,240,0) 70%),
    linear-gradient(135deg, #3a2a94 0%, #2b1f68 55%, #1d1550 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%; /* auto 440px, (number) */
  background-position: 0 0, 0 0, 0 0; /* left 6% bottom -30px, (number) */
}
footer {
  background: transparent !important;
  /* the big outlined number twice, at the left and at the right edge of the footer */
  background-image: var(--sports-number), var(--sports-number) !important;
  background-repeat: no-repeat !important;
  background-size: auto 80%, auto 80% !important;
  background-position: left 1% center, right 1% center !important;
  border-top: 1px solid rgba(255,255,255,.18);
}

/* panels: rounded like the cards of the dashboard, a soft shadow */
.k8-line-catalog .rec_container, .k8-nopag-catalog .rec_container, .k8-line-detail .rec_container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(45,32,112,.22);
}
.masterdata .headline { border-radius: 16px 16px 0 0; }
.masterdata .maindata { border-radius: 0 0 16px 16px; box-shadow: 0 6px 22px rgba(45,32,112,.22); }
.tabulator { border-radius: 10px; }

/* the bands of the headlines: the gradient of the dashboard with white letters */
.masterdata .headline,
.k8-line-catalog .rec_head, .k8-nopag-catalog .rec_head, .k8-line-detail .rec_head,
.k8-headline0 {
  background-image: linear-gradient(90deg, #4a34b8 0%, #8a47d6 58%, #b8409f 100%);
}
.masterdata .headline h1, .masterdata .headline h2, .masterdata .headline h3, .masterdata .headline h4,
.rec_head h1, .rec_head h2, .rec_head h3, .rec_head h4,
.k8-headline0 h1 { color: #ffffff; text-shadow: 0 1px 2px rgba(25,12,70,.35); }
.masterdata .headline .btn, .rec_head .btn { border-radius: 999px; }
.masterdata .headline .dropdown-toggle, .rec_head .dropdown-toggle { border-radius: 10px; }

/* buttons: pills, the primary one in the red-orange of the dashboard */
.btn { border-radius: 999px; }
.btn-primary {
  --bs-btn-bg: #ec4a31;
  --bs-btn-border-color: #d93f27;
  --bs-btn-hover-bg: #d93f27;
  --bs-btn-hover-border-color: #c23720;
  --bs-btn-active-bg: #c23720;
  --bs-btn-active-border-color: #ab2f1a;
  --bs-btn-disabled-bg: #ec4a31;
  --bs-btn-disabled-border-color: #d93f27;
  --bs-btn-focus-shadow-rgb: 236, 74, 49;
}

/* left navigation: a glass panel in indigo, white active tile, the pink line beside the content */
.k8-layout2-body > .k8-leftnav.show {
  background-image: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 40%),
                    linear-gradient(180deg, #3b2a9a 0%, #2d2070 55%, #221757 100%);
}
@media (min-width: 992px) {
  .k8-layout2-body > .k8-leftnav.show { border-right: 3px solid #d75fb0; box-shadow: 4px 0 14px rgba(25,12,70,.35); }
  /* the big outlined number at the lower edge of the navigation (it was in the page background and the footer before) */
  .k8-layout2-body > .k8-leftnav.show {
    background-image: var(--sports-number),
                      linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 40%),
                      linear-gradient(180deg, #3b2a9a 0%, #2d2070 55%, #221757 100%);
    background-repeat: no-repeat;
    background-attachment: scroll, scroll, scroll;
    background-size: 260px 260px, 100% 100%, 100% 100%;
    background-position: center bottom 12px, 0 0, 0 0;
  }
}
@media (max-width: 991.98px) {
  .k8-layout2-body > .k8-leftnav.show { border-bottom: 3px solid #d75fb0; }
}
.k8-leftnav .navbar-nav .nav-link, .k8-leftnav .dropdown-item { border-radius: 10px; }
.k8-leftnav .navbar-nav .nav-link.active, .k8-leftnav .dropdown-item.active { font-weight: 700; box-shadow: 0 2px 8px rgba(25,12,70,.35); }
/* the sub area of an entry: a dark panel (the white glass of the dropdowns of the top menu does not belong here), white letters, the active entry stays the white tile */
.k8-leftnav .navbar-nav .dropdown-menu {
  background: rgba(14, 7, 48, .55);
  backdrop-filter: none;
  border: 0;
  border-left: 2px solid var(--navleft-sub-line);
  border-radius: 0 12px 12px 0;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, .35);
  padding: 4px;
}
.k8-leftnav .navbar-nav .dropdown-menu .dropdown-item { color: var(--navleft-link-color); }
.k8-leftnav .navbar-nav .dropdown-menu .dropdown-item:hover,
.k8-leftnav .navbar-nav .dropdown-menu .dropdown-item:focus { background: var(--navleft-link-bg-hover); color: var(--navleft-link-color-hover); }
.k8-leftnav .navbar-nav .dropdown-menu .dropdown-item.active { background: var(--navleft-active-bg); color: var(--navleft-active-color); }
.k8-leftnav .navbar-nav .dropdown-menu .dropdown-item.disabled { color: rgba(255, 255, 255, .6); }

/* selected row of the tabulator: red-violet */
.tabulator .tabulator-row.tabulator-selected,
.tabulator .tabulator-row.tabulator-selected.tabulator-row-even,
.masterdata .row_selected {
  background-color: var(--tab-selected-background) !important;
  background-image: none;
  color: var(--tab-selected-color);
  opacity: 1;
}
.tabulator .tabulator-row.tabulator-selected:hover {
  background-color: color-mix(in srgb, var(--tab-selected-background) 82%, #fff) !important;
  opacity: 1;
}

/* Bootstrap danger: red-violet instead of red (buttons, texts, alerts, backgrounds, invalid fields) */
:root {
  --bs-danger: #c4247a;
  --bs-danger-rgb: 196, 36, 122;
  --bs-danger-text-emphasis: #7a1250;
  --bs-danger-bg-subtle: #f8dcec;
  --bs-danger-border-subtle: #eeaad0;
  --bs-form-invalid-color: #c4247a;
  --bs-form-invalid-border-color: #c4247a;
}
.btn-danger {
  --bs-btn-bg: #c4247a;
  --bs-btn-border-color: #b01f6c;
  --bs-btn-hover-bg: #a81d68;
  --bs-btn-hover-border-color: #961a5d;
  --bs-btn-active-bg: #8f1858;
  --bs-btn-active-border-color: #7d144d;
  --bs-btn-disabled-bg: #c4247a;
  --bs-btn-disabled-border-color: #b01f6c;
  --bs-btn-focus-shadow-rgb: 196, 36, 122;
}
.btn-outline-danger {
  --bs-btn-color: #c4247a;
  --bs-btn-border-color: #c4247a;
  --bs-btn-hover-bg: #c4247a;
  --bs-btn-hover-border-color: #c4247a;
  --bs-btn-active-bg: #a81d68;
  --bs-btn-active-border-color: #a81d68;
  --bs-btn-focus-shadow-rgb: 196, 36, 122;
}
.alert-danger {
  --bs-alert-color: #7a1250;
  --bs-alert-bg: #f8dcec;
  --bs-alert-border-color: #eeaad0;
  --bs-alert-link-color: #5f0e3e;
}
.form-control.is-invalid:focus, .form-select.is-invalid:focus { box-shadow: 0 0 0 .25rem rgba(196, 36, 122, .25); }

/* ===== Sports: contrast of the controls and texts on the gradient bands of the headlines ===== */
/* texts: white with a soft dark shadow */
.masterdata .headline, .rec_head, .k8-headline0 { color: #ffffff; }
.masterdata .headline label, .masterdata .headline .form-label,
.masterdata .headline .small, .masterdata .headline small,
.masterdata .headline .text-muted, .masterdata .headline strong,
.rec_head label, .rec_head .small, .rec_head .text-muted {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(25, 12, 70, .55);
}
.masterdata .headline .text-danger, .rec_head .text-danger { color: #ffd1e8 !important; }

/* buttons: solid white pills with dark indigo letters, the delete button in dark magenta, the apply button in strong green with a white edge */
.masterdata .headline .btn-outline-secondary, .rec_head .btn-outline-secondary {
  --bs-btn-color: #2e1f7a;
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #3b2a9a;
  --bs-btn-hover-border-color: #ffffff;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #2d2070;
  --bs-btn-active-border-color: #ffffff;
  --bs-btn-disabled-color: #5b4f9a;
  --bs-btn-disabled-bg: rgba(255, 255, 255, .7);
  --bs-btn-disabled-border-color: transparent;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(25, 12, 70, .35);
}
.masterdata .headline .btn-outline-danger, .rec_head .btn-outline-danger {
  --bs-btn-color: #9b0f5c;
  --bs-btn-bg: #ffffff;
  --bs-btn-border-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #a3125f;
  --bs-btn-hover-border-color: #ffffff;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: #8a0f52;
  --bs-btn-active-border-color: #ffffff;
  --bs-btn-disabled-color: #9b0f5c;
  --bs-btn-disabled-bg: rgba(255, 255, 255, .7);
  --bs-btn-disabled-border-color: transparent;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(25, 12, 70, .35);
}
.masterdata .headline .btn-success, .rec_head .btn-success {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #0f6b3a;
  --bs-btn-border-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #0a5430;
  --bs-btn-hover-border-color: #ffffff;
  --bs-btn-active-bg: #084626;
  --bs-btn-active-border-color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(25, 12, 70, .35);
}

/* fields: white with a dark text and a clear edge */
.masterdata .headline .form-select, .masterdata .headline .form-control,
.rec_head .form-select, .rec_head .form-control {
  background-color: #ffffff;
  color: #1f1750;
  border-color: #ffffff;
  box-shadow: 0 1px 4px rgba(25, 12, 70, .35);
}
