/*! 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: 11px; letter-spacing: 0.1px; color: #000;
}

a { text-decoration: underline; color: #000; }
a:hover, a:active { color: #586487; }

#overall-container {
    position: absolute; left: 50%; top: 50%;
    
    width: 700px; height: 460px; 
    margin: -230px 0 0 -350px;
    
    background: transparent url(../img/verwaltung_bg.png) no-repeat right 8px;
    
}

img.logo { position: absolute; left: 0px; top: 290px; }


.links {
    position: absolute; right: 0px; top: 366px;
    line-height: 1;
}
.links a {
    font-family: 'Archivo Narrow', Arial, sans-serif; font-size: 10px; font-weight: normal;
    color: #808180;
    text-decoration: none; text-transform: uppercase;
}
.links a:hover, .links a:active { color: #000; }

.links .spacer {
    display: inline-block; width: 4px; height: 12px; margin: 5px 0 -3px 4px;
    border-left: solid 1px #000; }


/* ### FOOTER ### */

footer {
    position: absolute; left: 0px; bottom: 0px;
    width: 100%;
    height: 30px;
    border-top: solid 1px #000;
}

footer .other { display: inline-block; margin-top: 11px; }

footer a { 
    display: inline-block; 
    font-size: 11px; letter-spacing: 2px;
    font-family: 'Archivo Narrow', Arial, sans-serif;
    text-decoration: none; text-transform: uppercase; 
}
footer .other a { font-family: 'Archivo Narrow', Arial, sans-serif; color: #808180; letter-spacing: 1.3px; margin-top: 6px; font-size: 11px; }
footer .other a:hover, footer .other a:active { color: #000; }

footer .immov-container {
    display: inline-block;
    width: auto;
    margin: -10px 0 0 17px; 
    height: 60px; overflow: hidden;
    float: right;
}
footer .immov-container a {
    display: block; width: auto; height: 43px; position: relative;
    overflow: hidden;
    font-size: 11px; letter-spacing: 1.3px;
    color: #808180;
    font-family: 'Archivo Narrow', Arial, sans-serif;
    text-decoration: none; text-transform: uppercase;
}
footer .immov-container a:hover { font-weight: normal; color: #000; }
footer .immov-container a:hover img { margin-top: -43px; }
footer .immov-container a img { float: left; width: 43px; margin-right: 5px; }
footer .immov-container a span { display: inline-block; margin-top: 27px; float: left; }





/* 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: 150px; 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; }

.overlay#kontakt a.close{
    margin-top: 15px;
}




form.kontakt{
    margin-top: 20px;
    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: 100%;
    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: 150px; border: none;
    background: #e2e2e2;
    color: #000;
}
input.reset {
    margin-left: 20px;
}
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;
    }
}