/* =====================================================
                Marcel Metz @ www.daslangohr.de
   ==================================================== */

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

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

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

textarea {
    resize: vertical;
}

html, body {
    font-size: 1em;
    line-height: 1.4;
    font-family: Verdana, Arial, "Helvetica Neue", Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: white;
    background-color: black; }

ul, li {
    padding: 0;
    margin: 0; }

li { margin-left: 20px; }

p, p b, a, li {
    font-size: 12px;
    color: #FFFFFF }

.main-border {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 1px solid #808080;
}

.main-container {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -240px 0 0 -400px;
    width: 800px;
    height: 480px;
    background-color: #313131;
    border: 1px solid #808080;
    overflow: hidden;
}

.main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.index-links {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.index-links a {
    float: left;
    width: 41%;
    padding: 1% 4.5%;
    display: inline-block;
    text-align: right;
    font-weight: 600;
    font-size: 11px;
    text-decoration: none;
}

.index-links a:first-child {
    text-align: left;
}

.header, .footer {
    position: relative;
    display: block;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.header img, .footer img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.header h1 {
    position: absolute;
    z-index: 1;
    top: 55px;
    left: 450px;
    width: 240px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #564427;
}

.content {
    display: block;
    width: 100%;
    height: 238px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.article {
    width: 710px;
    height: 208px;
    padding: 10px 20px;
    margin-left: 25px;
    margin-top: 5px;
    background-color: #666;
    overflow-y: scroll;
    overflow-x: hidden;
}

.article h2 {
    font-size: 14px;
}

.footer {
}

.three-columns {
    width: 710px;
    overflow: hidden;
}

.three-columns li {
    width: 232px;
    display: inline-block;
}

/* =====================================================
                    navigation
   ==================================================== */

.main-nav li a:hover, .top-nav li a:hover {
    /*color: orange;*/
    /*font-weight: 600;*/
    /*border-bottom: 1px solid white;*/
}

.active {
    /*color: orange;*/
    /*font-weight: 600!important;*/
}

/* ==================== top-nav =================== */

.top-nav {
    position: absolute;
    bottom: 14px;
    left: 25px;
    margin: 0;
    padding: 0;
    z-index: 1;
    width: 750px;
    border-bottom: 1px solid white;
}

.top-nav li {
    margin: 0;
    padding: 0;
    width: 246px;
    display: inline-block;
}

.top-nav li a {
    position: relative;
    bottom: -8px;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    margin: 0;
    padding: 5px 10px 0 10px;
    display: inline-block;
    background-color: #313131;
}

#tn-btn-back {
    text-align: left;
}

#tn-btn-back a {
    padding-left: 0;
}

#tn-btn-home {
    text-align: center;
}

#tn-btn-next {
    text-align: right;
    padding-right: 0;
}

#tn-btn-next a {
    padding-right: 0;
}

/* ==================== main-nav =================== */

.main-nav {
    margin: 0;
    padding: 0;
    position: absolute;
    z-index: 1;
    top: 20px;
    width: 800px;
}

.main-nav li {
    position: relative;
    float: left;
    min-width: 90px;
    margin-left: 5px; 
    display: inline-block;
}

.main-nav li:last-child::after {
    content: "";
    position: absolute;
    bottom: 0; right: -1000px;
    width: 1000px; height: 1px;
    background-color: #fff;
}

.main-nav li a, .main-nav li div {
    display: block;
    height: 15px;
    width: auto; }

.main-nav li div {
    position: relative;
    border-left: 1px solid white;
}

.main-nav li a {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 10px 0 10px;
    text-align: right;
    text-align: center;
    text-decoration: none;
    border-top: 1px solid white;
    border-right: 1px solid white;
}

.main-nav li div .orange-qube {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 10px;
    height: 10px;
    background-color: orange;
    border: none;
}

#mn-start, #mn-end {
    margin: 0;
    width: 62px;
    height: 30px;
}

#mn-start {
    margin-right: -5px;
    border-top: 1px solid white; 
}

#mn-end {
    width: 63px;
    padding-bottom: 2px;
    border-bottom: 1px solid white; 
}

/* =====================================================
                    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;
        box-shadow: none !important;
        text-shadow: none !important;
        border: none!important;
    }

    .main-container, .article {
        height: auto;
        overflow: visible;
    }

    .article {
        height: 100%;
        overflow: visible;
    }

    .footer {
        display: none;
    }

    .main-container {
        margin-top: 0;
    }

    .main-nav {
        display: none;
    }

    .top-nav {
        display: none;
    }

    .header h1 {
        color: white!important;
    }

    .main-border {
        display: none!important;
    }

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

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

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

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

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