/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-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,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ### GLOBAL ### */
body {
    font-family: 'Archivo Narrow', Arial, sans-serif;
    font-size: 14px; letter-spacing: 0.1px; color: #000;
}

a { text-decoration: underline; color: #808180; }
a:hover, a:active { color: #000000; }

#overall-container { 
    width: 960px; height: 530px; 
    position: absolute; left: 50%; top: 50%; 
    margin: -265px 0 0 -480px;
    
    background: transparent url(../img/ahb_hammer.png) no-repeat right top;
    
}


/* ### HEADER ### */
header {
    line-height: 1;
    width: 100%; height: 141px; /* logo height */
    margin: 10px 0 30px 0;
}


/* ### MAIN CONTENT ### */
main {
    width: 580px; /* => footer width */
}

main section.content {
    width: 355px; float: left; /* => footer .legal */
}

main section.content p {
    width: 325px;
    margin: 0 0 8px 0;
    line-height: 21px;
}


/* ### NAVIGATION ### */
nav {
    float: left; width: 220px; /* => footer .other /// removed 5px from difference for a little spacing to breath */
    line-height: 1;
}

nav ul, nav ul li { list-style: none; list-style-type: none; margin: 0; padding: 0; overflow: visible; }

nav ul li { margin-bottom: 22px; }

nav ul li a {
    display: block; height: 18px; width: 100%;
    font-family: 'Asap', sans-serif; font-size: 18px; letter-spacing: 2px;
    color: #a7a7a7; font-weight: normal;
    text-decoration: none; text-transform: uppercase;
}
nav ul li a:hover, nav ul li a:active, nav ul li.active a {
    color: #586487;
}


/* ### FOOTER ### */

footer {
    position: absolute; left: 0px; bottom: 0px;
    width: 580px; /* => main width */
    height: 25px;
    border-top: solid 1px #000;
}
footer .legal { width: 355px; float: left; /* => main section.content */ }
footer .other { float: left; width: 220px; /* => nav */ }

footer a { 
    display: inline-block; 
    font-size: 10px; letter-spacing: 1px; 
    text-decoration: none; text-transform: uppercase; }
footer .legal a { color: #808180; }
footer .legal a:hover, footer .legal a:active { color: #000000; }
footer .other a { color: #808180; letter-spacing: 1px; margin-top: 6px; }
footer .other a:hover, footer .other a:active { color: #000; }

footer .spacer { 
    display: inline-block; width: 15px; height: 10px; margin: 9px 0 -3px 13px; 
    border-left: solid 1px #808180; }


/* SPECIALS CONTENTS */

.overlay {
    display: none;
    width: 365px; position: absolute; z-index: 800; left: 50%; top: 50%;
    background: #fff; border: solid 1px #000;
    box-sizing: border-box;
    padding: 20px 20px 10px 20px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    outline: 3000px solid rgba(0,0,0, 0.5);
    font-size: 12px; line-height: 14px;
}
.overlay h2 { font-family: 'Asap', sans-serif; font-size: 19px; font-weight: normal; text-transform: uppercase; }
.overlay p {}
.overlay a.close {
    box-sizing: border-box;
    display: inline-block; width: 145px; padding: 7px; margin-top: 30px; 
    text-decoration: none; border: solid 1px #000;
    font-family: 'Asap', sans-serif; font-size: 10px; font-weight: normal;
    text-transform: uppercase;
    color: #000;
    text-align: center;
    float: right;
}
.overlay a.close:hover {
    background: #e2e2e2;
    border: solid 1px #e2e2e2;
}
.overlay .scroll-content { height: 350px; overflow-y: scroll; padding-right: 20px; }

body#firmengeschichte main section.content p,
body#auktionshaus main section.content p
{ line-height: 19px; }

body#firmengeschichte .pichover { cursor: alias; color: #808180; }
body#firmengeschichte main strong.pichover.active { color: #000; }

ul.bachs, ul.bachs li { list-style: none; list-style-type: none; margin: 0 0 0 0; padding: 0; float:left; }
ul.bachs { height: 72px; overflow: hidden; margin-left: -4px; width: 228px; margin-top: 36px; }
ul.bachs li { width: 53px; height: 72px; overflow: hidden; margin-left: 4px; }
ul.bachs img.active{ margin-top: -72px; }


nav .bdh-container { margin-top: 88px; height: 60px; overflow: visible; }
nav .bdh-container a {
    display: block; width: 100%; height: 60px; position: relative;
    overflow: visible;
    font-family: 'Archivo Narrow', Arial, sans-serif; 
    font-size: 14px; color: #808180; text-transform: none; letter-spacing: 0.1px;  
}
nav .bdh-container a .img-container {
    width: 52px; height: 60px; overflow: hidden; float: left;
    margin-right: 13px;
}
nav .bdh-container a:hover { font-weight: normal; color: #000; }
nav .bdh-container a:hover img { margin-top: -70px; }
nav .bdh-container a img { float: left; width: 52px;  }
nav .bdh-container a span { display: inline-block; margin-top: 34px; float: left; width: 155px; }


form.kontakt{
    overflow: hidden;
    font-family: 'Asap', sans-serif; font-size: 10px;
}

input, textarea {
    box-sizing: border-box;
    font-size: 10px; color: #808180;
    border: solid 1px #000;
    width: 304px;
    padding: 7px 7px 10px 7px;
    margin: 0 0 6px 0;
    outline:none;
}
textarea {
    height: 155px;
}

input:focus, textarea:focus {
    border-color: #586487;
}

form .message {
    height: 25px;
    color: #586487; text-transform: uppercase;
    
}
form .message .error,
form .message .success { display: none; }

input.submit, input.reset {
    width: 146px; border: none;
    background: #e2e2e2;
    color: #000;
}
input.reset {
    margin-left: 10px;
}
input.submit.hover, input.reset.hover, 
input.submit:hover, input.reset:hover,
input.submit:active, input.reset:active {
    background: #586487; color: #fff; 
}


nav .kontakt-container {
    margin-top: 70px;
    line-height: 19px;
}



/* ==========================================================================
   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
   ========================================================================== */

.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 {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]: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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}