* {
    font-family: 'Open Sans', sans-serif;
    text-transform: none;
    text-align: left;
    color: rgb(0, 45, 89);
}

body {
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.3em;
    text-decoration: none;
}

#content,
#content_augenblicke {
    background-color: white;
    z-index: 1;

}

#content_datenschutz {
    width: auto;
    height: auto;
    position: relative;
margin-top: 30px;
}

.galerie p {
    margin: 30px 20px 20px;
}


/*--------Slideshow_Homeseite--------*/

.slides {
    margin: 0 auto;
    display: none;
    width: 100%;
}

.animate-left {
    position: relative;
    animation: animateleft 0.8s
}

@keyframes animateleft {
    from {
        left: 0px;
        opacity: 0%
    }

    to {
        left: 0;
        opacity: 1
    }
}

/*--------Slideshow_fertig--------*/

a:link {
    text-decoration: none;
}

a:-webkit-any-link {
    cursor: pointer;
    text-decoration: none;
}

p a {
    text-decoration: none;
}

.adress a {
    text-decoration: none;
    color: rgb(116, 175, 39);
}

#textbox .adress {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    margin-top: 30px;
    text-decoration: none;
    color: rgb(116, 175, 39);
}

h6 {
    font-size: 14px;
    line-height: 17px;
    font-weight: 100;
    margin: 0;
    margin-top: 10px;
}

.menubutton {
    z-index: 250;
    margin-right: 30px;
    width: 120px;
    position: relative;
    float: right;
    clear: both;
    margin-top: -10px;
}

img {
    margin: o auto;
    width: 100%;
}

#textbox {
    padding: 30px 25px 30px 30px;
}

#logo {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    height: auto;
}

.lehrbetrieb img {
    width: 80px;
    z-index: 1000;
    margin-top: 5px;
    margin-bottom: -5px;
}

#textbox p {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    margin-top: 5px;
}

#textbox h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 36px;
    color: rgb(116, 175, 39);

}

/*-------- navigation --------*/

#mainnav {
    position: absolute;
    width: 100%;
    z-index: 100;
    background-color: white;
    padding-bottom: 50px;
}

nav ul li a.current {
    color: rgb(116, 175, 39);
}

nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    padding-bottom: 0px;
    margin-top: 50px;
    z-index: 10;
}

nav ul li {
    display: block;
    text-align: center;
    background: rgba(116, 175, 39, 0.3);
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 14px;
    font-size: 16px;
    font-weight: 600;
    color: rgb(0, 45, 89);
}

nav ul li a {
    width: auto;
    height: 25px;
    display: block;
    padding: 5px 5px 2px 20px;
    color: rgb(0, 45, 89);
}

nav ul li a:hover {
    background: rgba(100, 100, 100, 0.4);
    color: black;
}

#back-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    z-index: 500;
    display: none;
    clear: both;
}

#back-top a:hover {
    text-decoration: none;
}

@media only screen and (min-width: 401px) {

    .textbox_startseite h1 {
        font-size: 32px;
        line-height: 40px;
    }
}

@media only screen and (min-width: 501px) {

    #textbox p {
        font-size: 18px;
        line-height: 23px;
    }

    #textbox h1 {
        font-size: 32px;
        line-height: 44px;
    }

    #textbox .adress {
        font-size: 18px;
        line-height: 23px;
    }

    .menubutton {
        float: right;
        margin-right: 40px;
        width: 140px;
    }

    #textbox {
        padding: 40px 35px 40px 40px;
    }

    .galerie {
        margin: 0 40px;
        text-align: left;
        max-width: 460px;
        padding: 0px;
    }

    .bildergalerie img {
        height: 190px;
        width: auto;
        margin: 0;
        padding: 0px;
    }


    @media only screen and (min-width: 601px) {

        .galerie {
            margin: 0 40px;
            text-align: left;
            max-width: 580px;
        }

        .bildergalerie img {
            height: 230px;
            width: auto;
            margin: 0;
        }
    }

    @media only screen and (min-width: 701px) {

        .galerie {
            margin: 0 40px;
            text-align: left;
            max-width: 700px;
            padding-bottom: 40px;
        }

        .bildergalerie img {
            height: 280px;
            width: auto;
            margin: 0;
            padding: 0;
        }
    }


    @media only screen and (min-width: 801px) {

        .lehrbetrieb img {
            width: 100px;
            z-index: 1000;
            margin-top: 5px;
            margin-bottom: -5px;
        }

        .galerie {
            margin: 0 40px;
            text-align: left;
            max-width: 800px;
        }

        .bildergalerie img {
            height: 330px;
            width: auto;
            margin: 0;
            padding: 0;
        }
    }

    @media only screen and (min-width: 901px) {
        #content {
            right: 5%;
            width: 400px;
            height: auto;
            position: absolute;
            top: auto;
            margin-bottom: auto;
            z-index: 100;
        }

        #content_augenblicke {
            margin: 0 auto;
            text-align: center;
            height: auto;
            position: relative;
            top: 0;
            z-index: 100;
            clear: both;
        }

        #content_augenblicke #logo {
            margin-left: 5%;
            z-index: 2000;
            padding-top: 0px;
            margin-top: 0px;
            width: 400px;
            height: auto;
            float: left;
            clear: both;
            top: 0;
        }

        #content_augenblicke #mainnav {
            margin-left: 5%;
            position: absolute;
            z-index: 10;
            padding-bottom: 0px;
            background-color: transparent;
        }

        #content_augenblicke nav ul {
            padding: 0;
            margin: 0;
            list-style: none;
            padding-bottom: 0px;
            margin-top: 200px;
            z-index: 10;
            background-color: white;
            width: 400px;
        }

        #content_augenblicke nav ul li {
            width: 400px;
            display: block;
            text-align: center;
            background: rgba(116, 175, 39, 0.3);
            margin-right: 100px;
            margin-left: 0px;
            margin-top: 14px;
            font-size: 16px;
            font-weight: 600;
            color: rgb(0, 45, 89);
        }

        #content_augenblicke nav ul li a {
            width: auto;
            height: 25px;
            display: block;
            padding: 5px 5px 2px 20px;
            color: rgb(0, 45, 89);
        }

        #content_augenblicke .menubutton {
            height: auto;
            float: left;
            margin-left: 300px;
            clear: both;
        }

        #content_augenblicke #textbox {
            width: 300px;
            margin: 0;
            margin-top: -190px;
            padding: 0;
            height: auto;
            float: right;
            clear: both;
        }

        #textbox p {
            margin-top: 5px;
            font-size: 16px;
            line-height: 19px;
        }

        #textbox .adress {
            font-size: 16px;
            line-height: 19px;
        }

        #content_augenblicke {
            width: 800px;
            height: auto;
        }

        nav ul li {
            display: block;
            text-align: center;
            background: rgba(116, 175, 39, 0.3);
            margin-right: 40px;
            margin-left: 40px;
            margin-top: 10px;
            font-size: 18px;
            font-weight: 600;
            color: rgb(0, 45, 89);
        }

        .simpleSlides img {
            position: absolute;
            background-size: cover;
            object-fit: cover;
            width: 100%;
            height: 100%;
            bottom: 0;
        }

        .galerie {
            margin: 0 auto;
            width: 100%;
            clear: both;
            padding-top: 40px;
            text-align: left;
            max-width: 900px;
        }

        .bildergalerie img {
            height: 190px;
            width: auto;
            margin: 0;
            padding: 0;
        }
    }


    @media only screen and (min-width: 1501px) {

        #textbox p {
            font-size: 18px;
            line-height: 22px;
        }

        #textbox h1 {
            font-size: 30px;
            line-height: 37px;
        }

        #textbox .adress {
            font-size: 18px;
            line-height: 22px;
        }

        #content_augenblicke #textbox {
            width: 500px;
            font-size: 15px;
            margin-right: 70px;

        }

        #content_augenblicke #textbox p {
            font-size: 17px;
            line-height: 21px;
            margin-top: -20px;
        }

        #content_augenblicke {
            width: 1100px;
            height: auto;
        }

        #content {
            right: 7%;
            width: 480px;
        }
    }

    @media only screen and (min-width: 1801px) {
        .galerie {
            margin: 0 auto;
            width: 100%;
            clear: both;
            padding-top: 40px;
            text-align: left;
            max-width: 1200px;
        }

        .bildergalerie img {
            height: 260px;
            width: auto;
            margin: 0;
            padding: 0;
        }
    }


    @media print {
        body {
            background-color: transparent;
            font-size: 10pt;
            font-family: Arial, SunSans-Regular, Sans-Serif;
            color: #000;
        }

        h2 {
            font-size: 18px;
            color: black;
        }

        a,
        a:visited {
            color: blueviolet;
        }

        a[href]:after {
            content: " ("attr(href) ")";
            color: #777;
            font-size: 10pt;
        }

        navigation,
        header img {
            display: none;
        }

        #footer {
            display: none;
        }

        .pint-only {
            display: block;
        }

        img {
            display: none;
        }
