/*

Erstellt:	
Stand:		03.03.19

N O M E N K L A T U R

NV0 - Navigation Ebene 0 - oberes Zusatzmenü
NV1 - Navigation Ebene 1 - Hauptmenü
NV2 - Navigation Ebene 2 - Kontextmenü
NV3 - Navigation Ebene 3 - unteres Zusatzmenü
 
E0  - Ebene 0
 
LT0 - Linktyp 0 - normaler Link an nter Position               
LT1 - Linktyp 1 - normaler Link an 1. Position                             ausgemustert
LT2 - Linktyp 2 - im Pfad liegender passiver Link
LT3 - Linktyp 3 - im Pfad liegender aktiver Link
LT4 - Linktyp 4 - ausgewählter passiver Link an 1. Position                ausgemustert
LT5 - Linktyp 5 - ausgewählter aktiver Link an 1. Position                 ausgemustert
LT6 - Linktyp 6 - geöffneter passiver Untermenütitel an nter Position
LT7 - Linktyp 7 - geöffneter aktiver Untermenütitel an nter Position
 
 
F A R B E N

#4BFF9B - Komplementärfarbe zu PK-Rot
#00B5A9 - Harmoniefarbe zu PK-Rot = RGB0/181/169 "linke Komplementärfarbe"
#B40064 - PK-Rot 
#C06489 - gebrochenes PK-Rot

*/ 


root
{

	/*
	Variablendeklaration in CSS wäre hier schön, funktioniert aber mit IE11 nicht -> Implementierung später !
	Außerdem kommt der Minifizierungsalgorithmus von Visual Studio offenbar damit nicht klar und verweigert die
	minifizierung!
	*/

	/* https://wiki.selfhtml.org/wiki/CSS/Variablen#Fallback */

	/* Farben: */
	/*--KFPKRot: #4BFF9B;*/	/*Komplementärfarbe zu PK-Rot*/
	/*--PKRot: #B40064;;*/ 

	/* Abstände */
	/*---nv1B: 6px;*/ 
	/*---nv2B: 4px;*/ 
	/*---nv3B: 3px;*/ 

}
 

@media  all
{


	/* K O P F M E N Ü */

    #NV0 li
	{
	    /*width: 0; Wichtig, da sonst das Element über die volle Breite 100% dargestellt würde.*/
	    padding: 0px 0% 0 0;
	    /*top right bottom left*/
		
		font: normal normal normal 0.75rem/normal Arial, sans-serif;
		/* font: font-style font-variant font-weight font-size/line-height font-family|caption|icon|menu|message-box|small-caption|status-bar|initial|inherit; */
	
    }


    #NV0 li a
	{
	    color: #999999;
	    text-decoration: none;
    }

    #NV0 li a:hover
	{
	    color: #00B5A9;
    }

    li.NV0_RoterText
	{
       font-weight: bold;
       color: #B40064;
    }

    a.NV0_RoterLink
	{
       color: #B40064;
    }

    a.NV0_LT0
	{
	    color: #666666;
    }

    #NV0_Start
	
	{
	    margin: 0 0 0 0.64%;
    }


	 /* H A U P T -   U .   L O G I N M E N Ü */

	#HMB
	{

		/* Hauptmenüband */

		/*clear:both;*/
		float: left;
	    width: 100%;

	    background-color: #FFFFFF;
	    /*background-color: Green;*/

		border-bottom: 1px solid #B40064;/**/
	
	    margin: 0 0 0 0;
	    padding: 0 0 0 0;
	    /*top right bottom left*/

	}


    #NV1
    {
		float: left;/**/
	    width: 70%;

	    /*margin: 0 0 0 0;
	    padding: 0 0 0 0;*/
		
		font: normal normal normal 0.75rem/normal Arial, sans-serif;
		/* font: font-style font-variant font-weight font-size/line-height font-family|caption|icon|menu|message-box|small-caption|status-bar|initial|inherit; */
    
    }


	#NVK
	{

		float: right;
	    width: 30%;

	}
    

    #NV1>ul
    {
		float: left;

	    width: 69.36%;
	    width: 67.96%;
	    width: 99.36%;
	    width: calc(100% - 0.5rem);

	
	    list-style: none;

	    margin: 0 0 0 0;
	    padding: 0 0 0.25rem 0.5rem;
	    /*	
		    Breite von SP1: 15.68px
		    davon 4% => 15.68px * 4%	0.6272px
		    Breite von KL1: 98px
		    0.6272px : 98px * 100% = 0.64%
	    */
	
	   background-color: Lime; /**/
	   background-color: #FFFFFF;

    }

	#NVK>ul
	{

		/*clear:both;*/
		float: left;

	    width: 99.36%;
	    width: 26.36%;
	    width: 28.76%;
	    width: 29.36%;
	    width: 99.36%;
	    width: calc(100% - 0.5rem);
	
	    list-style: none;
	
	    margin: 0 0 0 0;
	    padding: 0 0.5rem 0.25rem 0;
	    /*top right bottom left*/

	    /*background-color: Fuchsia;*/

	}

    #NV1>ul>li
    {
		float: left;
	
		margin: 0.25rem 1.25rem 0 0;
		padding: 0 0 0 0;
		/*top right bottom left*/

		/*background-color: Aqua;*/

		/*line-height: normal;*/


   }

    #NVK>ul>li
    {
       float: right;
	
	    margin: 0.25rem 0 0 1.25rem;
	    padding: 0 0 0 0;
	    /*top right bottom left*/

		/*background-color: Aqua;*/

		/*line-height: normal;*/

    }

    #NV1>ul>li>span, #NVK>ul>li>span
    {

		/* deaktivierter sprich inaktiver Link */

	    margin: 0 0 0 0;
	    padding: 0 0 0 0.75rem;

		color: #999999;
	    background: url(../../Bilder/Global/NV1999999.gif) no-repeat left;


	}


    #NV1>ul>li>a, #NVK>ul>li a
    {

		/* Standardlink */

	    margin: 0 0 0 0;
	    padding: 0 0 0 0.75rem;

	    text-decoration: none;

	    color: #222222;
	    /*Zur optischen Angleichung sind die grauen Punkte etwas heller (#646464) als die Schrift!*/


		background: linear-gradient(to right, #222222 0.25rem, transparent 1px) left top, #FFFFFF;
		background-size: 100% 100%;/**/
	    background: url(../../Bilder/Global/NV1GR.gif) no-repeat left;

    }

    #NV1>ul>li>a:hover, #NVK>ul>li a:hover, #NV1>ul>li.KM>a:hover, #NVK>ul>li.KM a:hover
    {
	    color: #00B5A9;

		background: linear-gradient(to right, #00B5A9 0.25rem, transparent 1px) left top, #FFFFFF;
		background-size: 100% 100%;/**/
	    background: url(../../Bilder/Global/NV1LK.gif) no-repeat left;
    }


    #NV1>ul>li.KM>span, #NVK>ul>li.KM>span
    {

		/* Knoten repräsentiert die aktuelle Seite */

	    padding: 0 0 0 0.75rem;
	    /*top right bottom left*/

		color: #B40064;
	

		background: linear-gradient(to right, #B40064 0.25rem, transparent 1px) left top, #FFFFFF;
		background-size: 100% 100%;/**/
 	    background: url(../../Bilder/Global/NV1RT.gif) no-repeat left;
   }

    #NV1>ul>li.KM>a, #NVK>ul>li.KM>a
    {

		/* Das Kontextmenü des Knotens ist geöffnet, er repräsentiert aber nicht die aktuelle Seite */

		color: #B40064;

		background: linear-gradient(to right, #B40064 0.25rem, transparent 1px) left top, #FFFFFF;
		background-size: 100% 100%;/**/
 		background: url(../../Bilder/Global/NV1RT.gif) no-repeat left;

  }


	/* A D M I N I S T R A T I O N S O P T I O N */

    #NVK>ul>li.ADM>span, #NVK>ul>li.ADM a
    {
        padding: 0 0 0 24px;
	    /*top right bottom left*/

    }

    #NVK>ul>li.ADM a
	{

       background: url("../../Bilder/Global/Konterfei999999.gif") left center no-repeat;/**/
	  /*background-position: 4px calc((100% - 16px) / 2); */
	}

    #NVK>ul>li.ADM>span, #NVK>ul>li.KM.ADM a
	{

       background: url("../../Bilder/Global/KonterfeiB40064.gif") left center no-repeat;/**/
	   /*background-position: 4px calc((100% - 16px) / 2); */

	}

	#NVK>ul>li.ADM a:hover, #NVK>ul>li.KM.ADM a:hover
	{

       background: url("../../Bilder/Global/Konterfei00B5A9.gif") left center no-repeat;/**/


	}


	/* S T A N D O R T */

   #SO
	{
		
		font: normal normal normal 0.75rem/normal Arial, sans-serif;
		/* font: font-style font-variant font-weight font-size/line-height font-family|caption|icon|menu|message-box|small-caption|status-bar|initial|inherit; */

 	    color: #999999;

   }

    #SO a
	{
	    text-decoration: none;
	    color: #999999;
    }

    #SO a:hover
	{
	    color: #00B5A9;
    }


	/* S T A N D */

	#SND
	{
	    clear:both;
		width: 100%;
		font-size: 0.75rem;/**/
	    color: #999999;
		text-align:right;

	    margin: 10px 0 0 0;
	    padding: 0 0 0 0;
	    /*top right bottom left*/

	}


    /*
        K O N T E X T M E N Ü

        Folgende Formatierungen dienen zur Darstellung des Kontextmenüs.

    */

    /*  E B E N E 0 (erste, oberste Ebene) */

    /*  Abstandhalter oben u. unten */
    div.AHO 
    {
    
	    display: block;
	    float: left;
	    /*background-color: #FFFFFF;*/
	    background-color: #F4F4F4;
	
	    width: 100%;
	    height: 30px;
	
	    margin: 0 0 0 0;
	    padding: 0 0 0 0;
	    /*top right bottom left*/
	
	
	    border-bottom-width: 1px;
	    border-bottom-style: solid;
	    border-bottom-color: #CCCCCC;
	
    }
    
    div.AHU 
    {
    
	    display: block;
	    float: left;
	    /*background-color: #FFFFFF;*/
	    background-color: #F4F4F4;
	
	    width: 100%;
	    height: 30px;
	
	    margin: 0 0 0 0;
	    padding: 0 0 0 0;
	    /*top right bottom left*/
	
    }

    #KM
    {
		
		font: normal normal normal 0.75rem/normal Arial, sans-serif;
		/* font: font-style font-variant font-weight font-size/line-height font-family|caption|icon|menu|message-box|small-caption|status-bar|initial|inherit; */
    
    }

    #KM>ul
    {
    
	    float: left;
	    list-style: none;
	    width: 100%;
	
	    margin: 0 0 0 0;
	    padding: 0 0 0 0;
	    /*top right bottom left*/
	
	    /*border-left-width: 1px;
	    border-left-style: solid;
	    border-left-color: #CCCCCC;*/
	
	    /*border-bottom-width: 1px;
	    border-bottom-style: solid;
	    border-bottom-color: #CCCCCC;*/
    }

    #KM>ul>li
    {
	
	    margin: 0 0 0 0;
	    padding: 0 0 0 0;
	    /*width: 100%;*/
	
	    overflow: hidden;
	
	    border-top-width: 1px;
	    border-top-style: solid;
	    border-top-color: #FFFFFF;
	
	    border-bottom-width: 1px;
	    border-bottom-style: solid;
	    border-bottom-color: #CCCCCC;
	
	    /*  
            Beachte:
            Falls dieses Listenelement ein komplettes Untermenü beinhaltet, erscheint die Bottom-Linie unterhalb des Menüs!
            Da das Untermenü jedoch wiederrum in ein Listenelement eingebettet ist, übernimmt dieses Listenelement das
            Zeichnen der Abschlusslinie.
            Will man direkt unterhalb des Untermenütitels eine Linie haben, so muss die Definition in den Titelelementen
            aktiv/passiv erfolgen!
         */

	
    }


    #KM>ul>li>span
    {
    
        /* Ein inaktives sprich ausgegrautes Listenelement wird durch einen span-Tag gekennzeichnet. */
    
	    height: 100%;
	    width: 92%;
		width: calc(100% - 1rem);
	    margin: 0 0 0 0;
	    padding: 2px 4% 2px 4%;
	    padding: 2px 0.5rem 2px 0.5rem;
	    /*top right bottom left*/
    
        color: Gray;

        display: block;
        /*  Wichtig:
            Ohne Blockdarstellung offenbar kein padding möglich!
            Diese Einstellung wird auf die unteren Ebenen vererbt!
        */
    
	    /*
	    background-color: #B40064;
	    background-color: #C06489;*/
	
    }

    #KM>ul>li>a
    {
		/* Standard-Link */

	    display: block; /**/
	    height: 100%;
	    width: 92%;
	    width: 92%;
		width: calc(100% - 1rem);

	    margin: 0 0 0 0;
	    padding: 2px 4% 2px 4%;
	    padding: 2px 0.5rem 2px 0.5rem;
	    /*top right bottom left*/
	
	    /*border-bottom-width: 1px;
	    border-bottom-style: solid;
	    border-bottom-color: #CCCCCC;*/
        /*text-align:right;*/
	
	 
	    color: #333333;
	    background-color: #F4F4F4;
	    text-decoration: none;
	
	    overflow: hidden;/**/
		/* Bei Überstand scheint auf der rechten Seite das Padding zu versagen! */


	    /*white-space: nowrap;*/
	    /*Zeilenumbruch zulassen sonst ist das padding unwirksam!*/
  
    }

    #KM>ul>li>a:hover
	{
	    color: #FFFFFF;
	
	    background-color: #C06489; /*gebrochenes PK-Rot*/
	    background-color: #999999; /*grau*/
	    background-color: #00B5A9; /*linkes Komplement*/
    }

    #KM>ul>li.UM>span,
	#KM>ul>li.BP>span
    {
    
		/* geöffneter Untermenütitel im Brennpunkt oder einfacher Eintrag im Brennpunkt */

	    width: 92%;
		width: calc(100% - 1rem);
	    margin: 0 0 0 0;
	    padding: 2px 4% 2px 4%;
	    padding: 2px 0.5rem 2px 0.5rem;
	
        color: White;
	    background-color: #C06489;
   }

    #KM>ul>li.UM>a
    {
    
		 /* aktiver Untermenütitel */

	    display: block; 
	    width: 92%;
		width: calc(100% - 1rem);
	    height: 100%;
	    margin: 0 0 0 0;/**/
	    padding: 2px 4% 2px 4%;/**/
	    padding: 2px 0.5rem 2px 0.5rem;/**/
	    /*top right bottom left*/
        color: White;
	
	    background-color: #C06489; 
	
    }

    #KM>ul>li.UM>a:hover
    {
    
       color: White;
	
	    background-color: #C06489; 
	    background-color: #00B5A9; /*linkes Komplement*/
	
    }
    
    

    /*  N-te E B E N E  */

    /*  Alle weiteren Ebenen folgen demselben Muster!*/
    /*  Für eine weitere Ebene muss die Kette lediglich durch Voranstellen von "ul li.UM" fortgeschrieben werden.*/

	/* Die Selektion #KM>ul>li.UM beschreibt ein Listenelement der ertsen Ebene, welches ein Untermenü beinhaltet. */
	/* Die hier vorgenommenen Selektionen beziehen sich auf Elemente unterhalb eines solchen Elements der Ebene 1! */

    #KM>ul>li.UM ul
    {

		/* ALLE Untermenüs unterhalb eines Elements der ersten Ebene */

	    list-style: none;
	
	    width: calc(100% - 1rem);

	    margin: 0 0 0 0;
	    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
	    /*top right bottom left*/

		/* Padding links steuert die Einrücktiefe des Untermenüblocks. */
	
	    overflow: hidden;/**/
	    background-color: #FFFFFF;
	
	    border-bottom : none;/**/

    }


    #KM>ul>li.UM ul>li
    {

		/* ALLE Listenelemente eines Untermenüs unterhalb eines Elements der ersten Ebene */
    
	    margin: 0 0 0 0;
	    padding: 0 0 0 0;
	    /*top right bottom left*/
	
	    border: 0;
	    /*geerbte Einstellung von #KM ul li.UM1 div überschreiben!*/

		/*background-color: Aqua;*/
	
    }


    #KM>ul>li.UM ul>li.BP>span
    {

		/* iaaktiver Eintrag ohne Untermenü im BrennPunkt -> Die Menüoption repräsentiert die aktuelle Seite.  */

    
		float: left;
		width: calc(100% - 1rem);
    
	    margin: 0 0 0 0;
	    padding: 0.125rem 0.5rem  0.125rem 0.5rem;/**/
	    /*top right bottom left*/

	    /*Da die Liste über padding verfügt, ist dies hier bei den Listenelementen nicht mehr nötig!*/

		overflow: hidden;
		white-space: nowrap;
		/* verhindert Zeilenumbrüche */
	
        color: #B40064;
		
	    background: url(../../Bilder/Global/NV2RT.gif) no-repeat left;
	
    }


    #KM>ul>li.UM ul>li.UM>span
    {
    
		/* inaktiver Untermenütitel im Brennpunkt -> Die Menüoption repräsentiert die aktuelle Seite. */

		margin: 0 0 0 0;
		padding: 0 0.5rem 0 0.5rem;/**/
	    padding: 0.125rem 0.5rem  0.125rem 0.5rem;/**/
		/*top right bottom left*/
	
		color: #B40064;
		overflow: hidden;
		white-space: nowrap;
		
		background: url(../../Bilder/Global/NV2RT.gif) no-repeat left;/**/
	
    }


    #KM>ul>li.UM ul>li>span
    {

		/* einfacher, inaktiver, ausgegrauter Eintrag ohne Untermenü */

		float: left;
		width: calc(100% - 1rem);

		overflow: hidden;
		white-space: nowrap;
		/* verhindert Zeilenumbrüche */
    
	    margin: 0 0 0 0;
	    padding:  0.125rem 0.5rem  0.125rem 0.5rem;/**/
	    /*top right bottom left*/

		overflow: hidden;
		white-space: nowrap;
	
        color: Gray;
	
	    background: url(../../Bilder/Global/NV2GR.gif) no-repeat left;
	
    }

    

    #KM>ul>li.UM ul>li>a
    {
    
		/* aktives Listenelement ohne Untermenü -> Standardlink */

		float: left;
		width: calc(100% - 1rem);

	    margin: 0 0 0 0;
	    padding: 0.125rem 0.5rem 0.125rem 0.5rem;/**/
	    /*top right bottom left*/

	    color: #333333;
	    text-decoration: none;

		overflow: hidden;
		white-space: nowrap;
	
	    background: url(../../Bilder/Global/NV2GR.gif) no-repeat left;

    }

    #KM>ul>li.UM ul>li.BP>a,
    #KM>ul>li.UM ul>li.UM>a
    {

		/* aktives Listenelemt mit oder ohne Untermenü, das im Pfad liegt. */
		/* erbt alle Einstellungen von #KM>ul>li.UM ul>li>a */

        color: #B40064;
	    background: url(../../Bilder/Global/NV2RT.gif) no-repeat left;

	}

    #KM>ul>li.UM ul>li>a:hover,
	#KM>ul>li.UM ul>li.UM>a:hover
    {

		/* Standard-Link u. aktiver Untermenütitel */
    
	    color: #00B5A9;
	    background: url(../../Bilder/Global/NV2LK.gif) no-repeat left;
    }




	/* F U S S M E N Ü */

    #NV3
    {
	    list-style: none;
	
	    /*height: 50px;*/
	    width: 84%; /*100% Breite abzgl. 18% Padding*/
	    width: calc(100% - 16% - 1rem); /*100% Breite abzgl. 18% Padding*/
	
	    /*font-size: 0.75rem;*/
	
	    margin: 10px 0 0 0;
	    padding: 0.5% 0 0.5% 18%;
	    padding: 0.5% 0 0.5% 16%;
	    padding: 0.5% 0 0.5% calc(16% + 1rem);
	    /*top right bottom left*/
	
	
	    overflow: hidden;
	    /*	Sollte kein Umbruch mehr möglich sein,
	    dann kurzerhand abschneiden.
	    */
	
	    border-top-width: 1px;
	    border-top-style: solid;
	    border-top-color: #CCCCCC;
	
		background-color: Lime;
	    background: #FFFFFF;
		
		font: normal normal normal 0.75rem/normal Arial, sans-serif;
		/* font: font-style font-variant font-weight font-size/line-height font-family|caption|icon|menu|message-box|small-caption|status-bar|initial|inherit; */
	
    }

    #NV3 li
	{
	    float: left;
    }

    #NV3 li a
    {
	    text-decoration: none;
	    color: #999999;
	    padding: 0 15px 0 10px;
	    /*top right bottom left*/

	    /*verwende padding, da margin nicht auf Listenelemente wirkt!?*/
	
	    background: url(../../Bilder/Global/NV3GR.gif) left no-repeat;
    }

    #NV3 li a:hover
	{
	    text-decoration: none;
	    color: #00B5A9;
	
	    background: url(../../Bilder/Global/NV3LK.gif) left no-repeat;
    }

    #NV3 li span
    {
	    color: #999999;
	    padding: 0 15px 0 10px;
	    /*top right bottom left*/
	    /*verwende padding, da margin nicht auf Listenelemente wirkt!?*/
	
	    background: url(../../Bilder/Global/NV3GR.gif) left no-repeat;
    }

    #NV3 li.CR
    {
	    float: right;
	    color: #999999;
    }


	/* Z U S A T Z M E N Ü (rechts) */

    #NV4
	{
	    list-style: none;
	
	    width: auto;
	
	    margin: 20px 5% 0 5%;
	    padding: 0 0 0 0;
	    /*top right bottom left*/
	
    }

    #NV4 li
	{
	    /*font-size: smaller;*/
	
	    overflow: hidden;
    }

    #NV4 li.PDF a
	{
	    color: #333333;
	    text-decoration: none;
	
	
	    margin: 0 0 0 0;
	    padding: 0 0 0 20px;
	    /*top right bottom left*/
	
	    background: url(../../Bilder/Global/pdficon.gif) no-repeat left 50%;
    }

    #NV4 li.PDF a:hover
	{
	
	    color: #00B5A9;
    }    
}


/* M O B I L */

@media only screen and (max-width: 640px)
{
   

	/* K O P F M E N Ü */

    #NV0
    {
        
	    /*display: none;*/
    }

    #NV0 li
    {
        
	    /*display: none;*/
    }


	/* H A U P T M E N Ü */

    #NV1
    {
        
	    /* In der mobilen Sicht werden die Menüs untereinander angeordnet. Daher Menü in voller Breite anzeigen.*/
		width: 100%
	    
    }


	/* K O N T O M E N Ü */

	/* In der mobilen Sicht Liegt das Kontomenü unter dem Hauptmenü.
	es wird daher analog dem Hauptmenü nach links ausgerichtet inklusive der Menüeinträge */

	#NVK
	{

		float: left;
	    width: 100%;

	}

	#NVK>ul
	{

	    margin: 0 0 0 0;
	    padding: 0 0 0.25rem 0.5rem;
	    /*top right bottom left*/

	}


    #NVK>ul>li
    {
       float: left;
	
	    margin: 0.25rem 1.25rem 0 0;
	    padding: 0 0 0 0;
	    /*top right bottom left*/

		/*background-color: Aqua;*/
    }


	/* K O N T E X T M E N Ü */
    
    div.AHU 
    {
    
	    display: none;
	
    }


	/* Z U S A T Z M E N Ü (rechts) */

    #NV3
    {
        
	    /*display: none;*/
	    width: auto;
	    float:none;

	    padding: 0.5% 5% 0.5% 5%;
	    /*top right bottom left*/
    }   
     
    #NV3 li.CR
    {
        clear: both;
	    float: none;
    }
}


/* S T A T I O N Ä R */

@media  only screen and (min-device-width: 641px) 
{
    
    
}


/* D R U C K A U S G A B E */

@media  print
{

    
    /* S T A N D O R T */

    #SO
    {
	    /*display: none;*/
    }
 

	/* K O P F M E N Ü */

    #NV0{

	    display: none;
    }

    #NV0 li{

	    display: none;
    }


	/* H A U P T - U N D  K O N T O M E N Ü */

    #HMB{

		/* Da sich Haupt- u. Kontomenü im selben Menüband befinden, reicht es, dieses komplett auszublenden. */

	    display: none;/**/
    }



	/* F U S S M E N Ü */

    #NV3{

	    display: none;
    }    
}
 
