/*******************************************************
*
Theme Name:
Theme URI:
Description:
Author:        Marko Rothe
License:       none (public domain)
Tags:          CSS Normalisierung und Organisation, 4 Spalten, Streifen in voller Breite, responsiv
*
*******************************************************/

/* || Basis Element Regeln */
:root {
    --orange-01: #ffbe8f;
    --orange-02: #fda96b;
    --orange-03: #f69346;
    --orange-04: #ee7e19;
    --orange-05: #c36819;
    --orange-06: #995318;
    --orange-07: #723f16;
    --blue-grey-050: #f0f4f8;
    --blue-grey-100: #d9e2ec;
    --blue-grey-200: #bcccdc;
    --blue-grey-300: #9fb3c8;
    --blue-grey-400: #829ab1;
    --blue-grey-500: #627d98;
    --blue-grey-600: #486581;
    --blue-grey-700: #334e68;
    --blue-grey-800: #243b53;
    --blue-grey-900: #102a43;
    --anthracite: #383e42;
}


button {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 200;
    padding: 10px 20px;
    background-color: #fcbd00;
    border: solid #fcbd00 1px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    transition-duration: 0.4s;
    margin-bottom: 8px;
}

button:hover {
    background: #ee7e19;
    border: solid #fcbd00 1px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-decoration: none;
}

button:disabled {
    color: #FFFFFF;
    background-color: #aaa;
    border: solid #bbb 1px;
}

/* … */

/* || Progress-Bar */
.stepper-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stepper-item::before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: -50%;
    z-index: 2;
}

.stepper-item::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ccc;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 2;
}

.stepper-item .step-counter {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    margin-bottom: 6px;
}

.stepper-item.active {
    font-weight: bold;
}

.stepper-item.completed .step-counter {
    background-color: #ff6900;
}

.stepper-item.completed::after {
    position: absolute;
    content: "";
    border-bottom: 2px solid #ff6900;
    width: 100%;
    top: 20px;
    left: 50%;
    z-index: 3;
}

.stepper-item:first-child::before {
    content: none;
}

.stepper-item:last-child::after {
    content: none;
}

/* … */

/* || Cards und Untergeordnetes*/
.card {
    background-color: white;
    border-radius: 4px;
    -webkit-box-shadow: 1px 1px 5px 0 rgba(51, 51, 51, 0.9);
    box-shadow: 1px 1px 5px 0 rgba(51, 51, 51, 0.9);
    margin-bottom: 12px;
    margin-top: 12px;
    padding: 16px;
    scroll-snap-align: start;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: normal;
}


.title {
    font-weight: 300;
    font-size: 16px;
    margin: 4px;
}

.preis {
    font-size: 40px;
    color: var(--orange-03);
    text-align: right;
    margin: 4px 16px 4px 4px;
    font-weight: 800;
}

/* … */

.grid input {
    position: relative;
    border: 0;
    width: 60px;
    height: 36px;
    border-radius: 9999px;
    justify-self: center;
    margin: 2px 2px 8px;
}

.grid>div {
    text-align: center;
}

.s0 {
    width: 32px;
    height: 32px;
    color: white;
    background-color: green;
    border-radius: 32px;
    transition: 0.4s ease all;
}

.s0:hover {
    background-color: rgba(0, 128, 0, 0.75);
}


.s3 {
    width: 32px;
    height: 32px;
    color: white;
    background-color: darkred;
    border-radius: 32px;
    transition: 0.2s ease all;
}

.maxslots {
    width: 32px;
    height: 32px;
    color: white;
    background-color: darkred;
    border-radius: 32px;
    transition: 0.2s ease all;
}

.gray {
    background-color: lightgray !important;
}

.today {
    background-color: lightgreen !important;
}

.s12 {
    width: 32px;
    height: 32px;
    color: white;
    background-color: darkorange;
    border-radius: 32px;
    transition: 0.4s ease all;
}

.s12:hover {
    background-color: rgba(255, 140, 0, 0.75);

}

.yes:hover,
.tw:hover {
    background-color: var(--blue-grey-400);
}

/* From uiverse.io by @victoryamaykin */
.switch {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 34px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3C3C3C;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: orange;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(85px);
}

/*------ ADDED CSS ---------*/
.slider:after {
    content: 'Nein';
    color: white;
    display: block;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    font-size: 16px;
}

input:checked+.slider:after {
    content: 'Ja';
}


/* || Formularfelder */
.form-group {
    position: relative;
    padding: 20px 0 0;
    margin-top: 10px;
}

.form-field {
    font-family: inherit;
    width: 100%;
    border-top-style: none;
    border-right-style: none;

    border-left-style: none;
    outline: 0;
    font-size: 17px;
    color: var(--blue-grey-900);
    padding: 7px 0;
    padding-left: 0px;
    background: #f2f2f2;
    border-radius: 20px;
    padding-left: 15px;
    margin-top: 11px;
}


.form-field::placeholder {
    color: transparent;
}

.form-field:placeholder-shown~.form-label {
    font-size: 17px;
    cursor: text;
    top: 35px;
}

.form-label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 17px;
    color: var(--anthracite);
    pointer-events: none;
    margin-left: 15px;
}


.form-field:focus~.form-label {
    position: absolute;
    top: 0;
    display: block;
    transition: 0.2s;
    font-size: 12px;
    color: #383e42;
    font-weight: 500;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 10px 0;
    width: 100%;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 12.8px;
    cursor: pointer;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: var(--orange-02);
    border-radius: 25px;
    border: 0px solid #000101;
    transition: 0.4s;
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 24px;
    width: 24px;
    border-radius: 12px;
    background: var(--orange-05);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: var(--orange-03);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 12.8px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    background: var(--orange-02);
    border-radius: 25px;
    border: 0px solid #000101;
}

input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 24px;
    width: 24px;
    border-radius: 12px;
    background: var(--orange-05);
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 12.8px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 39px 0;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: var(--orange-02);
    border: 0px solid #000101;
    border-radius: 50px;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}

input[type=range]::-ms-fill-upper {
    background: var(--orange-02);
    border: 0px solid #000101;
    border-radius: 50px;
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
}

input[type=range]::-ms-thumb {
    box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
    border: 0px solid #000000;
    height: 20px;
    width: 39px;
    border-radius: 7px;
    background: #65001c;
    cursor: pointer;
}

input[type=range]:focus::-ms-fill-lower {
    background: #ac51b5;
}

input[type=range]:focus::-ms-fill-upper {
    background: #ac51b5;
}

/* … */

/* || Normalisierungen */
.width20 {
    width: 20%;
}

.width40 {
    width: 40%;
}

.width-auto {
    width: auto;
}

.text-center {
    text-align: center;
}

.left {
    justify-content: flex-start;
}

.right {
    justify-content: flex-end;
}

.center-h {
    align-self: center;
}

.center-v {
    align-self: center;
}

.flex-left {
    justify-content: flex-start;
}

.flex-right {
    justify-content: flex-end;

}

.flex-center-h {
    justify-content: center;
}

.flex-center-v {
    align-items: center;
}

.hidden {
    display: none !important;
}

.padding4 {
    padding: 4px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
}

.round {
    border-radius: 50%;
}

.round:hover {
    border-radius: 50%;

}

.gap4 {
    gap: 4px;
}

.gap8 {
    gap: 8px;
}

.gap16 {
    gap: 16px;
}

.monat {
    text-align: center;
    color: var(--anthracite);
    font-weight: 600;
    font-size: larger;
}

.m-t-4 {
    margin-top: 4px;
}

.m-t-8 {
    margin-top: 8px;
}

.m-t-12 {
    margin-top: 12px;
}

.m-t-16 {
    margin-top: 16px;
}

.m-b-4 {
    margin-bottom: 4px;
}

.m-b-8 {
    margin-bottom: 8px;
}

.m-b-12 {
    margin-bottom: 12px;
}

.m-b-16 {
    margin-bottom: 16px;
}

.m-r-4 {
    margin-right: 4px;
}

.m-r-8 {
    margin-right: 8px;
}

.m-r-12 {
    margin-right: 12px;
}

.m-r-16 {
    margin-right: 16px;
}

.m-l-4 {
    margin-left: 4px;
}

.m-l-8 {
    margin-left: 8px;
}

.m-l-12 {
    margin-left: 12px;
}

.m-l-16 {
    margin-left: 16px;
}

.p-l-light {
    padding-left: 4px;
}

.p-l-medium {
    padding-left: 8px;
}

.p-l-heavy {
    padding-left: 16px;
}

.p-r-light {
    padding-right: 4px;
}

.p-r-medium {
    padding-right: 8px;
}

.p-r-heavy {
    padding-right: 16px;
}

.p-t-light {
    padding-top: 4px;
}

.p-t-medium {
    padding-top: 8px;
}

.p-t-heavy {
    padding-top: 16px;
}

.p-b-light {
    padding-bottom: 4px;
}

.p-b-medium {
    padding-bottom: 8px;
}

.p-b-heavy {
    padding-bottom: 16px;
}

.h3 {
    font-weight: 300;
    font-size: 16px;
    margin: 4px;
}

.erwachsenenEssenSelectDiv {
    position: absolute;
    margin-top: 8px;
    margin-left: 8px;
    display: flex;
    transition: 0.4s ease all;
}

.klickdurch {
    text-align: center;
    pointer-events: none;
}

.bold {
    font-weight: bold;
}

/* … */
/* || Modale Elemente */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);

}

/* Modal Content */
.modal-content {
    display: flex;
    gap: 8px;
    flex-direction: column;
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 20%;
    border-radius: 4px;
}

.close {
    margin-top: auto;
    margin-bottom: auto;
}

.close-hover {
    color: var(--blue-grey-500);
    transition: 0.4s;
}

.close-hover:hover {
    color: var(--blue-grey-800);
}

/* … */


/** Universelle Stile für alle Monitorgrößen **/

/** Ab 1250 Breite **/

/* Sonstiges */
.reply {
    transform: scaleX(-1) rotate(-90deg);
}

.image16 {
    align-self: center;
    width: 16px;
    height: 16px
}

.image24 {
    align-self: center;
    width: 24px;
    height: 24px
}

.image32 {
    align-self: center;
    width: 32px;
    height: 32px
}

.image40 {
    align-self: center;
    width: 40px;
    height: 40px
}

.image48 {
    align-self: center;
    width: 48px;
    height: 48px
}

.food-image {
    border-radius: 6px;
    margin: 2px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Das Standard-Kontrollkästchen des Browsers ausblenden */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Ein benutzerdefiniertes Kontrollkästchen erstellen */
.checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border-radius: 2px;
    background-color: var(--blue-grey-300);
    transition: 0.4s;
}

/* Bei Mouse-over eine graue Hintergrundfarbe hinzufügen */
.checkbox-container:hover input~.checkbox-checkmark {
    background-color: var(--blue-grey-500);
}

/* Wenn das Kontrollkästchen aktiviert ist, wird ein blauer Hintergrund hinzugefügt.d */
.checkbox-container input:checked~.checkbox-checkmark {
    background-color: var(--orange-05);
}

/* Erstellen Sie das Häkchen/den Indikator (ausgeblendet, wenn nicht markiert) */
.checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* as Häkchen anzeigen, wenn es markiert ist */
.checkbox-container input:checked~.checkbox-checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkbox-checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.modal-button-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: flex-start;
    flex-direction: row;
    gap: 8px;
    padding: 4px;
}

.food-button {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 8px;
    color: var(--blue-grey-900);
    font-size: 14px;
    font-weight: 500;
    border: solid var(--blue-grey-800) 1px;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: 0.4s ease all;
    background-color: white;
}

.food-button:hover {
    background-color: rgb(253, 206, 183);
    border: solid var(--blue-grey-600) 1px;
}

.food-button-modal {
    border: solid var(--blue-grey-800) 2px;
    border-radius: 2px;
    position: relative;
    height: 64px;
    width: 64px;
    transition: 0.8s;
}

.food-button-modal:hover {
    border: solid var(--blue-grey-300) 2px;

}

.food-description {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(29, 106, 154);
    color: #fff;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
    margin: 0;
}

.food-button-modal:hover .food-description {
    visibility: visible;
    opacity: 1;
}

.resetFood {
    border: none;
}

.select {
    font-size: 20px;
    background-color: rgba(255, 69, 0, 0.2);
    font-weight: 400;
    border: 1px black solid;
    border-radius: 8px;
    margin-right: 0;
    padding: 0;
    transition: .4s;
}

.select:hover {
    background-color: rgba(255, 190, 143, 0.5);
}

.selectActive {
    background-color: white;
}

.select-button {
    background-color: white;
    border: 1px black solid;
    border-radius: 0px 8px 8px 0px;
    border-left-style: none;
    padding: 10px 0;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    transition-duration: 0.4s;
}

.select-button:hover {
    background-color: white;
    border: 1px black solid;
    border-radius: 0px 8px 8px 0px;
    border-left-style: none;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    transition-duration: 0.4s;
}

.food-button-content {
    position: absolute;
    display: none;
    opacity: 0;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    margin-top: 60px;
    margin-left: 10px;
    transition: 2s ease all;
    border-radius: 4px;
    background: white;
}

.visible {
    display: flex;
    opacity: 1;
    transition: 2s;
}

.dessH3 {
    font-weight: bold;
    width: 100%;
    text-align: center;
    margin: auto 4px;
}


.count {
    font-size: 20px;
    font-weight: 400;
    border: 1px black solid;
    border-radius: 8px;
    margin-right: 0;
    padding: 0px;
    transition: .4s;
}

.cred {
    background-color: orangered;
}

.cgreen {
    background-color: limegreen;
}

.dropdown {
    width: 30rem;
    position: relative;
}

.dropdown:hover .dropdown-list {
    opacity: 1;
    visibility: visible;
}

.dropdown-select {
    padding: 1.1rem;
    border-radius: 4px;
    background-color: var(--orange-01);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: normal;
    cursor: pointer;
}

.dropdown-list {
    border-radius: 4px;
    background-color: var(--orange-02);
    position: absolute;
    top: 80%;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s linear, visibility 0.2s linear;
    transform: translateY(10px);
    z-index: 100;
}

.dropdown-list:before {
    content: "";
    width: 100%;
    height: 10px;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
}

.dropdown-list__item {
    display: flex;
    align-items: center;
    justify-content: left;
    cursor: pointer;
    padding: .5rem;
    font-size: 1rem;
    transition: .4s all;
    gap: 8px;
}

.dropdown-list__item:hover {
    background-color: #eee;
}

.icon {
    content: url("https://via.placeholder.com/42");
    border-radius: 3px;
}

.overlay {
    position: absolute;
    background-color: var(--orange-01);
    width: 80%;
}

.monthupdown {
    filter: invert(1);
    height: 16px;
    width: 16px;
}

.simpleButton {
    padding: 2px 8px;
    border-radius: 2px;
    background-color: var(--orange-01);
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    height: fit-content;
    margin: auto;
}

.foodlistitemspanprice {
    font-size: 14px;
    font-weight: bold;
    margin-left: 4px;
}

@media (pointer: none),
(pointer: coarse) {
    form {
        width: 100%;
        margin: auto;
        min-height: 580px;
    }

    .form-group {
        margin: auto;
    }

    .form-field {
        width: 100%;
        height: 80px;
        font-size: 1em;
    }

    .form-field:placeholder-shown~.form-label {
        font-size: 1em;
    }

    .form-field:focus~.form-label {
        position: absolute;
        top: 0;
        display: block;
        transition: 0.2s;
        font-size: 1em;
        color: #383e42;
        font-weight: 500;
    }

    .form-label {
        font-size: 1.2em;
    }

    .force-column {
        flex-direction: column !important;

    }

    .force-row {
        flex-direction: row !important;
        justify-content: space-between;
    }


    .width40 {
        width: 100%;
    }

    .grid input {
        font-size: 1em;
        width: auto;
        height: auto;
        min-width: 2em;
        min-height: 2em;
    }

    .grid div {
        font-size: 24px;
        text-align: center;
    }

    .monat {
        font-size: 1em;
    }

    .klickdurch {
        font-size: 1em;
    }

    .frame {
        width: 90%;
        margin: auto;
        min-height: 580px;
    }

    button {
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 12px;
        color: #FFFFFF;
        font-size: 1em;
        font-weight: bold;
        padding: 10px 20px;
        background-color: #fcbd00;
        border: solid #fcbd00 1px;
        text-decoration: none;
        display: inline-block;
        cursor: pointer;
        text-align: center;
        transition-duration: 0.4s;
        margin-bottom: 8px;
    }

    button:disabled {
        color: #FFFFFF;
        background-color: #aaa;
        border: solid #bbb 1px;
    }

    .monthupdown {
        filter: invert(1);
    }

    .dropdown {
        width: 20rem;
    }
}