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

html,
button,
input,
select,
textarea {
    color: #222;
}

::-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;
}


ul {
    padding: 0;
}

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


body {
    font-size: 0.875em;
    line-height: 1.4;
    font-family: 'Open Sans', sans-serif;
}

h1, h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 1.3em;
    color: #885630;
}

a:link, a:visited {
    color: #000;
}

nav {
    text-transform: uppercase;
    font-family: 'Open Sans Condensed', sans-serif;
    color: #709249;
}

.orange {
    color: #ea7c2a;
}

footer {
    font-family: 'Open Sans Condensed', sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-left: 15px;
    margin-bottom:20px;
    color: #565655;
    min-width: 820px;
}

footer a:link,
footer a:visited {
    text-decoration: none;
    color: #616160;
}

.gap {
    width: 1px;
    height: 10px;
    margin: 0 4px;
    background-color: #ea7c2a;
    display: inline-block;
    vertical-align: top;
}

.stripes {
    background-image: url('../img/background.png');
    background-repeat: repeat-y;
    background-position: center;
    padding: 10px 0 60px 0;
}

.main-wrapper {
    background-color: #fff;
    border-top: 1px solid #616160;
    border-bottom: 1px solid #616160;
}

.navigation-wrapper {
    position: absolute;
    left:0;
    width: 50%;
    z-index: 200;
}

nav .gfx {
    margin-right: 100px;
    height: 60px;
    background-color: #e3e3e3;
    min-width: 300px;
    margin-bottom: 0.2em;
}

nav .txt {
    margin-right: 100px;
    height: 30px;
    min-width: 300px;
    margin-top: 0.2em;
}

.borderradius nav .gfx {
    -moz-border-radius-bottomright: 10px;
    border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    border-top-right-radius: 10px;
}

.boxshadow nav .gfx {
    -webkit-box-shadow: 0px 0px 4px #999;
    -moz-box-shadow: 0px 0px 4px #999;
    box-shadow: 0px 0px 4px #999;
}

nav li {
    display: inline-block;
}

nav .gfx li,
nav .txt li {
    float: right;
}

nav .gfx a {
    text-indent: -9999px;
    display: block;
    width: 31px;
    height: 56px;
    background-image: url(../img/icon_sicherung.png);
    background-position: -30px 0;
}

nav .gfx .orange a {
    background-position: 0 0;
}

.gfx .contact {
    margin-right: 45px;
}

.txt .contact {
    width: 70px;
}

.gfx .do {
    margin-right: 75px;
}

.txt .do {
    width: 110px;
}

.gfx .about {
    margin-right: 64px;
}


.txt .about {
    width: 94px;
}

.txt a:link,
.txt a:visited {
    text-decoration: none;
    color: #709249;
}

.txt .orange a:link,
.txt .orange a:visited {
    color: #ea7c2a;
}

.imprint a:link,
.imprint a:visited {
    display: inline-block;
    text-decoration: none;
    color: #616160;
    margin-right: 10px;
}

.imprint {
    margin: -5px 0 0 auto;
    width: 374px;
}

.logo {
    position: absolute;
    left: 55%;
    top: 42px;
}

.content {
    position: relative;
    margin-top: 150px;
    padding-bottom: 30px;
}

.content .frame {
    position: absolute;
    right: 0;
    padding-left: 280px;
    width: 50%;
    min-width: 400px;
    background-color: #e3e3e3;
    z-index: 0;
}

.borderradius .content .frame {
    -moz-border-radius-bottomleft: 10px;
    border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-left-radius: 10px;
}

.boxshadow .content .frame {
    -webkit-box-shadow: 0px 0px 4px #999;
    -moz-box-shadow: 0px 0px 4px #999;
    box-shadow: 0px 0px 4px #999;
}

.content .image {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 50;
}


.content .text {
    position: absolute;
    left: 50%;
    margin-left: -260px;
    width: 300px;
    padding: 0 20px;
    z-index: 100;
    font-size: 0.9em;
    background-color: #f0f0f0;
}

.rgba .content .text {
   /* background-color: rgba(227,227,227,.8); */
   background-color: rgba(240,240,240,.75);
}

.wir .frame,
.wir .text,
.wir .content {
    height: 314px;
}

.wir .image {
    margin-left: -396px;
}

.was .frame,
.was .text,
.was .content {
    height: 390px;
}

.was .text {
    width: 300px;
}

.was .image {
    margin-left: -366px;
}

.kontakt .frame,
.kontakt .text,
.kontakt .content {
    height: 400px;
}

.kontakt .image {
    margin-left: -360px;
}

.impressum .frame,
.impressum .text,
.impressum .content {
    height: 1900px;
}

.impressum .image {
    margin-left: -364px;
}

.impressum .text {
    width: 300px;
}

/* ==========================================================================
   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;
    }
}