div#ajax_message,
div.ajax-response {
    border-radius: 5px;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    text-align: center;
    width: auto;
    margin-bottom: 10px;
}

.d-none {
    display: none !important;
}

.button,
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
    background-color: #007bff;
    border-color: #007bff;
    font-size: 1.5rem !important;
}

.button:hover,
button:hover,
input[type='button']:hover,
input[type='reset']:hover,
input[type='submit']:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

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

h1 {
    font-weight: lighter;
    color: #0094df;
    font-size: 3.5rem;
    line-height: 1.2;
    padding: 4rem 0;
}

.blue_header {
    color: #0094df;
}

.header-comeandgo {
    text-align: center;
    color: deepskyblue;
}

.header {
    background-color: white;
    border-bottom: 1cm;
}

body {
    font-family: "Segoe UI", serif !important;
    background: linear-gradient(#eff6fd, #fefefe) fixed;
}

.top-nav-links, .side-nav, h1, h2, h3, h4, h5, h6 {
    font-family: "Segoe UI", serif !important;
}

.kita-text {
    position: absolute;
    top: 35px;
    left: 18%;
    transform: translate(-50%, -50%);
}

.header-button {
    float: right;
    margin-top: 3%;
    background-color: white;
    color: gray;
    border: none;
}

.buttons {
    margin-right: 4%;
    text-align: center;
}

.bell {
    margin-left: -8px !important;
}

nav.top-nav img {
    height: 2rem;
}

nav.top-nav {
    border-bottom-color: #9fb2c7;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    position: fixed;
    width: 100%;
    z-index: 100;
    padding: .3rem .3rem;
    background-color: #f8f9fa;
    margin: 0;
    height: 5rem;
    line-height: 2rem;
    display: grid;
    grid-template-columns: 1fr max-content;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1.15rem;
    max-width: initial;
}

main.main {
    padding-top: 5rem;
}

img#einrichtungen_loading_spinner {
}

div.message {
    margin-top: 5px;
}

.elementContainer {
    position: relative;
    height: 95.6px;
}

.scrollingWrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
    height: 100%;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin: 0 40px;
}

.scrollingWrapper .scrolledElement {
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    font-weight: bold;
    color: rgb(92 92 77);
    font-size: 1.4rem;
    letter-spacing: normal;
}

.goldenHover.active,
.goldenHover:active {
    background-image: linear-gradient(#fff39d, #ffd86a, #fff39d);
}

.groupEntry {
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    line-height: 1.4rem;
    justify-content: center;
    margin-bottom: 0;
}

.greyButton {
    padding: 10px;
    background-image: linear-gradient(#fff, #f3f5f6);
    border-color: #dedfe0;
    border-style: solid;
    border-width: 1px;
}

.groupHeader {
    padding-top: 11px;
    margin-bottom: 0;
}

.goldenHover:hover {
    background-image: linear-gradient(#fefacc, #fee485, #fefacc);
}

.scrollBorderLeft {
    left: 0;
}

.scrollBorder {
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    padding-top: 13px !important;
}

.scrollBorderRight {
    right: 0;
}

.scrollBorder {
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    padding-top: 13px !important;
    color: black;
    font-weight: bold;
    font-size: 2rem;
}

.scrollingWrapper::-webkit-scrollbar {
    display: none;
}

button.groupEntry {
    min-width: 100%;
}

div#essensteilnahme_ajax_wrapper,
div#comeandgo_ajax_wrapper {
    display: flex;
    flex-wrap: wrap;
}

div.essensteilnahme_kind,
div.comeandgo_kind {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    color: rgb(92 92 77);
}

div.essensteilnahme_kind.active,
div.comeandgo_kind.active {
    color: black;
}

div.essensteilnahme_kind.active h4,
div.comeandgo_kind.active h4 {
    color: black;
    font-family: "Segoe UI", sans-serif;
}

div.essensteilnahme_kind h4,
div.comeandgo_kind h4 {
    margin-bottom: 0;
    font-weight: bold;
    font-size: 1.4rem;
    letter-spacing: normal;
}

div.essensteilnahme_kind span,
div.comeandgo_kind span {
    font-size: small;
}

div.essensteilnahme_kind p,
div.comeandgo_kind p {
    font-size: small;
}

.before::before, .after::after {
    content: "\A";
    white-space: pre;
}

.checkin_checkout_alert {
    font-weight: bold;
    text-align: center;
    word-wrap: anywhere;
}

.option_text {
    text-align: start;
}

div.modal_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    z-index: 101;
    align-items: center;
    justify-content: center;
}

div.modal_popup {
    background-color: white;
    border-radius: 5px;
    padding: 1.5rem;
    max-width: 95%;
    position: relative;
    max-height: 90vh;
}

div.modal_popup h4 {
    margin-bottom: 0;
    text-align: center;
}

div.comeandgo_kind_modal_wrapper div.modal_popup h4 .headlinetext {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

span.row_option {
    display: flex;
    align-items: center;
    text-align: center;
    padding: 0.5rem 1rem;
    border: 1px solid black;
    border-radius: 5px;
    margin-bottom: 1rem;
}

div.modal_popup hr {
    margin: 1.5rem 0;
}

img.img-greyscale, .pin-login-grey {
    filter: grayscale(100%);
    opacity: 40%;
}

.pin-loading {
    text-align: center;
    position: absolute;
    /*width: 42%;*/
    top: 46%;
}

.non-pin-loading {
    text-align: center;
    position: absolute;
    /*width: 43%;*/
    top: 46%;
}

.pin-loading-brandliste {
    text-align: center;
    position: absolute;
    width: 96%;
    top: 54%;
}

.pin-spinner {
    height: 15%;
}

span.group_subtitle {
    font-size: 1.2rem;
    display: block;
    font-weight: normal;
    letter-spacing: normal;
}

.okImg {
    position: absolute;
    margin-left: -2rem;
    margin-top: 4.5rem;
}

/*PinPad*/
.pin-login {
    font-size: 4rem;
    width: 22rem;
    margin: auto;
}

.brandliste-spinner {
    width: 7%;
}

.pin-login-text {
    margin: 10px auto 10px auto;
    padding: 10px;
    display: block;
    width: 50% !important;
    font-size: 0.5em;
    text-align: center;
    letter-spacing: 0.2em;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 10px;
    outline: none;
    cursor: default;
}

.pin-login-numpad {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

div#privacy_pin_wrapper .pin-login,
div#brandliste_privacy .pin-login {
}

.pin-login-text--error {
    color: #901818;
    background: #ffb3b3;
    animation-name: loginError;
    animation-duration: 0.1s;
    animation-iteration-count: 2;
}

@keyframes loginError {
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

@-moz-keyframes loginError {
    25% {
        transform: translateX(-3px);
    }
    75% {
        transform: translateX(3px);
    }
}

.pin-login-key {
    width: 5rem;
    height: 5rem;
    margin: .5rem;
    color: #363b5e;
    border-radius: 0%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pin-login-key:active {
    background: rgba(0, 0, 0, 0.25);
}

.clearKey {
    color: red;
    font-weight: normal;
}

.button_cancel {
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    margin-left: 0.5rem;
}

.modal_footer_center {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr 1fr;
}

.modal_footer_left {
    display: flex;
    gap: 1.5rem;
}

.modal_footer_left button,
.modal_footer_center button {
    margin: 0;
}

.checkin_checkout_text {
    text-align: center;
}

.navImg {
    padding: 0 .5rem;
}

div.pin-container {
    background-color: white;
    border: 1px solid black;
}

span#brandliste_anon_right {
    text-align: right;
    left: 62%;
    top: 43%;
    position: absolute;
}

#ajax-loading-brandliste {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.brandliste_pin {
    color: gray;
    text-decoration: underline;
    text-align: center;
}

#brandliste_anon_left,
#brandliste_anon_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20rem;
}

#brandliste_anon_left{
    margin-left: 1rem;
    padding-right: 1rem;
}

div#brandliste_anon_left hr,
div#brandliste_anon_right hr {
    background: #0094df;
    height: 0.01rem;
    border: none;
    width: 100%;
    margin: 0;
}

.arrow-down {
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #0094df;
    margin: 1rem 0;
}

span.essen_clicked,
span.active {
    background-color: rgba(255, 232, 31, 0.45);
}

div.ajax_loader_wrapper {
    text-align: center;
}

.ajax_loading {
    position: absolute;
    top: 48%;
    left: 42%;
}

.float-right {
    float: right;
}
.float-left {
    float: left;
}

button#privacy_button {
    width: 100%;
    color: black;
    font-weight: bold;
    padding: 10rem 0;
    font-size: 2rem;
}

button#privacy_button img {
    height: 15rem;
}

h1, h2, h3, h4, h5 {
    font-family: "Segoe UI Light", serif;
}

.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
    text-transform: none;
}

.text-italic {
    font-style: italic;
}

.mt-3 {
    margin-top: 3rem;
}

.my-3 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.w-100 {
    width: 100%;
}

.font-weight-bold {
    font-weight: bold;
}

button.button_accept,
button.button_cancel,
button.button_misc {
    min-width: 135px;
    min-height: 41px;
    text-align: center;
}

div#portal_icons img {
    width: 64px;
    height: 64px;
}

.navIcon {
    display: none;
}

div#modal_extras_options_wrapper img {
    float: left;
}

div#modal_extras_options_wrapper span.row_option {
    display: flex;
}

.ajax-loading,
.ajax-loading-brandliste,
.brandliste-ajax-loading {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

div.ajax-loading-brandliste,
.brandliste-ajax-loading,
.ajax-loading {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.2;
}

.only_below_641 {
    display: initial;
}

.only_above_640 {
    display: none;
}

#brandliste_anon_outer_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#brandliste_anon_center_wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
    justify-content: center;
}


div.top-nav-title {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

div.top-nav-title img {
    margin-right: 3px;
    min-width: 21px;
}

div.top-nav-title span {
    text-overflow: ellipsis;
}

div.top-nav-links {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

div.container {
    padding: 0 1rem;
}

div#portal_icons {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div#portal_icons a, .portal_icons_div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}

div.person_image {
    width: 64px;
}

div.person_details {
    margin-left: 7px;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(100% - 64px);
    overflow: hidden;
}

div.person_details h4 {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.navImg {
    display: block;
}

p.toplevelalert_label {

}

p.toplevelalert_value {
    margin-left: 5px;
}

.button,
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
    padding: 0 2.8rem;

}

footer {
    font-family: Consolas, monospace;
    font-size: 1rem;
    color: #999;
    position: fixed;
    left: 1rem;
    bottom: 0;
}

@media (max-width: 539px ) {
    .navIcon {
        display: block;
    }

    .navImg {
        display: none;
    }

    .top-nav-title, .top-nav-links {
        position: absolute;
    }

    div.top-nav-title {
        width: unset;
        left: 1rem;
        margin: 1rem;
    }

    div.top-nav-links {
        width: unset;
        right: 1rem;
        display: flex;
        align-items: center;
    }

    .navMenu {
        margin-top: 1rem;
    }

    .navMenuOpen {
        align-self: flex-end;
        order: -1;
    }

    .navMenuOpenMore {
        align-self: flex-end;
        order: -1;
    }

    .navMenuOpen img {
        height: 2rem !important;
    }

    .clock {
        display: none;
    }

    .top-nav-links-mobile {
        height: auto;
        position: inherit;
        flex-direction: column;
        width: 100% !important;
    }

    .topNavMobile {
        height: 19rem !important;
    }

    .topNavTitleMobile {
        z-Index: 1;
    }

    .containerMobile {
        top: 14rem;
    }

    .moreNavIconsMobile {
        height: 26rem !important;
    }

    .containerMobileMoreNav {
        top: 22rem;
    }

    .navigationImg {
        margin: 1rem;
        font-size: 2rem;
    }

    .logout {
        font-size: larger;
    }


}

@media (min-width: 440px) {

    div.essensteilnahme_kind,
    div.comeandgo_kind {
        width: 50%;
    }


}

@media (min-width: 576px) {

    div#portal_icons {
        flex-direction: row;
        justify-content: space-evenly;
    }

    nav.top-nav {
        padding: 1rem 2rem;
        height: 6rem;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-content: space-between;
    }

    div.top-nav-title {
        width: initial;
    }

    div.top-nav-links {
        width: initial;
    }

    div.comeandgo_kind_modal_wrapper div.modal_popup {
        max-width: 68%;
    }

    button.groupEntry {
        min-width: 33.33%;
    }

    button.groupEntry:first-child:nth-last-child(1),
    button.groupEntry:first-child:nth-last-child(1) ~ button.groupEntry {
        min-width: 100%;
    }

    button.groupEntry:first-child:nth-last-child(2),
    button.groupEntry:first-child:nth-last-child(2) ~ button.groupEntry {
        min-width: 50%;
    }
}

@media (min-width: 641px) {

    .only_below_641 {
        display: none;
    }

    .only_above_640 {
        display: initial;
    }
}

@media (min-width: 768px) {

    .navImg {
        padding: .5rem 0.8rem;
    }

    main.main {
        padding-top: 6rem;
    }

    div.container {
        padding: 0 2rem;
    }

    h1 {
        font-size: 4.5rem;
    }

    button.groupEntry {
        min-width: 25%;
    }

    button.groupEntry:first-child:nth-last-child(3),
    button.groupEntry:first-child:nth-last-child(3) ~ button.groupEntry {
        min-width: 33.33%;
    }

    span.row_option {
        padding: 1.5rem 1rem;
    }

    #brandliste_anon_center_wrapper {
        display: flex;
        align-items: center;
        width: 100%;
        font-size: 3rem;
        font-weight: bold;
    }


    nav.top-nav {
        font-size: initial;
    }

    div.essensteilnahme_kind,
    div.comeandgo_kind {
        width: 33.33%;
    }

    div.comeandgo_kind_modal_wrapper div.modal_popup {
        max-width: 51%;
    }
}

@media (min-width: 992px) {

    div.comeandgo_kind_modal_wrapper div.modal_popup {
        max-width: 40%;
    }

    button.groupEntry {
        min-width: 20%;
    }

    button.groupEntry:first-child:nth-last-child(4),
    button.groupEntry:first-child:nth-last-child(4) ~ button.groupEntry {
        min-width: 25%;
    }

    div.essensteilnahme_kind,
    div.comeandgo_kind {
        width: 25%;
    }
}

@media (min-width: 1200px) {

    div.comeandgo_kind_modal_wrapper div.modal_popup {
        max-width: 33.33%;
    }

    div.essensteilnahme_kind,
    div.comeandgo_kind {
        width: 20%;
    }
}

@media (max-height: 567px) {

    div.modal_popup {
        overflow: scroll;
    }

}

div.essensteilnahme_kind_modal_wrapper span.row_option {
    display: block;
}

button.button_misc {
    width: 100%;
    color: #fff !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

div.scrolling {
    max-height: 50vh;
    overflow-y: scroll;
}

div.pickup_information_wrapper div.modal_popup,
div.allergy_information_wrapper div.modal_popup {
    max-width: 516px;
    min-width: 500px;
}

div.pickup_information_wrapper div.modal_popup.loading,
div.allergy_information_wrapper div.modal_popup.loading {
    max-width: 516px;
    min-width: initial;
}

div.additional_information_element {
    margin: 0.5rem 0 0 0;
    border: 1px solid black;
    border-radius: 5px;
    display: flex;
    padding: 1rem;
    overflow: hidden;
}

div.additional_information_element img {
    margin: 0 2rem 0 0;
    width: 64px;
    height: 64px;
}

div.pickup_information_wrapper div.additional_information_element:first-child img {
    width: 50px;
    height: 50px;
    margin: 0 calc(2rem + 7px) 0 7px;
}

div.additional_information_element div.flex-rows {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
}

div.additional_information_element div.flex-cols {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

div.additional_information_element > div.flex-cols > div.flex-rows {
  gap: 10rem;
}

div.additional_information_element div.flex-cols > p:first-child {
    font-weight: bold;
}

div.scrolling div.additional_information_element > div.flex-cols > p:nth-child(2),
div.scrolling div.additional_information_element div.flex-rows {
    line-height: 2rem;
    font-size: 1.5rem;
}

div.contact_numbers {
    display: grid;
    grid-template-columns: 1fr 2fr 0.23fr 1fr 2fr;
}

button.open_additional_information,
button.start_break {
    grid-column: span 2;
}

span#additional_information_option_pickup img,
span#additional_information_option_allergy img {
    margin-right: 10px;
}

div.comeandgo_kind_modal_wrapper div.modal_popup {
    max-width: 376px;
}

div.additional_information_options_wrapper div.modal_popup {
    max-width: 516px;
}
