body {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    background-repeat: no-repeat;
    background-position: center;

    font-family: 'Roboto', "Segoe UI", Arial, sans-serif;
    position: absolute;
    top:0;
    left:0;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    overflow:  hidden;
}

a.link {
    color: #70aeff !important;
}
a.link:visited, a:hover {
    color: #70aeff !important;;
}

.login-wrapper {
    display: table;
    height: 100%;
    margin: 0 auto;
}

/* Header */
.login-header{
    background-color: rgba(255,255,255,0.8);
    background-image: url("images/logo.png");
    background-position: 25px center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 50px;
    z-index: 50;
}

.login-header--no-logo {
    font-size: 12px;
    padding:10px;
    height: auto;
    background-image: none;
    line-height: 12px;
}

.login-header--text-right {
    width: 300px;
    font-size: 12px;
    text-align: right;
    float:right;
    padding-right: 10px;
    line-height: 25px;
}

/* Login-Formular */
.loginpanel {
    display: table-cell;
    vertical-align: middle;
}

/* Footer */
.login-footer {
    position: fixed;
    font-size: 10px;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background-color: rgba(255,255,255,0.8);
    color: black;
    line-height: 20px;
    z-index: 50;
}

.login-date {
    position: absolute;
    margin-right: 50px;
    left: 0;
}

.login-copy {
    position: absolute;
    right: 0;
    margin-right: 25px;
}


.loginform, .pwresetform {
    color: white;
    background-color: rgba(0,0,0,0.5);
    border-radius: 2px;
}

.loginform {
    width: 400px;
}

.maintenance p {
    font-size: 12pt;
    padding: 10px;
}

@media (max-width: 479px) {
    .loginform {
        width: calc(100% - 50px);
        margin-left: 25px;
        padding: 0;
    }
}

.pwresetform {
    width: 500px;
}

@media (max-width: 550px) {
    .pwresetform {
        width: calc(100% - 50px);
        margin-left: 25px;
        padding: 0;
    }
}

.mdl-textfield  {
    padding-bottom: 2px;
}
.mdl-textfield__input {
    border-bottom: 1px solid white;
}
.mdl-textfield__label {
    color: white !important;
    font-size: 12px;
    top: 4px;
    visibility: visible;
}
.mdl-textfield__label:after {
    bottom: 2px;
    background-color: white !important;
}
.login-submit, .pw-reset {
    float: right;
}
.pw-reset {
    color: white !important;
}
.mdl-button {
    height: 32px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 32px;
    margin-right: 10px;
}

.mdl-cell p {
    line-height: 16px !important;
}

.mdl-cell ul {
    margin: 0;
    line-height: 16px;
}

.mdl-dialog__content {
    max-height: calc(100vh - 180px);
    overflow: auto;
    margin-top: 5px;
}

.mdl-card--information {
    width: 100%;
    margin-bottom: 20px;
    min-height: auto;
}

.mdl-grid {
    max-height: calc(100vh - 100px);
    overflow: auto;
}

@-webkit-keyframes autofill {
    to {
        color: white;
        background: transparent;
    }
}

input:-webkit-autofill {
    -webkit-animation-name: autofill;
    -webkit-animation-fill-mode: both;
    -webkit-box-shadow: 0 0 0 1000px rgba(100,100,100,1) inset !important;
    -webkit-text-fill-color: white;
}

.mdl-textfield__label {
    top:0 !important;
}
