
/*
 From 
 here 
 the 
 middle
 Screens
 are 
 visable */

*
{ 
    margin: 0;
    padding: 0;
}

html
{
    height: 100%;
    overflow-x: auto;
    overflow-y: scroll;
}

body
{
    background: white;
    font-family: Arial;
    height:auto;
    font-size: 0.8em;
    color: #001351;
}

#head_left {
    position: absolute;
}

#head_right {
    float:right;
}

div#container
{
    width:90%;
    max-width:980px;
    background: white;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 2px solid #c3c3c5;
}

#slogan_inc
{
    width: auto;
    padding-left:20px;
    padding-top:20px;
}

div#headtop
{
    width: 100%;
    height: 116px;
    background: white;
    background-image: url(../images/head_middle.jpg);
}

div#headslogan
{
    width: 100%;
    height: 80px;
    background: #bae6f6;
    font-family: Arial;
}

div#nav
{
    position: relative;
    float:left;
    font-family: Times;
    text-transform: uppercase;
    font-size: 1em;
    margin-top: 35px;
    margin-bottom: 35px;
}

/* from here is hamburger */
#mobile_nav
{
    display:none;
}

.navigation {
    list-style: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.nav-trigger {
    position: absolute;
    clip: rect(0, 0, 0, 0);
}

label[for="nav-trigger"] {
    width: 30px;
    height: 30px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='30px' height='30px' viewBox='0 0 30 30' enable-background='new 0 0 30 30' xml:space='preserve'><rect width='30' height='6'/><rect y='24' width='30' height='6'/><rect y='12' width='30' height='6'/></svg>");
    background-size: contain;
}

label[for="nav-trigger"] {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.nav-trigger:checked + label {
    left: 215px;
}

.nav-trigger:checked ~ .site-wrap {
    left: 200px;
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
}

.nav-trigger + label, .site-wrap {
    transition: left 0.2s;
}

body {
    overflow-x: hidden;
}
/* hamburger ends */

ul
{
    list-style-type: none;
    padding-left: 20px;
}

li
{
    padding-top: 5px;
    padding-bottom: 5px;
}

ul ul
{
    padding-top: 5px;
}

li li
{
    font-size: 0.85em;
}

li a
{
    color: #001351;
    text-decoration: none;
}

li a:hover
{
    color: #1bace1;
}

.active
{
    font-weight: bold;
}

div#content
{
    position: relative;
    max-width: 100%;
    margin-top: 38px;
    margin-bottom: 40px;
    margin-right: 5%;
    margin-left: 30%;
    min-height:350px;
    height:auto !important;  /* für moderne Browser */
    height:350px;  /*für den IE */
}

div#breadcrumb
{
    height: 10px;
    font-family: Arial;
    font-size: 11px;
    padding-top: 10px;
    display:none;
}

div#news
{
    float:right;
    width: 20%;
    background: white;
    margin-top: 38px;
    margin-left: 25px;
    margin-right: 10px;
    padding: 10px;
    border: 1px solid #BAE6F6;
    position: relative;
}

div#footer
{
    width: 100%;
    background: #bae6f6;
    clear: both;
    font-family: Arial;
}

div.tagcloud
{
    width:900px;
    background: white;
    margin-left: auto;
    margin-right: auto;
    margin-top: 300px;
    margin-bottom: 30px;
    color: #BAE6F6;
    font-size: 1.4em;
    display:none;
}

.tags
{
   display:none;
   list-style-type: none;
    width: 100%;
}

.tag
{
    display: inline;
    display:none;
    margin: 13px;
}

.tag a, .tag a:hover
{
    text-decoration: none;
    color: #BAE6F6;
}

p
{
    margin-top: 10px;
    margin-bottom: 15px;
    font-size: 0.9em;
}

#content table
{
    font-size: 0.9em;
}

a
{
    color: #001351;
    text-decoration: none;
}

a:hover
{
    color: #1bace1;
}

h1
{
    font-weight: bold;
    font-size: 1.1em;
    color: #001351;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: Times;
}

h2
{
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 15px;
    margin-top: 10px;
    font-family: Times;
}

h3
{
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 15px;
    margin-top: 10px;
    font-family: Times;
}

.headline
{
    font-weight: bold;
    font-size: 1.1em;
    color: #0F82C9;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-family: Times;
}

.footer
{
    font-size: 0.75em;
    text-align: center;
    width: 100%;
    padding: 0;
    padding-top: 3px;
    letter-spacing: 1px;
    border: 0;
}

.team
{
    font-size: 0.85em;
}

.slogan
{
    font-size: 1.8em;
    font-family: Times;
    color: #5d7ca3;
    letter-spacing: 0.1em;
    text-align: right;
}

input
{
    width:250px;
}

textarea
{
    width: 250px;
    font-family:Arial;
    font-size:12px;
    letter-spacing: 0.025em;
}

.trenn
{
    text-align: left;
    height:1px;
    width: 40em;
    border: 0;
    border-bottom: 1px solid;
}

#menu
{
    display:none;
}

#nav_toggle
{
    display: none;
}

.footer_mobile
{
    display: none;
    font-size: 0.75em;
    text-align: center;
    width: 100%;
    padding: 0;
    padding-top: 3px;
    letter-spacing: 1px;
    border: 0;
}

#gummi_bears
{
    float:right;
    padding-right: 25%;
}

.form_mobile
{
    display:none;
}

#table_mobile {
    display: none;
}

#unternehmen_mobile 
{
    display: none;
}


#unternehmen_desktop 
{
    max-width: 50%;
    float: right;
}

@media (min-width: 1030px) {
    div#container
    {
        width:70%;
    }
}

@media (max-width: 900px), (min-resolution: 100dpi) {
    div#container
    {
        width: 90%;
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
    }

   div#news
    {
        display:none;
    }

    div#content
    {
        width: 90%;
        min-height: 500px;
        margin-right: 5%;
        margin-left: 5%;
        margin-top: 20px;
    }

    #headtop img 
    {
        position: relative;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    #head_right
    {
        float: none;
    }
    
    div#headtop
    {
        text-align: center;
        height: auto;
    }

    .team
    {
        display: none;
    }

    .slogan
    {
        text-align: center;
        font-size: 1.74em;
        letter-spacing: 0em;
    }

    div#headslogan
    {
        height: 40px;
    }

    #slogan_inc
    {
        padding-left:0px;
        padding-top:5px;
    }

    /*
     * Made by Erik Terwan
     * 24th of November 2015
     * All rights reserved
     *
     *
     * If you are thinking of using this in
     * production code, beware of the browser
     * prefixes.
     */

    body
    {
        margin: 0;
        padding: 0;
    }

    a
    {
        text-decoration: none;
        color: #232323;
        transition: color 0.3s ease;
    }

    #menuToggle
    {
        display: block;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
        position: relative;
    }

    #menuToggle input
    {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px; 
        cursor: pointer;
        opacity: 0; /* hide this */
        z-index: 2; /* and place it over the hamburger */
        -webkit-touch-callout: none;
    }

    /*
     * Just a quick hamburger
     */
    #menuToggle span
    {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #001351;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0px;      
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                    opacity 0.55s ease;
    }

    #menuToggle span:first-child
    {
        transform-origin: 0% 0%;
    }

    #menuToggle span:nth-last-child(2)
    {
        transform-origin: 0% 100%;
    }

    /* 
     * Transform all the slices of hamburger
     * into a crossmark.
     */
    #menuToggle input:checked ~ span
    {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    /*
     * But let's hide the middle one.
     */
    #menuToggle input:checked ~ span:nth-last-child(3)
    {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
     * Ohyeah and the last one should go the other direction
     */
    #menuToggle input:checked ~ span:nth-last-child(2)
    {
        opacity: 1;
        transform: rotate(-45deg) translate(0, -1px);
    }

    /*
     * Make this absolute positioned
     * at the top left of the screen
     */
    #menu
    {
        position: absolute;
        margin: -38px 0 0 -19.8%;
        padding-left: 15px;
        padding-top: 25px;  
        padding-bottom: 10px; 
        padding-right: 15px;  
        background: white;
        border: 2px solid #c3c3c5;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        transform-origin: 0% 0%;
        transform: translate(-650%, 0);
        transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        font-family: Times;
        color: #001351;
        display:block;
        text-transform: uppercase;
        text-align: left;
    }

    #menu li
    {
        padding: 10px 0;
        font-size: 18px;
    }

    /*
     * And let's fade it in from the left
     */
    #menuToggle input:checked ~ ul
    {
        transform: scale(1.0, 1.0);
        opacity: 1;
    }

    #nav_toggle
    {
        display: block;
    }
    
    #navbar
    {
        display:none;
    }

    #navigation
    {
    }

    div#headslogan
    {
        height: auto;
        padding-bottom: 5px;
    }

    .footer_mobile
    {
        display: inline-table;
    }

    .footer
    {
        display: none;
    }

    #gummi_bears
    {
        padding-right: 5%;
    }

    .form_rest
    {
        display: none;
    }

    .form_mobile
    {
        display:block;
    }

    input
    {
        width:70%;
    }

    textarea
    {
        max-width: 70%;
        font-family:Arial;
        font-size:12px;
        letter-spacing: 0.025em;
    }

    #table_desktop {
        display: none;
    }

    #table_mobile {
        display: inline-table;
        text-align: center;
        width: 100%;
    }

    #team_header {
        text-align: center;
    }

    #unternehmen_mobile 
    {
        display: block;
    }


    #unternehmen_desktop 
    {
        display: none;
    }

    #mobile_nav_table
    {
        vertical-align: middle;
        text-align: center;
        display: inline-table;
        max-height: 100%;
        margin-top: 5px;
        margin-left: 5px;
    }

    #navigation_nav
    {
        width: 36px;
        margin: auto;
    }
}