/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
html {
    color: #222;
    font-size: 0.9em;
    line-height: 1.4em;
    font-family: Arial, Helvetica, Verdana, sans-serif;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body {
    padding-bottom: 30px;
    width: 100%;
    min-width: 1024px;
    overflow: scroll;
}

article a, article a:visited {
    color: #ec8016;
    text-decoration: none;
}

article.container a:hover {
    text-decoration: underline;
}

h1, h2, h3, h5 {
    font-family: Arial, Helvetica, Verdana, sans-serif;
    color: #EC8016;
    font-weight: bold;
}

h4 {
    font-family: Arial, Helvetica, Verdana, sans-serif;
    color: #000;
    font-weight: bold;
    margin: 5px 0 0;
}

.container {
    width: 1000px;
    margin: 0 auto;
}

.container .narrow {
    width: 830px;
    margin: 0;
    padding: 0 20px 0 0;
}

#top-heading {
    background-color: #EC8016;
    border-bottom: 5px solid #E85D10;
    height: 55px;
    -webkit-box-shadow: 0px 1px 5px 2px #bbbbbb;
    -moz-box-shadow: 0px 1px 5px 2px #bbbbbb;
    box-shadow: 0px 1px 5px 2px #bbbbbb;
}
#top-heading h1 {
    color: #fff;
    line-height: 55px;
    margin: 0 auto;
    width: 1000px;

}

header {
    width: 100%;
}

header img {
    float: right;
}

header nav {
    height: 110px;
    background-image: url('../img/section_blauverlauf.png');
}

header nav ul.container {
    padding: 35px 0 0;
}

header nav ul li {
    list-style-type: none;
    display: inline-block;
    margin-right: 10px;
    background-color: #acb2b2;
    border-radius: 5px;
    color: #fff;
    font-family: Arial, Helvetica, Verdana, sans-serif;
}

header nav ul li.active {
    color: #fff;
    background-color: #FF9900;
    padding: 10px;
}

header nav > ul > li > a {
    padding: 10px;
    color: #fff;
    text-decoration: none;
    display: block;
    border-radius: 5px;
}

header nav ul li a:hover {
    background-color: #E5E5E5;
}

#logo {
    position: absolute;
    top: 85px;
    right: 0;
}

#print-download-box {
    color: #fff;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background: #003399 url("../img/print-box-background.jpg") scroll no-repeat center;
}

    #print-download-box h2 {
        color: #fff;
        margin: 0 0 10px;
    }

    #print-download-box a {
        color: #ec8016;
    }

    #print-download-box p {
        margin: 5px 0;
    }

    #print-download-box .thumbnail {
        float: left;
        width: 35px;
        margin: 0 15px 0 0;
        -webkit-box-shadow: 0px 0px 10px 0px rgba(255, 255, 255, 0.75);
        -moz-box-shadow:    0px 0px 10px 0px rgba(255, 255, 255, 0.75);
        box-shadow:         0px 0px 10px 0px rgba(255, 255, 255, 0.75);
    }

.text-col {
    width: 430px;
    float: left;
    margin-right: 15px;
}

article.container aside {
    width: 550px;
    float: left;
}

aside ul.downloads {
    float: left;
    margin-right: 10px;
}

aside div {
    margin-bottom: 20px;
    float: left;
}

ul.downloads {
    width: 220px;
    padding: 10px;
    background-color: #e5e5e5;
    border-radius: 5px;
    margin: 0;
}
    .downloads li {
        list-style-type: none;
        padding-left: 20px;
    }
        .downloads li a, .downloads li a:visited {
            color: #EC8016;
        }
        .downloads li.png {
            background: url("../img/icon-png.png") left 2px no-repeat scroll;
        }
        .downloads li.jpg {
            background: url("../img/icon-jpg.png") left 2px no-repeat scroll;
        }
        .downloads li.psd {
            background: url("../img/icon-psd.png") left 2px no-repeat scroll;
        }
        .downloads li.tiff {
            background: url("../img/icon-tiff.png") left 2px no-repeat scroll;
        }
        .downloads li.eps {
            background: url("../img/icon-eps.png") left 2px no-repeat scroll;
        }

.jpg { display: none; }
aside img {
    float: right;
    width: 300px;
}


.farben {
    width: 100%;
    margin: 20px 0;
}

.farben td  {
    padding: 0;
}

.farben .colors td{
    height: 80px;
}

.farben .colors-half td{
    height: 40px;
}

.farben .spacer {
    padding: 5px;
}

#cdu-orange {
    background-color: #FF9900;
}

#cdu-blau {
    background-color: #1C569A;
}

#cdu-rot {
    background-color: #E32B23;
}

#schwarz {
    background-color: #000;
}

#umraum-grau {
    background-color: #E5E5E5;
}

#grau {
    background-color: #878684;
}

#orange1 {
    background-color: #CD5A19;
}

#orange2 {
    background-color: #EAB814;
}

#verlauf-orange {
    background: #fff; /* Old browsers */
    background: -moz-linear-gradient(left,  #cd5a19 0%, #eab814 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,#cd5a19), color-stop(100%,#eab814)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  #cd5a19 0%,#eab814 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  #cd5a19 0%,#eab814 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  #cd5a19 0%,#eab814 100%); /* IE10+ */
    background: linear-gradient(to right,  #cd5a19 0%,#eab814 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cd5a19', endColorstr='#eab814',GradientType=1 ); /* IE6-9 */
}

.farben .title {
    font-weight: bold;
    font-size: 110%;
}

.farben td {
    padding: 5px 10px 5px 0;
}

.farben .type {
    color: #878684;
}


#fond {
    width: 50%;
    background: url("../img/fond.jpg") top center no-repeat scroll;
}

#fond ul {
    background-color: #e5e5e5;
    border-radius: 5px;
    padding: 10px;
    width: 270px;
    position: relative;
    top: 80px;
    left: 105px;
}

#dunkelblau {
    background-color: #003399;
}

#hellblau {
    background-color: #0078A8;
}

img.thumbnail {
    float: right;
    margin-left: 30px;
}

div.thumbnail {
    width: 400px;
    padding: 20px;
    box-sizing: border-box;
    float: right;
    margin-left: 30px;
    margin-right: 10px;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    -moz-box-shadow:    0px 0px 10px 0px rgba(50, 50, 50, 0.75);
    box-shadow:         0px 0px 10px 0px rgba(50, 50, 50, 0.75);
}







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

/*
 * Hide visually and from screen readers:
 * http://juicystudio.com/article/screen-readers-display-none.php
 */

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

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)  {
    header {
        width: 100%;
    }

    #logo {
        left: 727px
    }

}

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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 that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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