﻿
.nav_res-sf-menu {
    position: absolute;
    top: 138px;
    z-index: 300;
    background-color: #ffcc00;
    margin: 0;
    left: 0;
    width: 94%;
    left: 0;
    padding: 0 3%;
}


/*** ESSENTIAL STYLES ***/
.res-sf-menu, .res-sf-menu * {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

    .res-sf-menu li {
        position: relative;
        border-top: solid 1px rgba(255,255,255,0.5);
    }

    .res-sf-menu ul {
        position: absolute;
        display: none;
        top: 100%;
        left: 0;
        z-index: 99;
    }

    .res-sf-menu > li {
        float: left;
    }

    .res-sf-menu li:hover > ul,
    .res-sf-menu li.sfHover > ul {
        display: block;
    }

    .res-sf-menu a {
        display: block;
        position: relative;
    }

    .res-sf-menu ul ul {
        top: 0;
        left: 100%;
    }


/*** DEMO SKIN ***/
.res-sf-menu {
    float: left;
    margin-bottom: 0;
}

    .res-sf-menu ul {
        min-width: 12em;
        *width: 12em;
    }

    .res-sf-menu a {
        font-size: 16px;
        padding: 1em 0 1em 0;
        text-decoration: none;
        color: #333;
        -webkit-touch-callout: none;
        zoom: 1; /* IE7 */
    }
    /*.res-sf-menu a {
}*/

    .res-sf-menu ul li a {
        /*color: #fff;*/
    }

    .res-sf-menu ul li ul li a {
        /*color: #000;*/
    }


    /* 1. EBENE */

    .res-sf-menu li {
        white-space: normal; /* no need for Supersubs plugin */
        *white-space: normal; /* ...unless you support IE7 (let it wrap) */
        -webkit-transition: background .2s;
        transition: background .2s;
    }

    /* 2. EBENE */

    .res-sf-menu ul {
        background: rgba(255,255,255,0.2);
    }


        .res-sf-menu ul li {
            width: 96% !important;
            margin-left: 4%;
        }

            .res-sf-menu ul li a {
            }


        /* 3. EBENE */
        .res-sf-menu ul ul {
            background: transparent;
        }

        .res-sf-menu ul li ul li a {
            /*padding-left: 20%;*/
        }


        /* 4. EBENE */
        .res-sf-menu ul li ul li ul li a {
            /*padding-left: 30%;*/
        }

    .res-sf-menu li:hover,
    .res-sf-menu li.sfHover {
        /*background: #787a70;*/
        /* only transition out, not in */
        -webkit-transition: none;
        transition: none;
    }

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
    padding-right: 2.5em;
    *padding-right: 1em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
    /* styling for both css and generated arrows */
    .sf-arrows .sf-with-ul:after {
        content: '';
        position: absolute;
        top: 50%;
        right: 1em;
        margin-top: -3px;
        height: 0;
        width: 0;
        /* order of following 3 rules important for fallbacks to work */
        border: 5px solid transparent;
        border-top-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
        border-top-color: rgba(255,255,255,.5);
    }

.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
    border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
    margin-top: -5px;
    margin-right: -3px;
    border-color: transparent;
    border-left-color: #dFeEFF; /* edit this to suit design (no rgba in IE8) */
    border-left-color: rgba(255,255,255,.5);
}

.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
    border-left-color: white;
}


#mobnav-btn {
    display: none;
    font-size: 20px;
    font-weight: 400;
    background-color: transparent;
    color: #003869;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: 88px;
}

.mobnav-subarrow div {
    display: none;
}

@media only screen and (max-width: 1023px) {
    #mobnav-btn {
        display: block;
    }

    .mobnav-subarrow {
        padding: 0.75em;
        position: absolute;
        right: 0;
        top: 0;
        -webkit-touch-callout: none;
    }

        .mobnav-subarrow div {
            display: block;
            background-image: url(img/res_menu_icon_open.png);
            background-color: #003869;
            height: 32px;
            width: 32px;
            background-position: center center !important;
            background-repeat: no-repeat;
            position: absolute;
            top: 6px;
            margin-left: 24px;
            right: 10px;
            cursor: pointer;
            transition: all .1s ease-in-out;
            border-radius: 32px;
            -webkit-touch-callout: none;
        }


    .xpopdrop > .mobnav-subarrow div {
        background-image: url(img/res_menu_icon_close.png);
    }

    .res-sf-menu {
        width: 100% !important;
        display: none;
    }

        .res-sf-menu.xactive {
            display: block !important;
        }

        .res-sf-menu li {
            float: none !important;
            display: block !important;
            width: 100% !important;
        }

            .res-sf-menu li a {
                float: none !important;
                -webkit-touch-callout: none;
            }

        .res-sf-menu ul {
            position: static !important;
            display: none !important;
        }

    .level1.xpopdrop > ul {
        display: block !important;
        visibility: visible !important;
    }

    .level2.xpopdrop > ul {
        display: block !important;
        visibility: visible !important;
    }

    .level3.xpopdrop > ul {
        display: block !important;
        visibility: visible !important;
    }

    .level4.xpopdrop > ul {
        display: block !important;
        visibility: visible !important;
    }

    .alevel2_active, .alevel1_active, .alevel3_active, .alevel4_active {
        font-weight: bold !important;
        -webkit-touch-callout: none;
    }
}



/*@media only screen and (max-width: 526px) {
    #mobnav-btn {
        top: 100px
    }
}*/

/*@media only screen and (max-width: 480px) {
    #mobnav-btn {
        top: 130px
    }
}*/
