﻿@import url('https://fonts.googleapis.com/css?family=Montserrat');
@import url('https://fonts.googleapis.com/css?family=Lato');

/*Allgemein*/

html, body
{
    height: 100%;
    margin: 0;
}

body
{
    height: 100%;
    font-family: 'Lato', sans-serif;
    background-color: #d7b9d7;
    margin: 0;
    padding: 0;
    font-size: 100%;
    background-size: 50%;
    background-image: url("images/background4.png");
    color: #2F2D2C;
}

h1
{
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin: 0em;
    font-size: 2.5em;
    line-height: 3.8em;
}

h2
{
    margin: 1.25em 0.5em;
    text-align: left;
    font-size: 1.688em;
    line-height: 1.83em;
    font-weight: 100;
    color: #2F2D2C;
}

h3
{
    margin-top: 1.2em;
    padding: 0em 1em;
    text-align: left;
    font-size: 1em;
    line-height: 1.25em;
    font-weight: bold;
    color: #2F2D2C;
}

ul
{
    margin: 0em;
    padding: 0em;
}

a
{
    text-decoration: none;
    color: #2F2D2C;
}

section a:hover
{
    text-decoration: underline;
}

p
{
    text-align: left;
    color: #2F2D2C;
    margin: 1.2em;
    line-height: 1.25em;
}

li
{
    color: #2F2D2C;
    line-height: 1.25em;
    margin: 0.313em 0em;
    padding: 0em;
}

/*Kopfzeile*/
header
{
    background-color: #928094;
    background-image: url("images/header2.jpg");
    background-repeat: no-repeat;
    background-position-x: center;
    background-size: auto 100%;
    height: 25vh;
    width: 100%;
    text-align: center;
    display: block;
}

/*Menü*/
nav
{
    background-color: #8a7594;
    height: 2.5em;
}

nav ul
{
    text-align: center;
}

nav ul li
{
    display: inline;
}

nav ul li a
{
    line-height: 2.5em;
    font-size: 1.125em;
    text-decoration: none;
    padding: 0.563em 0.938em 0.375em 0.938em;
}

nav ul li a.active, nav ul li a:hover
{
    background-color: #bfacba;
}


/*Hauptinhalt*/

#contact
{
    margin-top: 4em;
    display: inline-block;
    vertical-align: top;
}

#map
{
    margin-top: 4em;
    margin-left: 10em;
    width: 30%;
    display: inline-block;
    vertical-align: top;
}

iframe
{
    width: 200%;
}

#adjust
{
    display: inline-block;
    vertical-align: top;
    width: 60%;
}

table
{
    margin-left: 1em;
    padding-bottom: 2em;
    background: rgba(150, 118, 150, 0.33);
    text-align: left;
}

td, th
{
    padding-right: 0.5em;
    padding-bottom: 1.75em;
}

ul form li
{
    list-style-type: none;
    margin: 0;
    width: 100%;
}

#button
{
    width: 152%;
}

textarea
{
    resize: vertical;
    width: 150%;
}

section ul
{
    padding: 0em 1.875em 1.25em 2.5em;
}

article>img
{
    height: auto;
    width: 40%;
    margin-bottom: 0;
    margin-top: 1.7em;
}

p>a
{
    padding: 1.2em 0;
}

p>a:hover
{
    text-decoration: underline;
}

#rightImage
{
    float: right;
    margin-left: 5em;
}

#leftImage
{
    float: left;
    margin-right: 5em;
    margin-left: 1.2em;
}

/*aside*/
section aside article ul li
{
    list-style: none;
}

section>article
{
    width: 63%;
    display: inline-block;
    vertical-align: top;
}

section
{
    display: flex;
    flex-flow: row;
    margin-bottom: 5px;
    min-height: 73vh;
}

.fillRestOfPage
{
    background-color: #8a7594;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
}

#contact
{
    width: 30%;
}

section aside
{
    margin-top: 5px;
    background-color: #8a7594;
    display: inline-block;
    width: 17%;
    min-width: 210px;
}

section aside article
{
    border-bottom: 5px solid #d7b9d7;
}

aside p
{
    line-height: 1.25em;
    margin: 0.313em 0em;
    padding: 0em;
}

aside h3
{
    margin-left: 0.313em;
    padding: 0em;
}

/*Fußzeile*/
footer
{
    background-color: #454040;
    width: 100%;
}

footer ul
{
    width: 100%;
    margin: 0;
}

footer ul li
{
    display: inline;
    color: #E2DBDB;
    font-size: 0.8em;
    line-height: 2.8em;
    padding: 0em 0.625em;
}

#wrapper
{
    min-height: 100%;
    height: auto !important;
    margin: 0;
}

footer a
{
    color: #E2DBDB;
}

footer a:hover
{
    text-decoration: underline;
}

/* Mobile Version */


@media screen and (max-width: 1100px)
{
    section
    {
        display: unset;
        flex-flow: unset;
        margin-bottom: 0;
    }

    article>img
    {
        margin: auto;
        padding: 0;
        width: 90%;
    }

    #rightImage, #leftImage
    {
        display: block;
        margin: auto;
        float: none;
    }

    #contact
    {
        display: block;
        width: 55%;
    }

    #map
    {
        display: block;
        width: 45%;
        margin-left: 2.6em;
        margin-top: 0;
    }
}

@media screen and (max-width: 880px)
{
    .fillRestOfPage
    {
        height: 0;
    }
}

@media screen and (max-width: 770px)
{
    header
    {
        background-color: #d7b9d7;
        background-size: 70%;
        background-position-y: 50%;
        background-image: url("images/logo_png_transparent2.gif");
    }

    body
    {
        background-image: none;
    }

    nav
    {
        height: auto;
        width: 100%;
    }

    nav ul li
    {
        display: block;
    }

    nav ul li a
    {
        display: block;
        width: auto;
        line-height: 2.5em;
        color: #454040;
    }

    section aside
    {
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }

    section > article
    {
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
    }
    
    table
    {
        margin: auto;
        width: 90%;
    }

    #qualiTable td
    {
        display: none;
    }

    #contact
    {
        display: block;
        width: 115%;
        margin: auto;
    }

    #map
    {
        display: block;
        width: 70%;
        margin: auto;
    }

    footer
    {
        margin-top: 1em;
    }
}