﻿.menu-root {
    padding: 2rem 1rem;
}

    .menu-root .menu-horizontal-container {
        display: flex;
        flex-wrap: nowrap;
    }

    .menu-root .menu-catgroupitemlist-flex-wrapper {
        flex-grow: 1;
        flex-shrink: 1; /* IE */
        width: 100%; /* IE */
    }

    .menu-root .menu-catgroupitemlist-wrapper {
        display: flex;
        flex-wrap: nowrap;
    }

    .menu-root .menu-grouplist-flex-wrapper {
        width: 200px;
        flex-shrink: 0;
    }

    .menu-root .menu-grouplist-wrapper {
        width: 200px;
    }

    .menu-root .menu-groupitemlist-wrapper {
        flex-grow: 1;
        flex-shrink: 1; /* IE */
        width: 100%; /* IE */
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .menu-root .menu-cart-flex-container {
        width: 300px;
        flex-shrink: 0;
    }

    .menu-root .menu-cart-container {
        width: 300px;
    }

    .menu-root .menu-cart-container-inner {
        box-sizing: border-box;
        padding: 0.25rem 0;
        border: 1px solid #d0d0d0;
        border-radius: 0.25em;
        box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
        background-color: white;
    }

    .menu-root .menu-cartviewmenu-link {
        display: none;
    }

    .menu-root .menu-categories-wrapper {
        display: flex;
        flex-wrap: wrap;
        padding: 1rem 0;
    }

    .menu-root .menu-category-link {
        display: block;
        flex-shrink: 0;
        font-size: 1rem;
        padding: 0.5rem 1rem;
        color: #357a00;
        background-color: transparent;
        border: 1px solid #357a00;
        border-radius: 100rem;
        margin: 0 0.25rem 0.25rem 0;
        text-decoration: none;
        cursor: pointer;
    }

        .menu-root .menu-category-link:hover {
            background-color: white;
        }

        .menu-root .menu-category-link[data-selected="true"] {
            color: white;
            background-color: #357a00;
        }

    .menu-root .menu-category-padding {
        display: none;
        width: 1rem;
        height: 1rem;
        flex-shrink: 0;
    }

    .menu-root .menu-group-link {
        display: block;
        font-size: 1rem;
        padding: 0.5rem;
        color: #737373;
        background-color: transparent;
        border-left: 0.25rem solid transparent;
        text-decoration: none;
        cursor: pointer;
    }

        .menu-root .menu-group-link:hover {
            background-color: white;
        }

        .menu-root .menu-group-link[data-selected="true"] {
            color: #357a00;
            border-left: 0.25rem solid #357a00;
        }

    .menu-root .menu-groupitem-wrapper {
        margin-bottom: 2rem;
    }

    .menu-root .menu-groupheader-wrapper {
        border-bottom: 1px solid #357a00;
        margin-bottom: 0.5rem;
    }

    .menu-root .menu-groupheader-name {
        font-size: 1.5rem;
        color: #357a00;
        margin-bottom: 0.25rem;
        position: relative;
    }

    .menu-root .menu-groupheader-showpopuplink {
        display: none;
        position: absolute;
        z-index: 0;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        text-align: right;
        text-decoration: none;
        cursor: pointer;
    }

    .menu-root .menu-groupheader-showpopuplink-icon {
        font-size: 2rem;
        vertical-align: top;
    }

    .menu-root .menu-groupheader-desc {
        font-size: 0.9rem;
        color: #737373;
        margin-bottom: 0.25rem;
    }

    .menu-root .menu-item-link-wrapper {
        margin-bottom: 0.5rem;
    }

    .menu-root .menu-item-link {
        display: flex;
        flex-wrap: nowrap;
        border: 1px solid #d0d0d0;
        border-radius: 0.25rem;
        box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
        background-color: white;
        padding: 1rem;
        text-decoration: none;
        cursor: pointer;
    }

        .menu-root .menu-item-link:hover {
            border: 1px solid #183792;
        }

    .menu-root .menu-item-link-image {
        width: 5rem;
        height: 5rem;
        border-radius: 0.25rem;
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .menu-root .menu-item-link-info {
        flex-grow: 1;
        flex-shrink: 1; /* IE */
        width: 100%; /* IE */
    }

    .menu-root .menu-item-link-itemname {
        font-size: 1rem;
        font-weight: 500;
        color: #4a4a4a;
    }

    .menu-root .menu-item-link-spicy {
        display: inline-block;
        font-size: 1rem;
        color: #bf2e08;
        vertical-align: top;
    }

    .menu-root .menu-item-link-popular {
        display: inline-block;
        font-size: 1rem;
        color: #3a8700;
        vertical-align: top;
    }

    .menu-root .menu-item-link-itemnondiscountable {
        font-size: 0.8rem;
        color: #ae3b1d;
        margin-top: 0.5rem;
    }

    .menu-root .menu-item-link-itemdesc {
        font-size: 0.9rem;
        color: #767676;
        margin-top: 0.5rem;
    }

    .menu-root .menu-item-link-price {
        font-size: 1rem;
        color: #3a8700;
        padding-left: 1rem;
        flex-shrink: 0;
    }

    .menu-root .menu-prevnext-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .menu-root .menu-prevnext-link {
        display: block;
        font-size: 1.25rem;
        padding: 0.5rem;
        width: 8rem;
        text-align: center;
        color: white;
        background-color: #737373;
        border-radius: 0.25rem;
        text-decoration: none;
        cursor: pointer;
    }

        .menu-root .menu-prevnext-link[data-category-id] {
            background-color: #183792;
        }

    .menu-root .menu-prev-link {
        margin-right: 0.5rem;
    }

    .menu-root .menu-next-link {
        margin-left: 0.5rem;
    }

    .menu-root .menu-grouplist-popup-root {
        display: none;
    }

    .menu-root .menu-grouplist-popup-background {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        z-index: 1;
    }

    .menu-root .menu-grouplist-popup-dialog {
        width: 100%;
        background-color: white;
        border-radius: 0.25rem;
        padding-bottom: 0.25rem;
    }

    .menu-root .menu-grouplist-popup-dialog-header {
        padding: 1rem;
        font-size: 1.25rem;
        font-weight: bold;
    }

    .menu-root .menu-grouplist-popup-dialog-list {
        max-height: calc(100vh - 10rem);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .menu-root .menu-grouplist-popup-dialog-row {
        display: block;
        font-size: 1rem;
        padding: 1rem;
        color: #4a4a4a;
        background-color: white;
        border-left: 0.25rem solid transparent;
        text-decoration: none;
        cursor: pointer;
    }

        .menu-root .menu-grouplist-popup-dialog-row:hover {
            background-color: #FAFAFA;
        }

        .menu-root .menu-grouplist-popup-dialog-row[data-selected="true"] {
            color: #357a00;
            border-left: 0.25rem solid #357a00;
        }

    .menu-root .menu-vieworder-link {
        display: none;
    }

    .menu-root .menu-scrolltop-link {
        display: block;
        position: fixed;
        z-index: 0;
        right: 1rem;
        bottom: 1rem;
        width: 32px;
        height: 32px;
        opacity: 0.5;
    }

        .menu-root .menu-scrolltop-link[data-show-on-large-screen='false'] {
            display: none;
        }

    .menu-root .menu-scrolltop-image {
        width: 100%;
        height: 100%;
    }

@media (max-width: 1280px) {
    .menu-root .menu-scrolltop-link {
        display: none;
    }
}

@media (max-width: 992px) {
    .menu-root .menu-grouplist-flex-wrapper {
        display: none;
    }

    .menu-root .menu-groupitemlist-wrapper {
        padding-left: 0;
    }

    .menu-root .menu-groupheader-name {
        padding-right: 2rem;
    }

    .menu-root .menu-groupheader-showpopuplink {
        display: block;
    }
}

@media (max-width: 768px) {
    .menu-root {
        padding: 2rem 0;
    }

        .menu-root .menu-groupitemlist-wrapper {
            padding-left: 1rem;
            padding-right: 1rem;
        }

        .menu-root .menu-cart-flex-container {
            display: none;
        }

            .menu-root .menu-cart-flex-container[data-show-on-small-screen='true'] {
                display: block;
                position: fixed;
                width: 0;
                height: 0;
            }

        .menu-root .menu-cart-container-inner {
            position: fixed;
            border: none;
            border-radius: 0;
            box-shadow: none;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
        }

        .menu-root .menu-cartviewmenu-link {
            display: block;
            margin: 1rem;
            text-align: center;
        }

        .menu-root .menu-categories-wrapper {
            flex-wrap: nowrap;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .menu-root .menu-category-padding {
            display: block;
        }

        .menu-root .menu-prevnext-link {
            width: 50%;
        }

        .menu-root .menu-vieworder-link[data-show-on-small-screen='true'] {
            display: block;
            position: fixed;
            z-index: 0;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 1rem;
            text-align: center;
            font-size: 1.25rem;
            font-weight: 500;
            color: white;
            background-color: #3a8700;
            box-shadow: 0px -2px 5px rgba(0,0,0,0.5);
        }

            .menu-root .menu-vieworder-link[data-show-on-small-screen='true']:hover {
                background-color: #317000;
            }
}


/* MENU GROUP HEADER IMAGES */

.menu-root .menu-group-header-image-round {
    width: 7rem;
    height: 7rem;
    border-radius: 100%;
    margin-right: 1rem;
    margin-bottom: 0.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.menu-root .menu-item-link-image-round {
    width: 6rem;
    height: 6rem;
    border-radius: 100%;
    margin-right: 1rem;
    flex-shrink: 0;
}

.menu-root .menu-group-header-image-round-title-wrapper {
    flex-grow: 1;
    flex-shrink: 1; /* IE */
    width: 100%; /* IE */
    display: flex;
    flex-direction: column;
    align-self: center;
}

.menu-root .menu-group-header-image-large {
    height: 150px;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
    margin-bottom: 1em;
}