#mainWrapper {
    display: flex;
    flex-direction: column;
}

#mainHeader {
    order: 1;
    flex: 0 0 auto;
}

#mainMain {
    order: 2;

    flex: 1 1 auto;

    /*margin-bottom: 25px;*/
}

#headerSchuleName {
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 0;
}

#headerSchuleOrt {
    color: rgba(0, 0, 0, 0.4);
    margin-top: 0;
}

#mainFooter {
    order: 3;
    flex: 0 0 auto;

    font-size: 0.8em;

    text-align: center;

    height: 20px;
    margin-top: 5px;

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
}

hr#postNavLine {
    height: 2px;
    border: none;
    margin-bottom: 1em;
}

button.btn-ok {
    background-color: #49BBFA !important;
    color: #FFFFFF !important;
}

button.btn-cancel {
    background-color: rgba(0, 0, 0, 0.08) !important;
    color: #000 !important;
}


.clearfix:after {
    clear: both;
    content: ' ';
    display: block;
    font-size: 0;
    line-height: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

/*
header#header {
    margin-bottom: 5px;
    height: 50px;
    //background-color: #EFA252;
    position: absolute;
    top: 0;
    width: 100%;
}
*/

/*
@viewport{
    zoom: 1.0;
    width: extend-to-zoom;
}
*/

img#logoSchule {
    max-height: 100px;
    width: auto;
}


#frmHauptmenue\:mniSchuelerKrankmelden .fa {
    color: red;
}


.al {
    text-align: left !important;
}

.ac {
    text-align: center !important;
}

.ar {
    text-align: right !important;
}

.numberinput {
    text-align: right;
}

.avc {
    display: flex;
    align-items: center;
}

.infoHeaderText {
    margin: 1em 0.5em;
}

.avcRadioButtonLabels td label {
    margin-top: 0 !important;
}

.buttonLeisteTarget {
    border: none;
    padding: 0;
    text-align: right;
}

.buttonLeisteTarget .ui-button {
    /*display: block;*/
    /*width: 100% !important;*/
    /*margin-bottom: 0.5em;*/
}

.buttonLeisteTarget .ui-panel-content {
    padding: 0 !important;
}

.ui-layout-resizer-west-closed {
    background-image: url(../../resources/images/hilfe.png) !important;
    background-size: 20px auto !important;
    background-repeat: no-repeat !important;
    background-position: 50% 20px;

    border-radius: 0;
    border: none;
}

.ui-layout-resizer-east-closed {
    background-image: url(../../resources/images/datum.png) !important;
    background-size: 20px auto !important;
    background-repeat: no-repeat !important;
    background-position: 50% 20px;

    border-radius: 0;
    border: none;
}

/* Notwendig, damit der Header nicht scrollable ist und die
 ausgeklappten Submenus über dem Content angezeigt werden*/
.ui-layout-north {
    z-index: 20 !important;
    overflow: visible !important;
}

/* Notwendig, damit der Header nicht scrollable ist und die
 ausgeklappten Submenus über dem Content angezeigt werden*/
.ui-layout-north .ui-layout-unit-content {
    overflow: visible !important;
}

/* Für das Layout sollen keine Borderlinien angezeigt werden */
.ui-layout-pane-north {
    border: 0;
}

.ui-layout-pane-center {
    border: 0;
    padding-left: 1em;
}

.ui-widget {
    /*font-family: Tahoma, Arial, sans-serif;*/
    /*font-size: 85%;*/
}

.anmerkung {
    font-size: 0.9em;
    margin: 10px;
    padding: 5px;
}

.anmerkung h1 {
    font-size: 1em;
}

.anmerkung li {
    margin-bottom: 1em;
}

.maskenausgabe-table {
    table-layout: auto;
    border-width: 2px;
    border-style: solid;
    border-collapse: collapse;
    height: 100%;
}

.maskenausgabe-td {
    border-width: 1px;
    border-style: solid;
    padding: 4px;
    vertical-align: top;
    height: 100%;
}

.maskenausgabe-dialoglink {
    display: block;
    height: 100%;
    text-decoration: none;

}

/* Für Objekte, die in den Maskenscripten nebeneinander angeordnet werden sollen */
div.divinline {
    display: inline-block;
    padding-right: 3px;
    vertical-align: top;
    white-space: nowrap;
}

div.hrvertical {
    border-left: 1px solid;
    padding-right: 3px;
    display: inline;
}

.tablestyle {
    display: table;
    border-collapse: collapse;
}

.trstyle {
    display: table-row;
}

.tdstyle {
    display: table-cell;
    padding: 5px;
    vertical-align: middle;
}

.tdstyle-mb5 {
    display: table-cell;
    padding: 5px;
    margin-bottom: 5px;
    vertical-align: middle;
}

.tdstyle-mb10 {
    display: table-cell;
    padding: 5px;
    margin-bottom: 10px;
    vertical-align: middle;
}

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 10px;
}

.vmarg1 {
    margin-top: 1em;
    margin-bottom: 1em;
}

.marg1 {
    margin: 1em;
}

.novpad5 {
    padding: 0em 0.5em !important;
}

.ui-datatable-scrollable table, .ui-datatable-sticky table,
.ui-datatable table {
    table-layout: auto !important;
}

.red-border {
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 4px solid #cf0f0f !important;
}

.table-header-rotated {
    border-collapse: collapse;
}

.table-header-rotated td {
    width: 30px;
}

.table-header-rotated th {
    padding: 5px 10px;
    vertical-align: bottom;
}

.table-header-rotated td {
    text-align: center;
    padding: 10px 5px;
    border: 1px solid #ccc;
}

.table-header-rotated th.rotate {
    height: 70px;
    white-space: nowrap;
}

.table-header-rotated td.td-schueler {
    width: 250px;
    text-align: left;
    white-space: nowrap;
}

/*Firefox needs the extra DIV for some reason, otherwise the text disappears if you rotate*/
.table-header-rotated th.rotate > div {
    transform: translate3d(30px, 30px, 0) rotate(-45deg);
    transform-origin: left bottom;
    width: 30px;
    box-sizing: border-box;
}


.table-header-rotated th.rotate > div > span {
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
}

.table-header-rotated th.row-header {
    padding: 0 10px;
    border-bottom: 1px solid #ccc;
}


.plan-table {
    table-layout: auto;
    border-width: 2px;
    border-style: solid;
    border-collapse: collapse;
}

td.plan-td {
    border-width: 1px;
    border-style: solid;
    padding: 4px;
    vertical-align: top;
}

td.plan-td:hover {
    background-color: yellow;
    cursor: pointer;
}

.ui-picklist.pickList-benutzerAnlegen .ui-picklist-list {
    width: 300px;
    height: 400px;
}

.ui-picklist.pickList-benutzerAnlegen table td {
    width: 10%;
}

.ui-picklist.pickList-benutzerAnlegen .ui-picklist-filter {
    padding-right: 0;
}

.ui-picklist.pickList-benutzerAnlegen table td.pickList-benutzerAnlegen-Name,
.ui-picklist.pickList-benutzerAnlegen table td.pickList-benutzerAnlegen-Login {
    width: 40%;
}

.singleLine {
    text-wrap: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.exmark {
    color: #cc0000;
    /*font-family: "Arial Black", Gadget, sans-serif;*/
    font-size: 1.2em;
    padding-left: 3px;
}

button.red-marker span.ui-icon::after {
    content: "";

    display: block;

    background-color: #ff6562;
    border: none;

    position: absolute;
    bottom: 0;
    right: 0;

    width: 8px;
    height: 8px;
    border-radius: 8px;
}

.hinweis {
    color: #3333ff;
    /*font-family: "Arial Black", Gadget, sans-serif;*/
    font-size: 1.2em;
    padding-left: 3px;

}

.strikethru {
    text-decoration: line-through;
}

/*ToDo: Backlinks
https://icons8.com/
http://www.doublejdesign.co.uk/
-> Lizenz*/
.testIcon {
    background-image: url(../../resources/images/icons/test.png) !important;
    background-size: 16px auto !important;
    background-repeat: no-repeat !important;

    border-radius: 0;
}

.klassenbuchIcon {
    background-image: url("/javax.faces.resource/images/icons/klassenbuch.png.xhtml") !important;
    background-size: 16px auto !important;
    background-repeat: no-repeat !important;

    border-radius: 0;
}

.hausaufgabeIcon {
    background-image: url("/javax.faces.resource/images/icons/Hausaufgaben.png.xhtml") !important;
    background-size: 16px auto !important;
    background-repeat: no-repeat !important;

    border-radius: 0;
}

.antwortIcon {
    background-image: url("/javax.faces.resource/images/icons/antwort.png.xhtml") !important;
    background-size: 16px auto !important;
    background-repeat: no-repeat !important;

    border-radius: 0;
}

.smallInput .ui-inputfield {
    width: 4em;
}

input.smallInput {
    width: 4em;
}

.largeInput .ui-inputfield {
    width: 15em;
}

input.largeInput {
    width: 15em;
}

td.largeInput {
    width: 15em;
}

.ui-panelgrid.largeColumn .ui-panelgrid-cell {
    width: 8em;
}

.ui-panelgrid.xLargeColumn .ui-panelgrid-cell {
    width: 20em;
}


#frmMeinUnterricht .maskenausgabe-table {
    width: 96%;
    margin: 2%;
}

#frmMeinUnterricht .maskenausgabe-dialoglink-text {
    width: 100%;
}

#frmMeinUnterricht .maskenausgabe-td-6 {
    width: 19%;
}

#frmMeinUnterricht .maskenausgabe-td-7 {
    width: 13%;
}

#frmMeinUnterricht .maskenausgabe-col-0 {
    width: 5%;
}

.iconMeinUnterricht {
    background-size: 25px auto;
    background-repeat: no-repeat;

    padding: 2px;
    padding-bottom: 2em;
    margin: 0;
    float: right;
}

.hausaufgaben {
    background-image: url("/javax.faces.resource/images/icons/Hausaufgaben.png.xhtml");
    padding-left: 2em;
}

.klassenarbeit {
    background-image: url("/javax.faces.resource/images/icons/test.png.xhtml");
    padding-left: 2em;
}

.klassenbuch {
    background-image: url("/javax.faces.resource/images/icons/klassenbuch.png.xhtml");
    padding-left: 2em;
}


.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
    box-sizing: border-box !important;

    display: block;
    width: 100% !important;
    float: none !important;
}

.ui-stack .openStack li span {
    background-color: #29abe2 !important;
    opacity: 0.8 !important;
    border-radius: 5px !important;

    height: auto !important;
}

.tmpId {
    position: fixed;
    bottom: 1em;
    z-index: 15;
    background-color: #eeeeee;
}

.ui-selectonemenu-panel .ui-selectonemenu-table td {
    height: 30px;
}

.message-count {
    background: red;
    -o-border-radius: 7px;
    -ms-border-radius: 7px;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;
    border-radius: 7px;
    -o-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    -ms-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    color: #FFF;
    display: block;
    font-size: 10px;
    font-weight: bold;
    line-height: 14px;
    height: 14px;
    padding: 4px 4px;
    text-shadow: none;
    /* positioning */
    position: absolute;
    right: 37.5em; /*-3px;*/
    top: 0; /*-6px;*/
    z-index: 999;
}

.ui-datagrid-column div.ui-widget-content {
    width: 96%;
    height: 96%;
}

.ui-steps.custom {
    margin-bottom: 35px;
    margin-top: 10px;
}

.ui-steps.custom .ui-steps-item .ui-menuitem-link {
    height: 10px;
    padding: 0 3em;
}

.ui-steps.custom .ui-steps-item .ui-steps-number {
    background-color: #0081c2;
    color: #FFFFFF;
    display: inline-block;
    width: 30px;
    border-radius: 10px;
    margin-top: -10px;
    margin-bottom: 10px;
}

.loader {
    display: block;
    padding: 4px 4px;
    position: fixed;

    width: 256px;
    height: 256px;

    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    margin: auto;


    z-index: 9999;
}

span.buchungCheck {
    border-radius: 5px;
    color: #222222;
    display: inline-block;
    margin: 1px;
    padding: 3px;
}

.fullWidth {
    display: block;
    width: 100%;
}

.rot {
    background-color: #CC0000;
    border: 3px solid #CC0000;
}

.gelb {
    background-image: url("/javax.faces.resource/images/icons/bgGelbVerfuegbar.png.xhtml") !important;

    background-repeat: no-repeat !important;
    border: 3px solid #FFCC00;
}

.gruen {
    border: 3px solid #339966;
}

.uncheckedIcon {
    background-image: url("/javax.faces.resource/images/icons/unchecked.png.xhtml") !important;
    background-size: 16px auto !important;
    background-repeat: no-repeat !important;

    border-radius: 0;
}

.checkedIcon {
    background-image: url("/javax.faces.resource/images/icons/checked.png.xhtml") !important;
    background-size: 16px auto !important;
    background-repeat: no-repeat !important;

    border-radius: 0;
}

.buchungCheckCommand {
    float: right;
}

.vAlignTop {
    vertical-align: top;
}

.hAlignRight {
    text-align: right;
}

.schueler-abwesend {
    text-decoration: line-through;
}

table.entschuldigungen .fa {
    cursor: help;
}

table.entschuldigungen tr.entschuldigt {
    text-decoration: line-through;
}

table.entschuldigungen tr.ausgeblendet {
    font-weight: normal !important;
}

table.entschuldigungen tr.unentschuldigt {
    font-weight: bold;
}

table.entschuldigungen td.status * {
    margin-right: 0.5em;

}

div#entschuldigungenLegende {
    float: right;
    margin-right: 2em;
}

div#entschuldigungenLegende ul {
    list-style: none;
    padding: 0;
}

div#entschuldigungenLegende p {
    margin-top: 0;
}

.hidden-when-disabled.ui-state-disabled {
    display: none !important;
}
