/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Accessibility
3.0 Alignments
4.0 Clearings
5.0 Typography
6.0 Forms
7.0 Formatting
8.0 Lists
9.0 Tables
10.0 Links
11.0 Featured Image Hover
12.0 Navigation
13.0 Layout
   13.1 Header
   13.2 Front Page
   13.3 Regular Content
   13.4 Posts
   13.5 Pages
   13.6 Footer
14.0 Comments
15.0 Widgets
16.0 Media
   16.1 Galleries
17.0 Customizer
18.0 SVGs Fallbacks
19.0 Media Queries
20.0 Print
--------------------------------------------------------------*/


/*--------------------------------------------------------------
1.0 Normalize
Styles based on normalize.css v8.0.0 github.com/necolas/normalize.css
--------------------------------------------------------------*/
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b,
strong {
    font-weight: bolder;
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}


/*--------------------------------------------------------------
2.0 Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}


/*--------------------------------------------------------------
5.0 Typography
--------------------------------------------------------------*/
html {
    /*color: #222;
    font-size: 62.5%;
    line-height: 1.4;*/
}

body {

}

h1 {

}

h2 {

}

h3 {

}

.template-page .entry-content-wrapper h1,
.template-page .entry-content-wrapper h2 {
    text-transform: none;
}

.special_amp {
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;
}


/*--------------------------------------------------------------
6.0 Forms & Buttons
--------------------------------------------------------------*/
/* Forms */
/* HOME */


/* KONTAKT */


/* Buttons */


/*--------------------------------------------------------------
7.0 Formatting
--------------------------------------------------------------*/
::-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;
}


/*--------------------------------------------------------------
10.0 Links
--------------------------------------------------------------*/
a {

}

a:hover {
    text-decoration: ;
}


/*--------------------------------------------------------------
13.0 Layout
--------------------------------------------------------------*/
html {
}

body {
}

/* Title & Breadcrumbs */


/* Blogs */
/* META */


/*--------------------------------------------------------------
13.1 Header
--------------------------------------------------------------*/


/*--------------------------------------------------------------
13.2 Front Page
--------------------------------------------------------------*/

/*--------------------------------------------------------------
13.3 Regular Content
--------------------------------------------------------------*/

/*--------------------------------------------------------------
13.4 Posts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
13.5 Pages
--------------------------------------------------------------*/
/* HOME */


/* UEBER UNS */


/* SUCHE, 404 */


/*--------------------------------------------------------------
13.6 Footer
--------------------------------------------------------------*/


/*--------------------------------------------------------------
15.0 Widgets
--------------------------------------------------------------*/

/*--------------------------------------------------------------
16.0 Media
--------------------------------------------------------------*/

/*--------------------------------------------------------------
16.1 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
17.0 Customizer
--------------------------------------------------------------*/

/*--------------------------------------------------------------
19.0 Media Queries
--------------------------------------------------------------*/
@media only screen and (max-width: 1023px) {
    /* Page */
    html {
        overflow: visible;
    }

    #page {
        margin-left: 2%;
        margin-right: 2%;
        width: auto;
    }


    /* Header */
    #site-header > div {
        float: none;
        display: block;
    }

    #site-header #secondary-menu {
        width: 100%;
    }

    #site-header #main-menu {
        display: block;
        width: auto;
        margin-left: 10px;
        margin-right: 10px;
    }

    #main-menu .view-id-inhaltsseiten_view .views-row {
        position: static;
        width: 150px;
    }

    #main-menu .view-id-inhaltsseiten_view .views-row+.views-row {
        margin-top: 4px;
    }

    #main-menu .views-row-last {
        float: none;
    }

    #site-header #branding {
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 10px;
        width: auto;
    }

    #site-header #branding #logo {
        float: none;
    }

    #site-header #branding a {
        display: block;
        background: #a20a12;
        padding: 7px 10px 9px 13px;
        margin-bottom: -13px;
    }


    /* Content */
    #main {
        top: 413px;
        width: calc(100% - 41px);
        overflow: hidden scroll;
    }

    #sidebar-right {
        width: calc(100% - 21px);
        left: 10px;
    }

    #sidebar-right .content {
        vertical-align: top;
    }

    #sidebar-right .content p {
        display: inline-block;
        margin-bottom: 0;
        margin-right: 20px;
        vertical-align: top;
    }


    /* Footer */
    #footer-content {
        background-size: 100% auto;
    }
}


@media only screen and (max-width: 819px) {
    /* Header */
    #main-menu .view-id-inhaltsseiten_view .views-row {
        width: auto;
    }
}


@media only screen and (max-width: 745px) {
    /* Content */
    #main {
        top: 533px;
    }

    #scroll-wrapper {
        height: auto;
        width: 100%;
    }

    #main-content,
    #main-content table {
        width: 100% !important;
    }

    #main-content table td {
        width: auto !important;
    }

    #main-content table td {
        display: block;
    }

    #block-block-2 {
        display: none;
    }


    /* Footer */
    #footer {
        display: none;
    }


    /* IMPRESSUM, DATENSCHUTZ */
    /* Content */
    body.imprint #main-content table td {
        display: table-cell;
    }

    body.imprint #main-content .field-item p,
    body.datenschutz #main-content .field-item p,
    body.datenschutz #main-content .field-item ol {
        display: block;
        width: 90%;
    }
}


@media only screen and (max-width: 540px) {
    /* Content */
    #main {
        top: 617px;
    }

    #sidebar-right .content p {
        margin-bottom: 10px;
    }
}


@media only screen and (max-width: 480px) {
    /* Header */
    #main-menu .view-id-inhaltsseiten_view .views-row {
        display: block;
    }

    #main-menu .views-field a {
        display: block;
        background-color: #fff;
        border: 1px #cdcdcd solid;
    }

    #main-menu .views-field a:hover,
    #main-menu .views-field a.active {
        border: 1px #a20a12 solid;
    }

    #main-menu .views-field a img {
        width: 132px;
        height: 35px;
        border: none;
    }

    #main-menu .views-field a:hover img {
        border: none;
    }


    /* Content */
    #main {
        top: 375px;
    }

    #sidebar-right {
        display: none;
    }
}


/*--------------------------------------------------------------
20.0 Print
--------------------------------------------------------------*/
@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 {
        white-space: pre-wrap !important;
    }
    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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
