/* ----------------------------------------------------------------------------- *
 *                           Styles der Basisversion                             *
 * ----------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------- *
 * Änderung des default-Box-Modells aller Elemente auf "border-box"
 * http://www.paulirish.com/2012/box-sizing-border-box-ftw/
 * << apply a natural box layout model to all elements >>
 * ----------------------------------------------------------------------------- */
 /* ----------------------------------------------------------------------------- * 
 * Verwendete Farben
 * Blue Colors:
 * #1A1F2B - dark blue
 * #30395C - middle dark blue
 * #4A6491 - middle blue
 * #85A5CC - middle light blue
 * #C2D2E5 - light blue
 # #00BFFF - deepskyblue
 * ----------------------------------------------------------------------------- */
 
*, *:before, *:after {
    -webkit-box-sizing: border-box; /* Safari/Chrome, andere WebKit-Browser */
    -moz-box-sizing: border-box; /* Firefox, andere Gecko-Browser */
    box-sizing: border-box; /* Opera/IE 8+ */
}

/* ----------------------------------------------------------------------------- */
.page-wrapper {
    margin: 0;
}

.seminare {
	padding-left: 10px; 
	padding-right: 10px;"
}
	
.seminare_div{
	text-align: center; 
	margin-top: 50px; 
	margin-left: 10px; 
	margin-right: 10px; 
	color: blue;
}
	
header {
    padding: 0.5em 20px;
    /*max-width: 78em;*/
}

aside, footer {
    padding: 0.6em 20px;	/*	0.6em 20px	*/
}

section {
    padding: 0 20px;
}

.mainContent {
    width: 100%;
    border-top: 1px solid transparent;
    /*border-bottom: 2px solid transparent;*/
    /*border-bottom: 2px solid red;	*/
}

aside {
    width: 0%;	/*width: 100%;*/
    margin-left: 0;
}

/* ----------------------------------------------------------------------------- *
 *                             Textauszeichnungen                                *
 * ----------------------------------------------------------------------------- */
h1 {
    margin: 0;
    color: #4A6491; /* dark blue */ 
}

h2 {
    /*margin: 0.6em 20px;*/
    margin: 0;
    color: #4A6491; /* dark blue */ 
}

p.teasertext {
    margin: 0.8em 20px;
}

ul, ol {
    padding: 0;
    margin: 0 0 0.625em 20px;
}

.clHeader {
	width: 850px;
}

.h1big {
	text-align: center;
}

.h1head {
	/*
	color: DarkOliveGreen;
	color: #4A6491;
	*/
	text-align: center;
	font-size: 1em; 
	line-height: 1em;"	
}

		
/* ----------------------------------------------------------------------------- *
 *                                  Navigation                                   *
 * ----------------------------------------------------------------------------- */   
nav ul {
    margin: 0;
}

nav ul > li {
    margin-left: 0;
    border-bottom: 1px solid rgba(250, 250, 250, 0.6);
}

nav ul > li > a, nav ul > li > strong {
    padding: 0.6em 20px;
    /*padding: 0;*/
    display: block;
    color: #30395C;
}
/* ----------------------------------------------------------------------------- * 
 * Verwendete Farben
 * Blue Colors:
 * #1A1F2B - dark blue
 * #30395C - middle dark blue
 * #4A6491 - middle blue
 * #85A5CC - middle light blue
 * #C2D2E5 - light blue
 # #00BFFF - deepskyblue
 * ----------------------------------------------------------------------------- */

nav ul a:link {
    text-decoration: none;
}



/* ----------------------------------------------------------------------------- *
 *                           Styles der Tabletversion                            *
 *                          320px / 16px/em = 20em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 20em ) {
	h1  {
		font-size: 0.9em; 
		line-height: 0.9em; 		
	}

	h2  {
		font-size: 0.8em; 
		line-height: 0.8em;
	}

	h3  {
    	font-size: 0.7em;
    	line-height: 0.7em;
	}

	h4  {
    	font-size: 0.6em;
    	line-height: 0.6em;
	}
	
	.h1big {
		font-size: 0.6em; 
		line-height: 0.6em"
	}

	.h2big{
		font-size: 0.5em; 
		line-height: 0.5em"
	}

	.h1head {
		font-size: 70%; 
		line-height: 70%;"	
	}
	
	ul li {
		font-size: 0.4em;
	}
	
	ul, ol {
		padding: 0;
		margin: 0 0 0.5em 2px;
	}
	
	p	{
		font-size: 0.4em; 
	}
	
	.clHeader {
		width: 210px;
	}

	.infotext2 {
		font-size: 0.7em;
		padding: 5px;
	}
	
	.infotext {
		font-size: 0.7em;
		padding: 5px;
	}
	
	.iframeclass {
		height: 550px;
		height: 500px;
	}
}

/* ----------------------------------------------------------------------------- *
 *                           iPhone 8                           *
 *                          375px / 16px/em = 23.5em                           *
 * ----------------------------------------------------------------------------- */
 @media only screen and (min-width: 23.5em ) {
 
	h1  {
		font-size: 1.0em; 
		line-height: 1.0em; 		
	}

	h2  {
		font-size: 0.9em; 
		line-height: 0.9em;
	}

	h3  {
    	font-size: 0.8em;
    	line-height: 0.8em;
	}

	h4  {
    	font-size: 0.7em;
    	line-height: 0.7em;
	}
	
	.h1big {
		font-size: 0.7em; 
		line-height: 0.7em"
	}

	.h2big{
		font-size: 0.6em; 
		line-height: 0.6em"
	}

	.h1head {
		font-size: 80%; 
		line-height: 80%;"	
	}
	
	ul li {
		font-size: 0.5em;
	}
	
	ul, ol {
		padding: 0;
		margin: 0 0 0.5em 2px;
	}
	
	p	{
		font-size: 0.5em; 
	}
	
	.clHeader {
		width: 230px;
	}

	.infotext2 {
		font-size: 0.7em;
		padding: 5px;
	}
	
	.infotext {
		font-size: 0.7em;
		padding: 5px;
	}
}
 

/* ----------------------------------------------------------------------------- *
 *                           Styles der Tabletversion                            *
 *                          568px / 16px/em = 33.5em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 33.5em ) {
	h1  {
		font-size: 1.1em; 
		line-height: 1.1em; 		
	}
	
	h2  {
		font-size: 1.1em; 
		line-height: 1.1em;
	}
	
	h3  {
    	font-size: 0.7em;
    	line-height: 0.7em;
	}

	h4  {
    	font-size: 0.6em;
    	line-height: 0.6em;
	}
		
	.clHeader {
		width: 300px;
	}

	.h1big {
		font-size: 0.9em; 
		line-height: 0.9em"
	}

	.h2big{
		font-size: 0.8em; 
		line-height: 0.8em"
	}
		
	.h1head {
		font-size: 100%; 
		line-height: 100%;"	
	}
		
	ul li {
		font-size: 0.5em;
	}
	
	p	{
		font-size: 0.5em; 
	}

	.infotext2 {
		font-size: 1.1em;
		padding: 8px;
	}	
	
	.infotext {
		font-size: 0.8em;
		padding: 5px;
	}
	
	.iframeclass {
		/*height: 680px;*/
		height: 550px;
		height: 620px;
	}
}

/* ----------------------------------------------------------------------------- *
 *                           Styles der Tabletversion                            *
 *                          750px / 16px/em = 46.875em                           *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 46.875em ) {   
    /* Schriftverkleinerung wird für große Screens wieder aufgehoben */
    @media only screen and (max-width: 46.875em ) {
        body {
            font-size: 0.938em; /* 15px */
            font-size: 0.9em; /* 15px */
        }
    }

	    
    .page-wrapper {
        margin: 0 auto;
        /*max-width: 46.875em;*/
        max-width: 100%;
    }
	
	h1  {
		font-size: 1.2em; 
		line-height: 1.2em; 		
	}
	
	h2  {
		font-size: 1.2em; 
		line-height: 1.2em;
	}

	h3  {
    	font-size: 1.1em;
    	line-height: 1.1em;
	}

	h4  {
    	font-size: 1.0em;
    	line-height: 1.0em;
	}
	
	.clHeader {
		width: 700px;
	}
	
    .main {
        /* clearing für die floatenden gleichlangen Spalten (.mainContent und .aside) */
        overflow: hidden;
    }

    .mainContent {
        width: 100%;	/* 70% */
        float: left;
        /*padding: 0.8em 20px;*/
        border-top: none;
        /*border: 2px solid red;	*/
    }

	.seminare{
		padding-left: 20px; 
		padding-right: 20px;"
	}
	
	.seminare_div{
		text-align: center; 
		margin-top: 50px; 
		margin-left: 20px; 
		margin-right: 20px; 
		color: white;
	}
	
    aside {
        width: 0%;		/* 30% */
        margin-left: 100%;		/* 70% */
        /* Trick für gleichlange Spalten  - dazu gehört ein overflow: hidden für den umgeb. Container */
        margin-bottom: -99999px !important;
        padding-bottom: 99999px !important;
    }

    aside {
        padding: 0em 0px; 
    }
    
    footer {
        padding: 0.8em 20px; 
        /*padding: 0em 0px; */
    }
    
    section {
        padding: 0;
    }

    /* ----------------------------------------------------------------------------- *
     *                             Textauszeichnungen                                *
     * ----------------------------------------------------------------------------- */
    /*
    h2 {
        font-size: 1.625em;
        line-height: 1.2em;
        margin: 0;
    }
    */

	.infotext2 {
		font-size: 1.1em;
		padding: 8px;
	}
	
	.infotext {
		font-size: 0.8em;
		padding: 10px;
	}
	    
	.h1big {
		font-size: 1.3em; 
		line-height: 1.3em"
	}  

	.h2big{
		font-size: 1.0em; 
		line-height: 1.0em"
	} 
	
	.h1head {
		font-size: 150%; 
		line-height: 150%;"	
	}
    
	p	{
		font-size: 1.0em; 
	}

	i	{
		font-size: 1.0em; 
	}

    p.teasertext {
        margin: 0.8em 0;
    }
    
	ul li {
		font-size: 1em;
	}
	
	ul, ol {
		padding: 0;
		margin: 0 0 0.625em 20px;
	}
	
    /* ----------------------------------------------------------------------------- *
     *                                  Navigation                                   *
     * ----------------------------------------------------------------------------- */
    nav {
        /* clearing für die floatenden LIs */
        overflow: hidden;
        font-size: 1.2em;	/* 18px */
    }

    nav ul {
        margin: 0 20px;	/* Ursprung: 20px */
    }

    nav ul li {
    
        float: left;
        border: none;
        width: auto;
        
		list-style: none;
		font-size: 0.5em
    }

    nav ul > li > a {
    	
        padding: 0.7em 10px 0.7em 10px;
        display: inline-block;

        /*
		padding: 0.6em 20px;
		display: block;    
		*/  
    }
    
	/* prozentual zu 1024px  = 73% */
	.fixNav1 {
		width: 54px;	
	} 
	.fixNav2 {
		width: 94px;	
	} 
	.fixNav3 {
		width: 104px;	
	} 
	.fixNav4 {
		width: 96px;
	}
	.fixNav5 {
		width: 72px;
	} 
	.fixNav6 {
		width: 108px;
	} 
	.fixNav7 {
		width: 76px;
	} 
	.fixNav8 {
		width: 85px;
	}

	.iframeclass {
		height: 800px;
		height: 680px;
		height: 950px;
	}
	
    @media only screen and (max-height: 46.875em ) {
		.iframeclass {
		
		}
    } 					 
}

/* ----------------------------------------------------------------------------- *
 *                          Styles für kleine Desktops                           *
 *                           1024px / 16px/em = 64em                             *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 64em) {
    .page-wrapper {
        margin: 0 auto;
        /*max-width: 64em;*/
        max-width: 100%;
    }

	h1  {
		font-size: 1.4em; 
		line-height: 1.4em; 		
	}
	
	h2  {
		font-size: 1.4em; 
		line-height: 1.4em;
	}

	h3  {
    	font-size: 1.6em;
    	line-height: 1.6em;
	}

	h4  {
    	font-size: 1.5em;
    	line-height: 1.5em;
	}
		
	.clHeader {
		width: 850px;
	}
		
	.h1big	{
		font-size: 1.9em; 
		line-height: 1.9em"
	}  

	.h2big	{
		font-size: 1.2em; 
		line-height: 1.2em"
	} 
	
	.h1head {
		font-size: 210%; 
		line-height: 210%;"	
	}
	    
	ul li {
		font-size: 1.1em;
	}
	
	p	{
		font-size: 1.1em; 
	}
	
	.infotext {
		font-size: 0.8em;
		padding: 12px;
	}	
	
	nav ul li {
		/* Navigation */
		list-style: none;
		font-size: 0.7em;
	} 
	
	/* prozentual zu 1248px  = 82% */
	.fixNav1 {
		width: 74px;	
	} 
	.fixNav2 {
		width: 129px;	
	} 
	.fixNav3 {
		width: 142px;	
	} 
	.fixNav4 {
		width: 134px;
	}
	.fixNav5 {
		width: 98px;
	} 
	.fixNav6 {
		width: 148px;
	} 
	.fixNav7 {
		width: 104px;
	} 
	.fixNav8 {
		width: 116px;
	}  	
	.fixUMNav {
		width: 160px;	
	}

	.infotext2 {
		font-size: 1.1em;
		padding: 8px;
	}	
	
	.iframeclass {
		height: 900px;
		height: 1300px;
	}
}

/* ----------------------------------------------------------------------------- *
 *                          Styles für große Desktops                            *
 *                           1248px / 16px/em = 78em                             *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 78em) {
	
	h1  {
		font-size: 1.6em; 
		line-height: 1.6em; 		
	}
	
	h2  {
		font-size: 1.6em; 
		line-height: 1.6em;
	}

	h3  {
    	font-size: 1.7em;
    	line-height: 1.7em;
	}

	h4  {
    	font-size: 1.6em;
    	line-height: 1.6em;
	}
	
	.h1big	{
		font-size: 2.1em; 
		line-height: 2.1em"
	}  

	.h2big	{
		font-size: 1.4em; 
		line-height: 1.4em"
	} 
	
	.h1head {
		font-size: 230%; 
		line-height: 230%;"	
	}
		
	.clHeader {
		width: 850px;
	}
		
    .page-wrapper {
        margin: 0 auto;
        /*max-width: 78em;*/
        max-width: 100%;
    }
    
	.seminare{
		padding-left: 310px; 
		padding-right: 260px;"
	}
	
	.seminare_div{
		text-align: center; 
		margin-top: 50px; 
		margin-left: 50px; 
		margin-right: 50px; 
		color: maroon;
	}	
    
	ul li {
		font-size: 1.2em;
	}  
	
	p	{
		font-size: 1.2em; 
	} 
	
	.infotext {
		font-size: 0.9em;
		padding: 14px;
	}	
	
	nav ul li {
		/* Navigation */
		list-style: none;
		font-size: 0.8em;
	} 
	
	/* Basis: 1920px / 1248 = 65% */
	.fixNav1 {
		width: 90px;
	} 
	.fixNav2 {
		width: 157px;	
	} 
	.fixNav3 {
		width: 173px;	
	} 
	.fixNav4 {
		width: 160px;
	}
	.fixNav5 {
		width: 120px;
	} 
	.fixNav6 {
		width: 180px;
	} 
	.fixNav7 {
		width: 127px;
	} 
	.fixNav8 {
		width: 142px;
	} 	
	.fixUMNav {
		width: 190px;	
	}

	.infotext2 {
		font-size: 1.2em;
		padding: 15px;
	}	
	
	.iframeclass {
		height: 1200px;
		height: 1400px;
	}						 
}

/* ----------------------------------------------------------------------------- *
 *                          Styles für große Desktops                            *
 *                           1366px / 16px/em = 85.375em    					*
 *							- mein MacBook-Pro                         			*
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 85.375em) {
	
	h1  {
		font-size: 1.8em; 
		line-height: 1.8em; 		
	}
	
	h2  {
		font-size: 1.8em; 
		line-height: 1.8em;
	}

	h3  {
    	font-size: 2.2em;
    	line-height: 2.2em;
	}

	h4  {
    	font-size: 2.0em;
    	line-height: 2.0em;
	}
		
	.clHeader {
		width: 850px;
	}
		
	.h1big {
		font-size: 2.5em; 
		line-height: 2.5em"
	}	
		
	.h2big{
		font-size: 1.8em; 
		line-height: 1.8em"
	}	
	
	.h1head {
		font-size: 310%; 
		line-height: 310%;"	
	}
	    
	ul li {
		font-size: 1.3em;
	} 
	
	nav ul li {
		list-style: none;
		font-size: 0.9em;
	} 
	
	p	{
		font-size: 1.3em; 
	} 
	
	.infotext {
		font-size: 1.0em;
		padding: 16px;
	}
	
	/* Basis: 1248px, vergrößert um 65% */
	.fixNav1 {
		width: 99px;
	} 
	.fixNav2 {
		width: 172px;	
	} 
	.fixNav3 {
		width: 190px;
	} 
	.fixNav4 {
		width: 180px;
		width: 200px;
	} 
	.fixNav5 {
		width: 132px;
	} 
	.fixNav6 {
		width: 198px;
	} 
	.fixNav7 {
		width: 140px;
	} 
	.fixNav8 {
		width: 156px;
	}	
	.fixUMNav {
		width: 210px;	
	}  

	.infotext2 {
		font-size: 1.3em;
		padding: 20px;
	}
	
	.iframeclass {
		height: 1500px;
		height: 1700px;
	}
		
}

/* ----------------------------------------------------------------------------- *
 *                          Styles für große Desktops                            *
 *                           1920px / 16px/em = 120em                             *
  * kommt bei mir nicht zum Tragen
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 120em) {
	h1  {
		font-size: 2.5em; 
		line-height: 2.5em; 		
	}
	
	h2  {
		font-size: 2.2em; 
		line-height: 2.2em;
	}
	
	h3  {
    	font-size: 2.0em;
    	line-height: 2.0em;
	}

	h4  {
    	font-size: 1.8em;
    	line-height: 1.8em;
	}

	.h1big {
		font-size: 2.5em; 
		line-height: 2.5em"
	}	

	.h2big{
		font-size: 2.0em; 
		line-height: 2.0em"
	}	
		
	.h1head {
		font-size: 400%; 
		line-height: 400%;"	
	} 
		    
	ul li {
		font-size: 1.3em;
	} 	 
	
	nav ul li {
		list-style: none;
		font-size: 1em;
	}   
	
	p	{
		font-size: 1.3em; 
	} 
	
	.infotext {
		font-size: 1.0em;
		padding: 20px;
	}
		
	/* Basis: 1248px */
	.fixNav1 {
		width: 120px;	
	} 
	.fixNav2 {
		width: 210px;
	} 
	.fixNav3 {
		width: 230px;
	} 
	.fixNav4 {
		width: 200px;	
		width: 220px;
	} 
	.fixNav5 {
		width: 160px;	
	} 
	.fixNav6 {
		width: 240px;	
	} 
	.fixNav7 {
		width: 170px;	
	} 
	.fixNav8 {
		width: 190px;	
	}
	.fixUMNav {
		width: 250px;	
	}
	
	.iframeclass {
		height: 1400px;
		height: 1800px;
	}
}


/* ----------------------------------------------------------------------------- * 
 *                          Styles für Multi-Toggle-Nav                          *
 * hier handelt es sich um das Kompakt-Nav-Button bei kleinen Displays            *
 * ----------------------------------------------------------------------------- */

header {
    position: relative;
}

/* Menü-Link im Header zum Ein-und Ausblenden des Menüs */
a.toggle-nav {
    display: inline-block;
    position: absolute;
    /* position: relativ; */
    right: 5%;
    top: 0em;	/* früher 1em */
    text-decoration: none;
    -webkit-border-radius: 0.4em;
    -moz-border-radius: 0.4em;
    border-radius: 0.4em;
    cursor: pointer;
    padding: 0.357em;
    color: #D0E4F2;
    background: #4A6491;
    border: 1px solid #4A6491;
}

a.toggle-nav:hover {
    border: 1px solid #D0E4F2;
    background: #D0E4F2;
    color: #1A1F2B;
}


h1 a:link, h1 a:visited {
    color: #fff;
    text-decoration: none;
}

h1 a:hover, h1 a:active, h1 a:focus {
    color: darkorange;
}

/* NEU */
/* ----------------------------------------------------------------------------- *
 *                      Beispiel Multi-Level-Menü im Basis-Layout                *
 * ----------------------------------------------------------------------------- */
/* Clearing von nav, nav.ul, .main mit .clearfix statt mit overflow:hidden;
 * sonst wird die zweite menüebene abgeschnitten! */
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.clearfix {
    display: block;
}

html[xmlns] .clearfix {
    display: block;
}

* html .clearfix {
    height: 1%;
}


/* ----------------------------------------------------------------------------- *
 *                          Multi-Level-Menü im Basis-Layout                     *
 *		Hauptmenü			*
 * ----------------------------------------------------------------------------- */
/* Positionierung der Navigation "auf" dem Hauptinhalt, damit die zweite Menüebenen nicht verdeckt wird. */
nav {
    overflow: inherit;
    position: relative;
    z-index: 10;
    width: 100%;
}

.main {
    z-index: 5;
}

/* Layout und Positionierung der 2. Menüebene */
nav ul ul {
    background-color: #eee;
    z-index: 20;
    display: none;
}

nav ul .openmenu ul {
    display: block;
}

nav ul li {
    position: relative;
}

nav ul li li {
    /*font-size: 16px;*/		/* Ursprung: 16px*/
    /* Größe der Untermenüpunkte, urspünglich 0.8em */
    font-size: 0.9em;
    float: none;

}

nav ul li:hover {
	/* das ist der Hauptmenüpunkt, wenn ein Untermenüpunkt gewählt wird*/
    background-color: #fff;
    /*background-color: yellow;*/
    background-color: #C2D2E5; /* light blue */
    color: #30395C;

}

nav li.act {
	/* kann nicht erkennen, wo das zum Tragen kommt */
    background-color: #C2D2E5;
}

nav ul > li > a, nav ul > li > b, nav ul > li > strong {
    /*padding: 0.8em 20px;*/
    padding: 0.6em 18px;
    display: block;
    font-weight: normal;
}

nav ul > li > b, nav ul > li > strong {
	/* kann nicht erkennen, wo das zum Tragen kommt */
    color: #30395C;

}

#navMain {
    display: none;
}

/* Einblenden des Untermenüs onHover für alle Ebenen */
nav ul li:hover ul {
    display: block;
}


/* ----------------------------------------------------------------------------- *
 *                      Styles für Menü ab Tabletversion                         *
 *                          750px / 16px/em = 46.875em                           *
 * bisher: 80em - dabei kommen Menü- und Untermenüpunkte durcheinander: nicht ändern!*
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 46.875em) {
    nav > ul > li {
        height: 2.0em;	/* Ursprung: 2.8em */
        /*width: 25%;*/
        width: 14%;
    }

    /* Layout und Positionierung der 2. Menüebene */
    nav ul ul {
        top: 2.0em;		/* Ursprung: 2.8em */
        position: absolute;
        width: auto;
        margin: 0;
        min-width: 100%;
    }

    nav ul > li > a, nav ul > li > strong {
        /*padding: 0.8em 10px;*/
        padding: 0.4em 5px;
        display: block;     
    }

    #navMain {
        display: block;
    }

    /* Menü-Link verstecken in großen Viewports */
    a.toggle-nav {
        display: none;
    }
}


/* ----------------------------------------------------------------------------- *
 *                      Styles für Menü ab Desktopversion                         *
 *                          1024px / 16px/em = 64em                           *
 * ----------------------------------------------------------------------------- */
  

@media only screen and (min-width: 64em) {
    /* 100% Navigation wird hier wieder überschrieben */

}


img {
    max-width: 100%;
    height: auto;
}

img.book {
	width: 200px;
	height: auto;
	border: 0;
	vertical-align: top;
}

video {
    /*width: 100%;*/
    max-width: 100%;
    height: auto;

	display: block;
	/*margin: 0 auto;*/
}

/* -------------------------------------------------------------*/
/* Vertical-Tab */
/* -------------------------------------------------------------*/
/* Style the tab */
div.tab {
    float: left;
    /*border: 1px solid #ccc;*/
    background-color: #f1f1f1;
    width: 30%;
    height: 600px;
}

/* Style the buttons inside the tab */
div.tab button {
    display: block;
    background-color: inherit;
    color: black;
    padding: 22px 16px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    transition: 0.3s;
}

/* Change background color of buttons on hover */
div.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current "tab button" class */
div.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    float: left;
    padding: 0px 12px;
    /*border: 1px solid #ccc;*/
    width: 70%;
    border-left: none;
    height: 600px;
}


/* -------------------------------------------------------------*/
/* Akkordeon neu */
/* -------------------------------------------------------------*/
/* Style the buttons that are used to open and close the accordion panel */
button.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 12px;	/* 18px	*/
    width: 100%;
    text-align: left;
    vertical-align: middle
    border: none;
    outline: none;
    transition: 0.4s;
    /* neu */
    font-size: 18px; /*15px*/
    font-family: Optima, sans-serif;
    color: steelblue;  
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.accordion.active, button.accordion:hover {
    background-color: #ddd;
}

button.accordion:after {
    content: '\002B';
    color: darkred;		/* #777; */
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

button.accordion.active:after {
    content: "\2212";
}

/* Style the accordion panel. Note: hidden by default */
div.panel {
    padding: 0 18px;
    /*background-color: white;
    background-color: moccasin;*/
    background-color: papayawhip;
    /*display: none;*/
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;  
    background-image: url(../images/00023_Hintergrund-Variationen.jpg)  
}

/* NEU */
/* ----------------------------------------------------------------------------- *
 *             Beispiel Responsive Slideshow mit flexslider.js                   *
 * ----------------------------------------------------------------------------- */
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 * 
 * ----------------------------------------------------------------------------- *
 * Original jQuery FlexSlider v2.0 mit Anpassungen für das Praxisbeispiel        *
 * ----------------------------------------------------------------------------- *
 */

/* Browser Resets */
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
    outline: none;
}

.slides, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* FlexSlider Necessary Styles
 *********************************/
.flexslider {
    margin: 0;
    padding: 0;  

	width: 100%;
	height: 100%;
}

/* 05.09.2018 */
.flexslider .slides {
	width: 100%;
	height: 100%;
}

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    /* Versuch, die Bilder in dr richtigen Größe beim Start anzuzeigen - geht aber nicht
    height:650px;
    */
	width: 100%;
	height: 100%    
}


/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    width: 100%;
    display: block;     
    height: auto;
    border-radius: 0px;
    
    /* Versuch, Bilder in maximaler Höhe anzuzeigen, geht aber nicht so
    width: auto; proper aspect ratio of images
    height: auto;
    border-color: red;
    */
}

.flex-pauseplay span {
    text-transform: capitalize;
}

/* Clearfix for the .slides element */
.slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .slides {
    display: block;
}

* html .slides {
    height: 1%;
}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child, .js-off .slides > li:first-child {
    display: block;
}

/* FlexSlider Default Theme
 *********************************/
.flexslider {
    margin: 0 0 60px;
    background: #fff;
    border: 4px solid #fff;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    zoom: 1;

}

.flex-viewport {
	width: 100%;
	height: 100%; /*funktioniert leider nicht*/
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: 300px;
    height: 650px; /*funktioniert leider nicht*/
}

.flexslider .slides {
    zoom: 1;
    /* .slides existiert bei uns bereits und hat einen Schatten, der hier ausgeschaltet wird. */
    box-shadow: none;
}

.carousel li {
    margin-right: 5px;
}

/* Direction Nav */
.flex-direction-nav {
    *height: 0;
}

/*
 .flex-direction-nav a {
 width: 30px;
 height: 30px;
 margin: -20px 0 0;
 display: block;
 background: url(images/bg_direction_nav.png) no-repeat 0 0;
 position: absolute;
 top: 50%;
 z-index: 10;
 cursor: pointer;
 text-indent: -9999px;
 opacity: 0;
 -webkit-transition: all .3s ease;
 }
 .flex-direction-nav .flex-next {
 background-position: 100% 0;
 right: -36px;
 }
 .flex-direction-nav .flex-prev {
 left: -36px;
 }
 */
/* Styles und GFX für eine größere Darstellung der Bedienelemente */
.flex-direction-nav a {
    width: 38px;
    background: url("../gfx/prev-next.gif") no-repeat scroll left 50% black;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    text-indent: -9999px;
    /* Schon in der Basisversion sichtbar */
    opacity: 0.5;
    overflow: hidden;
}

.flex-direction-nav a.flex-next {
    background-position: right 50%;
    left: auto;
    right: 0;
}

/* Positionierung und Opacitiy angepasst und Anweisung ins Media Query verschoben
 .flexslider:hover .flex-next {
 opacity: 0.8;
 right: 5px;
 }
 .flexslider:hover .flex-prev {
 opacity: 0.8;
 left: 5px;
 }
 */
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
    opacity: 1;
}

.flex-direction-nav .flex-disabled {
    opacity: .3 !important;
    filter: alpha(opacity=30);
    cursor: default;
}

/* Control Nav */
.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}

.flex-control-nav li {
    margin: 0 6px;
    display: inline-block;
    zoom: 1;
    *display: inline;
}

.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
}

.flex-control-paging li a:hover {
    background: #333;
    background: rgba(0, 0, 0, 0.7);
}

.flex-control-paging li a.flex-active {
    background: #000;
    background: rgba(0, 0, 0, 0.9);
    cursor: default;
}

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

.flex-control-thumbs li {
    /*width: 25%;*/
    width: 20%;
    float: left;
    margin: 0;
}

.flex-control-thumbs img {
    width: 20%;
    display: block;
    opacity: .7;
    cursor: pointer;
}

.flex-control-thumbs img:hover {
    opacity: 1;
}

.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;
}

/* ----------------------------------------------------------------------------- *
 *                           750px / 16px/em = 46.875em                          *
 *                     umgestellt auf Mobile first min-width                     *
 * ----------------------------------------------------------------------------- */

@media only screen and (min-width: 46.875em) {
    /* auf größeren Screens werden die Bedienelemente versteckt... */
    .flex-direction-nav .flex-prev, .flex-direction-nav .flex-next {
        opacity: 0;
    }

    /* ... und nur bei Hover gezeigt. */
    .flexslider:hover .flex-next, .flexslider:hover .flex-prev {
        opacity: 0.5;
    }
}
