body {
    height: 100vh;
    overflow: scroll;
}
header {
    border-bottom: 1px solid #00ad4c;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    line-height: 25px;
    vertical-align: middle;
    margin-bottom: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    background-color: #00ad4c;
}
.menu-items a {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
h2 {
    margin-bottom: 0.2rem;
    font-size: 1.5rem;
}
.main-container {
    margin-top: 5rem;
}
.daily-info {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.holiday {
    font-size: 1.2rem;
}
.holiday:before {
    content: "(";
}
.holiday:after {
    content: ")";
}
a:not(.btn) {
    color: #00ad4c;
    text-decoration: underline;
}
.form-control {
    max-width: 70px;
    display: inline-block;
}
.modal .form-control {
    max-width: 200px;
}
.quotaCutoffInfo {
    background-color: var(--danger);
    margin-bottom: 1rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.2rem;
    color: #fff;
}
.quotaCutoffInfo.quotaRemoveCutoffInfo {
    background-color: gray;
}
.days {
    margin-bottom: 2rem;
}
.day-table td {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: 1px solid #00ad4c;
    height: 35px;
    font-size: 0.8rem;
}
.day-table td.buttons {
    padding: 0;
    min-width: 35px;
    font-size: 0.6rem;
}
.day-table td.buttons .btn {
    font-size: 1.2rem;
}
.day-table .full td.buttons {
    border-top-color: #00ad4c;
    border-bottom-color: #00ad4c;
}
.slot-admin .day-table td.buttons {
    min-width: 75px;
}
.day-table tr:first-child td.buttons {
    border-top-color: #00ad4c;
}
.day-table tr:last-child td.buttons {
    border-bottom-color: #00ad4c;
}
.navigation .btn-primary {
    width: auto;
}
.remove .check {
    color: var(--warning);
}
.from-until {
    font-weight: bold;
    min-width: 105px;
    text-align: center;
    white-space: nowrap;
}
.slot-admin .from-until {
    min-width: 175px;
}
.counts {
    max-width: 100px;
    min-width: 100px;
    text-align: center;
    font-size: 0.7rem;
    white-space: nowrap;
    color: #00ad4c;
}
.to-less .counts {
    color: var(--danger);
}
.kinda-full .counts {
    color: var(--warning);
}
.percentage {
    min-width: 58px;
    text-align: center;
}
.apply .form-control, .apply .btn {
    width: 200px;
    max-width: 200px;
}
.login .form-control {
    display: block;
}
.single-slot {
    min-width: 70px;
    max-width: 70px;
    text-align: center;
    font-size: 0.7rem;
    overflow: hidden;
    word-break: break-word;
    line-height: 0.8rem;
    hyphens: auto;
}
.single-slot.own {
    font-weight: bold;
}
.single-slot.reserved {
    background-color: transparent;
}
.single-slot.reserved.removable {
    color: var(--warning);
}
.btn {
    border-radius: 0;
}
.removable .btn-primary, .removable .btn-primary:active, .removable .btn-primary:hover, .removable .btn-primary:focus, .removable .btn-primary:not(:disabled):not(.disabled):active,
.free.btn-primary, .free.btn-primary:active, .free.btn-primary:hover, .free.btn-primary:focus, .free.btn-primary:not(:disabled):not(.disabled):active{
    background-color: var(--warning);
    border-color: var(--warning);
}
.removable .btn-primary:hover, .free.btn-primary:hover, .free.btn-primary:disabled, .free.btn-primary.disabled {
    background-color: #e3ab05;
    border-color: #e3ab05;
}
.removable .from-until, .removable .counts {
    background-color: #00ad4c;
    color: #000 !important;
}
.error .check .checked span, .error .from-until, .error .counts, .error .buttons, .error .buttons .btn-primary:disabled {
    background-color: var(--danger);
}
.remove .btn-primary, .remove .btn-primary:active, .remove .btn-primary:hover, .remove .btn-primary:focus, .remove .btn-primary:not(:disabled):not(.disabled):active,
.remove.btn-primary, .remove.btn-primary:active, .remove.btn-primary:hover, .remove.btn-primary:focus, .remove.btn-primary:not(:disabled):not(.disabled):active {
    background-color: var(--danger);
    border-color: var(--danger);
}
.remove .btn-primary:hover, .remove.btn-primary:hover, .remove.btn-primary:disabled, .remove.btn-primary.disabled {
    background-color: #bf2130;
    border-color: #bf2130;
}
.btn-primary {
    width: 50px;
    height: 42px;
    margin: 0;
}
.day-table .btn-primary {
    height: 35px;
    width: 35px;
    padding: 0;
}
.btn-primary, .btn-primary:active, .btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {
    background-color: #00ad4c;
    border-color: #00ad4c;
    box-shadow: none;
}
.btn-primary:hover, .btn-primary:disabled, .btn-primary.disabled {
    background-color: #00cc5a;
    border-color: #00cc5a;
}
.daily-info .form-control {
    max-width: 400px;
}
#flashMessages {
    position: fixed;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    max-width: 50%;
    font-size: 0.8rem;
}
.flashmessages {
    list-style: none;
    padding: 0;
}
.flashmessages-warning {
    background-color: #e3ab05;
    padding: 10px;
}
.message {
    border: 1px solid #00ad4c;
    padding: 0.5rem 1.7rem 0.5rem 1rem;
    position: relative;
    background-color: #fff;
    margin-top: 0.2rem;
    opacity: 1;
    max-height: 200px;
    transition: opacity 500ms 0s, margin 100ms 500ms, padding 100ms 500ms, max-height 100ms 500ms;
    width: 100%;
}
.message.hide {
    margin: 0;
    padding: 0;
    border: none;
    max-height: 0;
    opacity: 0;
}
.message i {
    color: #00ad4c;
}
.message .close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: inline-block;
    cursor: pointer;
    font-size: 1rem;
}
#errors .message {
    border-color: var(--danger);
}
#errors .message i {
    color: var(--danger);
}
#reload-modal {
    background-color: rgba(0, 0, 0, 0.6);
}
.modal .btn-primary {
    width: auto;
}
.brand {
    height: 38px;
}
.brand span {
    font-size: 0.85rem;
    font-weight: bold;
    vertical-align: top;
    margin-top: 0;
    display: inline-block;
}
.brand img {
    filter: contrast(0) brightness(2);
}
.cal-name {
    padding: 0 0.2rem;
    border: 2px solid #fff;
}
.brand a {
    color: inherit;
    text-decoration: none;
}
.cal-name.Brauquartier {
    background-color: #8C3503;
    border-color: #8C3503;
}
.link {
    cursor: pointer;
}
.btn-light {
    color: #00ad4c;
    border-radius: 0.5rem;
}
.btn-light:not(:disabled):not(.disabled).active {
    color: #fff;
    background-color: #00ad4c;
    border-color: #fff;
    font-weight: bold;
}
td .form-control {
    width: 70px;
}
.day-table .check {
    font-size: 0.8rem;
    color: #00ad4c;
    min-width: 30px;
    padding: 0;
}
.checked {
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.checked span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 0 solid #fff;
    transition: all 170ms cubic-bezier(.4,.0,.23,1);
}
.checked.reserved span {
    background-color: #00ad4c;
}
.checked.reserved.removable span {
    border-color: var(--warning);
}
.checked span:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-size: 1.5rem;
    position: absolute;
    top: 3.1rem;
    left: 0.35rem;
    transition: top 200ms 170ms;
}
.checked.reserved span:before {
    top: 0.4rem;
}
.modal {
    overflow: scroll;
}
#remove-modal .btn {
    height: auto;
}
#remove-modal p {
    margin: 0;
}
.neos-fluid-widget-paginator {
    padding: 0;
    list-style: none;
}
.neos-fluid-widget-paginator li {
    display: inline-block;
    margin-right: 1rem;
}
.forthcoming-weeks {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: #fff;
    border-radius: 1rem;
}
.forthcoming-weeks span {
    border: 1px solid #999;
    padding: 0.5rem 0.5rem;
    font-weight: bold;
    font-size: 0.7rem;
    color: #fff;
    border-radius: 1rem;
    background-color: var(--warning);
}
.forthcoming-weeks span a {
    color: inherit;
    text-decoration: none;
}
.forthcoming-weeks span.has-slots {
    background-color: #00ad4c;
}
.forthcoming-weeks span.last-published-divider {
    border: none;
    padding: 0;
    width: 5px;
    background-color: var(--danger);
    border-radius: 0;
    display: inline-block;
    height: 1.2rem;
    vertical-align: middle;
}
.averages {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border-left: 5px solid #00ad4c;
    padding-left: 1rem;
    padding-bottom: 0.4rem;
    line-height: 1.8rem;
}
.averages a {
    cursor: pointer;
}
.info-button {
    background-color: #6c757d;
    color: #fff !important;
    border-radius: 1rem;
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
}
#connection {
    background-color: #fff;
    border-radius: 2rem;
    padding: 0 0.6rem 0 0.4rem;
    display: inline-flex;
    gap: 0.2rem;
    align-items: center;
    color: #000;
    font-weight: normal;
    font-size: 0.7rem;
    line-height: 1rem;
    margin-top: 0.3rem;
}
#connection span {
    border-radius: 2rem;
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
}
#connection .closed {
    background-color: #b0000a;
}
#connection .connected {
    background-color: #00ad4c;
}
.default-times-table input:placeholder-shown {
    border: 1px solid #ced4da
}
.default-times-table input {
    border: 2px solid #00ad4c
}

@media (max-width: 800px) {
    #flashMessages {
        max-width: 95%;
        width: 95%;
    }
    #flashMessages > * {
        position: relative;
    }
    .message {
        position: absolute;
        bottom: 0;
        right: 0;
    }
    .brand {
        display: none;
    }
    .main-container {
        padding: 0 5px;
    }
    header {
        padding-left: 0;
        padding-right: 0;
    }
}
