﻿.nav_res-sf-menu{
    position: relative;
    top: -57px;
    z-index: 300;
    background-color: #fff;
    margin: 0;
}


/*** 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: dotted 1px #0065bd;
}

.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;
    width: 83%;
    padding-right: 13% !important;
}
.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; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.res-sf-menu a {
	padding: 1em 0 1em 20px;
	text-decoration: none;
	zoom: 1; /* IE7 */
}
.res-sf-menu a {
	color: #333;
    -webkit-touch-callout: none;
}

.res-sf-menu ul li a {
}

.res-sf-menu ul li ul li a {
}


/* 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 li {
    width: 90% !important;
    margin-left: 5%;
}

.res-sf-menu ul li a{
}


/* 3. EBENE */
.res-sf-menu ul ul {
  
}

.res-sf-menu ul li ul li a{
        /*padding-left: 20%;*/
}


/* 4. EBENE */
.res-sf-menu ul li ul li ul li a{
       
}

.res-sf-menu li:hover,
.res-sf-menu li.sfHover {
	
	/* 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: #0065bd; /* 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-subarrow div {
    display: none;
}
@media only screen and (max-width: 980px) {
    #mobnav-btn {
        display: block;
    }

    .active-nav .shadow {
        display:block !important;
        margin:0;
    }

    .mobnav-subarrow{
        padding: 0.75em;
        position: absolute;
        right: 0;
        top: 0;
        height: 19px;
        width: 50px;
        -webkit-touch-callout: none;
    }

    .mobnav-subarrow div {
        display: block;
        background-image: url(img/res_menu_icon_open.png) !important;
        background-color: #0065bd !important;
        height: 30px;
        width: 30px;
        background-position: center center!important;
        background-repeat: no-repeat;
        position: absolute;
        top: 8px;
        margin-left: 20px;
        right: 10px;
        cursor: pointer;
        -webkit-transition: all .1s ease-in-out;
        -moz-transition: all .1s ease-in-out;
        -ms-transition: all .1s ease-in-out;
        -o-transition: all .1s ease-in-out;
        transition: all .1s ease-in-out;
        -webkit-border-radius: 0;
        border-radius: 0;
        -webkit-touch-callout: none;
    }


    .xpopdrop > .mobnav-subarrow div {
        background-image: url(img/res_menu_icon_close.png) !important;
    }

    .res-sf-menu {
        width: 100%!important;
    }

    .nav_res-sf-menu{
        display: block;
        float: left;
        margin-left: -200%;
        transition: all 0.2s ease 0s;
    }

    .active-nav .nav_res-sf-menu {
        margin-left: 0;
        width: 40%;
        background: #e8e8e8;
    }

    .active-nav .themen_contentleft, .active-nav .index_contentleft, .active-nav .start_contentleft{
        margin-right: -100%;
        padding-left: 2%;
        width: 98%;
       
    }

    .active-nav .themen_contentright, .active-nav .index_contentright, .active-nav .start_contentright{
        float: right;
        margin-right: -200%;
    }

    .active-nav .contentwrapper_index, .active-nav .contentwrapper_themen, .active-nav .contentwrapper_start{
        background: none;
    }


    .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:768px) {
    .active-nav .nav_res-sf-menu {
        margin-left: 0;
        width: 86%;
    }
}


