/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 17.11.2014, 12:20:59
    Author     : Janik
*/

/* CSS Reset */

/**
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
* http://cssreset.com
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {

}

a {
    text-decoration: none;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*, *:before, *:after {
    -moz-box-sizing: inherit;
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}

strong {
    font-weight: bold;
}

/* 
 *
 * End of reset 
 *
 */

.clear {
    clear: both;
}

/* HINTERGRUND */

html {
    background: url("../assets/img/bg.png"), url("../assets/img/loop_button.png");
    background-position: top, bottom;
    background-repeat: repeat-x, repeat-x;
    background-size: 1px 200px, auto;

    font-family: Verdana, Geneva, sans-serif;
}

@media only screen and (min-width: 500px) {
    html {
        background-size: 1px 375px, auto;
    }
}

@media only screen and (min-width: 960px) {
    html {
        background-size: auto;
    }
}

body {
    max-width: 1020px;
    padding: 0 10px;
    margin: 0 auto;
}

body > * {
    width: 100%;

}

h4 {
    font-weight: bold;
    font-size: 12px;
}

/* HEADER */
header#mainHeader {
    position: relative;
    /*height: 80px;*/
    color: white;
}

header#mainHeader > a {
    display: none;
    text-decoration: none;
    color: white;
    margin: auto;
    padding: 0;
}

header#mainHeader > nav {
    display: none;
}

@media only screen and (min-width: 500px){
    header#mainHeader > nav a {
        text-decoration: none;
        color: #0170B8;

        transition: color 0.3s ease;
    }

    header#mainHeader > nav a:hover {
        text-decoration: underline;
    }

    header#mainHeader > nav {
        display: block;
        position: relative;
        top: 20px;
        /*left: 10px;*/

        z-index: 1;

        -webkit-user-select: none;
        user-select: none;
    }

    header#mainHeader > nav input {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;

        cursor: pointer;

        opacity: 0;
        z-index: 2;

        -webkit-touch-callout: none;
    }

    header#mainHeader > nav span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;

        background: #cdcdcd;
        border-radius: 3px;

        z-index: 1;
    }

    header#mainHeader > nav ul {
        position: absolute;
        width: 150px;
        margin: -100px 0 0 -30px;
        padding: 125px 50px 38px 30px;

        background: #fff;
        border-radius: 2px;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        /* to stop flickering of text in safari */

        transform-origin: 0 0;
        transform: translate(-100%, 0);

        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
    }

    header#mainHeader > nav ul li {
        padding: 10px 0;
        font-size: 18px;
    }

    header#mainHeader > nav ul li.separator {
        display: none;
    }

    header#mainHeader > nav input:checked ~ ul {
        transform: scale(1.0, 1.0);
        opacity: 1;
    }
}

@media only screen and (min-width: 960px) {
    header#mainHeader > nav input,
    header#mainHeader > nav span {
        display: none;
    }

    header#mainHeader > a {
        display: inherit;
        text-decoration: none;
        top: 0;
        left: 0;
        float: left;
        color: white;
        margin: 0;
        padding: 0;
    }

    header#mainHeader > a > img {
        width: 323px;
        height: 80px;
        vertical-align: bottom;
        top: 0;
        left: 0;
    }

    header#mainHeader > nav {
        display: inherit;
        position: relative;
        top: 0;
        right: 0;
        float: right;
    }

    header#mainHeader > nav > ul {
        background: none;
        list-style-type: none;
        margin: 12px 0 0 0;
        padding: 0;
        position: relative;
        width: auto;
    }

    header#mainHeader > nav > ul > li {
        float: left;
        margin: 0 0 0 6px;
        padding: 0;
        font-size: 8pt;
    }

    header#mainHeader > nav > ul > li.separator {
        display: list-item;
    }

    header#mainHeader > nav > ul > li:first-of-type {
        float: left;
        margin: 0 0 0 0;
    }

    header#mainHeader > nav > ul > li > a {
        color: white;
        text-decoration: none;
    }

    header#mainHeader > nav > ul > li > a:hover {
        text-decoration: underline;
    }
}

/* FOOTER */

footer#mainFooter {
    color: white;
    position: relative;
}

section#footerNav {
    width: 300px;
    height: 124px;

    margin: 0 auto;
    padding-top: 22px;
    text-align: center;
    font-size: 13px;
    overflow: hidden;
}

section#footerNav > section {
    margin: 0;
    text-align: left;
    float: none;
}

section#footerNav > section:first-of-type,
section#footerNav > section:last-of-type {
    display: none;
}

section#footerNav > section:nth-of-type(2) {
    float: left;
    margin-left: 40px;
}

section#footerNav > section:nth-of-type(2) li {
    display: none;
}

section#footerNav > section:nth-of-type(2) li:nth-of-type(2) {
    display: list-item;
    margin-top: 25px;
}

section#footerNav > section:nth-of-type(3) {
    float: right;
    margin-right: 40px;
}

section#footerNav header {
    display: none;
}

section#footerNav > section > ul {
    list-style-type: square;
    margin: 0;
    padding-left: 14px;
    color: #bec7d8;
}

section#footerNav > section > ul a {
    line-height: 16px;
    text-decoration: none;
    color: #bec7d8;
}

section#footerNav > section > ul a:hover {
    text-decoration: underline;
    color: white
}

section#footerNav > section:nth-of-type(3) ul {
    list-style: none;
}

@media only screen and (min-width: 500px) {

    section#footerNav {
        width: 470px;
    }

    section#footerNav > section:first-of-type {
        display: inline-block;
        float: left;
    }

    section#footerNav > section:nth-of-type(2) {
        margin-left: 80px;
    }

    section#footerNav > section:nth-of-type(2) li:nth-of-type(2) {
        margin-top: 0;
    }

    section#footerNav > section:nth-of-type(2) li {
        display: list-item;
    }

    section#footerNav > section:nth-of-type(3) {
        float: right;
    }
}

@media only screen and (min-width: 960px) {
    section#footerNav {
        width: 620px;
        font-size: 11px;
    }

    section#footerNav header {
        display: inherit;
        font-size: 12px;
        margin-bottom: 4px;
    }

    section#footerNav > section:first-of-type {
        float: left;
        margin-right: 80px;
    }

    section#footerNav > section:nth-of-type(2) {
        float: left;
        margin-left: 0;
    }

    section#footerNav > section:nth-of-type(3) {
        float: right;
        margin-left: 80px;
    }

    section#footerNav > section:last-of-type {
        display: inherit;
        float: right;
    }
}

section#copyright {
    text-align: center;
    font-size: 9px;
    color: #afafbb;
    height: 20px;
    line-height: 20px;
}
