html, body {
    font-family: Arial, sans-serif;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: none #fff;
}

/* 'Daten gespeichert' overlay */
.ui-pnotify {
    display: none !important;
}

#ajax-save-overlay {
    display: none !important;
}


/* header */
header {
    height: 150px;
    background: none #fff;
}

img#logo {
    height: 100px;
    margin-top: 15px;
    margin-left: 15px;
}

#top-bar {
    position: relative;
    min-height: 50px;
    margin-bottom: 30px;
    background-color: #3B6EA3;
    overflow: hidden;
}

.top-bar-text {
    float: left;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    color: #fff;
}


/* content */
#content {
    flex: 1 0 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 0px 15px;
}

#content_wrapper {
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.formular_config_message {
    background-color: #C9DBED;
    padding: 10px;
    text-align: center;
}

.errorlist.nonfield {
    list-style: none;
    color: red;
    margin: 2em 0;
    padding: unset;
}

/* Footer */
#footer {
    display: flex;
    align-items: center;
    min-height: 40px;
    width: 100%;
    background-color: #cfcfcf;
    color: #505050;
    flex-shrink: 0;
    margin-top: 30px;
}

#footer a {
    color: #505050;
    text-decoration: none;
}

.footer-site-notice-column {
    padding: 15px 15px;
}

/* Buttons */
button.send_data_button,
button.login-button,
button.logout-button,
button.ui-datepicker-trigger,
#ajax-global-save-button,
.custom-file-upload {
    display: inline-block;
    cursor: pointer;
    background: #3B6EA3;
    border: 1px solid #3B6EA3;
    border-radius: 3px;
    color: white;
    padding: .5em !important;
}

button.send_data_button:hover,
button.login-button:hover,
button.logout-button:hover,
button.ui-datepicker-trigger:hover,
#ajax-global-save-button:hover,
.custom-file-upload:hover {
    background: #fff;
    border-color: #3B6EA3;
    color: #3B6EA3;
}

.btn.icon-link {
    display: inline-flex;
    text-decoration: none;
    color: #333;
}
.message.info {
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}
.message.info .message-head {
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.message.info .material-icons {
    margin-right: .5rem;
}

input[type="file"] {
    display: none;
}

.date-picker {
    display: flex;
    max-width: 158px;
}

.date-picker input {
    width: 100% !important;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    transform: translateY(0.15em);
}

i.material-icons {
    transform: translateY(0.15em);
}

.field_highlighted {
    background-color: #fdb9b9 !important;
}

/* access */
#access_hint {
    margin-bottom: 1em;
}

#access_form table {
    border-spacing: 0;
}

#access_form table td,
#access_form table th {
    padding-left: 0;
}

#access_form .login-button {
    margin-top: 1em;
}

/* logout */
#top_bar_logout {
    float: right;
}

@media (max-width: 900px) {
    #content {
        justify-content: normal;
    }

    #logout_button_text {
        display: none;
    }
}
