﻿/*
    This SCSS module contains the styles necessary for displaying and animating
    the main navigation menu, on both Desktop and Mobile devices.
*/

/*** DEFAULT STYLES ***/
.nav_hamburgerbtn {
    display: none;
}

    .nav_hamburgerbtn > img {
        height: 100px;
    }

.nav {
}

    .nav a {
        color: #FFF;
        text-decoration: none;
    }

        .nav a:hover {
            text-decoration: underline;
        }


/*** MOBILE STYLES ***/
@media only screen and (max-width: 799px) {

    .nav_hamburgerbtn {
        display: flex;
        height: 80px;
        width: 80px;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .nav {
        position: fixed;
        flex-direction: column;
        top: 100px;
        transition: transform ease-in-out 0.7s;
        left: 0;
        transform: translateX(-100%);
        padding: 10px 20px 15px 35px;
        background-color: rgba(0,0,0,.5);
    }

        .nav.active {
            transform: translateX(10px);
        }

        .nav .nav_lvl1Item {
            padding: 15px 0 10px;
            display: inline-block;
        }

    .nav_lvl2Container_Display {
        display: flex;
        flex-direction: column;
        padding-left: 15px;
    }

    .nav .nav_lvl2Item {
        padding: 10px 0px;
        display: inline-block;
    }
}


/*** DESKTOP STYLES ***/
@media only screen and (min-width: 800px) {

    .nav_hamburgerbtn {
        display: none;
    }

    .nav {
        display: flex;
        flex: 0 0 auto;
        justify-content: flex-end;
        color: #FFF;
        align-items: center;
    }

    .nav_lvl1Container {
        display: inline-block;
    }

        .nav_lvl1Container a {
            color: #FFF;
        }

    .nav_lvl1Item {
        padding: 0px 20px;
    }

        .nav_lvl1Item:hover {
            text-decoration: underline;
        }

    .nav_lvl2Item:hover {
        text-decoration: underline;
    }

    .nav_lvl2Container_Buffer {
        display: flex;
        position: absolute;
        padding-top: 40px;
        max-height: 0px;
        transition: max-height, ease-in-out, 1s;
    }

        .nav_lvl2Container_Buffer.active {
            max-height: 200px;
        }

    .nav_lbl2Container_AnimateArea {
        display: flex;
        position: relative;
        overflow: hidden;
    }

    .nav_lvl2Container_Display {
        position: relative;
        top: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding: 10px 20px;
        background-color: rgba(0,0,0,0.7);
    }

        .nav_lvl2Container_Display > a {
            padding: 10px 0px;
        }
}

.pnlHeaderLogo_ImageWrapper {
    position: relative;
    cursor: pointer;
    width: 32px;
}
.imgHeaderLogo {
    height: 30px;
}

.pnlHeaderLogo_ImageWrapper .lblHeaderLogo {
    display: block;
    position: absolute;
    top: 58%;
    left: 48%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 13px;
    color: #FFF;
}

