/* 
================================================================================

Theme Name:     Hybrid Theme
Theme URI:      http://www.your-page.de

Description:    Here comes the description of the theme.

Author:         lakeSITE webdesign
Author URI:     http://www.lakesite-webdesign.de

Version:        1.0

Date created:	00/00/2000
Last modified:	00/00/2000

================================================================================
*/




/* ===========================================================================*/
/* ----- 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;}


/* ===========================================================================*/
/* ----- TEMPLATE / THEME ----- */
/*============================================================================*/

/* ----- HEADER ----- */

header {
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100px;
    background: #EEE;

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

    #logo {
        width: 100%;
        height: auto;
        max-width: 250px;
        margin: 0 0 0 5%;
    }

        #logo img {
            width: 100%;
            height: auto;
            display: block;
        }

    nav#main-menu {
        width: auto;
        height: 100%;
        margin: 0 5% 0 0;
    }

        /* 1st Level */
        nav#main-menu ul {
            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 {
                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: #000;
                    text-decoration: none;
                }

                nav#main-menu ul li a:hover {
                    color: #93C01E;
                }

                nav#main-menu ul li.current-menu-item > a,
                nav#main-menu ul li.current-menu-ancestor > a,
                nav#main-menu ul li.current_page_parent > a,
                nav#main-menu ul li.current-page-ancestor > a {
                    color: #93C01E;
                }

        /* 2nd Level */
        nav#main-menu ul li ul {
            position: absolute;
            top: 100px;
            height: auto;
            width: 200px;
            display: none;
            background: #fff;
            padding: 10px 0 10px 0;
            border: 1px solid #EEE;
        }

        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;
                }

    #open-menu {
        display: none;
    }


/* ----- MAIN CONTENT ----- */

main {
    position: relative;

    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;}
}


/* ----- FOOTER ----- */

footer {}


/* ===========================================================================*/
/* ----- BLOCK ADJUSTMENTS ----- */
/*============================================================================*/

/* 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%;
    }

/* 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%;
}


/* ===========================================================================*/
/* ----- FORMS ----- */
/*============================================================================*/

form {
    margin: 0;
    padding: 0;    
}

    fieldset {
        margin: 0;
        padding: 0;
        border: none;
    }
    
        legend {display: none;}
        
        label  {display: block;}
        
        
        /* Input fields */
        select,
        textarea,
        input[type=tel],
        input[type=text],
        input[type=file],
        input[type=date],
        input[type=email],
        input[type=search],
        input[type=number],
        input[type=password] {
            outline: none;
        }
        
        select {}
        
        textarea {}

        input[type=radio],
        input[type=checkbox] {
            
        }        
        
        select:focus,
        textarea:focus,
        input[type=tel]:focus,
        input[type=text]:focus,
        input[type=file]:focus,
        input[type=date]:focus,
        input[type=email]:focus,
        input[type=search]:focus,
        input[type=number]:focus,
        input[type=password]:focus {
            
        }
        
        /* Buttons */
        input[type=submit],
        button[type=submit] {
            
        }
        
        input[type=submit]:hover,
        button[type=submit]:hover {
            
        }
        
        input[type=submit]:active,
        button[type=submit]:active {
            outline: none;
        }


/* ===========================================================================*/
/* ----- BREAKPOINT @ 1200 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 1200px) { 
    
} /* <--- END OF BREAKPOINT */


/* ===========================================================================*/
/* ----- BREAKPOINT @ 800 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 800px) { 
    
/* ----- HEADER ----- */

nav#main-menu {
    position: absolute;
    top: 100px;
    width: 100%;
    height: auto;
    display: none;
}

    /* 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 #EEE;
        }

            nav#main-menu ul li a {
                height: auto;
                padding: 15px 5% 15px 5%;
            }

            nav#main-menu ul li a.has-sub:after {
                position: relative;
                float: right;
                content: "↓";
                margin: 0 0 0 5px;
            }

            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: 88%;
                padding: 10px 5% 10px 7%;
            }

#open-menu {
    position: relative;
    width: 32px;
    height: 32px;
    display: block;
    cursor: pointer;
    margin: 0 5% 0 0;
    transition: all ease 0.4s;
    background: url(img/icon-menu.svg) no-repeat;
    background-size: 100% 100% !important;
}

#open-menu.is-open {
    transform: rotate(180deg);
    background: url(img/icon-close.svg) no-repeat;
}
    
} /* <--- 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) { 

/* Media/Text Block */
.wp-block-media-text .wp-block-media-text__content {
    padding: 0 5% 0 5%;
} 
    
} /* <--- END OF BREAKPOINT */