@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-08 {
    from {
        opacity: 0;
    }
    to {
        opacity: 0.8;
    }
}

@keyframes fade-out {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fade-out-08 {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 0;
    }
}

* {
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Poppins', arial, sans-serif;
    background: url('./background-image.jpg') 50% 0 fixed no-repeat #000;
    background-size: cover, 100%;
}

img a {
    border: none;
    text-decoration: none;
}

h2 {
    font-size: 30px;
    text-transform: uppercase;
    font-family: 'Aldrich', arial, sans-serif;
}

ul li {
    margin-left: 20px;
}

/*
 * Area extra-large ('xl') only
 */
.subheading {
    font-size: 17px;
}

.header {
    padding: 50px 0 0 0;
    height: 225px;
    text-align: center;
    background-color: #000;
}

#logo {
    width: 622px;
    height: 102px;
    background: url('./logo.png') 0 0 no-repeat #590005;
    background-size: cover;
    margin: auto;
}

#logo-heading {
    display: none;
}

.subline {
    display: inline-block;
    font-size: 18px;
    line-height: 18px;
    margin: 20px 0 0 0;
    font-family: arial, sans-serif;
}

.subline .item {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subline .splitter {
    vertical-align: sub;
    display: inline-block;
    width: 2px;
    height: 19px;
    padding: 3px 0 0 0;
    background-color: #fff;
    margin: 0 10px;
}

.menu {
    height: 60px;
    color: #fff;
    background-color: #444;
    font-size: 18px;
    line-height: 60px;
    margin: 30px 0 2px 0;
    z-index: 200;
    position: absolute;
    left: 0;
    width: 100%;
    text-transform: uppercase;
}

.menu a.menu-item {
    text-decoration: none;
    color: #fff;
    padding: 0 13px;
    display: inline-block;
    border-bottom: 2px solid transparent;
    font-family: 'Aldrich', arial, sans-serif;
    letter-spacing: 1px;
}

.menu a.menu-item:hover {
    background-color: #555;
    border-bottom: 2px solid #590005;
}

.menu a.menu-item.active {
    border-bottom: 2px solid #590005;
}

.menu a.back-to-top-link {
    padding: 0 20px;
    display: none;
}

body.sticky .main {
    /* .main margin-top + .menu height + .menu margin-bottom */
    /*margin-top: 54px;*/
}

body.sticky .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
}

body.sticky .menu a.back-to-top-link {
    display: inline-block;
}

.menu-mobile {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.menu-mobile-icon {
    display: none;
    position: fixed;
    top: 10px;
    left: 20px;
    font-size: 32px;
    z-index: 300;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    text-align: center;
    background-color: #590005;
    cursor: pointer;
}

.menu-mobile-icon i.fa-bars {
    margin-top: 50%;
    transform: translateY(-50%);
    color: #fff;
}

.content {
    padding-top: 58px;
	word-wrap: break-word;
}

.back-to-top {
    display: none;
    width: 70px;
    height: 80px;
    position: fixed;
    bottom: 0;
    right: 0;
    cursor: pointer;
    background-image: url('./back-to-top.png');
}

.line {
    width: 100%;
    height: 2px;
    background-color: #590005;
    border: none;
    margin-bottom: 15px;
}

.flexslider {
    border: none;
    margin-top: -2px;
    margin-bottom: 0;
    background-color: #000;
    min-height: 200px;
}

.flex-direction-nav .flex-prev {
    left: 20px;
}

.flex-direction-nav .flex-next {
    right: 20px;
}

.flex-direction-nav a {
    height: 66px;
    margin: -33px 0 0;
}

.flex-direction-nav a::before {
    font-size: 60px;
}

.flexslider .slides li {
    background-position: 0 50%;
    background-repeat: no-repeat;
    min-height: 200px;
}

.flexslider .slides li img {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    min-height: 100%;
}

.flex-control-paging li a {
    width: 12px;
    height: 12px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.flex-control-paging li a:hover,
.flex-control-paging li a:focus {
    background-color: #000;
}

.flex-control-paging li a.flex-active {
    background-color: #000;
    border: 2px solid #fff;
}

.flex-control-nav {
    bottom: 20px;
}

.flexslider.mode-full,
.flexslider.mode-full .slides li {
    /* 100% - (header height + content padding top) + flexslider margin top */
    height: calc(100vh - 283px + 2px);
}

.pimcore_area_content {
    margin-bottom: 20px;
}

.onepage-element {
    margin-bottom: 60px;
}

.pimcore_area_imagetiles img {
    width: 100%;
}

.display-full {
    margin-right: 0;
    margin-left: 0;
    padding-right: 0;
    padding-left: 0;
}

.spacer {
    width: 100%;
    height: 0;
    margin-bottom: 50px;
}

.contact-form {
    width: 100%;
}

.contact-form label {
    font-size: 14px;
    font-weight: normal;
    width: 100%;
    display: inline-block;
    margin: 0;
}

.contact-form input[type="text"],
.contact-form textarea {
    background-color: transparent;
    border: 1px solid #fff;
    width: 100%;
    padding: 2px 5px;
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 13px;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input[type="submit"] {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 5px;
}

.contact-form input[type="submit"]:hover {
    border-color: #590005;
    color: #590005;
}

.underline-red {
    display: inline-block;
    border-bottom: 2px solid #590005;
}

.responsiveimage,
.responsiveimage img {
    width: 100%;
    margin: 0;
    padding: 0;
}

.imagetile {
    position: relative;
}

.imagetile img {
    width: 100%;
}

.imagetile .tile-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #590005;
    display: block;

    animation: fade-out-08 0.5s;
    opacity: 0;
}

.imagetile:hover .tile-overlay,
.imagetile:focus .tile-overlay {
    animation: fade-in-08 1s;
    opacity: 0.8;
}

.imagetile .tile-overlay-content {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    color: #fff;
    text-decoration: none;
    transform: translateY(-50%);
    font-size: 18px;
    text-align: center;
    display: inline-block;

    animation: fade-out 0.5s;
    opacity: 0;
}

.imagetile:hover .tile-overlay-content,
.imagetile:focus .tile-overlay-content {
    animation: fade-in 1s;
    opacity: 1;
}

.social-media {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.social-media a {
    display: block;
    width: 40px;
    height: 40px;
    margin: 3px 0 3px 5px;
    font-size: 34px;
    line-height: 40px;
    color: #fff;
    border-right: none;
}
.social-media a:hover {
    width: 45px;
    border-right: 5px solid transparent;
    margin-left: 0;
}
.social-media a i {
    line-height: 40px;
    margin-left: 4px;
}
.social-media a.facebook {
    background-color: #4267b2;
}
.social-media a.facebook:hover {
    border-color: #8aa2d3;
}
.social-media a.mail {
    background-color: #590005;
}
.social-media a.mail:hover {
    border-color: #ff8087;
}
.social-media a.phone {
    background-color: #444444;
}
.social-media a.phone:hover {
    border-color: #8e8e8e;
}
/*
.social-media a.googleplus {
    background-color: #dc4a38;
}
.social-media a.googleplus:hover {
    border-color: #ea9287;
}
.social-media a.twitter {
    background-color: #1da1f2;
}
.social-media a.twitter:hover {
    border-color: #77c6f7;
}
.social-media a.youtube {
    background-color: #ff0000;
}
.social-media a.youtube:hover {
    border-color: #ff6565;
}
.social-media a.linkedin {
    background-color: #0077b5;
}
.social-media a.linkedin:hover {
    border-color: #39bbfe;
}
.social-media a.xing {
    background-color: #007575;
}
.social-media a.xing:hover {
    border-color: #13fefe;
}*/
.contact-us a {
    color: #fff;
    text-decoration: none;
}
.contact-us a:hover {
    text-decoration: underline;
}
.contact-us tr td:first-child {
    width: 30px;
}
.contact-us tr td .fa {
    margin: 2px 0;
}

.events tr td {
	padding: 5px 0;
	vertical-align: top;
}
.events tr td:first-child {
	width: 0.1%;
    white-space: nowrap;
}
.events tr td:nth-child(2) {
	width: 0.1%;
    white-space: nowrap;
	padding-left: 10px;
	padding-right: 10px;
}
.events tr td a {
	color: #fff;
	text-decoration: none;
}
.events tr td a:hover {
	text-decoration: underline;
}
.events tr td em {
	font-size: 12px;
}

.readmore a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    text-align: center;
}
.readmore a:hover {
    text-decoration: underline;
}
.readmore-content {
    overflow: hidden;
    border-bottom: 1px solid #fff;
}

.datenschutz a {
    color: #fff;
    text-decoration: underline;
	word-wrap: break-word;
	overflow-wrap: break-word;
}
.datenschutz a:hover {
    color: #590005;
}

#popup-layer {
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.popup-layer {
    /*position: absolute;
    top: 0;
    left: 0;
    height: 100%;*/
    width: 100%;
}

.popup-layer-close {
    display: inline;
    cursor: pointer;
}

.popup-layer-close:hover {
    text-decoration: underline;
    color: #590005;
}

.popup-layer-close:before {
    display: block;
    content: '';
    clear: both;
    margin-top: 20px;
}

/*
 * Area large ('lg') only
 */
@media (min-width: 992px) and (max-width: 1199px) {
    .menu {
        font-size: 16px;
    }

    .menu a.menu-item {
        padding: 0 7px;
    }

    .imagetile .tile-overlay-content {
        font-size: 16px;
    }
}

/*
 * Area medium ('md') only
 */
@media (min-width: 768px) and (max-width: 991px) {
    .menu {
        font-size: 15px;
    }

    .menu a.menu-item {
        padding: 0 6px;
        letter-spacing: 0;
        font-size: 13px;
    }

    .imagetile .tile-overlay-content {
        font-size: 15px;
    }

    .subheading {
        font-size: 15px;
    }
}

/*
 * Area small ('sm') only
 */
@media (min-width: 576px) and (max-width: 767px) {
}

/* Area extra-small ('xs') only */
@media (max-width: 575px) {
}

/* Special area: mobile (sm & xs) */
@media (max-width: 767px) {
    #logo {
        width: 311px;
        height: 51px;
    }

    .subline .splitter {
        display: block;
        height: 0;
        width: auto;
        padding: 0;
        margin: 5px 0;
    }

    .header {
        padding: 80px 0 0 0;
        height: 255px;
    }

    .menu {
        top: 0 !important;
        background-color: #000;
        display: none;
        margin: 0;
        position: fixed;
        padding: 80px 0 0 0;
        height: 100%;
        line-height: 50px;
    }

    .menu a.menu-item {
        display: block;
        width: 100%;
        padding: 0;
    }

    .menu a.menu-item:hover,
    .menu a.menu-item:focus {
        border-bottom: 2px solid transparent;
    }

    .menu a.menu-item.active {
        border-bottom: 2px solid transparent;
    }

    body.sticky .menu {
        display: none;
    }

    .menu-mobile {
        display: block;
    }

    .menu-mobile-icon {
        display: block;
    }

    .content {
        padding-top: 0;
    }

    .flexslider.mode-full,
    .flexslider.mode-full .slides li {
        /* 100% - (menu height + header height) + flexslider margin top */
        height: calc(100vh - 255px + 2px);
    }

    .imagetile {
        margin-bottom: 20px;
    }

    .column-content {
        margin-bottom: 20px;
    }

    .back-to-top {
        display: none !important;
    }

    .subheading {
        font-size: 15px;
    }

    .datenschutz .pimcore_area_stil-content-columns .row > div:first-child .area-wysiwyg p {
        text-align: left !important;
        font-weight: bold;
    }
}
