body{
    font-family: "Calibri", Arial;
    background-color: rgb(227, 242, 253);
}
body.spielwiese{
    background-color: rgba(24, 162, 184, 0.25);
}
#main{
    padding:20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
@media only screen and (max-width: 799px) {
    #main {
        padding:0px;
    }
}

.main_admin{
    padding:20px;
    width: 800px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

label.error{
    margin-top: 4px;
    padding: 2px;
    background-color: rgb(255, 210, 210);
}


#tabelle{
    background-color: white;
}
.tabelle-wrap{
    margin: 0px auto;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .75);
}
#main_nav.navbar-nav .nav-link {
    color: rgba(255, 255, 255, .75);
}

a{text-decoration: none;}
h3.h3{
    font-size: 18pt;
    color:rgb(80,80,80);
}
.h3-centered{
    font-size: 14pt;
    text-align: center;
    color:rgb(80,80,80);
}

.wuu-h3-info{
    font-size: 18pt;
    margin-top: 20px;
    margin-bottom: 25px;
}
.wuu-info-div{
    /* font-size: 10pt; */
    margin-bottom: 10px;
}
.wuu-info-container{
    margin: 0 auto;
    width: 80%;
    padding: 20px;
    background-color: white;
}
.wuu-ul-info{
    padding-left: 0px;
}
.wuu-ul-info li{
    list-style: none;
    margin-bottom: 5px;
    line-height: 150%;
}
@media only screen and ( max-width: 799px ) {
    .wuu-info-div{
        width: 100%;
        padding: 5px;
    }   
}
td.wuu_td_align_right{
    text-align: right;
}
td.wuu_td_align_center{
    text-align: center;
}
td.wuu_td_with_borders{
    border: 1px solid black !important;
}
td.wuu_td_with_borders_right{
    border-right: 1px solid black !important;
}
.wuu-display-none{
    display: none;
}
.card{
    width: 80% !important;
    margin: 0 auto !important;
    background: transparent !important;
    margin-bottom:20px  !important;
}
.card-text{
    color:rgb(80,80,80) !important;
}
h4{
    color:rgb(80,80,80);
    line-height:150%;
    font-size:12pt;
    text-align:center;
    margin-bottom: 20px;
}
h4.wuu-menu{
    margin-top:6px;
    margin-bottom:20px;
    line-height: 180%;
    text-align:center;
    /* padding-left: 40%; */
}
p.logout{
    text-align:center;
    color: blue;
}
p.klassen_link{
    margin-top:20px;
    text-align: center;
    color: blue;
    font-size: 14pt;
    cursor: pointer;
}
div.wuu-fehlermeldung{
    /* background-color: LightSeaGreen !important; */
    text-align:center !important;
    /* color: white !important; */
}
div.wuu-msg-debug{
    font-size: 10pt;
}
div.wuu-success{
    background-color:white !important;
    text-align:center !important;
    color: darkgreen !important;
}
.modal_benutzername{
    margin-bottom: 20px;
    text-align: center;
    white-space: nowrap;
}
.konten_art{
    border-radius: 2px;
    background-color: rgba(0,0,255,0.2);
    text-align: center;
}

#students th{
    font-weight: normal;
}
#students th span.where_show{
    background-color: white;
    padding: 2px;
}
div.wuu-import-info{
    background-color: LightSeaGreen !important;
    margin-bottom: 10px !important;
    color: white !important;
    padding-top: 15px;
    padding-bottom: 15px;
}
.form-group label.form-group-label-wuu{
    margin-bottom: 2px;
    font-size: small;
}

#aktion{
    color: white;
    background-color: navy;
}

div.fg-upload-datei{
    background-color: white;
}

label.upload_datei_label{
    padding: 5px;
    color: rgb(150,150,150);
}

span.import-success-msg-filename{background-color: transparent; font-size: 18pt; color: black;}
span.import-success-msg-zeilen_count{background-color: white;}
span.import-success-msg-unchanged{background-color: white;}
span.import-success-msg-inserted{background-color: darkgreen; color: white;}
span.import-success-msg-updated{background-color: darkblue; color: white;}
span.import-success-msg-archiviert{background-color: crimson;color: white;}
span.import-success-msg-failed{background-color: darkgrey; color: white}
span.import-success-msg-after_msg{background-color: white;}

td.sdku-field-type-checkbox div.DTE_Field_Input>div>div label, div.DTE_Field_Type_radio div.DTE_Field_Input>div>div label {
    margin-left: 0 !important;
}

div.DTE_Field_InputControl label{
    margin-bottom: 0;
    padding-left: 5px;
}

div.DTE_Field_InputControl>div>div{
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

div.dt-search input{
    background-color: white !important;
}

/* .DTE.DTE_Action_Remove.inFormError .DTE_Footer{
    height: 300px !important;
    min-height: 52px;
} */


div.DTED_Lightbox_Wrapper {
    width: 80% !important;
    left: 10% !important;
    margin-left: 0 !important;
}

div.DTE_Body div.DTE_Body_Content div.DTE_Field {
    padding: 5px 10px !important;
}

div.DTE_Body div.DTE_Body_Content div.DTE_Field>label {
    text-align: right;
    width: 25% !important;
}
div.DTE_Body div.DTE_Body_Content div.DTE_Field>div.DTE_Field_Input {
    width: 74% !important;
}

div[data-dte-e="input-control"] textarea{
    resize: both;
    /* Attribute has this exact value */
}
.fa-hourglass-half{
    font-size: 8pt;
    color: rgb(100,100,100);
    padding: 2px;
}
.wuu-align-center{
    vertical-align: middle !important;
    text-align: center !important;
}
.wuu-td-border-left{
    border-left: 2px solid rgb(150,150,150) !important;
}
.wuu-grey-normal{
    color: rgb(100,100,100);
    font-weight: normal;
}
.wuu-datum-spaltenkopf-div{
    line-height:150%;
}
.wuu-fehlzeiten-anwesend-div{
    /* background-color: rgba(144,238,144,0.5); */
    margin: auto;
    min-width: 22px;
    max-width: 28px;
}
.wuu-fehlzeiten-entschuldigt-div{
    /* border: 1px solid black; */
    margin: auto;
    min-width: 22px;
    max-width: 28px;
}
.wuu-fehlzeiten-offen-div{
    background-color: rgba(100,100,100,0.5) !important;
    color: white !important;
    margin: auto;
    min-width: 22px;
    max-width: 28px;
}
.wuu-fehlzeiten-unentschuldigt-div{
    background-color: rgba(255,165,0,0.5)!important;
    margin: auto;
    min-width: 22px;
    max-width: 28px;
}
.wuu-fehlzeiten-attest-div{
    /* background-color: rgba(144,238,144,0.5); */
    font-weight: bold;
    color: rgb(0,150,100);
    margin: auto;
    min-width: 22px;
    max-width: 28px;
}
.wuu-fehlzeiten-explain{
    display: inline;
    max-width: 100px;
    padding: 8px;
    margin-left: 3px;
    white-space: nowrap;
}
.wuu-fehlzeiten-eintrag-start-edit{
    color: darkblue;
    cursor: pointer;
}
.wuu-fehlzeiten-eintrag-start-edit-alert{
    background-color: white !important;
    border: 1px solid rgb(177,177,177);
    border-radius: 2px;
    margin: auto;
    min-width: 22px;
    max-width: 28px;
    color: blue;
    cursor: pointer;
    display: inline-block;
}
.wuu-fehlzeiten-eintrag-date-alert{
    background-color: cornsilk;
    /* border: 1px solid rgb(177,177,177); */
    border-radius: 2px;
    margin: auto;
    display: inline-block;
}

.wuu-fehlzeiten-eintraege-jna-div{
    font-size: 11pt;
}
.wuu-fehlzeiten-eintrag-intern-jna{
    /* background-color: white; */
    /* border-top: 1px solid darkgrey; */
    /* border-bottom: 1px solid darkgrey; */
    background-color: rgba(220,220,220,0.5);

}
.wuu-fehlzeiten-eintrag-paed-massnahme-jna{
    background-color: rgba(144,238,144,0.5);
}
.wuu-fehlzeiten-eintrag-standard-jna{
    background-color: rgb(220,220,220);
}
.wuu-fehlzeiten-eintrag-ordnungsmassnahme-jna{
    background-color: lightblue;
}

#tabelle tbody tr.selected td{
    box-shadow: 0px 0px;
    color: black;
    /* background-color: rgb(227,242,253); */
    background-color: rgba(0,255,255,0.15);
    /* padding-top:20px;
    padding-bottom:20px; */
}

#tabelle tbody tr td a{
    color: blue;
    /* text-decoration: underline; */
}

.wuu-fehlzeiten-summe{
    vertical-align: middle !important;
    text-align: center !important;
    font-weight: normal !important;
    /* color: white; */
    /* background-color: rgba(0,255,255,0.2); */
}
.wuu-fehlzeiten-name{
    vertical-align: middle !important;
}

.wuu-fehlzeiten-summe-last{
    border-right: 2px double darkblue !important;
}
.wuu-volljaehrig{
    border-right: 4px solid blue !important;
}
.wuu-volljaehrig-ohne-schulpflicht{
    border-right: 4px double blue !important;
}
.wuu-spalte-geburtsdatum{
    width: 4px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
    vertical-align: middle !important;
    border-right: 1px solid black !important;
}
.wuu_spielwiese_header_span{
    font-weight: bold;
    padding: 4px;
    color: lightgoldenrodyellow;
}
.fehlzeiten_kontakt_info_div{
    margin-top: 10px;
    line-height: 150%;
}

@media only screen and ( max-width: 480px ) {
    div.DTE_Body div.DTE_Body_Content div.DTE_Field>label {
        text-align: left;
        width: 100% !important;
        margin-bottom: 2px;
    }
    div.DTE div.DTE_Form_Content {
        padding:0.2em;
    }
    div.DTE_Body div.DTE_Body_Content div.DTE_Field>div.DTE_Field_Input {
        width: 100% !important;
    }
}

.grow-wrap {
    /* easy way to plop the elements on top of each other and have them both sized based on the tallest one's height */
    display: grid;
  }
  .grow-wrap::after {
    /* Note the weird space! Needed to preventy jumpy behavior */
    content: attr(data-replicated-value) " ";
  
    /* This is how textarea text behaves */
    white-space: pre-wrap;
  
    /* Hidden from view, clicks, and screen readers */
    visibility: hidden;
  }
  .grow-wrap > textarea {
    /* You could leave this, but after a user resizes, then it ruins the auto sizing */
    resize: none;
  
    /* Firefox shows scrollbar on growth, you can hide like this. */
    overflow: hidden;
  }
  .grow-wrap > textarea,
  .grow-wrap::after {
    /* Identical styling required!! */
    border: 1px solid black;
    padding: 0.5rem;
    font: inherit;
  
    /* Place on top of each other */
    grid-area: 1 / 1 / 2 / 2;
  }


div.DTE_Body div.DTE_Body_Content div.DTE_Field_Type_textareaGrowing>label {
    padding-top: 8px;
}
div.DTE_Body div.DTE_Body_Content div.DTE_Field_Type_text>label {
    padding-top: 8px;
}

  .grid-fehlzeiten-eintrag-dialog-title {
    display: grid;
    padding: 4px;
    grid-template-columns: auto auto;
    /* width: 100%; */
  }

  .fehlzeiten-dialog-eintrag{
    width: 100%;
    margin-bottom: 10px;
  }
  .wuu-bold{
    font-weight: bold;
  }
  .wuu-bold{
    font-weight: bold;
  }
  .grid-fehlzeiten-eintrag-dialog-title a.eintrag_bearbeiten_link{
    color:blue;
  }
  .fehlzeiten_eintrag_cancel_save_div{
    width: 100%;
    text-align: center;
    background-color: rgb(220, 220, 220);
    padding: 4px;
    margin-bottom: 10px;
  }
  .fehlzeiten_eintrag_cancel_save_div div.eintrag_save_cancel{
    display: inline-block;
    border: 1px solid darkgrey;
    border-radius: 4px;
    padding: 15px;
    background-color: aliceblue;
  }
  .grid-fehlzeiten-eintrag-dialog-title{
    padding-left: 0;
  }
  .title_mitteilungen_neue_eintraege{
    /* font-size: 14pt; */
    /* text-align: center; */
    width: 100%;
  }


  #tabelle .wuu-fehlzeiten-eintrag-td{
    border: 1px solid black !important;
    border-left: 1px solid black !important;
    cursor: pointer;
  }
  /* tr:nth-child(odd)  */

  #tabelle :nth-child(1 of .wuu-fehlzeiten-eintrag-td){
    border-top: 0 !important;
    /* background-color:aqua; */
  }

  .wuu-bold{
    font-weight: bold;
  }
  .wuu-display-none{
    display: none;
  }

  .eintrag-datum{
    display: inline-block;
  }
  .eintrag-lehrer{
    display: inline-block;
  }
  .eintrag-kategorie{
    display: inline-block;
  }

  .eintrag-kategorie-select{
    padding: 4px;
  }
.wuu-div-vertical-align-center{
    margin: auto 0;
}
.wuu-text-align-right{
    text-align: right !important;
}
.wuu-eintrag-dialog-header-buttons{
    margin: auto 0;
    margin-bottom: 5px;
    width: 100%;
    padding: 10px;
    text-align: center;
    color:blue;
    border: 1px solid grey;
    border-radius: 2px;
}

.wuu-eintrag-dialog-plus-div{
    min-width: 0px;
}
.wuu-eintrag-dialog-copy-div{
    padding-right: 15px;
    padding-left: 15px;
    /* max-width: 50px; */
}
.eintrag_kuerzel_alert_input{
    width: 100%;
    margin-top: 4px;
}
.btn_show_suchfelder{
    background-color: #027BFF !important;
    color: white !important;
}
.fehlzeiten_tabelle_suche_info{
    text-align: left;
    font-size: 18pt;
}
.alerts-column-erledigt{
    text-align: center !important;
    color: darkblue;
}
#fehlzeiten_suchfelder{
    margin: 0 auto;
    max-width: 520px;
}
@media only screen and (max-width: 799px) {
    #fehlzeiten_suchfelder {
        padding:10px;
    }
}
.edit_grid{
    cursor:pointer;
    white-space: nowrap;
    color: blue;
}
.sdku_div_display_inline{
    display: "inline" !important;
}

.wuu_checkbox {
    display: inline-flex;
    cursor: pointer;
    position: relative;
}

.wuu_checkbox > span {
    color: #34495E;
    padding: 0.5rem 0.25rem;
}

.wuu_checkbox > input {
    height: 25px;
    width: 25px;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 1px solid #34495E;
    border-radius: 4px;
    outline: none;
    transition-duration: 0.3s;
    background-color:white;
    cursor: pointer;
  }

.wuu_checkbox > input:checked {
    border: 1px solid #41B883;
    background-color: lightgreen;
}

.wuu_checkbox > input:checked + span::before {
    content: '\2713';
    display: block;
    text-align: center;
    color: black;
    position: absolute;
    left: 0.7rem;
    top: 0.2rem;
}

.wuu_checkbox > input:active {
    border: 2px solid #34495E;
}

.wuu_display_none{
    display: none;
}

span.see-more{
    padding:2px;
    border: 1px solid grey;
    border-radius: 2px;
    cursor: pointer;
}


.loading-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    /* Initial opacity */
    transform: scale(1);
    /* Initial scale */
    /* animation: scaleOpacity 2s ease-in-out forwards; */
    animation: scaleOpacity 0.1s ease-in;
    /* Apply animation */
}

@keyframes scaleOpacity {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0;
        display: none;
        /* Hide overlay after animation */
    }
}

.loading-spinner {
    border: 9px solid #f3f3f3;
    border-top: 6px solid green;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
