body {
    font-family: Calibri, Arial;
    /* background-color: #fec; */
}
.kopf {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* height: 130px; */
    padding: 20px 20px 10px 20px;
    background-color: #fff;
    z-index: 10;
}
.kopf img {
    width: 20px;
    height: 20px;
}
.kopf-links {
    position: relative;
    float: left;
    text-align: left;
    /* border: solid 1px red; */
}
.kopf-links h1 {
    margin-top: 0;
    display: inline-block;
}
.kopf-links button {
    background-color: transparent;
    border: 0;
    width: 30px;
    height: 30px;
    padding: 5px;
    margin-right: 15px;
}
.kopf-rechts {
    position: relative;
    float: right;
    text-align: right;
    /* white-space: nowrap; */
    /* border: solid 1px green; */
}
.kopf-rechts .bearbeitung svg {
    width: 16px;
    height: 16px;
    color: #fff;
}

.bearbeitung {
    display: none;
    padding-left: 15px;
    margin-bottom: 6px;
    /* margin-top: 2px; */
    vertical-align: top;
}
.btn-bearbeiten {
    color: #FFF;
    background-color: #1e82ff; /* #00f; */
    border-radius: .25rem;
    padding: 10px;
    font-family: Arial;
    font-size: 1.2em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
}
.bearbeitung .btn-bearbeiten {
    background-color: #1e82ff;   /* #66f */
    border: solid 2px #1e82ff;   /* #66f */
}

.bearbeiten-speichern {
    opacity: 0.4;
    background-color: #1e82ff;
    cursor: auto;
}
.bearbeiten-speichern.aktiv {
    opacity: 1;
    background-color: #FF0000; /* #1e82ff; */
    cursor: pointer;
}
.bgverwaltung .seitespeichern {display: inline; vertical-align: top;}

/* doppelfenster: */
.fenster {
    display: inline-block;
    width: calc(50% - 2px);
    height: 96vh;
}
.fenster select {
    width: 100%;
    font-size: 1.3rem;
    text-align: center;
}
.fenster iframe {
    display: block;
    width: 100%;
    height: calc(100% - 30px);
}

#datensatzsuche {
    display: inline-block;
    position: absolute;
    right: 100px; /* */
    top: 0px; /* */ /* haengt an #kopf #menue */
    width: 300px;
    margin-left: 15px;
    margin-right: 30px;
    padding: 10px;
    /* margin-bottom: 6px; */
    background-color: #eee;
    font-size: 1em;
    height: auto;
    z-index: 99;
    /* background-color: #FFFFFF; */
    /* border: 2px solid #ccc; */
    text-align: left;
}
#datensatzsuche input {
    width: 100%; /* 95 */
}
#datensatzsuche select {
    width: 100%;
    display: none;
}
#datensatzsuche select.show {
    display: inline;
}


/* --- button-group -------------------------------------------------- */
.btn {
    display: inline-block;
    font-weight: 400;
    /* color: #212529; */
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* background-color: transparent; */
    border: 1px solid transparent;
/*     padding: .375rem .75rem; */
     font-size: 1rem;
     line-height: 1.0;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-success {
    color: #999; /* #fff; */
    background-color: #fff;/* #28a745; */
    border-color: #ccc;/* #28a745; */
}
.btn-group, .btn-group-vertical {
    position: relative;
    display: -ms-inline-flexbox;
    display: inline-flex;
    vertical-align: middle;
    margin-right: 4px;
}
.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.btn-group-vertical > .btn, .btn-group > .btn {
    position: relative;
    /* -ms-flex: 1 1 auto; */
    flex: 1 1 auto;
}
[type="button"], [type="reset"], [type="submit"], button {
    -webkit-appearance: button;
}
[type="button"]:not(:disabled), [type="reset"]:not(:disabled), [type="submit"]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}
button, select {
    text-transform: none;
}
button, input {
    overflow: visible;
}
button, input, optgroup, select, textarea {
    margin: 0;
    font-family: inherit;
    /* font-size: inherit; */
    /* line-height: inherit; */
}
.btn-group > .btn-group:not(:first-child) > .btn, .btn-group > .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.btn-group > .btn-group:not(:first-child), .btn-group > .btn:not(:first-child) {
    margin-left: -1px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    /* left: 0; */
    z-index: 1000;
    display: none; /* Anfangswert */
    float: left;
    min-width: 10rem;
    padding: .5rem 0;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem;
}
.dropdown-menu-left {
    left: 0;
    right: auto;
}
.dropdown-menu-right {
    right: 0;
    left: auto;
}

a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
}
.dropdown-item {
    display: block;
    width: 100%;
    /* padding: .25rem 1.5rem; */
    padding: 0px 5px;
    clear: both;
    font-weight: normal;
    /* color: #212529; */
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;

    color: #666;
    text-decoration: none;
}

.dropdown-toggle {
    white-space: nowrap;
}
.dropdown-toggle:empty::after {
    margin-left: 0;
}
.dropdown-toggle::after {
    display: inline-block;
    /* margin-left: .255em; */
    vertical-align: .255em;
    content: "";
    /*  Demo:
    border-top: .3em solid yellow;
    border-right: .3em solid green  transparent ;
    border-bottom: .3em solid blue ;
    border-left: .3em solid red;
     */
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-bottom:  0;
    border-left: .3em solid transparent;
}
/* .dropdown-toggle:last-child {
    display: none;
} */

*, ::after, ::before {
    box-sizing: border-box;
}
/* --------------------------------------------------------------------------------------------- */

#dialogfensterflaeche {position: fixed; top: 0px; bottom: 0px; left: 0px; right: 0px; z-index: 99; background-color: rgba(0,0,0,0.5); display: none;}
.dialogfenster {position: relative; border: solid 1px #000; background-color: #f7f7f7; }
.dialogfenster h2.dialogtitel {margin: 0; padding: 3px 15px; text-align: left; font-size: 1.3em; font-weight: bold; color: #999; }
.dialogfenster button.btn-schliessen { position: absolute; top: 0px; right: 0px; width: 30px; height: 30px;
    padding: 3px; margin: 0; color: #666; border: 0; background-color: transparent;}
.dialogfenster button svg { position: relative; width: 26px; height: 26px;}
.dialogfenster button {color: #FFF; background-color: #1e82ff; border-radius: .25rem; padding: 6px 10px; font-family: Arial; font-size: 1.0em;
    /* -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: pointer;    */
}
.dialogfenster.meldung {width: 300px; height: 150px; top: 30px; left: 50%; margin-left: -150px;}
.dialogfenster.meldung .dialogfenster-body {height: calc(100% - 40px - 35px); text-align: center; }
.dialogfenster.meldung .dialogfenster-footer {height: 40px; text-align: center;}
.dialogfenster.fehler {width: 90%; left: 5%; top: 10px;}
.dialogfenster.fehler .dialogfenster-body {height: 300px; text-align: left; overflow: scroll; padding: 20px;}
.dialogfenster.fehler .dialogfenster-footer {height: 0px; text-align: center;}
.dialogfenster.confirm {width: 300px; height: 200px; top: 30px; left: 50%; margin-left: -150px;}
.dialogfenster.confirm .dialogfenster-body {height: calc(100% - 70px); text-align: center; padding: 15px; }
.dialogfenster.confirm .dialogfenster-footer {height: 40px; text-align: center;}
.dialogfenster.bilderanzeige {width: 100%; height: 100%;} /* top: 3px; bottom: 3px; left: 3px; right: 3px; */ /* z-index: 99; */
.dialogfenster.bilderanzeige .dialogfenster-body {height: calc(100% - 110px); text-align: center; overflow: auto; white-space: nowrap;}
.dialogfenster.bilderanzeige .dialogfenster-footer {height: 70px; text-align: center; overflow: auto; padding: 5px;}
.dialogfenster.bilderanzeige .dialogfenster-body .bildgross {max-height: 95%; max-width: 100%; margin: 0 10px;}
.dialogfenster.bilderanzeige .dialogfenster-footer .bildtn {max-height: 55px; max-width: 120px; margin: 0 5px;}

/*### Matrix-Anzeigen ###*/
.matrix-bereich {
    overflow-x: auto;
    padding-right: 10px;
}
.matrix-kopfzeile {
    width: fit-content;
    width: intrinsic; /* chrome ab 48 */
}
.matrix-kopfecke {
    display: inline-block;
    position: relative;
    padding: 1px 6px;
}
.matrix-kopfecke span {
    display: inline-block;
    position: absolute;
    bottom: 0px;
}
.matrix-spalten {
    display: inline-block;
    white-space: nowrap !important;
    width: auto;
}
.matrix-spaltenkopf {
    display: inline-block;
    position: relative;
    width: 50px;
    /* height: berechnet */
    margin: 0;
}
.matrix-spaltenkopf /* .beschr */.schraeg {
    display: inline-block;
    position: absolute;
    white-space: nowrap !important;
    bottom: 4px; 
    left: 32px; 
    transform-origin: 0 100%; 
    transform: rotate(300deg); 
    z-index: 900;
}
.matrix-block {
    height: 50vh;
    overflow-x: hidden; 
    overflow-y: auto;
    width: min-content;
    min-width: 101%;
}
.matrix-zeile {
    width: fit-content;
    width: intrinsic; /* chrome ab 48 */
    margin-right: 18px;
    padding: 6px 0;
}
.matrix-zeile:nth-child(even) {
    background-color: #eee;
}
.matrix-zeilenkopf {
    display: inline-block;
    padding: 1px 6px;
}
.matrix-zelle {
    display: inline-block;
    position: relative;
    width: 50px;
    /* margin: 0 10px 0 0; */
    text-align: center;
}
.matrix-spaltenname {
     display: none;
}  
/*  Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .matrix-kopfzeile {
        display: none;
    }
    .matrix-spalten {
        width: 100%;
    }
    .matrix-zeilenkopf {
        /* width: 100%; */
        display: block;
    }
    .matrix-zelle {
        display: block;
        width: 98%;
        margin-left: 10%;
        text-align: left;
    }
    .matrix-zelle .auswahl {
        width: 30px;
    }
    .matrix-spaltenname {
        display: inline-block;
        width: 100%;
    }
}


/* 
@media (max-width: 575.98px) {
    .breakoutrooms .matrix-zelle.row {height: 40px;}
    .breakoutrooms .matrix-zeile .btn-beschrbearb {display: inline-block;}
    .breakoutrooms .matrix-zeile .btn-close-rooms {display: inline;}
    .breakoutrooms .matrix-zelle.row:first-child {margin-right: 0px; }
}
*/

/* Extra large devices (large desktops)
No media query since the extra-large breakpoint has no upper bound on its width */
 -->
/*  Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}

/*  Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/*  Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .kopf {
        padding: 10px;
    }
    .kopf-links h1 {
        font-size: 1.2em;
        display: none;
    }
    /* .kopf-rechts {
        position: relative;
        float: right;
        text-align: right; */
        /* border: solid 1px green; */
    /* } */
    .bearbeitung {
        padding-left: 10px;
    }
    .btn-bearbeiten {
        font-size: 1.0em;
    }
}

/*  Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .kopf-links h1 {
        font-size: 1.2em;
        display: inline-block;
    }
    #datensatzsuche {
        right: 2px;
        width: 90%;
        z-index: 9;
        background-color: #FFFFFF;
        border: 2px solid #ccc;
        text-align: left;    
    }                       
    #datensatzsuche input {
        height: 25px;
        font-size: large;
    }
    #datensatzsuche select {
        height: 40px;
    }

}

/*  Breite S8, I8 */
@media (max-width: 379.98px) {
}

