
/* Allgemeine Einstellungen */

* {
    /* Berechnet die Grössen der Boxen ohne padding und Border */
    box-sizing: border-box;
    padding: 0;
    margin: 0;
} 

body {
    padding: 0;
    margin: 0;
    clear: both;
    background-color: #ddd;
    font-family: 'Neue Helvetica', helvetica, arial, serif;
    font-size: 100%;
    }
    

/* Allgemeine Schriften der Site */
    
h1, h2, h3, h4, h5 {
    font-family: 'Neue Helvetica', helvetica, arial, serif;
    }
    
h1 {
    font-size: 4em;
    font-family: 'Neue Helvetica', helvetica, arial, serif;
    font-weight: normal;
    letter-spacing: 2px;
    padding: 0.5em 0;
    margin: 0;
    text-align: center;
    }

h3 {
    font-size: 1.2em;
    margin: -50 0 0 0;
    padding: 0.5em 0em;
    display: inline-block;
    }

p {
    font-size: 1.8em;
    color: light-grey;
    font-family: 'Neue Helvetica', helvetica, arial, serif;
    line-height: 1.4em;
    letter-spacing: 1px;
    /*padding: 1em 1em;*/
    }

img {
    /*float: left;*/
    width: 100%;
    padding: 0 0 1em 0;
}

/*
    Now here is when interesting things start to appear.

    We set up <body> styles with default font and nice gradient in the background.
    And yes, there is a lot of repetition there because of -prefixes but we don't
    want to leave anybody behind.
*/
body {
    font-family: 'Neue Helvetica', helvetica, sans-serif;
    font-size: 100%;
    background: #fff;
}


.fallback-message {
    font-family: sans-serif;
    line-height: 1.3;

    width: 780px;
    padding: 10px 10px 0;
    margin: 20px auto;

    border: 1px solid #E4C652;
    border-radius: 10px;
    background: #EEDC94;
}

.fallback-message p {
    margin-bottom: 10px;
}

.impress-supported .fallback-message {
    display: none;
}

/*
    Now let's style the presentation steps.

    We start with basics to make sure it displays correctly in everywhere ...
*/

.folie {
    margin: 0 auto;
/*    height: 90%;*/
}

.step {
    position: relative;
/*    width: 1440px;
    height: 1080px;*/
    padding: 0 auto;
    margin: 0px auto;
}

a.nav, a.nav:link, a.nav:visited, a.nav:hover, a.nav:active {
    color: grey;
    text-decoration: none;
    }

a.menu {
    display: none;
    opacity: 0;
    -webkit-transition: all 1s;
    transition: all 1s;
}

a.menu:hover {
    display: block;
    opacity: 1;
}

#map {
    position: absolute;
    float: left;
    margin: 0;
    padding: 0.5em 0.5em;
    background-color: rgba(200, 200, 200, 0.2);
    width: 6em;
    height: 8em;
    display: block;
    z-index: 99;
    line-height: 1.6em;
}

#sidemap {
    width: 12em;

}
/*
    ... and we enhance the styles for impress.js.

    Basically we remove the margin and make inactive steps a little bit transparent.
*/
.impress-enabled .step {
    margin: 0 auto;
    opacity: 0.3;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.impress-enabled .step.active { opacity: 1 }

/*
    These 'slide' step styles were heavily inspired by HTML5 Slides:
    http://html5slides.googlecode.com/svn/trunk/styles.css

    ;)

    They cover everything what you see on first three steps of the demo.
*/
.slide {
    display: block;

    width: 1440px;
    height: 1080px;
    padding: 0 auto;

    background-color: white;
    color: grey;
}

.row {
    width: 100%;
    padding: 1em 0;
    clear: both;
}

.col-12 {
    width: 100%;
    padding: 0 2em 0 2em;
    clear: both;
}

.col-11 {
    width: 91.66666667%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-10 {
    width: 83.33333333%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}
.col-9 {
    width: 75%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-8 {
    width: 66.66666667%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-7 {
    width: 58.33333333%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-6 {
    width: 50%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-5 {
    width: 41.66666667%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-4 {
    width: 33.33333333%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-3 {
    width: 25%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-2 {
    width: 16.6666666710%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.col-1 {
    width: 8.33333333%;
    padding: 0 2em 0 2em;
    float: left;
/*    display: block;*/
}

.center {
    margin: 0 auto;
    clear: both;
    float: none;
}

.collaps {
    margin: 0;
    padding: 0;
}


/*
    And now we start to style each step separately.

    I agree that this may be not the most efficient, object-oriented and
    scalable way of styling, but most of steps have quite a custom look
    and typography tricks here and there, so they had to be styled separately.

    First is the title step with a big <h1> (no room for padding) and some
    3D positioning along Z axis.
*/

#title {
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .3);
}

/*
    The last step is an overview.
    There is no content in it, so we make sure it's not visible because we want
    to be able to click on other steps.

*/
#overview { display: none }

/*
    We also make other steps visible and give them a pointer cursor using the
    `impress-on-` class.
*/
.impress-on-overview .step {
    opacity: 1;
    cursor: pointer;
}

a.svg {
  position: relative;
  display: block;
}

/*
    Now, when we have all the steps styled let's give users a hint how to navigate
    I know, it sounds complicated ... maybe it would be easier with the code?
*/

.hint {
    /*
        We hide the hint until presentation is started and from browsers not supporting
        impress.js, as they will have a linear scrollable view ...
    */
    display: none;

    /*
        ... and give it some fixed position and nice styles.
    */
    position: fixed;
    left: 0;
    right: 0;
    bottom: 2em;

    background: rgba(100,100,100,0.5);
    color: #EEE;
    text-align: center;

    font-size: 2em;
    padding: 0.2em;

    z-index: 100;

    /*
        By default we don't want the hint to be visible, so we make it transparent ...
    */
    opacity: 0;

    /*
        ... and position it below the bottom of the screen (relative to it's fixed position)
    */
    -webkit-transform:         translateY(400px);
            transform:         translateY(400px);

    /*
        Now let's imagine that the hint is visible and we want to fade it out and move out
        of the screen.

        So we define the transition on the opacity property with 1s duration and another
        transition on transform property delayed by 1s so it will happen after the fade out
        on opacity finished.

        This way user will not see the hint moving down.
    */
    -webkit-transition: opacity 1s, -webkit-transform 0.5s 0.5s;
    transition: opacity 1s, -webkit-transform 0.5s 0.5s;
    transition: opacity 1s, transform 0.5s 0.5s;
    transition: opacity 1s, transform 0.5s 0.5s, -webkit-transform 0.5s 0.5s;

}

/*
    Now we 'enable' the hint when presentation is initialized ...
*/
.impress-enabled .hint { display: block }

/*
    ... and we will show it when the first step (with id 'bored') is active.
*/
.impress-on-overview .hint {
    /*
        We remove the transparency and position the hint in its default fixed
        position.
    */
    opacity: 1;
    -webkit-transform:         translateY(0px);
            transform:         translateY(0px);

    /*
        Now for fade in transition we have the oposite situation from the one
        above.

        First after 4.5s delay we animate the transform property to move the hint
        into its correct position and after that we fade it in with opacity
        transition.
    */
    -webkit-transition: opacity 1s, -webkit-transform 0.5s 0.5s;
    transition: opacity 1s, -webkit-transform 0.5s 0.5s;
    transition: opacity 1s, transform 0.5s 0.5s;
    transition: opacity 1s, transform 0.5s 0.5s, -webkit-transform 0.5s 0.5s;

}

