body
{
    margin: 0;
}


#container
{
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #fff;
    color: #000;
}


.mobile
{
    float: none;
}

@media only screen and ( max-width: 860px )
{
    .mobile
    {
        float: left;
    }

}


/****************************************************************************************/

#navi
{
    margin: 0 auto;
    width: 100%;
    border-bottom: 50px solid #000;
    height: 57px;
    position: relative;
}

@media only screen and ( max-width: 860px )
{
    #navi
    {
        border: none;
        position: absolute;
        z-index: 3;
    }

    #navi.open
    {
        background-color: rgba(0, 0, 0, 0.7);
        height: 100vh;
    }

}

#navi div
{
    max-width: 1200px;
}

#navi .navi_close, #navi .navi_open
{
    display: none;
}

@media only screen and ( max-width: 860px )
{
    #navi .navi_close, #navi .navi_open
    {
        display: inline-block;
        position: absolute;
        right: 35px;
        top: 15px;
        margin: 0;
        padding: 0 15px 0 0;
        background-color: black;
        border-radius: 15px;
    }

    #navi .navi_close:hover, #navi .navi_open:hover
    {
        cursor: pointer;
    }

    #navi .navi_close svg, #navi .navi_open svg
    {
        fill: white;
    }

}

#navi ul
{
    margin: 30px 0 0 0;
    padding: 0;
    text-align: center;
}

@media only screen and ( max-width: 860px )
{
    #navi ul
    {
        margin: 50% 0;
        display: none;
    }

    #navi.open ul
    {
        margin: 50% 0;
        display: block;
    }
}

#navi li
{
    margin: 0;
    padding: 0px 25px;
    display: inline-block;
    list-style-type: none;
}

@media only screen and ( max-width: 860px )
{
    #navi li
    {
        display: block;
		height: 50px;
        padding: 0;
    }
}

#navi span
{
    color: #fff;
    background-color: #000;
    border-radius: 5px;
    text-decoration: none;
    font-size: 22px;
    font-stretch: narrower;
	padding: 10px 15px;
}

@media only screen and ( max-width: 860px )
{
    #navi span
    {
        display: block;
    }

    #navi .text
    {
        background-color: transparent;
        display: inline-block;

    }

}

#navi a
{
    color: #000;
    text-decoration: none;
    font-size: 22px;
    font-stretch: narrower;
}

@media only screen and ( max-width: 860px )
{
    #navi a
    {
        color: white;
    }

}

/****************************************************************************************/

#logo
{
    margin: 0;
    padding: 0;
    position: absolute;
    top: -20px;
    left: 95px;
    width: auto !important;
    z-index: 5;
    transition: all 1s;
}

@media only screen and ( max-width: 1350px )
{
    #logo
    {
        top: 20px;
        left: 30px;
    }
}

@media only screen and ( max-width: 1160px )
{
    #logo
    {
        top: 35px;
        width: 15% !important;
    }
}

@media only screen and ( max-width: 860px )
{
    #logo
    {
        top: 5px;
        left: 10px;
        width: 15% !important;
    }
}

#logo img
{
    width: 75%;
    height: auto;
}

@media only screen and ( max-width: 1160px )
{
    #logo img
    {
        width: 100%;
    }

}

/*@media only screen and ( max-width: 1220px )
{
    #logo img
    {
        width: 55%;
    }
}

@media only screen and ( max-width: 400px )
{
    #logo img
    {
        width: 30%;
    }
}*/


/****************************************************************************************/

#bild-slideshow, #bild
{
    margin: 2px auto 0 auto;
    padding: 0;
    position: relative;
}

#bild-slideshow .spacer
{
	width: 100%;
	height: auto;
    margin: 0;
}

#bild-slideshow .spacer img
{
	width: 100%;
	height: auto;
}


#bild-slideshow .blend
{
    margin: 0;
    padding: 0;
	position: absolute;
	top: 0;
	left: 0;
    width: 100%;
}

#bild-slideshow .blend img, #bild img
{
	width: 100%;
}

#bild-slideshow .first
{
	z-index: 2;
}

#bild-slideshow .second
{
	z-index: 1;
}

/****************************************************************************************/

#bild p
{
    margin: 0;
}

/****************************************************************************************/

#firmenspruch
{
    margin: 0 auto;
    padding: 30px 10px;
    width: 100%;
    text-align: center;
    background-image: url(/dachstuhl.png);
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    background-size: contain;
}

#firmenspruch h1
{
    margin: 0 0 30px 0;
    padding: 0;
    font-size: 26px;
    font-weight: 200;
}

#firmenspruch h2
{
    margin: 5px 0 0 0;
    padding: 0;
    font-size: 20px;
    font-weight: 100;
}

/****************************************************************************************/

#content
{
    margin: 0 auto;
    padding: 40px 0;
    max-width: 1000px;
    width: 100%;
}

#content article
{
    margin: 20px 0;
}

@media only screen and ( max-width: 1000px )
{
    #content article
    {
        padding: 0 15px;
    }
}

/****************************************************************************************/

#footer
{
    margin: 0;
    padding: 30px 0;
    background-color: #000;
    width: 100%;
    color: #fff;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

@media only screen and ( max-width: 500px )
{
    #footer
    {
        flex-direction: column;
    }
}

#footer div
{
    flex: 1;
    text-align: center;
}

#kontakt label
{
    display: inline-block;
    width: 140px;
}

input
{
    display: inline-block;
    width: 250px;
}

#kontakt textarea
{
    width: 500px;
    height: 150px;
}
