/* 
================================================================================

Theme Name:     Taverna Orexi München
Theme URI:      http://www.orexi-muenchen.de

Description:    Taverna Orexi in München Pasing. Griechische Spezialitäten.

Author:         lakeSITE webdesign
Author URI:     http://www.lakesite-webdesign.de

Version:        1.0

Date created:	20/05/2026
Last modified:	20/05/2026

================================================================================
*/




/*============================================================================*/
/* ----- GENERAL ----- */
/*============================================================================*/

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* for fixed headers */
}

body {
    padding: 0;
    height: 100%;
    margin: 0px auto;
}


    /* Text selection */
    ::selection {background: #000; color: #fff;}
    ::-moz-selection { background: #000; color: #fff;}

    /* Lists */
    main ul {
        list-style: square;
    }

    /* Images */
    a img {border: none;transition: all ease 0.4s;}
    a img:hover {opacity: 0.75;}

    /* Headlines */
    h1, h2, h3 {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto; 
    }


/*============================================================================*/
/* ----- TEMPLATE & THEME ----- */
/*============================================================================*/

/* ----- HEADER ----- */

header {
    position: fixed;
    top: 0;
    height: 0;
    width: 100%;
    z-index: 10;
}

    .header-inner-container {
        height: 80px;
        border-bottom: 1px solid var(--wp--preset--color--light-grey)
    }

        .header-inner-container > .wp-block-columns {
            height: 100%;
        }

            .header-inner-container > .wp-block-columns > .wp-block-column {
                height: 100%;
                display: grid;
            }

    /* ----- Logo ----- */

    .wp-block-site-logo {
        align-self: center;
    }

    /* ----- Main Menu -----. */

    nav#main-menu {
        width: auto;
        height: 100%;
        justify-self: flex-end;
    }

        /* 1st Level */
        nav#main-menu ul {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            list-style: none;

            display: flex;
            flex-wrap: wrap;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }

            nav#main-menu ul li {
                margin: 0;
                padding: 0;
                width: auto;
                height: 100%;
                
                display: flex;
                align-items: center;
            }

                nav#main-menu ul li a {
                    width: auto;
                    display: block;
                    padding: 0 20px 0 20px;
                    transition: all ease 0.4s;

                    color: var(--wp--preset--color--monaco-blue);
                    font-size: 1rem;
                    letter-spacing: 0.5px;
                    text-decoration: none;
                    text-transform: uppercase;
                }

                nav#main-menu ul li a:hover {
                    color: var(--wp--preset--color--french-blue);
                }

                nav#main-menu ul li.button a {
                    border-radius: 5px;
                    margin: 0 0 0 20px;
                    padding: 4px 10px 4px 10px;
                    box-shadow: 0 2px 2px rgba(0,0,0,.3);
                    color: var(--wp--preset--color--white);
                    background: var(--wp--preset--color--lime);
                }

                nav#main-menu ul li.button a:hover {
                    background: var(--wp--preset--color--french-blue);
                }

        /* 2nd Level */
        nav#main-menu ul li ul {
            position: absolute;
            top: 79px;
            height: auto;
            width: auto;
            display: none;
            background: #fff;
            padding: 10px 0 10px 0;
            border: 1px solid var(--wp--preset--color--light-grey);
        }

        nav#main-menu ul li:hover ul {
            display: block;

            animation-name: menu-dd;
            animation-duration: 0.4s;
            animation-iteration-count: 1;
            animation-direction: alternate;
            animation-timing-function: ease-in-out;
            animation-fill-mode: forwards;            
        }

        @keyframes menu-dd {
            0%   {opacity: 0;}
            100% {opacity: 1;}
        }

            nav#main-menu ul li ul li {
                width: 100%;
            }

            nav#main-menu ul li ul li.overview {
                display: none;
            }

                nav#main-menu ul li ul li a {
                    margin: 0;
                    height: auto;
                    padding: 10px 20px 10px 20px;
                }

    /* ----- Menu Button ----- */
    #menu-btn {display: none;}


/* ----- MAIN CONTENT ----- */

main {
    position: relative;
    padding-top: 80px;
    overflow: hidden;

    animation-name: starting;
    animation-duration: 1.2s;
    animation-iteration-count: 1;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes starting {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/* Lightbox adjustments */
.pswp__bg {
    background: rgba(255, 255, 255, 0.95) !important;
}

.pswp__icn {
    fill: var(--wp--preset--color--french-blue);
    color: var(--wp--preset--color--white);
}

.pswp__icn-shadow {
    stroke: var(--wp--preset--color--white);
}

/* Menu Card */
ul.food-tab-links {
    list-style: none;

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

    ul.food-tab-links li {
        margin: 0 0 10px 0
    }

        ul.food-tab-links li a {
            font-weight: bold;
            padding: 0 0 10px 0;
            transition: all ease 0.4s;
            border-bottom: 2px solid transparent;
        }

        ul.food-tab-links li.active a {
            color: var(--wp--preset--color--sky-blue);
            border-bottom: 2px solid var(--wp--preset--color--sky-blue) !important; 
        }

        ul.food-tab-links li a:hover {
            text-decoration: none;
            border-bottom: 2px solid var(--wp--preset--color--french-blue);
        }

.food-tab-content {
    margin: 20px 0 20px 0;
    transition: all ease 0.4s;

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

    .food-tab-sub-cat {
        width: 100%;
        margin: 40px 0 40px 0;
        padding: 0 0 10px 0;
        border-bottom: 1px solid var(--wp--preset--color--monaco-blue);

        font-weight: 700;
        color: var(--wp--preset--color--monaco-blue);
        font-size: var(--wp--preset--font-size--large);
        font-family: var(--wp--preset--font-family--merriweather);
    }

    .food-entry {
        width: 46%;
        margin: 0 0 20px 0;
        padding: 0 0 20px 0;
        border-bottom: 1px solid var(--wp--preset--color--sky-blue);
    }

        .food-entry table {
            width: 100%
        }
    
            .food-entry table tr {
                vertical-align: top;
            }

                .food-entry table tr td:first-child {
                    width: 75%;
                }

                .food-entry table tr td:last-child {
                    width: 25%;
                    text-align: right;
                }

                .food-title,
                .food-price {
                    font-weight: 700;
                    font-size: clamp(1.125rem, 0.333vw + 1rem, 1.25rem);
                    color: var(--wp--preset--color--french-blue);                    
                    font-family: var(--wp--preset--font-family--merriweather);
                }

                .food-title {
                    margin: 0 10px 0 0;
                }

                .food-tag {
                    font-weight: 700;
                }

                    .glutenfrei {
                        color: var(--wp--preset--color--sky-blue);
                    }

                    .glutenhaltig {
                        color: var(--wp--preset--color--red);
                    }

                    .vegan,
                    .vegetarisch {
                        color: var(--wp--preset--color--lime);
                    }


/* ----- FOOTER ----- */

footer {
    position: relative;
}


/*============================================================================*/
/* ----- BLOCK ADJUSTMENTS ----- */
/*============================================================================*/

.has-global-padding :where(.has-global-padding:not(.wp-block-block)) {
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
}

/* Group Block */
/*
.wp-block-group.alignfull .wp-block-group__inner-container {
    padding-left: 5%;
    padding-right: 5%;
}
*/

/* Columns Block */
/*
.wp-block-columns.alignfull > :first-child {
    padding-left: 5%;
}

.wp-block-columns.alignfull > :last-child {
    padding-right: 5%;
}
*/

/* Media/Text Block */
.wp-block-media-text .wp-block-media-text__content {
    padding: 0 8% 0 8%;
}

/* Optional:
.wp-block-media-text .wp-block-media-text__content {
    padding: 0 0 0 8%;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding: 0 8% 0 0;
}
*/

/* Cover Block */
.wp-block-cover {
    padding: 0;
}

    .wp-block-cover.alignfull .wp-block-cover__inner-container {
        padding-left: 5%;
        padding-right: 5%;
    }

/* Buttons Block */
.wp-block-button {
    transition: all ease 0.4s;
}

.wp-block-button:hover {
    transform: scale(1.05);
}

.wp-block-gallery .wp-block-image {
    overflow: hidden;
}

.wp-block-gallery .wp-block-image img:hover {
    transform: scale(1.25);
}

/* File Block */
.wp-block-file {
    font-size: 1rem !important; 
}

.wp-block-file a:first-child:before {
    position: relative;
    float: left;
    width: 32px;
    height: 32px;
    content: "";
    display: block;
    margin: -4px 6px 0 0;
    background-color: #000;

    mask: url(img/icon-download.svg) no-repeat;
    -webkit-mask: url(img/icon-download.svg) no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}

/* Carousel Block */
.wp-block-cb-carousel .slick-slide {
    padding: 0;
}

.wp-block-cb-carousel .slick-dots {
    padding: 0;
    bottom: 20px;
}

.wp-block-cb-carousel .slick-dots li button:before {
    font-size: 12px;
    color: var(--wp--preset--color--french-blue);
}

.wp-block-cb-carousel .slick-next:before, 
.wp-block-cb-carousel .slick-prev:before {
    color: var(--wp--preset--color--french-blue);
}


/*============================================================================*/
/* ----- BLOCK EDITOR ADJUSTMENTS ----- */
/*============================================================================*/

/* Seitentitel */
.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
    font-size: 10px;
    margin: 0 !important;
    text-align: center;
    border-bottom: 1px solid #E0E0E0;
}

    .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper h1 {
	    font-size: 1rem;
        line-height: 1.4;
        font-weight: 700;
        color: #252525;
	    font-style: none;
        text-transform: none;
        margin: 0 auto !important;
        padding: 10px 0 10px 0 !important;
        font-family: var(--wp--preset--font-family--system-font);
    }


/*############################################################################*/
/* ----- BREAKPOINT @ 1024 Pixel ----- */
/*############################################################################*/

@media only screen and (max-width: 1024px) { 
    
/* ----- HEADER ----- */

.header-inner-container {
    height: 60px;
}

.wp-block-site-logo img {
    width: 100px;
}

nav#main-menu {
    position: absolute;
    top: 59px;
    width: 50%;
    height: calc(100vh - 60px);
    right: -100vw;
    transition: all ease 0.4s;
    background: var(--wp--preset--color--white);
    border-left: 1px solid var(--wp--preset--color--light-grey);
}

nav#main-menu.opened {
    right: 0;
}

    /* 1st Level */
    nav#main-menu ul {
        height: auto;
        display: block;
        overflow-y: auto;
        max-height: 100vh;
    }

        nav#main-menu ul li {
            width: 100%;
            height: auto;
            display: block;
            border-top: 1px solid var(--wp--preset--color--light-grey);
        }

            nav#main-menu ul li a,
            nav#main-menu ul li.button a {
                margin: 0;
                height: auto;
                border-radius: 0;
                padding: 15px 5% 15px 5%;
            }

            nav#main-menu ul li a.has-sub:after {
                position: relative;
                float: right;
                content: "↓";
                margin: 0 8px 0 0;
            }

            nav#main-menu ul li a.has-sub.sub-open:after {
                content: "↑"
            }

    /* 2nd Level */
    nav#main-menu ul li ul,
    nav#main-menu ul li:hover ul {
        position: relative;
        top: 0;
        padding: 0;
        width: 100%;
        display: none;
        border: none;
    }

    @keyframes menu-dd {
        0%   {opacity: 1;}
        100% {opacity: 1;}
    }

        nav#main-menu ul li ul li.overview {
            display: block;
        }

            nav#main-menu ul li ul li a {
                width: 85%;
                padding: 10px 5% 10px 10%;
            }

#menu-btn {
    position: relative;
    width: 24px;
    height: 24px;
    display: block;
    cursor: pointer;
    margin: 0 0 0 0;
    align-self: center;
    justify-self: flex-end;
    background: var(--wp--preset--color--french-blue);
    transition: all ease 0.4s;
    mask: url(assets/img/icon-menu.svg) no-repeat;
    mask-size: 100% 100% !important;
    -webkit-mask: url(assets/img/icon-menu.svg) no-repeat;
    -webkit-mask-size: 100% 100% !important;
}

#menu-btn.is-open {
    transform: rotate(180deg);
    mask: url(assets/img/icon-close.svg) no-repeat;
    -webkit-mask: url(assets/img/icon-close.svg) no-repeat;
}


/* ----- MAIN CONTENT ----- */

main {
    padding-top: 60px;
}

/* Menu Card */
ul.food-tab-links {
    justify-content: flex-start;
}

    ul.food-tab-links li {
        flex-basis: 33.3333%;
    }

        ul.food-tab-links li a { 
            padding: 0 0 2px 0;
        }

.food-entry {
    width: 100%;
}

    
} /* <--- END OF BREAKPOINT */


/*############################################################################*/
/* ----- BREAKPOINT @ 780 Pixel ----- */
/*############################################################################*/

@media only screen and (max-width: 780px) { 
 
/* Columns Block */
/*
.wp-block-columns.alignfull > .wp-block-column {
    padding-left: 5%;
    padding-right: 5%;
}
*/

} /* <--- END OF BREAKPOINT */


/*############################################################################*/
/* ----- BREAKPOINT @ 600 Pixel ----- */
/*############################################################################*/

@media only screen and (max-width: 600px) { 

nav#main-menu {
    width: 100%;
}

/* Media/Text Block */
.wp-block-media-text .wp-block-media-text__content {
    padding: 0;
} 

.wp-block-media-text.alignfull .wp-block-media-text__content,
.wp-block-media-text.has-background .wp-block-media-text__content {
    padding: 0 5% 0 5%;
}
    
} /* <--- END OF BREAKPOINT */