:root {
    --lawilo-color: #32388e;
    /* --lawilo-color: #009bca; */
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active {
    border-color: #111;
    background-color: #334;
}

.clickable {
    cursor: pointer;
}

@media screen {
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
}

h1 .btn, .btnlist .btn {
  margin-bottom: .25rem;
}

input[type="number"] {
    padding-right: 4px;
}

input.form-control {
    padding-right: 6px;
    padding-left: 6px;
}

input[name="zeit"] {
    width: 10ch;
}

input[name="position"] {
    width: 6ch;
}

input.mid_input {
    width: 7ch;
}

input.small_input {
    width: 5ch;
    padding-left: 3px;
    padding-right: 3px;
}

input.fitsize {
  min-width: 2ch;
  field-sizing: content;
}

/* checkboxen die icon enthalten und beim checken die farbe ändern */
.btn-check-icon + label {
  cursor: pointer;
  padding: 0px;
  color: var(--bs-gray-400);
}

.btn-check-icon:checked + label {
  color: var(--bs-success);
}

.btn-check-icon:hover + label {
  border-radius: 0.2rem;
  background-color: #aaa5;
}

.btn-check-icon:not(:checked):hover + label {
  color: black;
}

/* .btn-check-icon:not(:checked) + label {
  text-shadow: 1px 1px black;
  text-shadow: -1px -1px black;
} */


td.eng {
    padding-left: 0.2rem;
    padding-right: 0.1rem;
}

td.fitwidth {
    width: 1px;
    white-space: nowrap;
}

.table-img {
    max-height: 3.8em;
}
.table-img:hover {
    max-height: 100%;
    position: absolute;
    z-index: 2;
}

.lieferpaketName {
    padding-left: 0px !important;
    padding-right: 15px !important;
}

.darker {
    filter: brightness(70%);
}

.darker-background {
    background-color: rgba(0, 0, 0, 0.2) !important;
}

.sticky-header th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
}

.vertical-text {
    transform: rotate(-90deg) translate(1em);
    transform-origin: left bottom;
}

.section:nth-of-type(odd) {
    background-color: #d8ebff;
    padding: 0.5rem 0;
    margin: 0.5rem 0;
}

.kalenderTag {
    min-height: 5rem;
    border: 1px solid black;
    border-radius: 0.25rem;
    padding: 2px;
}

.heute {
    border-color: red;
    border-width: 2px;
}

.kalenderTag .termin {
    background-color: lightgreen;
}

.kalenderTag .urlaub {
    background-color: hotpink;
}

.kalenderTag .krank {
    background-color: #f9e79f;
}

.kalenderTag .krankgemeldet {
    background-color: #f5b041;
}

.kalenderTag .erinnerung {
    background-color: coral;
}

.kalenderTag .sonstiges {
    background-color: skyblue;
}

.kalenderTag .nicht-verfügbar {
    background-color: orange;
}

.kalenderTag .datum {
    background-color: var(--bs-gray);
    color: white;
    text-align: center;
}

.tour.error {
    border-top: 6px solid var(--bs-danger);
}

.notiz {
    background-color: lightgrey;
}

/* ovveride bootstrap rule */
.table > :not(caption) > * > * {
    background-color: inherit;
}

.table.sticky-header > thead > tr {
  background-color: rgba(255, 255, 255, .6)
}

.tablesorter thead .disabled {
    display: none;
}

.spalte0 {
    background-color: #ccffcc;
}
.spalte2 {
    background-color: #ffffb3;
}
.spalte4 {
    background-color: #ffe6e6;
}
.spalte6 {
    background-color: #cce6ff;
}
.spalte8 {
    background-color: #f5deb3;
}

th.rotate {
  writing-mode: vertical-lr;
  text-align: end;
}

tr.separator {
    border-top: 4px solid grey;
}

#mitarbeiter_von {
    display: none;
}

.selected {
    border: 3px solid var(--bs-primary);
}

.modified {
    position: relative;
}
.modified::before {
    position: absolute;
    content: " ";
    border-radius: 50%;
    width: 1rem;
    height: 1rem;
    background-color: red;
    top: -0.5rem;
    left: -0.5rem;
}

#arbeitstage .tage {
    display: inline-block;
    min-width: 1.4em;
}

.tel {
    word-spacing: -40%;
    white-space: nowrap;
}

.symbols {
    text-align: left;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.tourCard {
    display: inline-block;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 0.2rem;
}

.tourCard > .header {
    text-align: left;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.tourCard .attrSwitch {
    cursor: pointer;
    border-radius: 0.2rem;
    padding: 0 0.1rem;
    margin-left: 0.1rem;
    /* color: var(--success); */
    color: #000;
}

.tourCard .attrSwitch:hover {
    background-color: #aaa5;
}

.tourCard .attrSwitch.off {
    color: var(--bs-danger);
}
/* .tourCard .attrSwitch.off {
  color: inherit;
  opacity: 45%;
} */

.tourCard > .content {
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.minwidth-17 {
    min-width: 21vw;
}

.vh-50 {
    height: 50vh;
}

.bg-lawilo {
    background-color: var(--lawilo-color);
    color: white;
}

.compactView > div.block:nth-of-type(even) {
    background-color: #eee;
}
.compactView > div.block {
    border: 1px solid #aaa;
    border-radius: 2px;
    padding: 0.2rem 0.5rem 0.2rem 0.5rem;
    margin-bottom: 1.5rem;
}
div.block div.pos {
    padding-left: 0.6em;
    padding-right: 0.6em;
    min-width: 10%;
}
div.block > div.row {
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
}

.buttonlist > a,
button {
    margin: 0.2em 0;
}

.owndropdown .dropdown-item {
    margin: 0px;
}

.mt-form-label {
    margin-top: 2rem;
}
