@font-face {
    font-family: 'open_sanslight';
    src: url('OpenSans-Light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Open Sans';
    src: url('OpenSans-Semibold-webfont.woff'), format('woff');
    font-weight: 600;
    font-style: normal;
}


* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0px;
}
body{
    font-family: 'open_sanslight', sans-serif;
}        
#header {
    height: 500px;
    position: relative;
    background: #000000;
    background-image: url('../as.jpg');
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center;
}

a, a:visited{
    color: #1de0d6;
    text-decoration: none;
}
a:hover{
    color: #000000;
}


.sections{
    height: calc(50% - 62px);
    min-height: 350px;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    overflow: hide;
    cursor:pointer;
}
.sections:first-of-type{
    border-bottom: 1px solid #ffffff;
}


.sections .video {
    position: absolute;
    left: 0;
    top: 0;       
    z-index: 1;
    width: 100%;
    height: 100%;        
    object-fit: cover;
}

.sections .overlay {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #ffffff;
    padding-left: 90px;
    padding-right: 90px;
    padding-bottom: 80px;
    animation-name: riseSectionsTitle;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    opacity: 0;
}
@keyframes riseSectionsTitle {
    from {
        padding-bottom: 0px;
        opacity: 0;
    }
    to {
        padding-bottom: 80px;
        opacity: 1;
    }
}
.sections h1{
    margin-bottom: 12px;
    line-height: 1.0em;
    font-size: 5em;
}
.sections .text{
    font-size: 1.75em;
    line-height: 1.5em;
}


.smallbtn{
    padding-top: 7px !important;
    padding-right: 20px !important;
    padding-bottom: 7px !important;
    padding-left: 20px !important;
}

.btn{
    background-color: #1de0d6;
    padding-top: 15px;
    padding-right: 25px;
    padding-bottom: 15px;
    padding-left: 25px;
    border-radius: 35px;
    color: #ffffff !important;
    letter-spacing: 0.04em;
    font-size: 0.9em;
    transition: all 0.3s ease 0s;
    cursor: pointer;
    display: inline-block;
}
.btn:hover{
    background-color: #000000;
    color: #ffffff;
    transition: all 0.3s ease 0s;
}
.inputtext{
    font-family: 'open_sanslight', sans-serif;
    font-size: 0.9em;
    padding-top: 5px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 15px;
    background-color: #eeeeee;
    border: none;
    margin-bottom: 10px;
    border-radius: 1em;
    width: 100%;
}

.textarea{
    font-family: 'open_sanslight', sans-serif;
    font-size: 0.9em;
    padding: 5px 15px;
    background-color: #eeeeee;
    border: none;
    border-radius: 1em;
    width: 100%;
    height: 120px;
}
.smalltxt{
    font-size: 0.8em;
    color: #666666;
}

#alert {
    margin-bottom: 20px;
}
#alert > .alert-error{
    color: #ff0000;
    border: 1px solid #ff0000;
    padding: 10px 20px;
    border-radius: 35px;
}
#alert > .alert-success{
    color: #07c388;
    border: 1px solid #07c388;
    padding: 10px 20px;
    border-radius: 35px;
}

.logo{
    height: 100%;
    /*max-width: 400px;*/
    position: relative;
    padding-left: 80px;
    cursor: pointer;
    color: #ffffff;
}
.logo img{
    margin: 0;
    padding-top: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.menuBtnCnt{
    width: 85px;
    height: 100%;
    position: absolute;
    top:0;
    right: 0;
}
.menuBtnCnt div{
    position: relative;
    height: 100%;
}
.menuBtnCnt div img{
    margin: 0;
    position: absolute;
    top: 20px;
    /*transform: translateY(-50%);*/
}

.text {
    font-size: 0.7em;
    letter-spacing: 0.1em;
    text-rendering: optimizeLegibility;
}
.section_title {
    margin-bottom: 10px;
}
h1, h2 {
    font-size: 2em;
}
h2 a{
    color: inherit;
    text-decoration: none;
}


.titles{
    font-family: 'Open Sans' !important;
    font-weight: 600;
    padding-top: 5px;
}

.page_contents{
    background-color: #ffffff;
    padding-top: 60px;
    padding-right: 0;
    padding-bottom: 40px;
    padding-left: 0;
}
.page_contents .textContainer{
    width: 80%;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.7em;
}

.textSection{
    margin-bottom: 1.5em;
    margin-top: 1.5em;
    border-bottom: 1px solid #efefef;
}
.textSection:last-of-type{
    border-bottom: none;
}
.textSection .content{
    padding-bottom: 20px;
}

#categories {
    height: auto;
    display: table;
    overflow-y: visible;
    margin-top: 20px;

}
#categories .catbtn{
    padding-top: 5px;
    padding-right: 15px;
    padding-bottom: 5px;
    padding-left: 15px;
    margin-left: 0;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 2em;
    background-color: #ffffff;
    color: #000000;
    cursor: pointer;
    float: left;
}
#categories .active{
    background-color: #000000 !important;
    color: #ffffff !important;
}    
#categories .catbtn:hover{
    background-color: #000000;
    color: #ffffff;
    transition: all 0.3s ease 0s;
}

.toggleContent{
    position: relative;
}
.toggleContent h2::before {
    content: '+';
    font-size: 0.5em;
    font-weight: lighter;
    position: absolute;
    top: 0;
    left: -20px;
}
.toggleContent .minus::before {
    content: "−" !important;
}
.toggleContent h2 {
    cursor: pointer;
}
.toggleContent .content{
   /* display: none;*/
}

.clearfloat {
    clear: both;
    height: 0;
    line-height: 0;
    margin: 0;
}

#menuOverlay, #lightbox{
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.9);
    position: fixed;
    z-index: 5;
    color: #ffffff;

}
#menuOverlay > .logo, #lightbox > .logo {
    height: 100px;
    width: 400px;
    position: absolute;
    top: 12px;
    left: 0;
}
#menuOverlay > .closeBtn, #lightbox > .closeBtn {
    height: 45px;
    width: 45px;
    position: absolute;
    top: 40px;
    right: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.9);
    cursor: pointer;
}
#menuOverlay > .closeBtn > img, #lightbox > .closeBtn > img {
    position: absolute;
    width: 25px;
    top: 10px;
    left: 10px;
}
#menuOverlay .divOne{
    position: absolute;
    width: 50%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 1em;
    padding-right: 3em;
    padding-left: 2em;
    line-height: 2em;
    letter-spacing: 0.1em;
    text-align: right;
}
#menuOverlay .divTwo{
    position: absolute;
    width: 50%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 3em;
    letter-spacing: 0.05em;
    border-left: 1px solid rgba(255,255,255,0.2);
    text-align: left;
}

#menuOverlay ul {
    margin: 0;
}
#menuOverlay ul li {
    list-style-type: none;
    margin-bottom: 0.2em;
}
#menuOverlay a {
    color: inherit;
    text-decoration: none;
}

#lightbox > #lbContent{
    position: absolute;
    width: 50%;
    height: 50%;
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
    overflow-y: scroll;
    font-size: 0.8em;
    padding-right: 2em;
    padding-left: 2em;
    line-height: 1.5em;
    text-align: center;
    
    h2 {
      font-size: 1.8em;
    }
}

#cookies{
    position: fixed;
    z-index: 2;
    display:inline-block;
    background-color: rgba(255,255,255,0.5);
    bottom: 0;
    right: 0;
    border-radius: 25px;
    padding: 10px 20px;
    color: #000000;
    font-size: 0.8em;
}

#portfolio_vids > div{
    width: calc(40vw - 20px);
    height: calc(18vw);
    float: left;
    cursor: pointer;
    position: relative;
    box-sizing: content-box;
    padding-bottom: 40px;
    margin-left: 7px;
    margin-right: 7px;
    margin-bottom: 40px; 
}

#portfolio_vids > div > span{
    position: absolute;
    bottom: 0;
    left: 10px;
    font-size: 0.85em;
}
#portfolio_vids > div > div{
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
#portfolio_vids > div > div > div{
    width: 100%;
    height: 100%;
    /*background: url('../thumbs/neuschnee.jpg');*/
    background-repeat:no-repeat !important;
    background-size: cover !important;
    background-position-x: center !important;
    background-position-y: center !important;
    background-color: #eeeeee;
    transform: scale(1.0);
    transition: all 500ms;
}

#portfolio_vids > div > div > div:hover{
    transform: scale(1.08);
}

#bigvidplayer{
    background-color: #eeeeee;
}

.spacer{
    height: 30px;
}

#preload{
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    position: fixed;
    z-index: 6;
}
#preload img{
    width: 256px;
    height: 189px;
    top: calc(50% - 94px);
    left: calc(50% - 128px);
    position: absolute;
}

.kontaktLeft{
    width:45%; float: left;
}
.kontaktRight{
    width:55%; float: left; padding-top: 10px;
}


.loadlegal{
    cursor: pointer;
}


@media screen and (max-width: 450px) {
    .sections{
        min-height: 250px;
    }
    .sections .overlay{
        padding-right: 40px;
        padding-bottom: 10px;
        padding-left: 30px;
    }
    .sections h1 {
        font-size: 3em;
        margin-bottom: 5px;
        line-height: 1.0em;
    }
    .sections .text{
        font-size: 1.5em;
        line-height: 1.5em;
    }
    .page_contents {
        padding-top: 30px;
        padding-bottom: 20px;
    }
    .page_contents .textContainer{
        width: calc(100% - 50px);
        font-size: 1.0em;
        line-height: 1.5em;
    }
    
    #portfolio_vids > div{
        margin-bottom: 20px;
        width: calc(100vw - 30px);
        height: calc(30vw);       
    }
    #portfolio_vids > div > span{
        left: 5px;
    }    
    
    @keyframes riseSectionsTitle {
        from {
            padding-bottom: 0px;
            opacity: 0;
        }
        to {
            padding-bottom: 30px;
            opacity: 1;
        }
    }
    
    .toggleContent h2::before {
        left: -15px;
    }
    
    
    #menuOverlay .divOne{
        position: absolute;
        width: 100%;
        height: auto;
        top: initial;
        bottom: 50px;
        left: 0;
        transform: none;
        font-size: 0.7em;
        padding-right: 0;
        padding-left: 0;
        line-height: 2em;
        letter-spacing: 0.1em;
        text-align: center;
    }
    #menuOverlay .divTwo{
        position: absolute;
        width: 100%;
        height: 50%;
        top: 25%;
        left: -20px;
        transform: none;
        text-align: center;
        font-size: 3em;
        letter-spacing: 0.05em;
        border-left: none;
    }
    
    .spacer{
        height: 20px;
    }
    
    .kontaktLeft{
        width:100%; float:none;
    }
    .kontaktRight{
        width:100%;
        float: none;
        padding-top: 50px;
    }    
}

@media screen and (max-width: 650px) {
    #menuOverlay .divOne{
        position: absolute;
        width: 100%;
        height: auto;
        top: initial;
        bottom: 50px;
        left: 0;
        transform: none;
        font-size: 0.7em;
        padding-right: 0;
        padding-left: 0;
        line-height: 2em;
        letter-spacing: 0.1em;
        text-align: center;
    }
    #menuOverlay .divTwo{
        position: absolute;
        width: 100%;
        height: 50%;
        top: 25%;
        left: -20px;
        transform: none;
        text-align: center;
        font-size: 3em;
        letter-spacing: 0.05em;
        border-left: none;
    }

    .kontaktLeft{
        width:100%; float:none;
    }
    .kontaktRight{
        width:100%; float: none;
        padding-top: 50px;
    }     
}

@media screen and (max-width: 820px) {
    .page_contents .textContainer{
        width: calc(90% - 30px);
        margin: 0 auto;
        font-size: 1.2em;
        line-height: 1.7em;
    }
    
    #portfolio_vids > div{
        margin-bottom: 20px;
        width: calc(90vw - 35px);
        height: calc(40vw);
        margin-left: 0;
        margin-right: 0; 
    } 
    #portfolio_vids > div > span{
        left: 5px;
        font-size: 0.7em;
    }
    .kontaktLeft{
        width:100%; float:none;
    }
    .kontaktRight{
        width:100%; float: none; padding-top: 50px;
    }     
}