/* Ergänzungen und Korrekturen  */

@font-face {
    font-family: 'Source Sans Pro', sans-serif;
    src: url(../webfonts/SourceSansPro-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: 'Source Sans Pro', sans-serif;
    src: url(../webfonts/SourceSansPro-Light.ttf);
    font-weight: 300;
}
@font-face {
    font-family: 'Source Sans Pro', sans-serif;
    src: url(../webfonts/SourceSansPro-Bold.ttf);
    font-weight: 700;
}

body, input, select, textarea {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

.wrapper.style1 {
  background-color: #407599;
}

.wrapper.style2 {
  background-color: #335081;
}

#intro .inner {
    color: rgba(255, 255, 255, 1);
}

.spotlights > section {
    min-height: 1em;
}
.spotlights > section > .content {
    padding: 20px 50px;
}

.button {
    height: auto;
    padding: 10px;
    white-space: normal;
    line-height: 2em;
}
@media sreen and (min-width: 980px) {
    .button {
        line-height: 4.75em;
    }
}

#sidebar nav a {
    color: rgba(255, 255, 255, 0.66);
}

@media screen and (max-width: 1280px) {
    #sidebar nav ul li {
        margin: 0 0 0 1em;
    }
}

@media screen and (max-width: 980px) {
    .stats > article {
        border: none !important;
      }
}

#sidebar nav a {
  color: rgba(255, 255, 255, 0.8);
}

#footer > .inner .menu {
	color: rgba(255, 255, 255, 0.5);
}




/* Eigene Klassen */

.m-loaderwrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.m-loader {
    width: 100px;
    height: auto;
}

.m-videowrapper {
    max-width: 50%;
}
.m-videowrapper video {
    height: 100%;
}
@media screen and (max-width: 980px) {
    .m-videowrapper {
        max-width: 100%;
    }
}

.m-logo img {
    max-height: 100%;
    max-width: 100%;
    padding: 10px;
    margin-bottom: 40px;
}

/* Hero Video Fullscreen */
.m-fullscreen-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
}
.m-fullscreen-bg__video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
}
.m-overlay {
    background-color: rgba(64,117,153,0.8);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.m-rounded {
    border-radius: 12px;
}




/* Stats (aus "Telemetry"-Template) */

.stats {
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    margin: 0 0 2em 0;
}

    .stats > article {
        -moz-flex-grow: 1;
        -webkit-flex-grow: 1;
        -ms-flex-grow: 1;
        flex-grow: 1;
        -moz-flex-shrink: 1;
        -webkit-flex-shrink: 1;
        -ms-flex-shrink: 1;
        flex-shrink: 1;
        border-style: solid;
        border-right-width: 1px;
        padding: 0 3em;
    }

        .stats > article:nth-last-child(1) {
            border-right-width: 0;
        }

        .stats > article h3 span {
            display: block;
            font-size: 3em;
            font-weight: 300;
            line-height: 1;
            margin-bottom: 0.25em;
        }

        .stats > article > :last-child {
            margin-bottom: 0;
        }

    @media screen and (max-width: 1280px) {

        .stats > article {
            padding: 0 1.5em;
        }

    }

    @media screen and (max-width: 980px) {

        .stats {
            -moz-flex-wrap: wrap;
            -webkit-flex-wrap: wrap;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        }

            .stats > article {
                border-top-width: 1px;
                padding: 3em;
                width: 50%;
            }

                .stats > article:nth-child(1), .stats > article:nth-child(2) {
                    border-top-width: 0;
                }

                .stats > article:nth-last-child(2n - 1) {
                    border-right-width: 0;
                }

    }

    @media screen and (max-width: 480px) {

        .stats {
            -moz-flex-direction: column;
            -webkit-flex-direction: column;
            -ms-flex-direction: column;
            flex-direction: column;
        }

            .stats > article {
                border-right: 0;
                padding: 3em 0;
                width: 100%;
            }

                .stats > article:nth-child(1) {
                    padding-top: 1.5em;
                }

                .stats > article:nth-child(2) {
                    border-top-width: 1px;
                }

                .stats > article:nth-last-child(1) {
                    padding-bottom: 1.5em;
                }

    }

.stats > article {
    border-color: rgba(255,255,255, 0.3);
}