/* utility */

.w1400 {
    max-width: 1400px;
}

.h-33 {
    height: 33.333333%;
    overflow: hidden;
}

/* main page */

.row.white {
    background-color: #FFF;
}

.row.grey {
    background-color: #d6e6eb;
}

.row.main-content {
    background-color: #FFF;
}

.partners-footer {
    background-color: #FFF;
}


/* map plugin */

.single-map #map {
    margin: 1.5em 0;
}

/* large map on startpage */
.feed-content #map {
    min-height: 820px;
}

@media all and (max-width: 1199px) {
    .feed-content #map {
        min-height: 62vh;
    }
}

/* DCE */

/* Infobox DCE */

.infobox {
    background-color: #e0ecf0;
    padding: 1em;
    margin-top: 1em;
}

.infobox .infobox-title {
    font-weight: 600;
    font-size: 22px;
    color: #308099;
    line-height: 1.5;
    margin: 0 0 .5em 0;
}

.infobox .infobox-text {
    line-height: 1.3em;
}

/* contact+links plugin */

.contact-links {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.contact-links h3 {
    font-weight: 600;
    font-size: 20px;
    color: #308099;
    line-height: 1.5;
    margin: .75em 0 .2em 0;
}

.contact-links-content {
    height: 80%;
    overflow: hidden;
    margin-bottom: .5em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-links-content .links-container {
    word-wrap: break-word;
}

.separator-orange {
    height: 1px;
    width: 90%;
    margin-right: auto;
    background-color: #ec7404;
}

@media screen and (max-width: 770px){
    .separator-orange {
        display: none;
    }
}

/* Plugin: Higlights (container) */

.highlights-plugin-container {
    /*note: this works for both the slider and the tiles*/
    margin-bottom: 15px;
}

/* Leuchttürme: Kacheln */

.leuchtturm-tiles {
    width: 100%;
    cursor: default;
    position: relative;
}

.leuchtturm-tiles .leuchtturm-label {
    position: absolute;
    display: inline-block;
    background-color: rgba(48, 128, 153, .8);
    color: #FFF;
    width: 100%;
    padding: 1em 1.5em;
    z-index: 33;
}

.leuchtturm-tiles .leuchtturm-label span {
    font-size: 22px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    margin-bottom: .75em;
}

.leuchtturm-tiles .leuchtturm-image-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 100%;
}

.leuchtturm-tiles .leuchtturm-image {
    object-fit: cover;
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    position: absolute;
}

.leuchtturm-back .leuchtturm-hashtags, .leuchtturm-back .leuchtturm-address {
    font-weight: 600;
    line-height: 1.3;
}

.leuchtturm-card {
    position: relative;
    width: 100%;
    margin: 15px 0;
}

/* new fade effect */
.leuchtturm-card .leuchtturm-front {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.leuchtturm-card .leuchtturm-back {
    transition: .5s ease;
    opacity: 0;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #ec7404;
    padding: 1em;
    color: #FFF;
    font-size: 1rem;
    text-overflow: ellipsis;
}

.leuchtturm-card .leuchtturm-back a {
    color: #FFF;
}

.leuchtturm-back .vertical-center {
    height: 100%;
}

.leuchtturm-back .map-marker {
    position: relative;
    top: 4px;
}

.leuchtturm-back .leuchtturm-address {
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 160%;     /* fallback */
    max-height: 69%;     /* fallback */
    -webkit-line-clamp: 3; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.leuchtturm-back .leuchtturm-description {
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-height: 160%;
    max-height: 92%;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.leuchtturm-back .leuchtturm-hashtags {
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-top: 1rem;
    display: -webkit-box;
    line-height: 160%;     /* fallback */
    max-height: 92%;      /* fallback */
    -webkit-line-clamp: 3; /* number of lines to show */
    -webkit-box-orient: vertical;
}

.leuchtturm-card:hover .leuchtturm-front, .leuchtturm-card.hover .leuchtturm-front {
    opacity: 0.3;
}

.leuchtturm-card:hover .leuchtturm-back, .leuchtturm-card.hover .leuchtturm-back {
    opacity: 1;
}

.leuchtturm-card .morelink-caret {
    position: absolute;
    bottom: 5%;
    right: 5%;
}
.leuchtturm-card .morelink-caret:after {
    font-family: 'Font Awesome 5 Free';
    content: '\f054';
    font-weight: 900;
    font-size: 36px;
    line-height: 1;
    color: #FFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Leuchtturm-Infokarte */
.leuchtturm-infofield {
    background-color: #308099;
    position: absolute;
    margin: 15px 15px 15px 0;
    height: calc(100% - 30px);
    overflow: hidden;
    padding: 1em 1.5em;
    color: #FFF;
}

.leuchtturm-infofield .infofield-headline {
    font-size: 22px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    margin-bottom: .75em;
}

.leuchtturm-infofield .infofield-text {
    font-size: 18px;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
}

/* Leuchtturm-Slider */

.leuchtturm-slider {
    width: 94%;
    max-width: 1250px;
    margin: 0 auto;
    margin-bottom: 2em;
}

.leuchtturm-slider .slide {
    position: relative;
}

.leuchtturm-slider .leuchtturm-label {
    position: absolute;
    display: block;
    background: #308099;
    color: #FFF;
    opacity: .8;
    width: 100%;
    max-width: 300px;
    padding: 15px 0;
}

.leuchtturm-slider .leuchtturm-label span {
    font-size: 17.5px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    margin-bottom: .75em;
}

.leuchtturm-slider .leuchtturm-image-container {
    margin: 0 auto;
    text-align: center;
}

.leuchtturm-slider .leuchtturm-image {
    object-fit: cover;
    width: 100%;
    max-height: 300px;
    max-width: 300px;
    min-height: 300px;
}

@media all and (max-width: 1396px) and (min-width: 1060px){
    .leuchtturm-slider {
        max-width: 934px;
    }
}

@media all and (max-width: 1059px) and (min-width: 768px){
    .leuchtturm-slider {
        max-width: 620px;
    }
}

@media all and (max-width: 767px) {
    .leuchtturm-slider {
        max-width: 310px;
    }
}