/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.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: 1em;
    line-height: 1.4;
}

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

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@media all {
    body, header, nav, section, article, footer, h1, h2, h3, h4, p, ul, li, a  {
        padding: 0;
        margin: 0;
    }

    body {
        font-family: 'Exo 2', sans-serif;
        color: #fff;
        background-image: url("./../img/sabea_background_5.png");
        background-attachment: fixed;
    }

    .bold_text { font-weight: bold; }
    .small_text { font-size: 90%; }
    .very_small_text { font-size: 70%; }
    .black_text { color: #000; }
    .pink_text { color: #ec008c; }
    .slicknav_menu { display: none; }

    #id_content { width: 100%; max-width: 1120px; margin: 0 auto; }

    .shadowed { /*
        -webkit-box-shadow: 0px 6px 8px 0px rgba(170,170,170,1);
        -moz-box-shadow: 0px 6px 8px 0px rgba(170,170,170,1);
        box-shadow: 0px 6px 8px 0px rgba(170,170,170,1); */
    }
    
    header {
        background-image: url("./../img/logo_background_10x60.png");
        background-repeat: repeat-x;
        position: fixed; top: 0; margin: 0 auto; z-index: 5;
        width: 100%; height: 60px; max-width: 1120px;
        background-color: #d6d6d6;
        padding: 0 0 4px 0;
        border-bottom: 1px solid #ec008c;
    }

    #id_logo { background-image: url("./../img/logo_background_240x60.png");
	           position: relative; width: 240px; height: 60px; float: left; }
    #id_logo_text { display: inline; }
    #id_desktop_nav { }
    #id_mobile_nav { float: right; width: 45px; height: 60px;/*border-left: 1px solid #ec008c;*/ display: none; }
    
    .logo_text { float: left; height: 60px; padding: 1em 0 0 1em; }
    .disk { -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; }
    .fullsize {  width: 60px; height: 100%; }
    .inner { width: 90%; height: 90%; margin: 5%; }
    .white { background-color: #fff; }
    .pink { background-color: #ec008c; }
    .black { background-color: #000000; }
    .disc_text { color: #fff; width: 100%; height: 100%; }
    .disc_text p { margin: 0; padding: 0; text-align: center; font-size: 220%; font-weight: bold; }

    #id_disc1 { position: absolute; z-index: 50; left: 0%; }
    #id_disc2 { position: absolute; z-index: 40; left: 18.75%; }
    #id_disc3 { position: absolute; z-index: 30; left: 37.5%; }
    #id_disc4 { position: absolute; z-index: 20; left: 56.25%; }
    #id_disc5 { position: absolute; z-index: 10; left: 75%; }

    nav {
        background-image: url("./../img/menu_background.png");
        position: fixed; top: 60px; margin-top: 4px;
        width: 200px; float: left;  z-index: 5;
        border-right : 1px solid #ec008c;
        border-bottom: 1px solid #ec008c;
    }
    nav ul { list-style-type : none; margin : 0; padding : 0 4px 0 4px; }
    nav ul li {
        display: block;  margin: 0 0 2px 0; padding: 6px 0 6px 0; background-color: #666;
        -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
    }
    nav ul li:hover, .linkActive { background-color: #ec008c; }
    nav ul li a { display: block; padding: 0px 8px 0px 8px;*/ font-size : 80%; color: #fff; text-decoration: none; }
    nav ul li a:active, nav ul li a:focus { outline: none; } /* keine gepunktete Linie mehr ... */
    ul li img { padding: 0 4px 0 0; }

    /* Breite: 1120 - 200 - 8 - 8 = 904 (max), 920 - 200 - 8 - 8 = 704 (min) */
    section { margin: 66px 0 0 200px; }
    section, footer { padding: 4px 8px 8px 8px; }
    a { color: #00ffff; }

    .address { height: 350px; width: 98%; padding-top: 16px; margin: 0 auto; margin-bottom: 8px; display: block; }
    .address_txt { /* height: 100%; */width: 260px; padding-bottom: 8px; float: left; }
    .address_map { height: 100%; width: 60%; max-width: 620px; align: center; padding-bottom: 8px; float: right; }
    .impressum_address { padding: 16px 0; width: 100%; display: inline-block; float: left; }
    .formstyle {
        border: solid 1px #aaa;
        width: 94%; margin: 0 auto; opacity: 0.8; color: #000;
        -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px;
    }
    .formstyle:focus {
        border: solid 1px #ec008c;
        -webkit-box-shadow: 0px 0px 4px 2px #ec008c;
        -moz-box-shadow: 0px 0px 4px 2px #ec008c;
        box-shadow: 0px 0px 4px 2px #ec008c;        
    }
    .btntyle {
        font-size : 80%; width: 50%; height: 34px; margin: 8px auto; background-color: #666; color: #fff;
        -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;
    }
    .btntyle:hover { background-color: #ec008c; }
    
    .delimiter{ width: 100%; margin: 1em 0 1em 0; border-bottom: 1px solid #aaa; }
    
    label, input, textarea {
        display: block; width: 98%; margin: 0 auto;
    }
     
    .autoresize { max-width: 100%; }
    .fb-like { float: right; }
    
    #symlink1, #symlink2, #symlink3, #symlink4, #symlinkX {
        display: inline-block; width: 16px; height: 16px; margin-right: 4px; background-color: #00f;
    }
    #symlink1 { background: url("./../img/Unbenannt_t.png") 0 0; }
    #symlink2 { background: url("./../img/Unbenannt_t.png") -32px 0; }
    #symlink3 { background: url("./../img/Unbenannt_t.png") -48px 0; }
    #symlink4 { background: url("./../img/Unbenannt_t.png") -16px 0; }
    #symlinkX { background: url("./../img/Unbenannt_t.png") -64px 0; }
    
    #symlinkX:hover { background: url("./../img/Unbenannt_t.png") -64px -16px; }
}    

@media all and (max-width: 920px) {
    nav { width: 100%; clear: left; border-right : 0px solid #ec008c; } 
    nav ul { width: 100%; list-style-type: none; }
    nav ul li { 
        float: left; margin: 0 2px 2px 0; text-align: center;
        -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; 
    }

    /* Breite: 920 - 0 - 8 - 8 = 904 (max), 720 - 0 - 8 - 8 = 704 (min) */
    section {
        margin: 106px 0 0 0;
    }
}

@media all and (max-width: 720px) {
    #id_desktop_nav { display: none; }
    #id_mobile_nav { display: inline; }
    .js #menu { display:none; }
	.js .slicknav_menu { display:inline; }    

    header {
    }
    
    /* Breite: 720 - 0 - 8 - 8 = 704 (max), 720 - 0 - 8 - 8 = 704 (min) */
    section {
        margin: 66px 0 0 0;
    }

    .address_txt, .address_map {
        float: left;
        display: block;
        width: 96%;
    }
}

@media all and (max-width: 480px) {
    #id_logo_text_2 { display: none; }
    .impressum_address { width: 100%; display: block; }
}

@media all and (max-width: 420px) {
    #id_logo_text { display: none; }
}

@media all and (max-width: 315px) {
    #id_logo { display: none; }
}


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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

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

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

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

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