/* Helge Wagner Basic CSS
   Created by Maximilian Körbel.
   Last updated june 29th
*/

/* BASIC STYLES */

body {
    background-image: url("../media/background.svg");
    background-repeat: repeat;
    background-size: 100px 100px;
    margin:0;
    padding:0;
    height:100%;
    width:100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color:#686868;
    padding-top:120px;
}

.hidden {
    display:none;
}

#footer #footer-top {
    margin-top:200px;
    background-image: url("../media/distorted.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position:top center;
    height:80px;
}

#footer #footer-bottom {
    margin-top:-1px;
    background-color:#11100F;
    font-size: 12px;
    color:#B8B8B8;
    padding-bottom:50px;
}

#footer a {
    color:#B8B8B8;
    text-decoration: none;
    display:inline-block;
    margin-right:14px;
}

#footer a:hover {
    text-decoration: underline;
    color:#FFFFFF;
}

#footer-bottom span.headline {
    display: block;
    font-size: 20px;
    line-height: 24px;
    font-weight:800;
    font-style: italic;
    color:white;
    margin-bottom:20px;
}

/* NAVBAR */

.navbar-dark, .bg-dark {
    background-color:initial;
    z-index: 99999999999999;
    background-color:rgba(0,0,0,0) !important;
}

#navbar-fixed {
    height:90px;
    z-index: 2000;
    background-image: url("../media/distorted_flipped.svg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position:bottom center;
    position: fixed;
    left:0;
    top:0;
    width:100%;
}

.navbar {
    padding-top:30px;
}

.navbar-toggler {
    margin-top:-40px;
}

.navbar-brand {

}

.navbar-brand span {
    color:white;
    font-weight:800;
    font-style: italic;
    font-size:24px;
    text-transform: uppercase;    
}

.navbar-brand:before {
    content:'';
    display:inline-block;
    width:10px;
    height:10px;
    margin:6px 5px 0 10px;
}

.navbar-brand.subpage-active:before {
        content: url(../media/logo-arrow-left.svg);
        display: block;
        width: 10px;
        height: 10px;
        margin: 6px 5px 0 10px;
        float:left;
}

/* Kicked nach Feedback Okt/21

.navbar-brand.subpage-active:after {
    content: url(../media/logo-arrow-left.svg);
    display: block;
    width: 10px;
    height: 10px;
    margin: 20px 5px 0 5px;
    float:right;
    transform: rotate(180deg); 
}

*/

.navbar-collapse {
    margin-top:-15px;
    padding-top:25px;
}

.nav-link {
    color:white;
    text-transform: uppercase;
    font-style: italic;
    font-size:20px;
    font-weight:lighter;
    margin-left:4px;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

#navbarNav {
    background-color:#11100F;
}

#navbarNav li {
    margin-top:-5px;
}


/* Typo */

h1, h3 {
    margin:0;
}

a, #toggle-option {
    color:#FF6704;
    font-family:'Lora', serif;
    margin-top:-18px;
    margin-bottom:20px;
}

a:hover, #toggle-option:hover {
    color:#D65400;
}

a:active, #toggle-option:active {
    color:#BD4B00;    
}

.navbar a, figcaption span {
    font-family:'Open Sans', sans-serif !important;
}

h1.headline-main {
    font-style: italic;  
    color:white;
    font-weight:600;
    font-size:30px; 
    background: #222;
    color: white;
    padding: .3em .7em .2em .4em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    display: inline;
    line-height: 160%;
}

h3.headline-sub {
    background-color:#11100F; 
    font-style: italic;  
    color:white;
    font-weight:600;
    font-size:20px; 
    line-height:18px;
    padding:2px 4px;
    display: inline-block;
}

#teaser-text {
    margin-bottom:20px;
}

p, .image-container .subtitle {
    font-family: 'Lora', serif;
    line-height: 1.6;
    letter-spacing: 0.01em;
    word-spacing: 0.1em;
}

/* Layout */

div#first {
    margin-top:50px;
    margin-bottom:30px;
}

.container.subpage img {
    max-width: 100%;
}

.image-container div {
    margin-bottom:45px;
}

.image-container .subtitle {
    margin-top:15px;
    font-size:11px;
    line-height:16px;
    margin-bottom:40px;
    min-height:30px;
}

.image-container .subtitle span {
    color:#B8B8B8;
}

#teaser-text {
    margin-bottom:30px;
}


/* TILES */

figure, figure .caption {
    position: relative;
}

figure img {
    max-width: 100%;
    max-height: 100%;
}



/*
figure figcaption {
    position: absolute;
    bottom:20px;
    left:20px;
    display: block;
    max-width:80%;
}

*/

figure figcaption .headline, figure figcaption .release-date {
    background-color:#11100F;
    box-shadow: 3px 0 0 #11100F, -2px 0 0 #11100F;  
    font-style: italic;  
    color:white;
    font-weight:600;
}

figure figcaption .headline {
    display: inline;
    line-height:1;
    font-style: italic;
    font-size:20px;
    font-weight: 800;
    text-transform: uppercase;
}

figure.big figcaption .release-date, figure figcaption .release-date {
    font-size:13px;
    line-height:1.2;
    display:table;
    position: relative;
    z-index: 9999999999;
}

figure.small {
    margin-bottom: 32px;
}


/* Toggle */

#toggle-option {
    display:block;
    cursor:pointer;
}

#toggle-target {
    display:none;
}

/* IMG CONTAINER */

.img-small {
    max-width:320px;
    margin-left:auto;
    margin-right:auto;
}

.img-small img {
    display:block;
}


/* Headline Block */

.headline-block {
    margin-top:-4px;
}

.headline-sub {
    background-color:#11100F;
    box-shadow: 3px 0 0 #11100F, -2px 0 0 #11100F;  
    font-style: italic;  
    color:white;
    font-weight:600;
    padding:3px 10px 3px 0px;
    display:block;
    line-height: 20px;
    font-size:20px;    
}

.headline-block span {
    display:inline-block;
    background-color:#11100F;
    box-shadow: 3px 0 0 #11100F, -2px 0 0 #11100F;  
    font-style: italic;  
    color:white;
    font-weight:800;
    padding:3px 10px 3px 0px;
    display:block;
    float:left;
    line-height: 30px;
    font-size:32px;
}

.headline-block span:last-child {
    padding-right:0px;
}


/* FIGURES */
figure .caption {
    position: absolute;
    bottom:20px;
    left:20px;
    display: block;
    max-width:80%;
}

figure figcaption.hl-release span {
    display:inline-block;
    background-color:#11100F;
    box-shadow: 3px 0 0 #11100F, -2px 0 0 #11100F;  
    font-style: italic;  
    color:white;
    font-weight:600;
    padding:2px 5px 5px 0px;
    line-height: 11px;
    font-size:13px; 
}

figure figcaption.hl-headline {
    margin-top:-2px;
}

figure figcaption.hl-headline span {
    display:inline-block;
    background-color:#11100F;
    box-shadow: 3px 0 0 #11100F, -2px 0 0 #11100F;  
    font-style: italic;  
    color:white;
    font-weight:800;
    padding:3px 5px 3px 0px;
    display:block;
    float:left;
    line-height: 20px;
    font-size:20px;    
}

.inverted span {
    color:#000000 !important;
    background-color:white !important;
    box-shadow: 3px 0 0 white, -2px 0 0 white !important;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    body {
        padding-top:160px;
    }
    
    figure caption {
        bottom:30px;
        left:30px;
    }

}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 

    figure.big figcaption.hl-headline span {
        font-size: 32px;
        line-height:36px;
        padding: 2px 7px 5px 0px;
    }

    figure.big figcaption.hl-release span {
        font-size: 20px;
        line-height:24px;
        padding: 2px 7px 5px 0px;
    }

    figure.small figcaption.hl-headline span {
        padding: 2px 5px 5px 0px;
    }

    figure.small figcaption.hl-release span {
        padding: 2px 5px 5px 0px;
    }

    .img-small {
        max-width:480px;
        margin-left:auto;
        margin-right:auto;
    }

    .nav-link {
        margin-left:0px;
    }

}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

    figure caption {
        bottom:40px;
        left:40px;
    }

    #navbarNav {
        background-color:inherit;
    }

}


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

    figure.big figcaption.hl-headline span {
        font-size: 60px;
        line-height:56px;
        padding:3px 10px 3px 0px;
    }

    figure.big figcaption.hl-release span {
        font-size: 32px;
        line-height:28px;
        padding:3px 10px 3px 0px;
    }

    figure.big {
        margin-bottom:30px;
    }

    figure.small figcaption.hl-headline span {
        font-size: 32px;
        line-height:28px;
        padding:2px 11px 5px 0px;
    }

    figure.small figcaption.hl-release span {
        font-size: 24px;
        line-height:20px;
        padding:2px 11px 5px 0px;
    }

}