

/* ---------------------------- */
/* Fonts                        */
/* ---------------------------- */

@font-face {
    font-family: "TTNorms";
    src: url(/fonts/ttnorms/TTNorms-Regular.otf);
}

@font-face {
    font-family: "TTNorms";
    src: url(/fonts/ttnorms/TTNorms-Light.otf);
    font-weight: 300;
}

@font-face {
    font-family: "TTNorms";
    src: url(/fonts/ttnorms/TTNorms-Bold.otf);
    font-weight: 600;
}

@font-face {
    font-family: "FontAwesome";
    src: url(/fonts/fontawesome/webfonts/fa-solid-900.woff2);
    font-weight: 900;
}

@font-face {
    font-family: "FontAwesome Regular";
    src: url(/fonts/fontawesome/webfonts/fa-regular-400.woff2);
    font-weight: 900;
}






/* ---------------------------- */
/* Global                       */
/* ---------------------------- */

* {
    box-sizing: border-box;
}


body {
    font-family: "TTNorms", Helvetica, sans-serif;
    background: #eaeaea;
    color: rgb(167, 154, 154);
    scroll-behavior: smooth;
}

div.main-container {
    position: relative;
    max-width: 1038px;
    min-height: 800px;
    margin: 15px auto;
    background: white;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, .2);
    /* border: solid 1px #ddd; */
}

main {
    padding: 30px;
    padding-bottom: 60px;
}

p {
    font-size: 14px;
    line-height: 24px;
    color: #555;
}


h1.page-heading {
    background: #f8f8f8;
    color: #888;
    padding: 10px 30px;
    font-size: 1.2em;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-top: solid 1px #ddd;
    border-bottom: solid 1px #ddd;
    margin-top: 30px;
    margin-bottom: 10px;
    text-align: left;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: .5em;
    padding: 0px 2px;
}





/* ---------------------------- */
/* Header                       */
/* ---------------------------- */

header {
    height: 80px;
    border-bottom: solid 1px lightgrey;
}

#header-title {
    float: left;
    margin-left: 30px;
}

#header-logo {
    float: left;
    margin: 15px 0 0 30px;
}






/* ---------------------------- */
/* Navigation                   */
/* ---------------------------- */

nav ul {
    float: right;
    margin: 32px 20px 0 0;
    z-index: 100;
}

nav li {
    display: inline;
}

nav a {
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    color: #888;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

nav a:hover:not(.current) {
    color: #00aeef;
    transition: .3s;
}

a.current {
    color: #00aeef;
}

nav #menuButton {
    display: none;
}



@media screen and (max-width: 900px) {

    nav {
        position: relative;
    }

    nav ul {
        position: absolute;
        right: 0;
    }

    nav a {
        display: none;
        padding: 12px 40px;
        padding: 15px 20px 15px 80px;
        border-top: solid 1px #fff;
    }

    nav a.menuItemVisible {
        display: block;
        background-color: rgba(220, 220, 220, .8);
        text-align: right;
        color: #333;
    }

    nav a.menuItemVisible:hover {
        background-color: rgba(0, 174, 239, 0.9);
        color: #fff;
    }

    nav #menuButton {
        display: block;
        text-align: right;
        padding: 5px 10px 5px 10px;
        border: none;
    }

    nav #menuButton.menuItemVisible {
        background-color: rgba(0, 174, 239, 1);
        color: #fff;
        text-align: right;
    }

    nav .menuItemVisible.current {
        background-color: rgba(0, 174, 239, 0.5);
        color: #fff;
    }

    #hamburgerIcon {
        font-size: 0.9em;
        padding-left: 3px;
    }

    #hamburgerIcon::before {
        font-family: "FontAwesome";
        content: "\f0c9";
    }

}





/* ---------------------------- */
/* Footer                       */
/* ---------------------------- */

footer {
    position: absolute;
    bottom: 0;
    background: #f8f8f8;
    width: 100%;
    border-top: 1px solid #efefef;
    text-align: left;
    font-size: 12px;
    color: #666;
}

footer div {
    padding: 14px 0 14px 30px;
}






/* ---------------------------- */
/* Detail-View                  */
/* ---------------------------- */

h2.detailview {
    /* text-transform: uppercase; */
    font-size: 28px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: .5em;
    padding: 0px 2px;
}

.detailview-grid {
    /* background: steelblue; */
    display: grid;
    grid-template-columns: 75% 24%;
    grid-gap: 1%;
}

.detailview-grid .main {
    /* background: yellowgreen; */
}

.detailview-grid .sidebar {
    /* background: rgba(0, 174, 239, 0.1); */
    padding: 20px;
    height: auto;
}

.detail-list {
    /* background: tomato; */
    list-style-type: none;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    font-size: 90%
}

.detail-list li::before {
    font-family: "FontAwesome";
    font-weight: 900;
    content: "\f105";
    margin: 0 5px 0 0;
}

.detail-list li {
    margin: 0 0 5px 0;
}

.image-big {
    width: 100%;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.image-big:last-child {
    margin-bottom: 200px;
}





/* ---------------------------- */
/* Detail-View Infografik       */
/* ---------------------------- */

h2.detailview.center {
    text-align: center;
}

.image-big-infografik {
    height: auto;
    max-width: 100%;
    display: block;
    margin: 30px auto;
    border: solid 1px #ddd;
}

.image-big-infografik:last-child {
    margin: 20px auto 200px;
}





/* ---------------------------- */
/* Scroll to top                */
/* ---------------------------- */

#scroll-to-top {
    /* display: none; */
    visibility: hidden;
    position: fixed;
    bottom: 80px;
    right: 100px;
    z-index: 99;
    font-size: 300%;
    border: none;
    outline: none;
    background-color: transparent;
    color: rgba(0, 0, 0, .2);
    cursor: pointer;
    padding: 0px;
    opacity: 0;
    transition: 300ms ease;
}

#scroll-to-top::before {
    font-family: "FontAwesome Regular";
    /* content: "\f062"; */
    /* content: "\f0aa"; */
    content: "\f35b";
}

#scroll-to-top:hover {
    color: rgba(0, 174, 239, 1);
}





/* ---------------------------- */
/* Grid                         */
/* ---------------------------- */

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 230px);
    grid-gap: 25px;
}

.grid-box {
    background: #fff;
    transition: 150ms linear;
}

.grid-box:hover {
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}

.grid-box:hover .image {
    opacity: 0.5;
}

.grid-box .image {
    border: 1px solid #ddd;
    border-bottom: none;
    height: 200px;
    background: #aaa;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
}

.grid-box .description {
    height: 30px;
    background: #fff;
    color: #666;
    font-size: 90%;
    text-align: center;
    border: 1px solid #ddd;
    border-top: none;

    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-box a {
    text-decoration: none;
}





/* ---------------------------- */
/* Foto-Grid                    */
/* ---------------------------- */


.foto-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
    margin-top: 20px;
    margin-bottom: 200px;
}

.foto-grid-box {
    background: #fff;
    height: 170px;
    position: relative;
    /* box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); */
    border: 1px solid #ddd;
}

.foto-grid-box .heading {
    /* background: #f3f3f3; */
    background: #fff;
    text-align: left;
    display: inline-block;
    width: 40%;
    height: 100%;
    position: absolute;
    font-size: 1.7em;
    font-weight: 600;
    color: #aaa;
    padding: 30px 30px;
    transition: 0.7s ease;
}

.foto-grid-box .image {
    background: lightblue;
    display: inline-block;
    width: 60%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.7s ease;
}

.foto-grid-box .image:hover {
    /* box-shadow: 0 0 5px black; */
    opacity: 0.6;
}

.foto-grid-box .heading:hover {
    color: #00aeef;
}

.slideshow-container {
    margin-bottom: 100px;
}



/* ---------------------------- */
/* Home-Grid                    */
/* ---------------------------- */

.home-grid-container {
    /* background: steelblue; */
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 10px;
    
}

.home-grid-box {
    /* background: rgba(0, 174, 239, 0.1); */
    height: 180px;
    text-align: center;
    text-decoration: none;
    transition: 300ms ease;
    border: 1px solid rgba(0, 174, 239, 1);
}

.home-grid-box:hover {
    box-shadow: 0 0 7px rgba(0, 0, 0, .3);
}

.home-grid-box .image {
    /* background: tomato; */
    height: 150px;
    background-position: center;
    background-size: auto 50px;
    background-repeat: no-repeat;
}

.home-grid-box > h3 {
    background-color: rgba(0, 174, 239, 1);
    color: white;
    font-family: "TTNorms";
    font-weight: 400;
    font-size: 90%;
    margin: 0;
    padding: 6px;
}


.home-image {
    background: lightgrey;
    background-image: url(/img/home-image.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    margin-bottom: 25px;
    margin-top: 25px;
}




/* ---------------------------- */
/* Video                        */
/* ---------------------------- */


iframe.video  {
    width: 560px;
    height: 315px;
    margin-bottom: 2em;
}




/* ---------------------------- */
/* Responsive                   */
/* ---------------------------- */

@media screen and (max-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    #scroll-to-top {
        bottom: 15px;
        right: 30px;
    }
    .home-grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .home-image {
        background-position: 80%;
    }
    .foto-grid-box .image1 {
        background-position: 75%;
    }
    .foto-grid-box .image2 {
        background-position: 40%;
    }
    .foto-grid-box .image3 {
        background-position: 65%;
    }
    .foto-grid-box .image4 {
        background-position: 35%;
    }
    iframe.video  {
        width: 480px;
        height: 270px;
    }
    h2.video-heading {
        font-size: 24px;
    }
}

@media screen and (max-width: 550px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .detailview-grid {
        grid-template-columns: 100%;
    }
    .home-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-image {
        background-position: 70%;
    }
    .foto-grid-box .heading {
        font-size: 1.3em;
    }
    .foto-grid-box .image1 {
        background-position: 75%;
    }
    .foto-grid-box .image2 {
        background-position: 40%;
    }
    .foto-grid-box .image3 {
        background-position: 65%;
    }
    .foto-grid-box .image4 {
        background-position: 35%;
    }
    iframe.video  {
        width: 330px;
        height: 185px;
    }
    h2.video-heading {
        font-size: 22px;
     }
}

@media screen and (max-width: 400px) {
    .home-grid-container {
        grid-template-columns: repeat(1, 1fr);
    }
    .home-image {
        background-position: 80%;
    }
    .foto-grid-box .heading {
        font-size: 1em;
        padding: 30px 15px;
    }
    .foto-grid-box .image1 {
        background-position: 75%;
    }
    .foto-grid-box .image2 {
        background-position: 40%;
    }
    .foto-grid-box .image3 {
        background-position: 65%;
    }
    .foto-grid-box .image4 {
        background-position: 40%;
    }
    footer {
        font-size: 10px;
    }
    iframe.video  {
        width: 260px;
        height: 146px;
    }
    h2.video-heading {
       font-size: 18px;
    }
}