/*! HTML5 Boilerplate v6.0.1 | 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: #595959;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #ff9a00 !important;
    text-shadow: none;
}

::selection {
    background: #ff9a00 !important;
    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;
}

/* ==========================================================================
   Custom styles
   ========================================================================== */

@font-face {
    font-family: 'bankgothic_lt_btlight';
    src: url('../font/bankgothic_lt_bt_mager-webfont.woff2') format('woff2'),
    url('../font/bankgothic_lt_bt_mager-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.bankgothic {
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
}

.bold {
    font-weight: bold;
}

.center {
    text-align: center;
}

* {
    font-family: 'Open Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
    font-weight: normal;
}

body {
    padding-top: 105px;
    position: relative;
}

header {
    position: fixed;
    top: 20px;
    background: #FFFFFF;
    width: 100%;
    padding: 5px;
    border-bottom: 1px solid #ddd;
    z-index: 100;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.24), 0 0 6px rgba(0, 0, 0, 0.35 );
}

@media only screen and (max-width: 675px) {
    header {
        top: 0;
    }

}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-flow: row;
    position: relative;
    transition: 1s;
}

.header-logo-box {
    margin-right: auto;
    width: 55%;
}

.header-logo-box a {
    display: flex;
    height: 80px;
    width: auto;
    transition: 200ms;
    align-items: center;
    text-decoration: none;
    color: #595959;
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
}

.header-logo-box a img {
    height: 72px;
    width: 72px;
}

.header-logo-box span {
    color: #595959;
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
    font-size: 33px;
    font-weight: bold;
    transition: 300ms;
}

.header-logo-box small {
    color: #595959;
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
    font-size: 22px;
    font-weight: normal;
    transition: 300ms;
}

.header-logo-box img {
    float: left;
    display: block;
    height: 100%;
    transition: 200ms;
    width: auto;
}

.header-logo-extra::before {
    content: " | "
}

.header-nav-box ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.header-nav-box li {
    list-style-type: none;
    float: left;
    padding: 0 12px;
    transition: 200ms;
}

.header-nav-box a {
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
    text-decoration: none;
    color: #595959;
}

.header-nav-box a.language-selector {
    font-size: 0.93em;
}

.header-nav-box a:hover {
    color: #ff9a00;
}

.header-nav-box a .highlightedLanguage {
    color: #ff9a00;
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
}
.header-nav-box a .otherLanguage {
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
}

.language-flag {
    display: none;
}

.header-nav-box a:hover span {
    color: #595959;
}

nav.scrolling .header-logo-box a {
    height: 66px;
}

nav.scrolling .header-logo-box a img {
    height: 66px;
    width: 66px;
}

nav.scrolling .header-logo-box span {
    font-size: 30px;
}

nav.scrolling .header-logo-box small {
    font-size: 20px;
}

nav.scrolling .header-nav-box li {
    padding: 15px;
}

section:before {
    content: '';
    display: block;
    border-top: 3px solid #ffaa00;
    box-shadow:0px 2px 5px lightgray;
}

section:first-of-type:before {
    border-top: none;
}

section {
    margin-top: 5px;
    background: #FFFFFF;
}

section .section-content-box {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    align-items: center;
}

section .section-content-box.no-padding-box {
    padding: 0;
}

section .section-content-box.no-bottom-padding-box {
    padding: 50px 0 0 0;
    display: block;
}

section .section-content-column {
    flex-direction: column;
    text-align: center;
}

.first-header {
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: 2.5rem;
}

@media (max-width: 1200px) {
    .first-header {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .first-header {
        margin-top: 0;
    }
}

.subheadline {
    font-weight: normal;
    font-size: 15px;

}

.margin-right {
    padding-right: 5%;
}

.margin-left {
    padding-left: 5%;
}

.motto {
    display: block;
    width: 100%;
    font-size: 22px;
}

.popup-wrapper {
    position: fixed;
    background: rgba(0, 0, 0, 1);
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1000;
    transition: 300ms;
    margin-top: 0;
    display: flex;
    align-items: center;
}

.popup-close-wrapper {
    position: relative;
}

.popup {
    position: relative;
    display: block;
    background: #fff;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1000;
    max-height: 80%;
    border-radius: 6px;
}

.popup-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    z-index: 1000;
    width: 100%;
    height: 100%;

}

.popup-content {
    display: flex;
    padding: 20px 40px;
    height: 100%;
}

.popup-close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 100px;
    border: 2px solid #ccc;
    width: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-close span {
    text-decoration: none;
    cursor: pointer;
    font-size: 30px;
    line-height: 30px;
    color: white;
    padding: 0;
    margin: 0;
}

.popup-close span:hover {
    color: #ff9a00;
}

.no-show-link {
    text-decoration: none;
    color: #595959;
    cursor: pointer;
}

.no-show-link:hover {
    color: #333;
}

a.popup-contact-info {
    text-decoration: none;
    color: #595959;
}

a.popup-contact-info:hover {
    color: #ff9a00;
}

.xr-iframe-container {
    height: auto;
    width: auto;
}

.xr-iframe-container iframe {
    width: 1200px;
    height: 675px;
}

.show-more {
    background-color: #ffaa00;
    color: white;
    text-decoration: none;
    cursor: pointer;
    border: 3px solid #ffaa00;
    padding: 10px 30px;
    transition: 0.3s;
    border-radius: 7px;
}

.show-more:hover {
    background-color: #595959;
    border-color: #ffaa00;
}

footer {
    width: 100%;
    display: flex;
    background: #bbb;
    min-height: 100px;
    justify-content: center;
    align-items: center;
}

footer a {
    font-size: 15px;
    text-align: center;
}

footer a span {
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
    font-size: 18px;
    white-space: nowrap
}

footer a small {
    font-size: 15px;
    padding: 0 5px;
}

.back-to-top {
    position: fixed;
    right: 0;
    bottom: 100px;
    text-decoration: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.back-to-top span {
    display: block;
    font-size: 25px;
    transform: rotate(-90deg);
    padding: 10px;
    color: #595959;
    background: #ccc;
    margin-right: 14px;
}

.back-to-top img {
    display: block;
    transform: rotate(90deg);
    width: 20px;
    padding: 5px;
    color: #595959;
    background: #ccc;
    margin-right: 15px;
    opacity: 0.6;
}

.back-to-top.bottom-fixed {
    position: absolute;
    bottom: 100px;
}

.popup-map-wrapper {
    width: 60%;
    padding-left: 5%;
}

.popup-profile-picture {
    height: 300px
}

.timeline td {
    vertical-align: top;
    padding: 10px 20px 10px 0;
}

.about-us-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.about-us {
    /* list-style: none; */
    padding-left: 15px;
    padding-right: 20px;
}

.about-us-image-s {
    display: none;
    width: 100%;
    text-align: center;
}

.about-us-image-s img {
    max-height: 200px;
    border-radius: 6px;
}

.about-us li {
    position: relative;
    padding-top: 10px;
    padding-left: 10px;
    list-style: square;
}

.about-us li span {
    vertical-align: top;
    display: inline-block;
    max-width: 870px;
}

/*
.about-us li:before {
    content: '•';
    position: absolute;
    left: -15px;
}*/

.tile-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.tile {
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    position: relative;
    height: 230px;
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 6px;
}

.tile-software {
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    position: relative;
    height: 106px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 6px;
}

@media (hover: hover) and (pointer: fine) {
    .tile:hover {
        transition: all 400ms ease-in;
        background-size: 104%;
    }
    .tile-software:hover {
        transition: all 50ms ease-in;
        background-size: 103%;
    }
}

.tile-w-1 {
    width: 180px;
}

.tile-w-2 {
    width: 390px;
}

.tile-w-3 {
    width: 710px;
}

.about-us-image-l {
    margin: 60px 60px 0;
}

.about-us-image-l img {
    max-height: 300px;
    border-radius: 6px;
}


@media only screen and (max-width: 850px) {

    .about-us-image-l {
        display: none;
    }

    .about-us-image-s {
        display: block;
    }

    .tile-w-3 {
        width: 100%;
        overflow: hidden;
    }

    .tile-w-2 {
        width: 100%;
        overflow: hidden;
    }

    .tile-w-1 {
        width: 40%;
        overflow: hidden;
    }

    .tile {
        height: 150px;
        background-color: black;
        background-size: contain;
    }
}

.tile-icon {
    height: 100%;
    width: 100%;
    position: absolute;
    opacity: 0;
    cursor: pointer;
    top: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: block;
    border-radius: 6px;
}

.tile-icon .icon {
    background-repeat: no-repeat;
    opacity: 0.6;
    height: 28px;
    width: 28px;
    background-size: contain;
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
}

.tile-icon .tile-inner {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.tile-icon .tile-inner {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tile-icon .tile-title {
    font-size: 20px;
    color: rgba(255,255,255,0.7)
}

.tile-icon:hover {
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .tile-icon {
        transition: 200ms;
    }
}

.tile-popup {
    display: none;
}

.tile-popup-content {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    background-color: transparent;
}

.tile-popup-wrap {
    background: none;
}

.tile-button {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    color: #595959;
}

.tile-extras {
    width: 100%;
    display: inherit;
    flex-wrap: inherit;
    max-height: 0;
    overflow: hidden;
    transition: 400ms;
    justify-content: center;
}

.tile-show-extra {
    max-height: 5000px;
}

.expand-disclaimer {
    margin: 20px 0;
    display: block;
    font-size: 1.4em;
    color: #ff9a00;
}

.expand-disclaimer:hover {
    text-decoration: underline;
    color: #ff9a00;
}

#impressum-popup .popup {
    height: 620px;
}

#impressum-popup .popup.disclaimer-expanded {
    height: 80%;
}

#impressum-popup .popup-content {
    overflow-y: auto;
    height: 100%;
    padding: 0;
}

#impressum-popup .popup-content-scroll {
    padding: 20px 40px;
}

.impressum-title {
    display: flex;
    align-items: center;
}

.impressum-title span {
    font-size: 20px;
    font-weight: normal;
}

.impressum-title img {
    height: 40px;
    width: 40px;
}

.impressum-address {
    margin-top: 0;
}

a.cc-btn.cc-dismiss:hover {
    background: #ff9a00 !important;
}

.car-overflow-protection {
    overflow: hidden;
    width: 1200px;
    height: 675px;
    display: flex;
    justify-content: center;
}

.logo-sized-overflow {
    width: 585px;
    height: 390px;
}

@media only screen and (max-width: 900px) {
    #impressum-popup .popup {
        height: 80%;
    }
}

.cc-message {
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
}

.cc-btn {
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
}

.img-leistungen {
    width: 100%;
    margin-top: 3rem;
    border-radius: 6px;
}

.sub-section-separator {
    width: 100%;
    left: 0;
    margin-top: 1.5rem;
    border-top: 2px solid #FDA72D;
}

.first-image {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.img-main-slider {
    width: 100%;
    border-radius: 6px;
}

.main-slider {
    border-radius: 6px;
    overflow: hidden;
    display: none;
    transform: translateZ(0);
}

.main-slider-text {
    position: absolute;
    right: 15px;
    color: #ccc;
    bottom: 10px;
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
    font-size: 14px;
    text-align: right;
}

section .first-section {
    padding-top: 4rem;
}

.first-section p:first-of-type {
    margin-top: 1rem;
    line-height: 1.6;
}

@media only screen  and (max-width: 830px) {
    section .first-section {
        padding-top: 3rem;
    }

    .first-image {
        margin-bottom: 0;
    }

    .first-section p:first-of-type {
        margin-top: 0rem;
    }
}

@media only screen  and (max-width: 1300px) {
    .back-to-top {
        display: none;
    }
}

@media only screen  and (max-width: 1250px) {

    body {
        padding-top: 50px;
    }

    section .section-content-box {
        padding-left: 3%;
        padding-right: 3%;
        width: 94%;
    }

    .header-logo-box {
        width: 47%
    }

    .header-logo-box a {
        height: 66px;
    }

    .header-logo-box a img {
        height: 66px;
        width: 66px;
    }

    .header-logo-box span {
        font-size: 30px;
    }

    .header-logo-box small {
        font-size: 20px;
    }

    .header-nav-box li {
        padding: 0 10px;
    }

    nav.scrolling .header-logo-box a {
        height: 50px;
    }

    nav.scrolling .header-logo-box a img {
        height: 50px;
        width: 50px;
    }

    nav.scrolling .header-nav-box li {
        padding: 0 10px;
    }

    nav.scrolling .header-logo-box span {
        font-size: 25px;
    }

    nav.scrolling .header-logo-box small {
        font-size: 15px;
    }

    .xr-iframe-container iframe {
        width: 400px;
        height: 300px;
    }
}

@media only screen and (max-width: 920px) {
    .mobile-no-show {
        display: none;
    }

    .header-logo-box {
        width: auto;
    }

    .header-logo-box span {
        font-size: 20px;
        line-height: 16px;
    }

    .header-logo-box small {
        font-size: 15px;
    }

    nav.scrolling .header-logo-box span {
        font-size: 20px;
    }

    nav.scrolling .header-logo-box small {
        font-size: 15px;
    }

    /*
    small.header-logo-extra {
        text-align: right;
        width: 98%;
        display: block;
        font-size: 13px;
        border-top: 1px solid #ccc;
        margin-left: 2%;
    }

    nav.scrolling  small.header-logo-extra {
        font-size: 13px;
    }

    .header-logo-extra::before {
        content: "";
        clear: both;
        display: block;
    }*/
}

@media only screen and (max-width: 830px) {

    nav {
        display: flex;
        flex-flow: column;
        position: relative;
        transition: 1s;
    }

    header {
        padding: 0;
    }

    section .section-content-box {
        flex-flow: column-reverse;
    }

    section .section-content-box.section-content-column {
        flex-flow: column;
    }

    .section-welcome h1 {
        margin-top: 0;
    }

    .margin-left {
        padding-left: 0;
    }

    .margin-right {
        padding-right: 0;
    }

    .header-logo-box {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    /*
    .header-logo-box a {
        width: 150px;
        height: 50px;
    }*/
    .header-logo-box a {
        height: 50px;
    }

    .header-logo-box a img {
        width: 50px;
        height: 50px;
    }

    nav.scrolling .header-logo-box a {
        height: 50px;
    }

    nav.scrolling .header-logo-box a img {
        width: 50px;
        height: 50px;
    }

    .header-nav-box li {
        padding: 0 10px;
    }

    .popup-map-wrapper {
        width: 100%;
        margin-top: 5%;
    }

    .popup-profile-picture {
        height: 200px
    }


    .car-overflow-protection {
        height: 50vw;
    }
    .logo-sized-overflow {
        height: 60vw;
    }


}

@media only screen and (max-width: 500px) {

    .header-nav-box {
        margin-top: 10px;
    }

    .popup-content {
        flex-flow: column;
        overflow-y: auto;
        height: 100%;
    }

    .header-nav-box li {
        padding: 0 5px;
    }

    .header-nav-box a span.highlightedLanguage, .header-nav-box a span.language-separator,  .header-nav-box a span.otherLanguage{
        display: none;
    }

    .language-flag {
        display: block;
    }

    nav.scrolling .header-nav-box li {
        padding: 0 5px;
    }

    section .section-content-box {
        margin-left: 2%;
        margin-right: 2%;
        width: 96%;
        padding-left: 0;
        padding-right: 0;
    }

    .popup-content {
        padding: 10px 15px;
    }

    .popup-content h1 {
        margin: 10px 0 0 0;
    }

    .popup-profile-picture {
        display: none;
    }

    .popup-map-wrapper {
        display: none;
    }

    .tile-popup-content iframe {
        width: 0;
        height: auto;
        max-height: 100%;
        max-width: 100%;
        min-height: 100%;
        min-width: 100%;
    }

    .xr-iframe-container iframe {
        width: 300px;
        height: 200px;
    }

}

.tile-popup-content iframe {
    width: 0;
    height: auto;
    max-height: 100%;
    max-width: 100%;
    min-height: 100%;
    min-width: 100%;
}

.main-slider {
    width: 100%;
    position: relative;
    margin-bottom: 1.5rem;
}

.main-slider .slick-slide img {
    transform: scale(1,1);
    transition: all 10s ease-out;
}

.main-slider .slick-slide.slick-current.slick-active img {
    transform: scale(1.1,1.1);
}

/* ==========================================================================
   Slider
   ========================================================================== */

.slider-wrapper {
    width: 100%;
    position: relative;
}

.slider-wrapper .img-wrapper {
    height: 30vw;
    max-height: 350px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
    /* background-color: black; */
}

/*
.slider-wrapper h3 {
    margin-top: 80px;
}
*/
.slider-wrapper .img-wrapper {
    margin-top: 80px
}

.slick-dots {
    position: absolute;
    list-style: none;
    top: 350px;
    width: 100%;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    transition: 200ms;
}

.slick-dots .next, .slick-dots .prev {
    position: relative;
    padding: 0 30px 0 0;
    background: rgba(0, 0, 0, 0);
}

.slider-wrapper-arrows-absolute {
    position: absolute;
    top: 350px;
    width: 100%;
}

.slick-dots li {
    float: left;
}

.slick-dots button {
    background: transparent;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid #595959;;
    margin: 0 20px;
    padding: 1px 0;
    width: 70px;
    text-align: left;
    font-family: 'bankgothic_lt_btlight', Arial, sans-serif;
}

.medien-slider button {
    color: #ccc;
}

section h2.headline:after {
    content: "";
    display: block;
    height: 4px;
    background: #ffaa00;
    transition: width 0.5s ease 400ms;
    width: 0;
}

section h2.scrolled-into-view:after {
    width: 30px;
}

.medien-slider .image-subtitle {
    text-align: center;
    color: #ccc;
    font-size: 24px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.slick-dots button:hover {
    color: #ff9a00;
}

.slick-dots button:focus {
    outline: none;
}

@media only screen and (max-width: 1200px) {
    .slick-dots, .slider-wrapper-arrows-absolute {
        top: 53%;
    }
}

@media only screen and (max-width: 1000px) {
    .slick-dots, .slider-wrapper-arrows-absolute {
        top: 48%;
    }
}

@media only screen and (max-width: 900px) {
    .slick-dots, .slider-wrapper-arrows-absolute {
        top: 43%;
    }

}

@media only screen and (max-width: 800px) {
    .slick-dots {
        top: 38%;
    }

    .medien-slider .image-subtitle {
        font-size: 1rem;
    }

    /*
    .slick-dots .prev, .slick-dots .next {
        display: none;
    }*/
}

@media only screen and (max-width: 675px) {
    .slick-dots {
        top: 35%;
    }

}

@media only screen and (max-width: 600px) {
    .slider-wrapper .img-wrapper {
        height: 200px;
        background-size: contain;
    }

    .slick-dots {
        top: 190px;
    }

    .slick-dots button {
        color: #595959;
    }
}

.slick-dots .slick-active button {
    font-weight: bold;
    border-bottom: 3px solid #ff9a00;
    color: #ff9a00;
}

.slick-slide:focus {
    outline: none;
}

.medien-slider-flex, .privat-slider-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.medien-slider, .privat-slider {
    position: relative;
}

.medien-slider .img-wrapper, .privat-slider .img-wrapper {
    /*height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center; */
    width: 100%;
}

.medien-slider .slick-slide img, .privat-slider .slick-slide img {
    /*height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center; */
    max-height: 70vh;
    height: auto;
    margin: 0 auto;
    max-width: 100%;
}

.medien-slider-wrapper, .privat-slider-wrapper {
    width: 100%;
    position: relative;
}

.tile-popup-content video {
    max-width: 1200px;
    width: 100%;
    height: 100%;
}

/*
.next, .prev {
    position: absolute;
    display: block;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 20px;
    text-decoration: none;
    font-size: 30px;
    cursor: pointer;
    top: 45%;
    opacity: 0;
}*/

.next, .prev {
    position: absolute;
    display: block;
    background: rgba(0, 0, 0, 0.9);
    padding: 5px 15px 5px 10px;
    text-decoration: none;
    cursor: pointer;
    top: calc(50% - 25px - 39px); /* half the whole container, half the arrow and some random adjustments */
    opacity: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: 0.3s;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.next img, .prev img {
    height: 40px;

}

.next {
    right: -1px;
    transform: rotate(180deg);
}

.prev {
    left: -1px;
}

.privat-slider .slick-dots {
    bottom: 0;
    top: auto;
}

.medien-slider .slick-dots {
    top: auto;
}

.medien-slider .slick-dots button, .privat-slider .slick-dots button {
    bottom: 0;
    top: auto;
    width: 70px;
}

.medien-slider-flex .slick-arrow.nextVisible {
    opacity: 1;
}

@media only screen  and (max-width: 850px) {
    .slick-dots {
        justify-content: space-around;
    }

    .medien-slider .slick-dots {
        display: none !important;
    }

    .medien-slider-flex .next, .medien-slider-flex .prev {
        opacity: 1;
    }

}

@media only screen and (max-width: 600px) {
    .slick-dots button {
        width: auto !important;
    }

}

@media only screen and (max-width: 400px) {
    .slick-dots button {
        margin: 0 5px;
    }
}

/* ==========================================================================
   Cookies
   ========================================================================== */

.cc-message {
    text-align: center;
}

.cc-window {
    border-radius: 6px;
}

.cc-btn {
    border-radius: 7px;
}

/* ==========================================================================
   Icons
   ========================================================================== */

.icon-camera {
    max-width: 256px;
    max-height: 256px;
    background-image: url('../img/icons/photo-camera.svg');
}

.icon-video {
    max-width: 256px;
    max-height: 256px;
    background-image: url('../img/icons/youtube.svg');
}

.icon-3d {
    max-width: 256px;
    max-height: 256px;
    background-image: url('../img/icons/3d.svg');
}

/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Hide visually and from screen readers
 */
.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * 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;
    -webkit-clip-path: none;
    clip-path: none;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

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

/* ==========================================================================
   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: #595959;
        /* 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;
    }
}

@media only screen and (hover: none) and (pointer: coarse) {
    .cc-revoke {
        display: none;
    }
}

