/*
Theme Name: hautmeister
Theme URI: http://wordpress.org/themes/blankslate
Author: TidyThemes
Author URI: http://tidythemes.com/
Description: <strong>UPDATE</strong> - 4.0+ is here, completely overhauled, yet again. As always, <a href="http://tidythemes.com/concept/#upgrading">use caution when upgrading</a> (tidythemes.com/concept/#upgrading) and <a href="http://tidythemes.com/concept/">learn the TidyThemes concept</a> (tidythemes.com/concept). &nbsp; &rarr; <em><strong>CAUTION</strong>: If you're child theming or have clients that are child theming on top of BlankSlate (not the recommended use), please do not blindly upgrade to newer versions.</em> &nbsp; &rarr; <strong>DESCRIPTION</strong>: BlankSlate is the definitive WordPress HTML5 boilerplate starter theme. We've carefully constructed the most clean and minimalist theme available anywhere for designers/developers to use as a base/foundation to build websites for clients or to build completely custom themes from scratch to release faster. Clean, semi-minified, unformatted and valid code, SEO-friendly, no programmer comments, standardized and as white label as possible and most importantly, CSS reset for cross-browser-compatability and no intrusive visual CSS styles added whatsoever. A perfect skeleton theme that blows any others like it (the subsequent underscores.me for example) completely out of the water, as they're simply too overcomplicated for what people really want in this kind of theme. Now comes with jQuery enqueued and ready to go. &nbsp; &rarr; <strong>SUPPORT</strong>: Please use the <a href="http://tidythemes.com/forum/">official support forum</a> (tidythemes.com/forum). Comments and suggestions for improving BlankSlate, please see "<a href="http://tidythemes.com/tidythemes-sucks/">TidyThemes Sucks!</a>" (tidythemes.com/tidythemes-sucks). Just getting started? <a href="http://tidythemes.com/want-to-learn-css/">Want to learn CSS?</a> (tidythemes.com/want-to-learn-css) &nbsp; &rarr; <strong>WHAT'S NEW?</strong>: We stripped down as much custom, extraneous, superfluous junk code as we could and greatly improved the HTML5 structure. <a href="http://make.wordpress.org/themes/author/chipbennett/">Chip Bennett</a> (make.wordpress.org/themes/author/chipbennett), a highly experienced programmer and official WordPress administrator, worked closely with us to audit the theme code for quality. <a href="http://themes.trac.wordpress.org/changeset?old_path=/blankslate/3.3&new_path=/blankslate/4.0">See</a> (themes.trac.wordpress.org/changeset?old_path=/blankslate/3.3&new_path=/blankslate/4.0) just how much we've revamped things. Last, but not least, BlankSlate has now been <a href="https://github.com/tidythemes/blankslate">opened up on GitHub</a> (github.com/tidythemes/blankslate) if anyone would like to make suggested code additions/improvements. Thank you for using BlankSlate.
Version: 4.0.2
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: black, blue, white, light, one-column, fluid-layout, responsive-layout, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: blankslate

BlankSlate WordPress Theme © 2011-2014 TidyThemes
BlankSlate is distributed under the terms of the GNU GPL
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    font-size: 100%;
    font: inherit;
    padding: 0;
    border: 0;
    margin: 0;
    vertical-align: baseline;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
.clear {
    clear: both;
}
.sticky {
}
.bypostauthor {
}
.wp-caption {
}
.wp-caption-text {
}
.gallery-caption {
}
.alignright {
}
.alignleft {
}
.aligncenter {
}

/* Fonts */
@font-face {
    font-family: 'brandon_thin';
    src: url('fonts/brandon_thin-webfont.eot');
    src: url('fonts/brandon_thin-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/brandon_thin-webfont.woff') format('woff'), url('fonts/brandon_thin-webfont.ttf') format('truetype'),
        url('fonts/brandon_thin-webfont.svg#brandon_thin') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'dinbek_light';
    src: url('fonts/dinbek_light-webfont.eot');
    src: url('fonts/dinbek_light-webfont.eot?#iefix') format('embedded-opentype'),
        url('fonts/dinbek_light-webfont.woff') format('woff'), url('fonts/dinbek_light-webfont.ttf') format('truetype'),
        url('fonts/dinbek_light-webfont.svg#dinbek_light') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Flaticon';
    src: url('fonts/flaticon.eot');
    src: url('fonts/flaticon.eot#iefix') format('embedded-opentype'), url('fonts/flaticon.woff') format('woff'),
        url('fonts/flaticon.ttf') format('truetype'), url('fonts/flaticon.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: #d6d6d6;
}

body,
button,
input,
select,
textarea {
    color: #7b7b7b;
    font-family: 'dinbek_light', sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.5;
}
textarea {
    overflow: auto;
}
input {
    -webkit-appearance: none;
    border-radius: 0;
}

::selection {
    background: #cd1626;
    color: #ffffff;
}

::-moz-selection {
    background: #cd1626;
    color: #ffffff;
}

::-webkit-selection {
    background: #cd1626;
    color: #ffffff;
}

/* Slideshow */
#wrapper #slideshow .timer-container {
    background-color: #87888a;
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    z-index: 400;
    padding: 7px;
}
#wrapper #slideshow .placeholder,
#wrapper #slideshow .timer {
    position: relative;
    font-size: 30px;
    width: 1em;
    height: 1em;
    z-index: 500;
}
#wrapper #slideshow .placeholder {
    position: absolute;
    top: 7px;
    left: 7px;
    z-index: 450;
}
#wrapper #slideshow .timer-container * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
#wrapper #slideshow .placeholder > #slice,
#wrapper #slideshow .timer > #slice {
    position: absolute;
    width: 1em;
    height: 1em;
    clip: rect(0px, 1em, 1em, 0.5em);
}
#wrapper #slideshow .placeholder > #slice.gt50,
#wrapper #slideshow .timer > #slice.gt50 {
    clip: rect(auto, auto, auto, auto);
}
#wrapper #slideshow .placeholder > #slice > .pie,
#wrapper #slideshow .timer > #slice > .pie {
    border: 0.05em solid red;
    position: absolute;
    width: 0.9em; /* 1 - (2 * border width) */
    height: 0.9em; /* 1 - (2 * border width) */
    clip: rect(0em, 0.5em, 1em, 0em);
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    border-radius: 0.5em;
}
#wrapper #slideshow .placeholder > #slice > .pie {
    border: 0.05em solid #fff;
}
#wrapper #slideshow .placeholder > #slice > .pie.fill,
#wrapper #slideshow .timer > #slice > .pie.fill {
    -moz-transform: rotate(0deg) !important;
    -webkit-transform: rotate(0deg) !important;
    -o-transform: rotate(0deg) !important;
    transform: rotate(0deg) !important;
    clip: rect(0, 1em, 1em, 0.5em);
}
#wrapper #slideshow ul li {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
#wrapper #slideshow ul {
    position: absolute;

    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#wrapper #slideshow {
    position: absolute;
    top: 0;
    left: 524px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    width: calc(100% - 524px);
    width: -moz-calc(100% - 524px);
    width: -webkit-calc(100% - 524px);
    width: -o-calc(100% - 524px);
}

/* News */
body.page-id-6 #wrapper #slideshow {
    left: 848px;
    width: calc(100% - 848px);
}

/* Untermenüs */
#wrapper {
    width: 100%;
    height: 100%;
}
#wrapper #side {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background-color: white;
    /*
    overflow-y: auto;
    overflow-x: auto;
	*/
    z-index: 400;
}
#wrapper #side #menu-hauptmenue > li > a + .sub-menu > li.current-menu-ancestor > a + .sub-menu,
#wrapper #side #menu-hauptmenue > li > a + .sub-menu > li.current-menu-item > a + .sub-menu,
#wrapper #side #menu-hauptmenue > li.current-menu-ancestor > a + .sub-menu,
#wrapper #side #menu-hauptmenue > li.current-menu-item > a + .sub-menu {
    display: block;
}
#wrapper #side #menu-hauptmenue > li > a + .sub-menu > li > a + .sub-menu:hover,
#wrapper #side #menu-hauptmenue > li > a + .sub-menu > li > a:hover + .sub-menu {
    display: block;
    z-index: 400;
}
#wrapper #side #menu-hauptmenue > li > a + .sub-menu > li > a + .sub-menu {
    display: none;
    position: fixed;
    background-color: #d6d6d6;
    width: 162px;
    height: 100%;
    top: 0;
    left: 362px;
}
#wrapper #side #menu-hauptmenue > li > a + .sub-menu {
    display: none;
    position: fixed;
    background-color: #e5e5e5;
    width: 162px;
    height: 100%;
    top: 0;
    left: 200px;
}
/* 1 Links */
body.children-1.subchildren-0 #wrapper #slideshow {
    left: 686px;
    width: calc(100% - 686px);
    width: -moz-calc(100% - 686px);
    width: -webkit-calc(100% - 686px);
    width: -o-calc(100% - 686px);
}
body.children-1.subchildren-0 #wrapper .main-container {
    left: 362px;
}
/* 2 Links */
body.subchildren-1 #wrapper #slideshow {
    left: 848px;
    width: calc(100% - 848px);
    width: -moz-calc(100% - 848px);
    width: -webkit-calc(100% - 848px);
    width: -o-calc(100% - 848px);
}
body.subchildren-1 #wrapper .main-container {
    left: 524px;
}
/* Leere Box */
body.empty-box.subchildren-1 #wrapper #slideshow {
    left: 524px;
    width: calc(100% - 524px);
    width: -moz-calc(100% - 524px);
    width: -webkit-calc(100% - 524px);
    width: -o-calc(100% - 524px);
}
body.empty-box.subchildren-1 #wrapper .main-container {
    display: none;
}

/* Hauptmenü */
#wrapper #side .nav_mobile {
    display: none;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(3) > .sub-menu > li:nth-child(4) > .sub-menu {
    padding-top: 390px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(3) > .sub-menu > li:nth-child(5) > .sub-menu {
    padding-top: 435px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(13) > .sub-menu {
    padding-top: 300px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(12) > .sub-menu {
    padding-top: 750px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(11) > .sub-menu {
    padding-top: 525px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(10) > .sub-menu {
    padding-top: 525px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(9) > .sub-menu {
    padding-top: 660px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(5) > .sub-menu {
    padding-top: 480px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(4) > .sub-menu {
    padding-top: 435px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(1) > .sub-menu {
    padding-top: 300px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(1) > .sub-menu {
    padding-top: 210px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(2) > .sub-menu {
    padding-top: 255px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(3) > .sub-menu {
    padding-top: 300px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(4) > .sub-menu {
    padding-top: 345px;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li.current-menu-item > a,
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li > a:hover {
    background-color: #87888a;
    color: #fff;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li > a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    padding: 10px 0 10px 8px;
    color: #87888a;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 12px 0px;
    background-color: #d6d6d6;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li:last-child > a {
    border-bottom: 1px solid #fff;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li:last-child {
    height: 46px;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li > a {
    border-top: 1px solid #fff;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li {
    height: 45px;
}

#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu {
    padding-top: 300px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(3) > .sub-menu {
    padding-top: 255px;
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu {
    padding-top: 210px;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.menu-item-has-children.current-menu-parent > a[href='#'],
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.menu-item-has-children.current-menu-item > a[href='#'],
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.menu-item-has-children > a[href='#']:hover,
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.menu-item-has-children:hover > a[href='#'] {
    cursor: default;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.menu-item-has-children.current-menu-parent > a,
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.menu-item-has-children.current-menu-item > a,
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.menu-item-has-children > a:hover,
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.menu-item-has-children:hover > a {
    background-color: #d6d6d6;
    color: inherit;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li.current-menu-item > a,
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > a:hover {
    background-color: #87888a;
    color: #fff;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    padding: 10px 0 10px 8px;
    color: #87888a;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 12px 0px;
    background-color: #e5e5e5;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li:last-child > a {
    border-bottom: 1px solid #fff;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li:last-child {
    height: 46px;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > a {
    border-top: 1px solid #fff;
}
#wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li {
    height: 45px;
}

#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(1) > a {
    background-image: url('images/icon_1.png');
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > a {
    background-image: url('images/icon_2.png');
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(3) > a {
    background-image: url('images/icon_3.png');
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > a {
    background-image: url('images/icon_4.png');
}
#wrapper #side #menu ul#menu-hauptmenue > li:nth-child(5) > a {
    background-image: url('images/icon_5.png');
}
#wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-ancestor > a,
#wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-parent > a,
#wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-item > a,
#wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children > a:hover {
    background-position: 12px -44px;
    background-color: #e5e5e5;
    color: inherit;
}
#wrapper #side #menu ul#menu-hauptmenue li.current-menu-item > a {
    cursor: default;
}
#wrapper #side #menu ul#menu-hauptmenue > li.current-menu-item > a,
#wrapper #side #menu ul#menu-hauptmenue > li > a:hover {
    background-position: 12px -44px;
    background-color: #87888a;
    color: #fff;
}
#wrapper #side #menu ul#menu-hauptmenue > li > a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    padding: 10px 0 10px 50px;
    color: #87888a;
    text-decoration: none;
    background-repeat: no-repeat;
    background-position: 12px 0px;
    background-color: #fff;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
#wrapper #side #menu ul#menu-hauptmenue > li:last-child > a {
    border-bottom: 1px solid #e6e6e6;
}
#wrapper #side #menu ul#menu-hauptmenue > li:last-child {
    height: 46px;
}
#wrapper #side #menu ul#menu-hauptmenue > li > a {
    border-top: 1px solid #e6e6e6;
}
#wrapper #side #menu ul#menu-hauptmenue > li {
    height: 45px;
}
#wrapper #side #menu {
    margin-bottom: 45px;
}
#wrapper #side #logo:hover {
    opacity: 0.75;
}
#wrapper #side #logo {
    background-image: url('images/logo.png');
    background-image: url('images/logo.svg'), none;
    background-position: center;
    background-repeat: no-repeat;
    width: 151px;
    height: 115px;
    display: block;
    margin: 25px auto 25px;
    text-indent: -9999px;
}

#wrapper .widget_text div p {
    margin: 0;
    padding: 0;
}
#wrapper .widget_text div p.today {
    background-color: #f5f5f5;
    display: inline-block;
}
#wrapper .widget_text div span {
    display: inline-block;

    width: 41px;
}
#wrapper .widget_text a {
    color: inherit;
    text-decoration: none;
}
#wrapper .widget_text div {
    margin-left: 4px;
}
#wrapper .widget_text h3 {
    color: #7b7b7b;
    /*font-family: 'brandon_thin', sans-serif;*/
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
}
#wrapper .widget_text:last-child {
    margin-bottom: 0;
}
#wrapper .widget_text {
    margin-bottom: 30px;

    padding-left: 17px;
}
#wrapper #footer #menu-footer li a:hover {
    color: #7b7b7b;
}
#wrapper #footer #menu-footer li a {
    color: inherit;
}
#wrapper #footer #menu-footer li {
    display: block;
    padding: 0 3px 0 0;
}
#wrapper #footer #menu-footer {
    margin-top: 0px;
}
#wrapper #sidebar {
    position: absolute;
    top: 436px;
    left: 0;
    z-index: 400;
}
#wrapper #footer {
    position: absolute;
    bottom: 30px;
    color: #b0b0b0;
    left: 0;
    width: 200px;
    padding: 0 0 0 20px;
    font-size: 11px;
    z-index: 400;
}

/* Textinhalt */
#wrapper .main-container .main-content {
    padding: 155px 20px 20px;
}
#wrapper .main-container {
    position: absolute;
    top: 0;
    left: 200px;
    width: 324px;
    height: 100%;
    background-color: #87888a;
    overflow-x: hidden;
    overflow-y: auto;
    color: #fff;
    padding: 15px 0 15px;
}
#wrapper .main-container p:last-child {
    margin-bottom: 0px;
}
#wrapper .main-container p {
    margin-bottom: 20px;
}
#wrapper .main-container a {
    color:inherit;
    text-decoration:underline;
}
#wrapper .main-container h2:after {
    content: '';
    border: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: #fff;
}
#wrapper .main-container p {
    line-height: 20px;
    font-size: 13px;
}
#wrapper .main-container h2 {
    font-size: 18px;

    position: relative;
    padding-bottom: 16px;
    margin-bottom: 20px;
}
#wrapper .main-container h3:after {
    content: '';
    border: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background-color: #fff;
}
#wrapper .main-container h3 {
    position: relative;
    font-size: 15px;
    padding-bottom: 8px;
    margin-bottom: 12px;
    margin-top: 26px;
}
#wrapper .main-container h4 {
    position: relative;
    font-size: 15px;
    padding-bottom: 12px;
    margin-bottom: 0px;
    margin-top: 30px;
}
#wrapper .main-container .entry-content a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #bebebe;
}
#wrapper .main-container .entry-content ul li {
    margin: 5px 0;
    font-size: 13px;
}
#wrapper .main-container .entry-content p strong {
    font-weight: normal;
    text-transform: uppercase;
}
#wrapper .main-container .entry-content ul {
    list-style-type: square;
    margin: 10px 00px 26px 35px;
}

/* Seitenspezifischer Inhalt */
body.page-id-6 #wrapper .main-container + .main-container {
    left: 524px;
    background-color: #e5e5e5;
    color: #000;
}
body.page-id-6 #wrapper .main-container + .main-container h2:after,
body.page-id-6 #wrapper .main-container + .main-container h3:after {
    background-color: #000;
}
body.page-id-6 #wrapper .main-container #newsbox p:last-child {
    margin-bottom: 0;
}
body.page-id-6 #wrapper .main-container #newsbox p {
    font-size: 13px;
}
body.page-id-6 #wrapper .main-container #newsbox {
    margin-top: 85px;
}

body.page-id-68 #wrapper #google-maps {
    position: absolute;
    top: 0;
    left: 524px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    width: calc(100% - 524px);
    width: -moz-calc(100% - 524px);
    width: -webkit-calc(100% - 524px);
    width: -o-calc(100% - 524px);
}

body.grandmother-8 #wrapper #tiles li:nth-child(2),
body.grandmother-8 #wrapper #tiles li:nth-child(5),
body.grandmother-8 #wrapper #tiles li:nth-child(7),
body.grandmother-8 #wrapper #tiles li:nth-child(10) {
    border: 1px solid #cd1626;
    box-shadow: 0px 0px 0px 1px #cd1626;
    position: relative;
    z-index: 300;
}
body.grandmother-8 #wrapper #tiles li:nth-child(6) {
    background-size: 100% auto;
    background-position: center;
}
body.grandmother-8 #wrapper #tiles li:hover a {
    opacity: 0 !important;
}
body.grandmother-8 #wrapper #tiles li a {
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 0px 1px #dbdbdb inset;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
body.grandmother-8 #wrapper #tiles li {
    float: left;
    position: relative;
    width: 25%;
    height: 25%;
    background-size: cover;
    background-position: bottom center;
    background-color: #f5f5f5;
    background-repeat: no-repeat;
    box-shadow: 0px 0px 0px 1px #dbdbdb inset;
    transition: opacity 0.25s ease-in-out;
}
body.grandmother-8 #wrapper #tiles li:nth-child(n+17) {
    display:none;
}
body.grandmother-8 #wrapper #tiles {
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 848px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    width: calc(100% - 848px);
    width: -moz-calc(100% - 848px);
    width: -webkit-calc(100% - 848px);
    width: -o-calc(100% - 848px);
}

body.grandmother-35 #wrapper .main-container .main-content {
    padding-right: calc(100% - 510px);
    padding-right: -moz-calc(100% - 510px);
    padding-right: -webkit-calc(100% - 510px);
    padding-right: -o-calc(100% - 510px);
}
body.grandmother-35 #wrapper .main-container .main-content {
    padding-bottom: 100px;
}
body.grandmother-35 #wrapper .main-container {
    width: 100%;
    width: calc(100% - 524px);
    width: -moz-calc(100% - 524px);
    width: -webkit-calc(100% - 524px);
    width: -o-calc(100% - 524px);
}
body.grandmother-35 #wrapper .performance_bg {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 100%;
    position: absolute;
    z-index: 400;
    top: 0;
    right: 0;
    width: calc(100% - 1040px);
    width: -moz-calc(100% - 1040px);
    width: -webkit-calc(100% - 1040px);
    width: -o-calc(100% - 1040px);
}

/* Scrollbars */
.mCustomScrollbar .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    width: 1px;
}
.mCustomScrollbar .mCSB_scrollTools {
    z-index: 800;
}
.mCustomScrollbar .mCSB_scrollTools .mCSB_draggerRail {
    width: 1px;
}
.mCustomScrollbar .mCSB_container {
    margin-right: 0;
}

/* Responsive Design */
@media screen and (max-height: 890px) {
    #wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-ancestor > a,
    #wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-parent > a,
    #wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-item > a,
    #wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children > a:hover,
    #wrapper #side #menu ul#menu-hauptmenue > li.current-menu-item > a,
    #wrapper #side #menu ul#menu-hauptmenue > li > a:hover {
        background-position: 12px -46px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li > a {
        background-position: 12px -2px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li {
        height: 40px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:last-child,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li:last-child,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li:last-child {
        height: 41px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li > a,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > a,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li > a {
        padding-top: 9px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu {
        padding-top: 286px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(3) > .sub-menu {
        padding-top: 245px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu {
        padding-top: 205px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(13) > .sub-menu {
        padding-top: 286px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(12) > .sub-menu {
        padding-top: 686px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(11) > .sub-menu {
        padding-top: 486px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(10) > .sub-menu {
        padding-top: 486px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(9) > .sub-menu {
        padding-top: 606px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(5) > .sub-menu {
        padding-top: 446px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(4) > .sub-menu {
        padding-top: 406px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(1) > .sub-menu {
        padding-top: 286px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(1) > .sub-menu {
        padding-top: 205px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(2) > .sub-menu {
        padding-top: 245px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(3) > .sub-menu {
        padding-top: 285px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(4) > .sub-menu {
        padding-top: 325px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(3) > .sub-menu > li:nth-child(4) > .sub-menu {
        padding-top: 365px;
    }
    #wrapper .widget_text h3 {
        margin-bottom: 5px;
    }
    #wrapper .widget_text div {
        line-height: 20px;
    }
}
@media screen and (max-height: 820px) {
    #wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-ancestor > a,
    #wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-parent > a,
    #wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children.current-menu-item > a,
    #wrapper #side #menu ul#menu-hauptmenue > li.menu-item-has-children > a:hover,
    #wrapper #side #menu ul#menu-hauptmenue > li.current-menu-item > a,
    #wrapper #side #menu ul#menu-hauptmenue > li > a:hover {
        background-position: 12px -52px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li > a {
        background-position: 12px -8px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li {
        height: 28px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:last-child,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li:last-child,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li:last-child {
        height: 29px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li > a,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > a,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li > a {
        font-size: 14px;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu {
        padding-top: 249px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(3) > .sub-menu {
        padding-top: 221px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu {
        padding-top: 193px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(13) > .sub-menu {
        padding-top: 249px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(12) > .sub-menu {
        padding-top: 529px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(11) > .sub-menu {
        padding-top: 389px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(10) > .sub-menu {
        padding-top: 389px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(9) > .sub-menu {
        padding-top: 473px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(5) > .sub-menu {
        padding-top: 361px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(4) > .sub-menu {
        padding-top: 333px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(4) > .sub-menu > li:nth-child(1) > .sub-menu {
        padding-top: 249px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(1) > .sub-menu {
        padding-top: 193px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(2) > .sub-menu {
        padding-top: 221px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(3) > .sub-menu {
        padding-top: 249px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(2) > .sub-menu > li:nth-child(4) > .sub-menu {
        padding-top: 277px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li:nth-child(3) > .sub-menu > li:nth-child(4) > .sub-menu {
        padding-top: 305px;
    }
    #wrapper #sidebar {
        top: auto;
        bottom: 110px;
    }
    body.page-id-6 #wrapper .main-container #newsbox {
        margin-top: 30px;
    }
}
@media screen and (max-height: 690px) {
    #wrapper .widget_text div p {
        line-height: 16px;
    }
    #wrapper .widget_text {
        margin-bottom: 4px;
    }
    #wrapper .widget_text h3 {
        margin-bottom: 4px;
    }
    #wrapper .widget_text div {
        line-height: 16px;
    }
    #wrapper #sidebar {
        bottom: 90px;
    }
    #wrapper #footer {
        bottom: 10px;
    }
}
@media screen and (max-width: 1270px), screen and (min-width: 890px), screen and (min-height: 600px) {
    body.grandmother-35 #wrapper .performance_bg {
        width: calc(100% - 840px);
        width: -moz-calc(100% - 840px);
        width: -webkit-calc(100% - 840px);
        width: -o-calc(100% - 840px);
    }
    body.grandmother-35 #wrapper .main-container .main-content {
        padding-right: calc(100% - 310px);
        padding-right: -moz-calc(100% - 310px);
        padding-right: -webkit-calc(100% - 310px);
        padding-right: -o-calc(100% - 310px);
    }
}
@media screen and (max-width: 890px), screen and (max-height: 600px) {
    html {
        -webkit-text-size-adjust: none;
    }
    #wrapper #side {
        position: relative;
        width: 100%;
        height: auto;
        overflow: visible;
        z-index: 500;
    }
    #wrapper .main-container {
        position: relative;
        left: 0 !important;
        width: 100% !important;
        height: auto;
        padding: 0;
        overflow: visible;
    }
    body.page-id-6 #wrapper .main-container #newsbox {
        margin-top: 30px;
    }
    #wrapper .main-container .main-content {
        padding: 30px 2% !important;
    }
    #wrapper #slideshow {
        position: relative;
        left: 0 !important;
        width: 100% !important;
        height: 50%;
    }
    body.grandmother-8 #wrapper #slideshow ul li {
        background-size: contain;
    }
    #wrapper #sidebar {
        position: relative;
        bottom: auto;
        top: auto;
        background-color: #fff;
        padding: 20px 2% 5px;
    }
    #wrapper .widget_text h3 {
        margin-bottom: 10px;
    }
    #wrapper .widget_text div {
        line-height: 25px;
    }
    #wrapper .widget_text {
        padding-left: 0;
    }
    #wrapper #footer {
        position: relative;
        bottom: auto;
        background-color: #fff;
        padding: 20px 2% 50px;
        text-align: left;
        width: 100%;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li:last-child > a,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li:last-child > a {
        border-bottom: 0;
    }
    #wrapper #side #menu-hauptmenue > li > a + .sub-menu {
        position: relative;
        padding: 0 !important;
        width: 100%;
        height: auto;
        left: 0;
        display: none;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li,
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li {
        height: auto !important;
    }
    #wrapper #slideshow .timer-container {
        display: none;
    }
    #wrapper #side #menu {
        margin-bottom: 30px;
        height: auto;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > a {
        padding-left: 52px;
    }
    #wrapper #side #menu ul#menu-hauptmenue > li > .sub-menu > li > .sub-menu > li > a {
        padding-left: 72px;
    }
    #wrapper #side #menu-hauptmenue > li > a + .sub-menu > li > a + .sub-menu {
        position: relative;
        padding: 0 !important;
        width: 100%;
        height: auto;
        left: 0;
        display: none;
    }
    #wrapper #side .nav_mobile {
        color: #5f5f5f;
        font-size: 30px;
        font-weight: normal;
        display: block;
        text-decoration: none;
        text-align: center;
        height: 45px;
        position: fixed;
        bottom: 0px;
        background-color: rgba(255, 255, 255, 0.95);
        right: 0;
        width: 100%;
        border-radius: 0 0 0 0px;
        z-index: 800;
    }
    #wrapper #side .nav_mobile,
    #wrapper #side .nav_mobile * {
        -webkit-transform: translate3d(0, 0, 1px);
        transform: translate3d(0, 0, 1px);
    }
    #wrapper #side .nav_mobile:before {
        font-family: Flaticon;
        font-size: 40px;
        font-style: normal;
        margin-left: 0px;
        content: '\e000';
        line-height: 53px;
    }
    #wrapper #side #logo {
        margin: 0px auto;
        height: 0;
        padding: 70px 0;
    }
    #wrapper #side #menu {
        display: none;
    }
    body.grandmother-8 #wrapper #tiles li,
    body.grandmother-8 #wrapper #tiles li a {
        background-size: contain !important;
    }
    body.grandmother-8 #wrapper #tiles {
        position: relative;

        left: 0;
        width: 100% !important;
        height: 50% !important;
    }
    body.page-id-68 #wrapper #google-maps {
        width: 100% !important;
        left: 0;
        height: 50%;
        position: relative;
    }
    body.grandmother-35 #wrapper .performance_bg {
        position: relative;
        width: 100% !important;
        height: 50%;
        background-color: #87888a;
    }
}
