/* ----------------------------------------------------------------------------- *
 *                           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 >>
 * ----------------------------------------------------------------------------- */
*, *: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;
}

h2 {
    /*margin: 0.6em 20px;*/
    margin: 0;
}

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

ul, ol {
    padding: 0;
    margin: 0 0 0.625em 20px;
    /*margin: 0 0 0.325em 10px;*/
}

/* ----------------------------------------------------------------------------- *
 *                                  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;
}

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

/* ----------------------------------------------------------------------------- *
 *                           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: 78em) {
        body {
            font-size: 0.938em; /* 15px */
        }
    }

    .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; 
        /*padding: 0em 0px; */
    }
    
    footer {
        padding: 0.8em 20px; 
        /*padding: 0em 0px; */
    }
    section {
        padding: 0;
    }

    /* ----------------------------------------------------------------------------- *
     *                             Textauszeichnungen                                *
     * ----------------------------------------------------------------------------- */
    h2 {
        /*font-size: 2.1875em;  35px */
        font-size: 1.625em; /* 26px */ 
        line-height: 1.2em;
        /*margin: 0.3em 0 0;*/
        margin: 0;
    }
    /*
	p	{
		font-size: 1.0em; 
	}

	i	{
		font-size: 1.0em; 
	}
	*/
    p.teasertext {
        margin: 0.8em 0;
    }

    /* ----------------------------------------------------------------------------- *
     *                                  Navigation                                   *
     * ----------------------------------------------------------------------------- */
    nav {
        /* clearing für die floatenden LIs */
        overflow: hidden;
        /*font-size: 1.2em; */	/* 18px */
        font-size: 1.0em; /* 16px */
    }

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

    nav ul li {
        float: left;
        border: none;
        width: auto;
    }

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

/* ----------------------------------------------------------------------------- *
 *                          Styles für kleine Desktops                           *
 *                           1024px / 16px/em = 64em                             *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 64em) {
    /* Navigation wird links neben dem Inhalt angeordnet */  

}

/* ----------------------------------------------------------------------------- *
 *                          Styles für große Desktops                            *
 *                           1248px / 16px/em = 78em                             *
 * ----------------------------------------------------------------------------- */
@media only screen and (min-width: 78em) {
    .page-wrapper {
        margin: 0 auto;
        max-width: 78em;
        /*max-width: with;*/
    }
    
	.seminare{
		padding-left: 310px; 
		padding-right: 260px;"
	}
	
	.seminare_div{
		text-align: center; 
		margin-top: 50px; 
		margin-left: 50px; 
		margin-right: 50px; 
		color: maroon;
	}	    
}




/* ----------------------------------------------------------------------------- * 
 *                          Styles für Multi-Toggle-Nav                          *
 * hier handelt es sich um das Kompakt-Nav-Button bei kelien 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;
    /*border: 1px solid red;*/
    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                     *
 * ----------------------------------------------------------------------------- */
/* 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*/
    font-size: 0.8em;
    float: none;
}

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

nav li.act {
    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 {
    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                           *
 * ----------------------------------------------------------------------------- */
@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;
}

/* -------------------------------------------------------------*/
/* 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;
}

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
}

/* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {
    width: 100%;
    display: block;
}

.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 {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: 300px;
}

.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: 100%;
    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;
    }
}
