﻿body {
    font-family: 'OpenSansRegular', Arial, sans-serif;
    color: #394951;
}

.btn {
    color: #ffffff;
    background: linear-gradient(to bottom, #ee7e34 1%, #ea640f 100%);
    font-weight: bold;
    filter: progid;
    /*border: 1px groove #c7c5b9;*/
    border: none;
    font-size: 16px;
}

.nav--btn {
    margin: 10px 0px !important;
}

.btn:hover {
    background: linear-gradient(to bottom, #ea640f 1%, #ee7e34 100%);
    /*border: 1px groove #c7c5b9;*/
    border: none;
    color: #ffffff;
    transition: 0.3s;
}

.btnclicked {
    color: #ffffff;
    background: linear-gradient(to bottom, #ea640f 1%, #ee7e34 100%);
    filter: progid;
    border: 1px groove #c7c5b9;
}

.btnclicked:hover {
    background: linear-gradient(to bottom, #ea640f 1%, #ee7e34 100%);
    border: 1px groove #c7c5b9;
    color: #ffffff;
}

.btnActive {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
    background-image: none;
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    background: linear-gradient(to bottom, #ea640f 1%, #ee7e34 100%);
    border: 1px groove #c7c5b9;
    color: #ffffff;
}

header {
    z-index: 10;
    width: 100%;
    top: 0;
    position: fixed;
    background: linear-gradient(to bottom, #676665 0%, #545351 100%);
    filter: progid;
    color: #ffffff;
    margin-bottom: 7px;
}

header #headerMenu div a {
    font-family: 'OpenSansBold', Arial, sans-serif;
    color: #ffffff;
    background: transparent;
    height: 60px;
    font-size: larger;
}

header #headerMenu div a .ng-click-active {
    background-color: #ee7e34 !important;
}

.no-padding {
    padding: 0;
}

.shadow {
    -moz-box-shadow: 3px 3px 5px 6px #cccccc;
    -o-box-shadow: 3px 3px 5px 6px #cccccc;
    -ms-box-shadow: 3px 3px 5px 6px #cccccc;
    -webkit-box-shadow: 3px 3px 5px 6px #cccccc;
    box-shadow: 3px 3px 5px 6px #cccccc;
}

.unselectable {
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#timetableContent .actual-schoolday {
    background-color: #ea640f;
}

#timetableContent .holiday {
    opacity: 0.4;
}

#timetableContent #menue {
    margin-top: 5pt;
}

#timetableContent #dLabel {
    background: none;
    border: none;
}

#timetableContent #content {
    margin-top: 45px;
}

#timetableContent thead {
    background-color: #e9e4d1;
}

#timetableContent tbody {
    background-color: #f8f7f1;
}

#timetableContent .teacherLesson {
    font-weight: bold;
}

#timetableContent .red-border-white-background {
    border: 3px solid;
    border-color: #ff0000;
    background-color: white !important;
}

#timetableContent .grey-out {
    background-color: #ffffff !important;
    color: #dddddd !important;
}

#timetableContent .cross-out {
    text-decoration: line-through;
}

#timetableContent .lessonSubInfo {
    font-size: small;
}

#timetableContent .owner {
    color: #394951;
    font-size: larger;
    height: 30px;
}

#timetableContent #owner-dropdown {
/ / margin-top: 6 px;
/ / min-height: 44 px;
}

#timetableContent #substitution {
    border: 2px #000000 solid;
    z-index: 100;
    top: 0;
    left: 30%;
    position: fixed;
    background-color: #f8f7f1;
    padding: 10px;
    /*  width: 600px;*/
    width: 70%;
}

#timetableContent #substitution .highRankedTeacher {
    color: white;
    background-color: green;
}

#timetableContent #substitution .lowRankedTeacher {
    color: white;
    background-color: red;
}

#timetableContent #substitution .coteacher {
    margin-bottom: 10px;
}

#timetableContent #context-menu {
    border: 2px #000000 solid;
    z-index: 100;
    top: 30%;
    left: 40%;
    position: fixed;
    background-color: #f8f7f1;
    width: 150pt;
}

#timetableContent #context-menu button {
    margin-bottom: 3pt;
    margin-top: 3pt;
}

.header-line {
    padding-top: 10px;
    text-align: right;
}

.header-text {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 0px;
}

#auth-dialog body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #fff;
    font-size: 12px;
}

#auth-dialog .body {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -40px;
    bottom: -40px;
    width: auto;
    height: auto;
    background-image: url(http://ginva.com/wp-content/uploads/2012/07/city-skyline-wallpapers-008.jpg);
    background-size: cover;
    -webkit-filter: blur(5px);
    z-index: 0;
}

#auth-dialog .grad {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -40px;
    bottom: -40px;
    width: auto;
    height: auto;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.65)));
    /* Chrome,Safari4+ */
    z-index: 1;
    opacity: 0.7;
}

#auth-dialog .header {
    position: absolute;
    top: calc(15%);
    left: calc(-205%);
    z-index: 2;
}

#auth-dialog .header div {
    float: left;
    color: #fff;
    font-family: 'Exo', sans-serif;
    font-size: 35px;
    font-weight: 200;
}

#auth-dialog .header div span {
    color: #5379fa !important;
}

#auth-dialog .login {
    position: absolute;
    top: calc(-25%);
    left: calc(0%);
    height: 150px;
    width: 350px;
    padding: 10px;
    z-index: 2;
}

#auth-dialog .login input[type=text] {
    width: 250px;
    height: 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 4px;
}

#auth-dialog .login input[type=password] {
    width: 250px;
    height: 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    padding: 4px;
    margin-top: 10px;
}

#auth-dialog .login input[type=button] {
    width: 260px;
    height: 35px;
    background: #fff;
    border: 1px solid #fff;
    cursor: pointer;
    border-radius: 2px;
    color: #a18d6c;
    font-size: 16px;
    font-weight: 400;
    padding: 6px;
    margin-top: 10px;
}

#auth-dialog .login input[type=button]:hover {
    opacity: 0.8;
}

#auth-dialog .login input[type=button]:active {
    opacity: 0.6;
}

#auth-dialog .login input[type=text]:focus {
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

#auth-dialog .login input[type=password]:focus {
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.9);
}

#auth-dialog .login input[type=button]:focus {
    outline: none;
}

#auth-dialog ::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.6);
}

#lessonDetails .ng-click-active {
    background-color: #ee7e34 !important;
}

#lessonDetails #content #students {
    padding-top: 15px;
    padding-bottom: 15px;
}

#lessonDetails #content #students .student {
    font-family: 'OpenSansBold', Arial, sans-serif;
    display: inline-block;
    /*width: 91px;*/
    margin: 15px;
    text-align: center;
    font-size: 14px;
}

#student-image-box-behind {
    background-color: #e6c318;
    /*background-color: #3c3c3c;*/
}

#lessonDetails #content #students .student .inner-student {
    background-color: #bcde8b;
}

/* edited: padding-top change : 5px -> 15% */
#lessonDetails #content #students .student .student-name {
    padding-top: 5px;
}


#lessonDetails #content #students .student img {
    background-color: #e6c318;
    height: 128px;
    width: 91px;
}

#lessonDetails #content #students .movement {
    font-family: 'OpenSans', Arial, sans-serif;
    font-size: smaller;
}

#lessonDetails #content #students .student-missing {
    background-color: #808080;
    opacity: 0.5;
}

#menuButton {
    background: none;
    border: none;
    padding-right: 0;
}

.commed-dir.ng-enter {
    -webkit-transition: 0.5s linear all;
    transition: 0.5s linear all;
    background: red;
}

.commed-dir {
    border: 2px #000000 solid;
    z-index: 100;
    top: 10em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    position: fixed;
    background-color: #f8f7f1 !important;
    opacity: 1 !important;
    padding: 10px;
}

.standard-border {
    border: 1px #000000 solid;
    padding: 4px;
}

.commed-dir div,
.commed-dir button,
.commed-dir input {
    margin-bottom: 10px;
}

.commed-dir button,
.commed-dir input {
    display: block;
    width: 100%;
}

.timeSelectorDirective {
    font-size: x-large;
}

.timeSelectorDirective .section {
    display: inline-block;
    vertical-align: middle;
}

#auth-page {
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.timetable-arrow {
    font-size: 2.7em;
    cursor: pointer;
}

.timetable-arrow:hover {
    background-color: #ea640f;
}

.topic-form {
    display: flex;
}

.topic-form input {
    -ms-flex: 2;
    -webkit-flex: 2;
    flex: 2;
}

.topic-form span,
.topic-form input {
    margin-right: 5px;
}


.padding-right-off {
    padding-right: 0;
}

.margin-left-auto {
    margin-left: auto;
}

.vcenter {
    vertical-align: middle !important;
}

.truncate-ellipsis {
    display: table;
    table-layout: fixed;
    white-space: nowrap;
}

.truncate-ellipsis > * {
    display: table-cell;
    overflow: hidden;
    text-overflow: ellipsis;
}

.margin-bottom-half-line {
    margin-bottom: 0.5rem;
}

.height-100-percent {
    height: 100% !important;
}

.padding-10px {
    padding: 10px;
}

.padding-off {
    padding: 0;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.time-selector-caret-down {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #394951;
}

.time-selector-caret-up {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #394951 !important;
}

.col-xs-1-6 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    width: 13.88888883%;
    float: left;
}

/*# sourceMappingURL=app.css.map */


/**############# ADD ##############*/
/* ###### added ##*/
.mobile {
    display: none;
}

.mobile-2 {
    display: none;
}

.back {

    margin-top: -2.7em;
}

/*Vor-/Nachname*/
.sorting {

    margin-right: -9%;

}

/* dayAbsences */
.menu-owner {
    margin: -1em;
    margin-top: -6em;
    margin-bottom: 4em;
    margin-right: -10em;
    position: relative;
}

#timetableContent #timetable-navigation {
/ / margin-bottom: 10 px;
/ / margin-top: 0.5 em;
/ / min-height: 44 px;
}

.topic-form {
    width: 60%;
}

.ack {
    margin-top: 10%;
    margin-left: 10%;
}

.time--table-responsive {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 576px) {
    /* */
}

@media (max-width: 575px) {
    .padding-top-xs-4px {
        padding-top: 4px;
    }
}

@media (max-width: 767px) {
    #timetableContent .owner {
        font-size: smaller;
    }

    .container {
        margin-left: 1em;
    }

    .week-absence {
        margin-top: 0;
    }

    .container input {
        width: 60%;
        font-size: 20pt;
    }

    /*.abs{
        margin-top:2em !important;
    }*/
    .menu-owner {
        position: relative;
        padding: 0em;
        /*margin: 0.5em;*/
        margin-bottom: 1em;
        /*margin-right: -0.8em;*/
        position: relative;
        /*margin-top: -2.5em;*/
        margin-top: -2.5em;
        /*width: 6%;*/
        margin-right: 2.5em;
        float: right;
    }

    .logged-in-teacher {
        font-size: 10pt;
        margin-right: -3em;
        position: relative;
        top: -3em;
        margin-left: 0.2em;
        margin-top: 0.1em !important;
        /*margin-left: 10%;*/
    }

    .mini {
        padding: 0em;
        margin-top: -4em;
        margin-bottom: 0;
        width: 20%;
        margin-left: 80%;
    }

    .add-teacher {
        /*position:absolute; #*/
        left: 1em;
    }

    #timetableContent {
    / / margin-top: 7 em !important;
        margin-bottom: 2em !important;
    }
}

@media (max-width: 366px) {
    .container input {
        font-size: 13pt;
    }

    .ack {
        margin-top: 15%;
    }

    #timetableContent {
        margin-top: 2em !important;
        margin-bottom: 2em !important;
    }

    .lesson {
        font-weight: 1;
    }

    /*}*/
    .sort-group {

        padding-left: 2em;
    }

    .topic-form input {

        margin-top: 2em;
        margin-bottom: 2em;
        margin-left: -5em;
    }

    /* .week-absence{
   font-size:70%; 
  }*/
}

@media (min-width: 767px) {

    .week-absence {
        margin-left: 35%;
        position: relative;
    }

    #tL {
        word-wrap: break-word;
        padding-left: 0 !important; /* ### */
        padding-right: 0 !important;
    }

    #timetableContent #timetable-navigation {
    / / margin-top: - 0.5 em;
    }
}

@media (min-width: 363px) and (max-width: 414px) {
    .sort-group {
        margin-left: 35%;
        padding-left: 0em;
    }

}


/*insert: */

@media (max-width: 350px) {
    #content button {
        /*   font-size:9pt; */
        /*    margin: 0px;*/
        padding-top: -10em;
    }

}

/* end of edited

.dropdown{
    margin:-1em;
    margin-top:-3em;
    padding:0em;
    width:60%;
    position:relative;
    
}*/

/* ###### end added #*/
@media (max-width: 760px) {
    .aL table {
        border: 1px solid #ccc;
        border-collapse: collapse;
        margin: 0;
        padding: 0;
        width: 100%;
        table-layout: fixed;
    }

    .aL table, .aL tr {
        border: 1px solid #ddd;
        padding: .35em;
    }

    .aL table, .aL th, table td {
        padding: .625em;
        text-align: center;
    }

    .aL table, .aL th {
        font-size: .85em;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .logged-in-user {
    / / text-align: left;
    }
}

/*https://codepen.io/AllThingsSmitty/pen/MyqmdM*/
@media screen and (max-width: 560px) {
    .mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 1em;

    }

    .mobile-right {
        float: right;
        margin-right: 5%;

    }

    .mobile-left {
        margin-left: 5%;
    }

    .aL table {
        border: 0;
    }

    .aL table .aL caption {
        font-size: 1.3em;
    }


    .aL table, .aL thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .aL table, .aL tr {
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .aL table, .aL td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
        min-height: 2.8em;
        /*  vertical-align:center;*/
    }

    .aL table, .aL td::before {
        /*
        * aria-label has no advantage, it won't be read inside a table
        content: attr(aria-label);
        */
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .aL table, .aL td:last-child {
        border-bottom: 0;
    }

    /*Label the data*/
    .aL td:nth-of-type(2):before {
        content: "Datum"
    }

    .aL td:nth-of-type(3):before {
        content: "Stunde";
    }

    .aL td:nth-of-type(4):before {
        content: "Fach";
    }

    .aL td:nth-of-type(5):before {
        content: "Schüler";
    }

    .aL td:nth-of-type(6):before {
        content: "Zusatzinfo";
    }

    .aL td:nth-of-type(7):before {
        content: "Bemerkung";
    }

    .aL td:nth-of-type(8):before {
        content: "Entschuldigt";
    }

    /* absence - table on mobile*/
    /*td::before {   content:"TEST"; }*/


}


/*
    
@media (max-width: 760px) {
  .test   th:not(:nth-child(1)) {
    display: none;
  }
   .test   td:not(:nth-child(2)) {
    display: none;
  }
  .test td(:nth-child(2)) {
    display: inline;
  }
    #myTable{
  top: 0; left: 0;
  width: 100%; 
    font-size:80%;
 

    }

}*/
@media screen and (max-width: 760px) and (min-width: 480px) {
    .display-as-table-xs {
        display: table;
    }

    .display-as-table-cell-xs {
        display: table-cell;
    }

    #myTable {
        /*table-layout: auto;*/
        font-size: 8pt;
        /*display: inline;*/
        /*margin-right: -10em;*/
        margin: .18em;
        float: left;
        width: 100%;
        padding: 0em;
    }

    #myTable tr {
        float: left;
        min-height: 5em;
        max-height: 14em;
        /*padding: 1em; */
        /*border: 0.1px solid black;*/
        /*border-spacing: 0;*/
        padding: 0;
        margin: 0;
    }

    #myTable th {
        max-width: 16.40%;
        min-width: 16.40%;
        /*font-size: 6pt;*/
        width: 18em;
        float: left;
        padding: 0;
        margin: 0;
        padding-top: 2.3em;
        /*padding-bottom: 1em;*/
        /*padding: 1em;*/
        height: 8.45em; /*8.6*/
        /*overflow: auto;*/
    }

    #myTable td {
        max-width: 16.40%;
        min-width: 16.40%;
        width: 20em;
        float: left;
        min-height: 5em;
        /*font-size:90%;*/
        /*padding:0em;*/
        padding: 0.1em;
        max-height: 14em;
        /*border-collapse: collapse;*/
        height: 7.5em; /* //*change height of timetable cols here (before: 9.1em) */
    }

    #myTable th:nth-child(1) { /*time or lesson hour*/
        max-width: 9%;
        min-width: 9%;
        width: 9%;
        /*float: left;*/
        font-size: 300%;
        height: 2.8em;
        padding-top: 0.7em;
        border: 1px solid lightgrey;
        border-radius: 2px;
    }

    #myTable th:nth-child(7) {
        border: 0.1px solid black;
        float: right;
        max-width: 9%;
        min-width: 9%;
        width: 9%;
        height: 2.8em;
        font-size: 300%;
        padding-top: 0.7em;
        border: 1px solid lightgrey;
        border-radius: 2px;
    }

    #myTable td:nth-child(1) {
        max-width: 9%;
        min-width: 9%;
        width: 9%;
        left: 0;
    }

    #myTable td:last-child {
        /*width: 1em !important;*/
        display: none;
    }

    /*        display: flex;*/
    /*        float:left;*/
    /*        width:6em;
            height:2.5em;*/
    /*       display: inline-block;*/
    /*  .out-lesson +div {
              width:16em;
    }*/
    .lesson {
        /*        height:auto;*/
        /*        width:100%;*/
        float: left;
        margin: 0;
        padding: 0;
        /*        border-spacing: 0;    */
        height: 8.6em;
        /*word-wrap:break-word;*/
        /*        overflow: hidden;*/
    }

    .btn-mobile {
        font-size: 14px;
        margin: 0em;
        padding: 0.3em;
        margin-left: -2em;
        margin-right: -2em;
        width: 75%;
        /*height:75%;*/

    }


    /*   .mobile-btn-left,.mobile-btn-right{
           font-size:180%;*/
    /*
            max-height:3em;
            height:3em !important;*/
    /*   vertical-align:top;*/
    /*        width:18em;*/
    /*        min-width:5%;*/
    /*}*/
    .lessonSubInfo {

        font-weight: normal;
        font-size: 7pt !important;
    }

    #holiday-info {
        white-space: initial; /*give in new line when neeeded*/
    }

}


/* ########### responsive form #############*/
#substitution {
    top: 11% !important;
    width: 75% !important;
    left: 10% !important;
    font-size: 10pt !important;
}

@media screen and (max-width: 760px) {
    #responsive-form {
        height: 17em;
        width: 100%;
        border: 1px solid #ccc;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #inputSubject {
        width: 96%;
    }

    #inputNotice {
        width: 98%;

    }
}

/* ########### responsive form #############*/
#responsive-form {
    height: 60vh;
    width: 100%;
    border: 1px solid #ccc;
    overflow-y: auto;
    overflow-x: hidden;
}

#inputSubject {
    width: 98%;
}

#inputNotice {
    width: 98%;

}

.lesson {
    height: 7em; /* //*change height of timetable cols here (before: 9em inside @media screen and min-widht below) */
}

@media screen and (min-width: 580px) {
    .abs-container {
        margin-top: 85px;
    }
}

@media screen and (max-width: 580px) {
    #myTable {
        /*table-layout: auto;*/
        font-size: 8pt;
    }

    .btn-mobile {
        width: 75%;
    }

    .lessonSubInfo {
        font-weight: normal;
        font-size: 7pt !important;
        padding: 0em;
    }
}

@media screen and (max-width: 479px) {
    .mobile-2 {
        position: absolute;
        display: block;
        margin-top: -10px;
    }

    .mobile-left-2 {
        padding-right: 20vw;
        left: 4vw;
        width: 39vw;
    }

    .mobile-right-2 {
        width: 39vw;
        left: 19vw;
        margin-top: -44px;
        padding-left: 20vw;
    }

    /*.mobile-btn-left, .mobile-btn-right {
      font-size: 140%;
    }*/
    /*.lessonSubInfo {
      color: red;
      font-size: 4pt !important;
    }
    .btn-mobile {
      font-size: 6pt;
      padding: 0.3em;
      margin-left: -1.2em;
      margin-right: -1.2em;
      width: 95%;
      height: 49%;
    }*/
    #myTable td {
        /*display: relative;*/
        margin-left: 6vw !important; /*initial space at mobile dev*/
    }

    .remove-pad {
        padding-left: 0px !important;
    }

    /*#myTable th:not(:nth-child(1)) {
      display: none;
    }*/
    #myTable td:not(:first-child):not(:last-child) {
        /*display: flex;
        position: absolute !important;*/
        width: 95vw !important;
        min-width: 95vw !important;
        max-width: 95vw !important;
        /*color: blue !important;*/
    }

    #myTable td:not(:nth-child(1)) {
        padding-left: 9vw; /**orig 15 for mobile*/
        padding-right: 2vw;
    }

    #myTable th:not(:first-child) {
        padding-left: 15vw;
        height: 60px !important;
    }

    .lesson {
        /*float: left;*/
        height: 6em;
        padding: 0 !important;
        margin: 0 !important;
    }

    #myTable {
        margin-top: 20px;
        /*display: inline-block;*/
        width: 100vw;
        height: auto;
        overflow: scroll;
        padding-bottom: 0 !important;
    }

    #myTable td:nth-child(1) {
        position: absolute !important;
        left: -6vw;
        background: lightblue;
        width: 43px;
        z-index: 2;
        /*height: 100%;  !* /!* change height of lesson times in smartphone view here (before: 6.9em) *!*/
        min-height: 22%;
        font-size: larger;
    }

    #content { /*inline-scroll-bar*/
        overflow-x: hidden;
        overflow-y: scroll !important;
    }

    #myTable th {
        font-size: larger !important;
        border-bottom-width: 0;
    }

    #myTable td:last-child {
        visibility: hidden;
    }

    #myTable th:last-child {
        visibility: hidden;
    }

    #myTable th:first-child {
        border: none !important;
        font-size: 0em !important;
        pointer-events: none;

        /*padding:0 !important;*/
    }

    #calweek {
        position: absolute;
        top: 1vh;
        right: 20vw;
    }
}


.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #f1f1f1;
    transition: 0.3s;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

.mobile--table--header {
    display: none;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}

@media screen and (max-width: 360px) {
    .minimalize {
        font-size: smaller;
    }

    #myTable th {
        white-space: nowrap;
        font-size: smaller;
    }

}


/* NEW RESPONSIVE DESIGN */

.data--header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.data--header p {
    margin-right: 0.5em;
    margin-left: 0.5em;
}

.user--and--dropwon {
    display: flex;
    align-items: center;
}

.user--and--dropwon div {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
}

.header--text {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 !important;
}

.students--boxes-all {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 16px;
}

.footer--pupils--missing {
    margin-top: 2em;
    display: flex;
    justify-content: space-between;
}

.subject--matter {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 1em;
}

.d-flex {
    display: flex;
}

.footer--margin--bottom {
    margin-bottom: 3em;
}

.input--subject--matter {
    width: 45vw;
}

.header--text p {
    margin: 0.3em 1em;
}

.buttons--group {
    display: flex;
    justify-content: space-between;
    margin: 2em 0;
}

.sort--btns {
    display: flex;
    align-items: center;
}

.sort--btns p {
    margin-right: 1em;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
}

.glyphicon--submitted {
    display: flex;
    align-items: center;
    align-self: center;
    margin-left: 1em;
}

.data--header {
    font-size: 16px;
}

.logged-in-user {
    font-size: 16px;
}

@media screen and (max-width: 750px) {
    .user--and--dropwon {
        width: 100%;
        justify-content: space-between;
    }

    .footer--pupils--missing {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .input--text--subject--matter {
        display: flex;
        flex-direction: column;
        margin-bottom: 1em;
    }

    .input--subject--matter {
        width: 90vw;
    }

    .btn {
        padding: 6px 6px;
    }

    .nav--text {
        word-break: keep-all;
        font-size: 12px;
    }

    .data--header {
        flex-direction: column-reverse;
    }

    .header--text p {
        margin: 0.3em 0.5em 0.3em 0;
    }

    .buttons--group {
        flex-direction: column;
    }

    .btn-group {
        /*justify-content: space-between;*/
        margin: 0.5em 0;
    }

    .btn-group--register--missing {
        justify-content: space-between;
        margin: 0.5em 0;
    }

    .sort--btns {
        display: flex;
        justify-content: space-between;
    }

    .single--sort--btn {
        margin: 0 0.5em;
    }

    #timetableContent .lessonSubInfo {
        font-size: 12px !important;
    }

    #content {
        margin-top: 7em !important;
    }

    #myTable th:not(:first-child) {
        margin: 0;
        height: 1em !important;
        padding: 1em 2.3em 1em 0;
    }

    .responsive--time--table {
        margin: 0;
        padding: 0;
        text-align: center;
        width: 100vw;
    }

    .mobile--table--header {
        display: flex;
        justify-content: space-evenly;
        text-align: center;
    }

    .container-fluid {
        /*padding: 0;*/
    }

    .glyphicon-chevron-left, .glyphicon-chevron-right {
        font-size: 24px;
    }

    .glyphicon:hover {
        cursor: pointer;
    }

    .timetable-datetime p {
        font-size: 15px !important;
    }

    .timetable-datetime {
        padding: 8px 0px 8px 0px !important;
    }

    .row {
        margin: 0 !important;
    }

    .hour--details {
        display: flex;
        font-size: 13px;
        width: 90%;
        justify-content: space-evenly;
        flex-direction: row;
        align-items: center;
    }

    .hour--details--time--room {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .is--submitted {
        font-size: 18px;
        padding-right: 0.5em;
    }

    .margin-bottom-half-line {
        margin-bottom: 0rem;
        display: flex;
        flex-direction: column;
    }

    .time--table-responsive {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .header--between {
        display: flex;
        justify-content: space-between;
    }

    .nav--btn {
        margin: 0px 0px !important;
        font-size: 12px;
    }

    .btn {
        font-size: 12px;
    }

}

.dd--btn {
    font-size: 18px !important;
    margin-right: 18px;
}

.header-text {
    margin-right: 1em;
}

.user--dropown--btn {
    display: flex;
    align-items: center;
}

.header--between {
    display: flex;
    justify-content: space-between;
}

.back-btn {
    margin: 10px 16px !important;
}

.user--dropown--btn {
    display: flex;
}

.back--btn {
    width: fit-content;
    margin-right: 0.5em;
}

.nav--dd--btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid gray;
    cursor: pointer;
}

.nav--dd--btn a {
    border-radius: 0px !important;
}

.left--arrow--table {
    display: flex;
}

.right--arrow--table {
    display: flex;
    justify-content: flex-end;
}

.right--arrow--table:hover, .left--arrow--table:hover {
    color: white;
    transition: 0.3s;
}

.glyphicon-align-justify {
    font-size: 24px;
}

.w-btn {
    width: 7em;
}

.add-supporter {
    width: 13em;
    margin-left: 0.25em;
}

.w-auto {
    width: auto !important;
}

.ml-1 {
    margin-left: 1em;
}

.justify-content-center {
    justify-content: center;
}

.w-i {
    width: initial;
}

.modal-input {
    display: flex;
    justify-content: center;
}

.open-modal-time-text {
    color: #bcde8b;
}

.rounded {
    border-radius: 1rem;
}

.disable-box {
    position: absolute;
    width: 198px;
    height: 160px;
    background-color: rgba(60, 60, 60, 0.28);
    top: 0;
    left: 0;
}

.input-checkbox-text {
    display: flex;
}

.input-checkbox-text input {
    max-width: 13px;
    margin-right: 8px;
}

.exam-dialog, .delete-dialog {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #ee7e34;
    border-radius: 5px;
    background-color: white;
    width: 400px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 90;
}

.ml-2 {
    margin-left: 15px;
}

.exam-hint-box {
    display: flex;
    flex-direction: column;
}

.hint-box {
    display: flex;
    flex-direction: column;
    margin: 0.5em;
}

.exam-dialog .header span {
    margin: 0.5em;
}

.exam-dialog .header {
    display: flex;
    flex-direction: column;
}

.exam-dialog .footer {
    display: flex;
    justify-content: flex-end;
}

.delete-dialog .footer {
    display: flex;
    justify-content: flex-end;
}

.delete-dialog .footer .button-box {
    display: flex;
}

.exam-dialog .footer .button-box {
    display: flex;
}

.delete-dialog .footer .button-box button {
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

.exam-dialog .footer .button-box button {
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

.exam-error-message .warning-icon {
    width: 25px;
}

.exam-error-message {
    background-color: #f9d721;
    padding: 0.5em;
    border-radius: 5px;
    display: flex;
}

.exam-details-wrapper {
    display: flex;
    flex-direction: column;
    padding: 0.5em;
}

.exam-create-error {
    background-color: #f92b21;
    color: white;
    fill: white;
}

.delete-dialog .header span {
    margin: 0.5em;
}


.d-none {
    display: none;
}

.mb-2 {
    margin-bottom: 1em;
}

.mr-1 {
    margin-right: 0.5em;
}

.ml-1 {
    margin-left: 0.5em;
}

.mt-1 {
    margin-top: 0.5em;
}

.flex-wrap {
    flex-wrap: wrap;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-space-between {
    justify-content: space-between;
}

@media screen and (max-width: 1000px) {
    .flex-sm-column {
        flex-direction: column;
    }
}

@media screen and (max-width: 450px) {
    .back--btn {
        min-width: 100% !important;
    }

    .ml-md-0 {
        margin-left: 0;
    }
}

