.body-board {
    background-color: #eeeeee;
}

.body-board header {
    height: 70px;
}

.body-board header > a,
.body-board header > h2,
.body-board header > h2 .fs-6 {
    line-height: 54px !important;
}

.body-board table.table {
    border-spacing: 0 6px;
    border-collapse: separate;
}

.body-board table.table tbody tr {
    background-color: #ffffff;
    /**box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);**/
}

.body-board table.table th {
    font-weight: 500;
    color: #777;
}

.body-board table.table tbody td:first-child {
  border-radius: 4px 0 0 4px;
}

.body-board table.table tbody td:last-child {
  border-radius: 0 4px 4px 0;
}

.body-board .table>:not(caption)>*>* {
    border-bottom-width: 0;
    padding: 0 0.5rem !important;
}

.inactive {
    opacity: 0.4;
}

.inactive .fa-trash {
    opacity: 0;
}

.iso.inactive .fa-trash {
    opacity: 0.4;
}

.pointer {
    cursor: pointer;
}


a,
a:hover {
    color: #000000;
}

.hidden-name {
    display: none;
    position: absolute;
}

table.hide-name .name-cell .person {
    color: #fff;    
}

table.hide-name .name-cell .bi {
    display: none;
}


table.hide-name .name-cell .hidden-name  {
    display: inline;
}

select.form-select,
textarea.form-control {
    background-color: transparent;
}

.popover {
    max-width: 500px;
}

.board-values {
    height: 300px;
    overflow-y: scroll;
}

.btn-primary, .btn-primary:hover, .btn-check:focus+.btn-primary, .btn-primary:focus, 
.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #333333;
    border-color: #333333;
}

.form-check-input:checked {
    background-color: #333333;
    border-color: #333333;
}

.btn-secondary,
.btn-secondary:hover {
    color: #333333;
    background-color: #cccccc;
    border-color: #cccccc;
}

.person-gender-m {
    color: #1572A1;
}

.person-gender-f {
    color: #FF7878;
}

.form-label {
    margin-bottom: 0;
}

.form-control {
    padding-left: 0.25rem;
}

table th {
    padding-left: 0.25rem !important;
    color: #666;
}

table td {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.25rem !important;
}

textarea {
    resize: none;
}

.fs-7 {
    font-size: 0.9rem;
}

.fs-8 {
    font-size: 0.8rem;
}

select:focus,
textarea:focus,
input:focus{
    outline: none !important;
    box-shadow: none !important;
}

textarea.form-control {
    min-width: 150px;
    overflow: hidden;
}

.badge {
    font-weight: normal;
}

thead {
    border-bottom: 1px solid #333;
}

tbody {
    border-top: none !important;
}

.line-locked,
.line-locked .bootstrap-select,
.line-locked button {
    /**background: #FF5645 !important;**/
}

.line-locked > td:first-child {
    border-right: 10px solid #FF5645;
}

.line-absent,
.line-absent .bootstrap-select,
.line-absent button {
    /**background: #C0FFC0 !important;**/
}

.line-absent > td:first-child {
    border-right: 10px solid #C0FFC0;
}

table.hide-name .line-absent .name-cell .person {
    color: #C0FFC0 !important;
}

.appointment-cell {
    width: 150px;
}

.appointment-cell button {
    padding: 0.05rem 0.2rem !important;
}

.badge.appointment {
    background: #888;
    max-width: 280px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline;
    padding: .2em .65em;
}

.badge.ausgang {
    /**background: #efefef;**/
    background: #fff;
    color: #000;
    max-width: 280px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    padding: 0 4px 0 0;
    height: 24px;
    min-width: 24px;
    line-height: 20px;
}


.badge.ausgang.ausgang-1 .num {
    /**background: #3EAE5D;**/
    background: #000;
    color: #fff;
}

.badge.ausgang.ausgang-2 .num {
    /**background: #B9D7AA;**/
    background: #666;
    color: #fff;
}

.badge.ausgang.ausgang-3 .num {
    /**background: #B9C700;**/
    background: #999;
    color: #fff;
}

.badge.ausgang.ausgang-4 .num {
    /**background: #F3E851;**/
    background: #aaa;
    color: #000;
}

.badge.ausgang.ausgang-5 .num {
    /**background: #DE6000;**/
    background: #ccc;
    color: #000;
}

.badge.ausgang.ausgang-6 .num {
    /**background: #FFD278;**/
    background: #eee;
    color: #000;
}

.badge.ausgang .num {
    background: #FFF;
    color: #000;
    line-height: 24px;
    height: 24px;
    width: 24px;
    display: inline-block;
    border-radius: 12px;
    font-size: 14px;
}

.badge.ausgang .text {
    margin: 0 4px;
}

.nav-link:focus,
.nav-link:hover,
.nav-link {
    padding: 0.5rem 1rem;
    color: #000;
    text-decoration: none;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #000;
    background-color: inherit;
    border-bottom: 4px solid #333333;
    border-radius: 0;
}

.bootstrap-select .btn {
    padding: 0;
}

.dropdown-item.active, .dropdown-item:active {
    background: inherit;
    color: inherit;
}

.bootstrap-select .dropdown-menu li a {
    padding: 0;
    display: block;
}

.bootstrap-select .dropdown-menu li a span {
    display: block !important;   
}

/**
:root { --main-bg-color: coral; }
option { background-color: var(--main-bg-color); }
select { background-color: var(--main-bg-color); }
input { background-color: var(--main-bg-color); }
**/