/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #3c3c3c;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.container {
    width: 782px;
    max-width: 100%;
}

body {
    font-size: 1em;
    line-height: 1.4;
    overflow: hidden;

}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */


#ligno-wrapper {
    min-height: 100%;
    /* for all other browsers */
    height: 100%;
    /* for IE */
    position: relative;


}

#main {
    padding-bottom: 160px;
    /* This value is the height of your footer */
}

#content {
    margin: 0 auto;
}

#logo {
    width: 371px;
    height: 25px;
    background: url(img/logo.png) no-repeat;


    margin-top: 100px;
    z-index: 200 !important;

}

.test {
    width: 782px;
    height: 200px;
    background: red;
}

#navigation {
    position: fixed;
    top: 367px;
    z-index: 2;


}

#line {
    padding-left: 100%;

}

#navigation ul {
    list-style-type: none;
    text-align: justify;
}

#navigation li {

    display: inline-block;

}

#navigation li a:link,
#navigation li a:visited {
    color: #c8c8c8;
    text-decoration: none;

}

#navigation li span {
    padding-top: 91px;
    display: block;
    text-align: center;
    font-size: 12px;
}

#navigation .home {
    width: 83px;
    height: 87px;
    background: url(img/home.png) no-repeat;
}

#navigation .home.active {
    width: 83px;
    height: 87px;
    background: url(img/home-active.png) no-repeat;
}

#navigation .home.active span {
    color: #afcb08;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#navigation .projektmanagement {
    width: 99px;
    height: 87px;
    background: url(img/projektmanagement.png) no-repeat;
}

#navigation .projektmanagement.active {
    width: 99px;
    height: 87px;
    background: url(img/projektmanagement-active.png) no-repeat;
}

#navigation .projektmanagement.active span {
    color: #afcb08;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#navigation .konstruktion {
    width: 68px;
    height: 87px;
    background: url(img/konstruktion.png) no-repeat;
}

#navigation .konstruktion.active {
    width: 68px;
    height: 87px;
    background: url(img/konstruktion-active.png) no-repeat;
}

#navigation .konstruktion.active span {
    color: #afcb08;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#navigation .ueberuns {
    width: 87px;
    height: 87px;
    background: url(img/ueberuns.png) no-repeat;
}

#navigation .ueberuns.active {
    width: 87px;
    height: 87px;
    background: url(img/ueberuns-active.png) no-repeat;
}

#navigation .ueberuns.active span {
    color: #afcb08;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#navigation .referenzen {
    width: 69px;
    height: 86px;
    background: url(img/referenzen.png) no-repeat;
}

#navigation .referenzen.active {
    width: 69px;
    height: 86px;
    background: url(img/referenzen-active.png) no-repeat;
}

#navigation .referenzen.active span {
    color: #afcb08;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#navigation .kontakt {
    width: 71px;
    height: 85px;
    background: url(img/kontakt.png) no-repeat;
}

#navigation .kontakt.active {
    width: 71px;
    height: 85px;
    background: url(img/kontakt-active.png) no-repeat;
}

#navigation .kontakt.active span {
    color: #afcb08;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#navigation .anfahrt {
    width: 53px;
    height: 84px;
    background: url(img/anfahrt.png) no-repeat;
}

#navigation .anfahrt.active {
    width: 53px;
    height: 84px;
    background: url(img/anfahrt-active.png) no-repeat;
}

#navigation .anfahrt.active span {
    color: #afcb08;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

#footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 180px;
    /* This value is the height of your footer */
    background: url(img/bg-footer.png) repeat-x;
}

#arrow {
    width: 41px;
    height: 18px;
    background: url(img/pfeil.png) no-repeat;
    margin-top: -10px;
    margin-left: 35px;
}

section {
    /* height: 100vh; */
    height: calc(100vh - 180px);
    overflow: auto;
    margin-bottom: 500px;
    padding-top: 130px;
}

section ul {
    padding-left: 20px;
}

section h1 {
    border-bottom: 1px solid #3c3c3c;
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    margin: 1.5em 0;
}

#start {
    padding-top: 300px;
}

blockquote {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: #afcb08;
    margin: 0;
}

.thin {
    color: #3c3c3c;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

#subnavi {
    color: #c8c8c8;
    text-decoration: none;
    font-size: 12px;
    width: auto;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 2000;
    width: 782px;
    max-width: 100%;
    margin: auto;
    text-align: right;
    padding: 0 15px;
}

#subnavi a:link,
#subnavi a:visited {
    color: #c8c8c8;
    text-decoration: none;
}

#subnavi ul {
    list-style-type: none;
    display: flex;
    justify-content: flex-end;
}

#subnavi li {
    float: left
}

input[type=text] {
    font-size: 12px;
    color: #3c3c3b;
    height: 30px;
    width: 273px;
    padding-left: 10px;
    text-decoration: none;
    background-image: url(img/textbg.png);
    border: none;
    color: #c8c8c8;

}

select {
    background: url(img/textbg.png) repeat-x 0 0;
    color: #c8c8c8;
    line-height: 21px;
    border: 1px solid #fff;
    font-size: 12px;
    width: 273px;
    height: 30px;
}

textarea {
    background-image: url(img/textareabg.png);
    color: #c8c8c8;
    border: none;
    font-size: 12px;

    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin-left: 30px;
    resize: none;
}

.styled-select select {
    background: transparent;
    width: 285px;
    height: 30px;
    padding: 5px;
    font-size: 12px;
    line-height: 1;
    color: #c8c8c8;
    border: 0;
    border-radius: 0;
    background-image: url(img/textbg.png);
    -webkit-appearance: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

input[type=submit] {
    background-image: url(img/inputbutton.png);
    width: 279px;
    height: 25px;
    text-indent: -9999px;
    margin-top: 15px;
}

.impressum {
    position: fixed;
    top: -78px;
    margin-left: 720px;
}

#anfahrt iframe {
    max-width: 100vw;
}
section#datenschutz{
    overflow: hidden;
}
.inner-content {
    overflow: auto;
    height: 65vh;
}
/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {}

@media print,
(-o-min-device-pixel-ratio: 5/4),
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi) {}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " ("attr(href) ")";
    }

    abbr[title]:after {
        content: " ("attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
        /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

@media(pointer: coarse) {
   
    #logo {
        width: 85%;
        background-size: contain;
        left: 0 !important;
        right: 0;
        margin: 35px auto 0;
        background-position: center
    }
    #start {
        padding-top: 100px;
    }
    #ligno-wrapper {
        height: 100vh;
    }
    #navigation {
        padding: 0;
        left: 0;
        right: 0;
        bottom: 0;
        top: inherit !important;
    }
    #navigation ul {
        margin: 0 0 10px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    
    }
    div#navigation li {
        width: 25% !important;
        text-align: center;
        background-position: bottom center !important;
        height: 40px !important;
        margin: 0 0 25px;
    }
    #navigation .anfahrt{
        background-size: 27px !important;
    }
    #navigation .referenzen,#navigation .kontakt,
    #navigation .home {
        background-size: 35px !important;
    }
    #navigation .ueberuns {
        background-size: 38px !important;
    }
    #navigation .konstruktion {
        background-size: 30px !important;
    }
    #navigation .projektmanagement {
        background-size: 42px !important;
    }
    #navigation li span {
        padding-top: 40px;
        word-break: break-all;
    }
    #line {
        display: none !important;
    }
   
    #footer {
        height: 165px;
    }
    section {
        padding-top: 60px;
        height: calc(100vh - 180px);
        overflow: auto;
    }
    #arrow {
        display: none !important;
    }
    input[type=text],
    textarea,
    select {
        width: calc(100vw - 30px) !important;
        margin: 0;
        padding: 0 0 0 10px;
        background: none !important;
        box-shadow: 0px 4px 5px -4px rgba(0,0,0,0.75);
    }
    form {
        float: left;
        margin: 0 0 20px;
    }
    input[type=submit] {
        margin: auto;
        display: block;
    }
}
@media(pointer: coarse) and (orientation: landscape), (pointer: coarse) and (min-width: 768px) {
    div#navigation li {
        width: auto !important;
        margin: 0 10px;
    }
    #navigation {
        bottom: 13px;
    }
    #footer {
        height: 90px;
    }
    section {
        height: calc(100vh - 90px);
    }
}
@media (pointer: coarse) and (min-width: 768px) {
    section {
        padding-top: 100px;
    }
}