/* 
    Created on : 28.02.2018, 03:42:44
    Author     : ralf
*/

/* 
    Created on : 25.10.2017, 03:54:16
    Author     : Ralf Hannemann
*/

*, html, body{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Helvetica, sans-serif, sans;
    font-weight: lighter;
    font-size: 12pt;
}

body{
    background-color: #141414;
    color: #bcbcbc;
}

body.fixed{
    position: fixed;
}

.clearfix{
    clear: both;
}

/****************
*****************
**             **
**  Keyframes  **
**             **
*****************
*****************/


@keyframes mobile-menu{
    0%{
        opacity: 0;
        display: none;
        /*transform: translateY(-100%);*/
    }
    1%{
        display: block;
        opacity: 1;
        transform: translateY(-1em);
    }
    100%{
        opacity: 1;
        display: block;
        transform: translateY(0);
    }
}

@-webkit-keyframes mobile-menu{
    0%{
        opacity: 0;
        display: none;
        /*transform: translateY(-100%);*/
    }
    1%{
        display: block;
        opacity: 1;
        -webkit-transform: translateY(-1em);
    }
    100%{
        display: block;
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes mobile-menu{
    0%{
        opacity: 0;
        display: none;
        /*transform: translateY(-100%);*/
    }
    1%{
        display: block;
        opacity: 1;
        -moz-transform: translateY(-1em);
    }
    100%{
        opacity: 1;
        -moz-transform: translateY(0);
    }
}


/************
*************
**         **
**  Fonts  **
**         **
*************
*************/


@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/materialicons-regular.eot); /* For IE6-8 */
    src: local('Material Icons'),
        local('MaterialIcons-Regular'),
        url(/fonts/materialicons-regular.woff2) format('woff2'),
        url(/fonts/materialicons-regular.woff) format('woff'),
        url(/fonts/materialicons-regular.ttf) format('truetype');
}



.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}


/***************
****************
**            **
**  Elements  **
**            **
****************
****************/

button, input[type="submit"], input[type="reset"]{
    background-color: #212121;
    color: #fff;
    padding: 1em 1em;
    border: none;
    
    transition: background-color 0.5s ease;
    -o-transition: background-color 0.5s ease;
    -webkit-transition: background-color 0.5s ease;
    -moz-transition: background-color 0.5s ease;
    margin-top: 1em;
    margin-right: 1em;
    margin-bottom: 1em;
    cursor: pointer;
}
input[type="submit"][disabled], button[disabled]/*, input[type="button"]*/{
    filter: grayscale(100%);
}

button:hover, input[type="submit"]:hover, input[type="reset"]:hover{
    background-color: #484848;
}

input[type="submit"][disabled]:hover,  button[disabled]:hover{
    background-color: #4346FF;
}

.messages > .error, .messages > .msg, .messages > .info{
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.messages .msg{
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.messages .info{
    color: #721c24;
    background-color: #d8ff00;
    border-color: #dee510;
}

/**************
***************
**           **
**  Wrapper  **
**           **
***************
***************/

#wrapper{
    width: 94%;
    margin: 0 auto;
    padding-top: 50px;
    position: relative;
}

/********************
*********************
**                 **
**  Error-Content  **
**                 **
*********************
*********************/

.error-content{
    position: fixed;
    width: 100%;
    left: 0;
    top: 50vh;
    text-align: center;
    transform: translateY(-50%);
}

@media screen and (min-width: 1025px){
    .error-content{
        transform: translateY(-75%);
    }
}
    

.error-content > article > h1{
    font-weight: bolder;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-content > article > p{
    font-size: 130%;
}

.error-content > article > p > a{
    font-size: 150%;
    padding-top: 2rem;
    display: inline-block;
}


/***********
************
**        **
**  Menu  **
**        **
************
************/

#mobile-menu{
    background-color: #212121;
    color: #fff;
    position: fixed;
    width: 100%;
    height: 3em;
    top: 0;
    left: 0;
    margin-bottom: 50px;
}

#mobile-menu span{
    height: 1.5em;
    width: 2em;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    line-height: 1.5em;
    font-size: 120%;
    background-color: #484848;
    padding: 0.5em;
}


#topMenu{
    position: fixed;
    left: -75%;
    top: 3em;
    width: 75%;
    height: calc(100vh - 1.5em);
    background-color: #212121;
    text-align: left;
    transition: transform 0.3s ease-in-out;
    z-index: 10;
    overflow-y: auto;
}

#topMenu.open{
    transform: translateX(100%);
}

#overlay{
    position: fixed;
    top: 3em;
    left: 3%;
    width: 100%;
    height: 100vh;
    opacity: 0.7;
    background-color: #344046;
    z-index: 5;
    display: none;
}

#overlay.open{
    display: block;
}

#topMenu ul{
    list-style-type: none;
    display: inline-block;
    width: 100%;
}

#topMenu ul li{
    width: 100%;
    min-height: 5em;
    
    text-align: left;
    color: #fff;
    line-height: 5em;
}

#topMenu ul.top > li:last-child{
    cursor: pointer;
    margin-bottom: 7em;
}

/*
#topMenu ul li:hover{
    background-color: #dba431;
}
*/

#topMenu ul li a{
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

#topMenu ul li.expand a{
    width: 75%;
}

#topMenu ul li a:active, #topMenu ul li a:visited{
    text-decoration: none;
    color: #fff;
}

#topMenu ul li .expand-button{
    
    position: relative;
    top: -5em;
    left: 75%;
    width: 25%;
    height: 0;
    color: #fff;
    text-align: center;
    cursor: pointer;
    
}

#topMenu ul li .expand-button i{
    line-height: inherit;
    font-size: 2em;
    transition: transform 0.5s ease-in-out;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

#topMenu ul li .expand-button.open i{
    
    -moz-transform: rotateX(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    
    /*top: 0;*/
}

#topMenu ul li > ul{
    display: none;
    background-color: #212121;
}

#topMenu ul li > ul.open{
    display: block;
    /*position: relative;*/
    animation: mobile-menu 0.5s ease;
    -moz-animation: mobile-menu 0.5s ease;
    -webkit-animation: mobile-menu 0.5s ease;
}

#topMenu ul li li{
    background-color: #212121;
    border: none;
    padding-left: 1em;
    width: calc(100% - 1em);
}


#topMenu ul li a{
    width: 100%;
    height: 100%;
}

#topMenu ul li > ul li > ul{
    display: none;
    background-color: #344046;
}
/*
#topMenu ul li ul li:hover ul{
    display: block;
    top: -88px;
    left: 100%;
}
*/

/***********
************
**        **
**  Logo  **
**        **
************
************/

#logo{
    width: 100%;
    height: auto;
    margin-top: 3.5em;
    margin-bottom: 1em;
}

#logo img{
    width: 100%;
    height: auto;
}


    
/************
*************
**         **
**  Links  **
**        **
*************
*************/

a{
    color: #ededed;
    text-decoration: none;
    font-weight: normal;
}

a:hover{
    text-decoration: underline;
}
@media screen and (max-width: 750px) and (orientation: landscape) {}
@media screen and (min-width: 751px) and (max-width: 1024px){
    #logo{
        max-width: 738px;
        margin: 0 auto;
        margin-top: 3.5em;
        margin-bottom: 1.5em;
    }
    
    #topMenu{
        width: 20em;
        left: -20em;
    }

    #topMenu.open{
        transform: translateX(20em);
    }

    #overlay{
        
        width: 100%;
        height: 100vh;
    }
    
    
}
@media screen and (min-width: 751px) and (max-width: 1024x) and (orientation: landscape) {}
@media screen and (min-width: 1025px){
    
    *, html, body{
        margin: 0;
        padding: 0;
        font-family: 'Open Sans', Helvetica, sans-serif, sans;
        font-weight: lighter;
        font-size: 12pt;
    }

    .clearfix{
        clear: both;
    }



    /***************
    ****************
    **            **
    **  Elements  **
    **            **
    ****************
    ****************/

    button, input[type="submit"], input[type="reset"]{
        background-color: #212121;
        color: #fff;
        padding: 14px 18px 16px;
        border: none;
        
        transition: background-color 0.5s ease;
        -o-transition: background-color 0.5s ease;
        -webkit-transition: background-color 0.5s ease;
        -moz-transition: background-color 0.5s ease;
        margin-top: 25px;
        margin-right: 15px;
        cursor: pointer;
    }

    button:hover, input[type="submit"]:hover, input[type="reset"]:hover{
        background-color: #484848;
    }

    /**************
    ***************
    **           **
    **  Wrapper  **
    **           **
    ***************
    ***************/

    #wrapper{
        width: 1025px;
        margin: 0 auto;
        margin-top: 88px;
        padding-top: 25px;
    }

    /***********
    ************
    **        **
    **  Menu  **
    **        **
    ************
    ************/
    
    #mobile-menu{
        display: none;
    }
    
    #topMenu{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
        background-color: #212121;
        text-align: center;
        overflow-y: visible;
        margin-bottom: 50px;
    }
    
    

    #topMenu ul{
        list-style-type: none;
        display: inline-block;
        width: auto;
    }

    #topMenu ul li{
        width: 200px;
        /*border-left: 1px solid *//*#20272c*//*#fff;*/
        float: left;
        height: 50px;
        min-height: 50px;
        max-height: 50px;
        text-align: center;
        color: #fff;
        line-height: 50px;
        transition: background-color 0.5s ease;
    }
    
    #topMenu ul.top > li:last-child{
        cursor: pointer;
        margin-bottom: 0;
    }

    #topMenu ul li:hover ul li:last-child{
        border: none;
    }

    #topMenu ul li:hover{
        background-color: #484848;
    }

    #topMenu ul li a{
        display: block;
        width: 100%;
        height: 100%;
        color: #fff;
        text-decoration: none;
    }
    
    #topMenu ul li.expand a{
        width: 100%;
    }

    #topMenu ul li a:active, #topMenu ul li a:visited{
        text-decoration: none;
        color: #fff;
    }

    #topMenu ul li > ul{
        display: none;
        background-color: #212121;
    }
    
    #topMenu ul li > ul.open{
        display: none;
        /*position: relative;*/
        animation: none;
        -moz-animation: none;
        -webkit-animation: none;
    }

    #topMenu ul li:hover > ul{
        display: block;
        position: relative;
    }
    
    #topMenu ul li:hover > ul.open{
        display: block;
        position: relative;
        animation: none;
        -moz-animation: none;
        -webkit-animation: none;
    }

    #topMenu ul li li{
        background-color: #212121;
        border: none;
        padding: 0;
        width: 200px;
    }

    #topMenu ul li a{
        width: 100%;
        height: 100%;
    }
    
    #topMenu .expand-button{
        display: none;
    }

    #topMenu ul li > ul li > ul{
        display: none;
        background-color: #344046;
    }

    #topMenu ul li ul li:hover ul{
        display: block;
        top: -50px;
        left: 100%;
    }


    /***********
    ************
    **        **
    **  Logo  **
    **        **
    ************
    ************/

    #logo{
        width: 738px;
        height: 200px;
        margin: 0 auto;
        margin-top: 25px;
        margin-bottom: 50px;
    }
    
}
