﻿/*Enthält das gesamte Styling header Website*/

/*Grundlegendes Styling der allgemeinen Elemente*/
body {
    border-top: 5px solid #3A6ABE;
    background: #fff;
    font-family: 'Karla', sans-serif;
    color: #333333
}

input {
    font-family: 'Karla', sans-serif;
    font-size: 16px;
    padding: 7px;
    outline: 0;
    border: 0;
    width: 250px;
    background: #fff;
    border-radius: 5px;
}

    input[type=submit] {
        width: auto;
        padding: 5px 18px;
        line-height: 25px;
        text-shadow: none;
        cursor: pointer;
        box-shadow: none;
        background: #333333;
        color: #fff;
    }

p {
    margin: 5px 0;
    line-height: 25px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color .5s ease;
}

strong {
    font-weight: bold;
}

figcaption {
    line-height: 25px;
    font-size: 14px;
    width: 200px;
}

    figcaption strong {
        border-bottom: 1px solid #D6D0C1;
        padding-bottom: 10px;
        margin: 10px 0;
        display: block;
    }

hr {
    background-color: #D6D0C1;
    border: 0;
    height: 1px;
    margin: 20px 0;
}

/*Styling der Sektionen*/

/* Header-Sektion */
header {
    position: relative;
    width: auto;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

    header h1 {
        margin: 25px 0 0 0;
        font-size: 30px;
        color: #000000;
        font-family: 'Montserrat', sans-serif;
    }



    header p {
        font-family: 'Karla', sans-serif;
        font-size: 16px;
        color: #4A463B;
        margin-left: 132px;
    }

    header img {
        float: left;
        margin: 0px 10px 10px 10px;
    }

/* Navigationsleiste */
nav {
    position: absolute;
    right: 0;
    bottom: 0;
}

    nav ul {
        list-style: none;
    }

        nav ul li {
            display: block;
            float: left;
            padding: 3px 15px;
        }

            nav ul li a {
                font-family: 'Karla', sans-serif;
                text-transform: uppercase;
                transition: all .25s ease;
            }

                nav ul li a:hover {
                    color: #3A6ABE;
                }

#mobileMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}

    #mobileMenu ul li {
        display: block;
        background-color: #3A6ABE;
        color: #fff;
        padding: 12px 0;
        letter-spacing: 0.1em;
        text-align: center;
        text-transform: uppercase;
        border-bottom: 1px solid #3A6ABE;
    }

.toggleMobile {
    display: none;
}

/* 3 COLUMNS */

#boxcontent {
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 0 45px 0;
}

    #boxcontent h2 {
        clear: left;
        font-size: 20px;
        border-bottom: 1px solid #D6D0C1;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    #boxcontent article {
        float: left;
        width: 250px;
        margin-right: 45px;
        font-size: 14px;
    }

        #boxcontent article h3 {
            font-family: 'Karla', sans-serif;
            font-size: 20px;
            margin-bottom: 10px;
            margin-left: 75px;
        }

        #boxcontent article h4 {
            font-family: 'Karla', sans-serif;
            font-size: 20px;
            margin-bottom: 10px;
            margin-left: 75px;
            padding-top: 20px;
        }

        #boxcontent article img {
            float: left;
            padding-bottom: 10px;
            padding-right: 20px;
        }

        #boxcontent article p {
            line-height: 25px;
            font-family: 'Karla', sans-serif;
            margin-left: 75px;
            text-align: justify;
        }

/* 3 COLUMNS */

#widecontent {
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 90px 0;
}

    #widecontent h2 {
        clear: left;
        font-size: 20px;
        border-bottom: 1px solid #D6D0C1;
        padding: 0px 0;
        margin-bottom: 10px;
    }

    #widecontent article {
        float: left;
        max-width: 400px;
        margin-left: 5px;
        margin-right: 25px;
        font-size: 14px;
        padding: 20px 0 45px 0;
    }

        #widecontent article h3 {
            font-family: 'Karla', sans-serif;
            font-size: 20px;
            margin-bottom: 10px;
            margin-left: 0px;
        }

        #widecontent article h4 {
            font-family: 'Karla', sans-serif;
            font-size: 20px;
            margin-bottom: 10px;
            margin-left: 5px;
            padding-top: 20px;
        }

        #widecontent article img {
            float: left;
            padding-bottom: 10px;
            padding-right: 20px;
        }

        #widecontent article p {
            line-height: 25px;
            font-family: 'Karla', sans-serif;
            margin-left: 0px;
            text-align: justify;
        }

#flatcontent {
    width: auto;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 20px 45px 20px;
}

    #flatcontent h2 {
        clear: left;
        font-size: 20px;
        border-bottom: 1px solid #D6D0C1;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    #flatcontent article {
        float: none;
        clear: left;
        font-size: 14px;
        min-height: 100px;
    }

        #flatcontent article h3 {
            font-family: 'Karla', sans-serif;
            font-size: 20px;
            margin-bottom: 10px;
            margin-left: 75px;
        }

        #flatcontent article h4 {
            font-family: 'Karla', sans-serif;
            font-size: 20px;
            margin-bottom: 10px;
            margin-left: 75px;
            padding-top: 20px;
        }

        #flatcontent article img {
            float: left;
            padding-bottom: 10px;
            padding-right: 20px;
        }

        #flatcontent article p {
            line-height: 25px;
            font-family: 'Karla', sans-serif;
            margin-left: 75px;
            text-align: justify;
        }

        #flatcontent article table, th, td {
            border: hidden;
            padding: 5px;
            margin-left: 75px;
            margin-bottom: 10px;
        }

        #flatcontent article iframe {
            width:900px; 
            height:636px;
        }




/* Slider */
#slider_content1, #slider_content2, #slider_content3 {
    line-height: 25px;
    font-family: 'Karla', sans-serif;
    width: 350px;
    position: absolute;
    top: 15%;
    left: 15%;
    display: none;
    z-index: 11;
}

    #slider_content1 h3, #slider_content2 h3, #slider_content3 h3 {
        color: #fff;
        font-size: 25px;
        font-weight: bold;
        margin-bottom: 10px;
        background-color: #333333;
        padding: 10px 15px;
        border-radius: 15px 0 15px 0;
        display: inline-block;
    }

#slider_content1 {
    display: block;
}

    #slider_content1 p, #slider_content2 p, #slider_content3 p {
        margin: 0 0 30px 0;
        color: #4a463b;
        background-color: #fff;
        padding: 10px 15px;
        border-radius: 5px;
    }

/* BUTTONS */

.button {
    padding: 7px 14px;
    border: 1px solid #3A6ABE;
    background-image: linear-gradient(bottom, #1F3CDF 0%, #3A6ABE 100%);
    background-image: linear-gradient(to bottom, #556BE7 0%, #3A6ABE 100%);
    background-color: #3A6ABE;
    color: #FFFFFF;
    text-shadow: 1px 1px 0px#3A6ABE;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.3);
}

    .button:hover {
        background: none #FFFFFF;
        border-color: #FFFFFF;
        text-shadow: none;
        color: #4A463B;
    }


/* Spacer (auf gleiche Farbe wie oberen Rand beim body achten */
#spacer {
    width: auto;
    height: 35px;
    background-color: #3A6ABE;
    position: relative;
    font-family: 'Karla', sans-serif;
    color: #fff;
    font-size: 22px;
}

    #spacer p {
        margin-top: 22px;
        width: auto;
        position: absolute;
        left: 50%;
        margin-left: -450px;
    }

    #spacer .search {
        margin-top: 15px;
        width: auto;
        position: absolute;
        right: 50%;
        margin-right: -480px;
    }


/* Die 4 kleinen Bildboxen mit MouseOver-Effekt */
#four_columns, #text_columns {
    line-height: 25px;
    font-family: 'Karla', sans-serif;
    width: auto;
    max-width: 900px;
    margin: 0 auto;
}

    #four_columns h2, #text_columns h3 {
        clear: left;
        font-size: 20px;
        border-bottom: 1px solid #D6D0C1;
        padding: 10px 0;
        padding-top: 40px;
        margin-bottom: 10px;
    }

    #four_columns .img-item {
        float: left;
        margin-right: 25px;
    }

        #four_columns .img-item a {
            position: relative;
            display: block;
        }

.thumb-screen {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 113px;
    background: #000 url(img/zoom.png) center center no-repeat;
    z-index: 99;
    opacity: 0;
    transition: opacity .5s ease;
}

    .thumb-screen:hover {
        opacity: 0.5;
    }

/* Footer */
footer {
    position: relative;
    clear: both;
    width: auto;
    height: 350px;
    background: #1C335B;
}

    footer .wrapper {
        line-height: 25px;
        margin: 0 auto;
        padding-top: 30px;
        width: auto;
        max-width: 900px;
        font-size: 14px;
    }

        footer .wrapper .column {
            font-family: 'Karla', sans-serif;
            color: #ababab;
            float: left;
            width: 280px;
            margin-right: 20px;
        }

            footer .wrapper .column.midlist ul li {
                width: auto;
                padding: 0 0 15px 45px;
                margin-bottom: 10px;
                border-bottom: 1px solid #444444;
                background: url(../images/icons/Rightarrow.png) left 0px no-repeat;
                    background-size: 32px;
            }

                footer .wrapper .column.midlist ul li a:hover {
                    color: #fff;
                }

            footer .wrapper .column.rightlist ul li {
                width: auto;
                margin-bottom: 15px;
            }

                footer .wrapper .column.rightlist ul li a span {
                    margin-left: 95px;
                    display: block;
                }

                footer .wrapper .column.rightlist ul li a img {
                    transition: border .25s ease;
                    float: left;
                    border: 3px solid #444444;
                }

                    footer .wrapper .column.rightlist ul li a img:hover {
                        border-color: #5e5e5e;
                    }

            footer .wrapper .column h4 {
                font-size: 16px;
                color: #fff;
                border-bottom: 1px solid #444444;
                padding: 0 0 10px 0;
                margin-bottom: 10px;
            }


/* Copyright */

#copyright {
    background: #1D1D1D;
    height: 70px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

    #copyright .wrapper {
        font-family: 'Karla', sans-serif;
        padding-top: 25px;
        color: #5e5e5e;
        font-size: 14px;
        position: relative;
    }

        #copyright .wrapper .social {
            position: absolute;
            right: 0;
            top: 25px;
        }

            #copyright .wrapper .social a {
                transition: opacity .25s ease;
                opacity: 0.3;
                margin-left: 12px;
                display: block;
                float: left;
            }

                #copyright .wrapper .social a:hover {
                    opacity: 0.7;
                }

        #copyright .wrapper a {
            color: #ABABAB;
        }

            #copyright .wrapper a:hover {
                color: #fff;
            }

/* SLIDESHOW */
/* Prevent the slideshow from flashing on load */
.slidesjs-container {
    border-top: 1px #d6d0c1 solid;
}

#slides {
    display: none
}

/* Center the slideshow */
.container {
    width: auto;
    margin: 0 auto;
    position: relative;
}

/* Show active item in the pagination */
.slidesjs-pagination .active {
    color: red;
}

#slider_content1 p .responsive_button, #slider_content2 p .responsive_button, #slider_content3 p .responsive_button {
    display: none;
    color: #000;
}

#googleMap {
    width: 900px;
    height: 400px;
}



/*MISC - Verschiedene Regeln, die nicht konkret zuordnungbar sind*/
clear {
    clear: both;
}

.hidden {
    position: absolute;
    clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
    clip: rect(1px, 1px, 1px, 1px);
}

.invisible {
    color: transparent;
}



/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

@media (max-width: 1215px) {
    #slider_content1, #slider_content2, #slider_content3 {
        width: auto;
        margin-right: 50px;
    }

        #slider_content1 h2, #slider_content2 h2, #slider_content3 h2 {
            font-size: 18px;
        }

        #slider_content1 p, #slider_content2 p, #slider_content3 p {
            font-size: 14px;
        }

            #slider_content1 p .responsive_button, #slider_content2 p .responsive_button, #slider_content3 p .responsive_button {
                display: inline;
            }

    .container .button {
        display: none;
    }

   
      header  h1 {
            font-size: 22px;
        }
    }
}

@media (max-width: 915px) {
    header h1 {
        font-size: 22px;
    }
    
    #boxcontent article {
        float: none;
        clear: both;
        margin: 30px auto 0 auto;
        width: 60%;
    }

    #spacer {
        font-size: 15px;
    }

        #spacer .search {
            margin-top: 19px;
            margin-right: -385px;
        }

        #spacer p {
            margin-left: -370px;
        }

    input {
        padding: 4px;
        font-size: 14px;
    }

        input[type="submit"] {
            padding: 1px 14px;
        }

    #four_columns {
        width: 500px;
    }

        #four_columns .img-item:nth-of-type(3), #four_columns .img-item:nth-of-type(4) {
            margin-top: 25px;
        }

    #text_columns article.column1, #text_columns .column2 {
        float: none;
        max-width: 500px;
        margin: 50px 30px 0 30px;
    }

    .column2 .row {
        float: none;
        margin: 0 0 40px 50px;
    }

    footer .wrapper .column {
        font-size: 12px;
        width: 230px;
    }

    #flatcontent article iframe {
        width: 500px;
        height: 353px;
    }

    #googleMap {
        width: 500px;
        height: 222px;
    }

}

@media (max-width: 765px) {
    .container {
        height: 1px;
        top: -1500px;
    }

    header {
        height: 120px;
    }
    header h1 {
        font-size: 22px;
    }

        header nav {
            right: auto;
            bottom: auto;
            left: 50%;
            top: 100px;
            margin-left: -184px;
        }

    #spacer {
        height: 100px;
    }

        #spacer p {
            text-align: center;
            position: static;
            margin: 0 auto;
            padding: 15px 0 7px 0;
        }

        #spacer .search {
            text-align: center;
            position: static;
            margin: 0 auto;
        }

    footer {
        padding-bottom: 70px;
        height: auto;
    }

        footer .wrapper {
            width: 350px;
            margin: 0 auto;
        }

            footer .wrapper .column {
                margin-top: 30px;
                float: none;
                font-size: 14px;
                width: auto;
            }

            footer .wrapper .social {
                display: none;
            }
}

/*schmales Design (Handy)*/
@media (max-width: 500px) {
    header {
        margin-top: 80px;
        text-align: center;
    }
 
    #spacer {
        height: auto;
        padding-bottom: 15px;
    }

    #map {
        width: 300px;
        height: 400px;
    }


    #four_columns {
        width: auto;
    }

        #four_columns .img-item {
            width: 200px;
            float: none;
            margin: 25px auto 0 auto;
        }

        #four_columns h2 {
            margin: 0 30px;
        }

    .column2 .row {
        margin: 0 0 40px 10px;
        width: auto;
    }

    footer .wrapper {
        width: auto;
    }

        footer .wrapper .column {
            margin: 0 auto 15px auto;
            max-width: 300px;
        }

    input {
        width: auto;
    }

    #mobileMenu {
        display: block;
        z-index: 99;
    }

    /*Positioniert den Button für die Mobile Navigaition fest in der linken oberen Ecke*/
    .toggleMobile {
        position: fixed;
        top: 10px;
        left: 10px;
        display: block;
        width: 40px;
        height: 36px;
        cursor: pointer;
        z-index: 999;
    }

        /*Stellt das Menü als Balken mit Transition-Effekt dar */
        .toggleMobile span.menu1, .toggleMobile span.menu2, .toggleMobile span.menu3 {
            display: block;
            position: absolute;
            width: 28px;
            height: 4px;
            left: 0;
            background: #3A6ABE;
            -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
            transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }

        /*Stellt die einzelnen Balken untereinander der*/
        .toggleMobile span.menu1 {
            top: 0;
        }

        .toggleMobile span.menu2 {
            top: 8px;
        }

        .toggleMobile span.menu3 {
            top: 16px;
        }

        /*Definiert die aktive Klasse des Umschalters 
    (der unterste Balken verschwindet, die anderen rotieren gegeneinenander zum Kreuz*/

        /*wird um 45° im Uhrzeigersinn gedreht*/
        .toggleMobile.active span.menu1 {
            top: 8px;
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            transform: rotate(45deg);
            -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
            transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }

        /*wird um 45° gegen den Uhrzeigersinn gedreht*/
        .toggleMobile.active span.menu2 {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
            -webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
            transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }

        /* wird ausgeblendet */
        .toggleMobile.active span.menu3 {
            opacity: 0;
            -webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
            transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
        }

    header nav {
        display: none;
    }

    header h1 {
        font-size: 22px;
        text-align: left;
    }

    header p {
        margin-left: 60px;
        font-size: 14px;
    }

    #flatcontent article iframe {
        width: 400px;
        height: 282px;
    }

    #googleMap {
        width: 300px;
        height: 133px;
    }

}

/* KEYFRAMES */

@keyframes stylie-transform-keyframes {
    0% {
        transform: translateX(30px) translateY(46px) rotate(0deg) translate(-50%, -50%);
        animation-timing-function: cubic-bezier(.25,.25,.75,.75);
    }

    100% {
        transform: translateX(260px) translateY(-150px) rotate(0deg) translate(-50%, -50%);
    }
}

@keyframes stylie-transform2-keyframes {
    0% {
        transform: translateX(40px) translateY(40px) rotate(0deg) translate(-50%, -50%);
        animation-timing-function: cubic-bezier(.25,.25,.75,.75);
    }

    100% {
        transform: translateX(50px) translateY(40px) rotate(0deg) translate(-50%, -50%);
    }
}
