/*
    Modified by Jan Müller based on:

	Hielo by TEMPLATED
	templated.co @templatedco
	Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
*/

    .banner {
        max-width: 100%;
        width: 100vw;
        position: relative;

    }
        .banner > img {
            max-width: 100%;
            width: 100vw;
            position: relative;
            display: block;
        }

        .banner:after {
            -moz-pointer-events: none;
            -webkit-pointer-events: none;
            -ms-pointer-events: none;
            pointer-events: none;
            -moz-transition: opacity 1.5s ease-in-out, visibility 1.5s;
            -webkit-transition: opacity 1.5s ease-in-out, visibility 1.5s;
            -ms-transition: opacity 1.5s ease-in-out, visibility 1.5s;
            transition: opacity 1.5s ease-in-out, visibility 1.5s;
            background: #000000;
            content: '';
            display: block;
            height: 100%;
            left: 0;
            opacity: 0;
            position: absolute;
            top: 0;
            visibility: hidden;
            width: 100%;
            z-index: 2;
        }

        .banner .indicators {
                bottom: 1rem;
                left: 0;
                list-style: none;
                margin: 0;
                padding: 0;
                position: absolute;
                text-align: center;
                width: 100%;
                z-index: 2;
            }

                .banner .indicators li {
                    cursor: pointer;
                    display: inline-block;
                    height: 2em;
                    overflow: hidden;
                    padding: 0;
                    position: relative;
                    text-indent: 2em;
                    width: 2em;
                }

                    .banner .indicators li:before {
                        background: rgba(255, 255, 255, 0.35);
                        border-radius: 100%;
                        content: '';
                        display: inline-block;
                        height: 0.8em;
                        left: 50%;
                        margin: -0.4em 0 0 -0.4em;
                        position: absolute;
                        text-indent: 0;
                        top: 50%;
                        width: 0.8em;
                    }

                    .banner .indicators li.visible:before {
                        background: #fff;
                    }

        .banner .slide {
            -moz-transition: opacity 1.5s ease, visibility 1.5s;
            -webkit-transition: opacity 1.5s ease, visibility 1.5s;
            -ms-transition: opacity 1.5s ease, visibility 1.5s;
            transition: opacity 1.5s ease, visibility 1.5s;
            text-align: center;
            opacity: 0;
            visibility: hidden;
            position: absolute;
            max-width: 100%;
            min-height: inherit;
            width: 100vw;
            z-index: 0;
            top: 0;
        }

            .banner .slide:before {
                content: '';
                display: block;
                width: 100%;
                vertical-align: middle;
            }

            .banner .slide:after {
                content: '';
                display: block;
                width: 100%;
                position: absolute;
                top: 0;
                left: 0;
                background: #000;
                opacity: 0.35;
            }

            .banner .slide .inner {
                position: absolute;
                display: block;
                vertical-align: middle;
                z-index: 1;
                top: 0;
            }

                .banner .slide .inner > :last-child {
                    margin-bottom: 0;
                }

            .banner .slide h2 {
                position: absolute;
                font-size: 7rem;
                margin-bottom: 0;
                color: #FFF;
                font-weight: 300;
                bottom: 25%;
                width: 100%;
            }

                .banner .slide h2:after {
                    display: none;
                }

            .banner .slide p {
                position: absolute;
                color: rgba(255, 255, 255, 0.65);
                text-transform: uppercase;
                font-size: 1rem;
                font-weight: 300;
                margin: 0;
                padding-bottom: 1.75rem;
                letter-spacing: .25rem;
                bottom: 50%;
                width: 100%;
            }

                .banner .slide p:after {
                    content: '';
                    position: absolute;
                    margin: auto;
                    right: 0;
                    bottom: 0;
                    left: 0;
                    width: 50%;
                    height: 1px;
                    background-color: rgba(255, 255, 255, 0.65);
                }

            .banner .slide a {
                /* Fill if used*/
            }

            .banner .slide img {
                max-width: 100%;
                width: 100vw;
            }

            .banner .slide.visible {
                opacity: 1;
                visibility: visible;
            }

            .banner .slide.top {
                z-index: 1;
            }

            .banner .slide.instant{
                -moz-transition: none;
                -webkit-transition: none;
                -ms-transition: none;
                transition: none;
            }

        body.is-loading .banner:after {
            opacity: 1.0;
            visibility: visible;
        }
