/**********************
   Masonry Grid
 */
.grid-item {
    background-color: white;
    border: 1px solid lightgrey;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .grid-item.col-sm-6 {
        width: 48.63%;
    }
}

@media (min-width: 992px) {
    .grid-item.col-md-4 {
        width: 31.4%;
    }
}

@media (min-width: 1200px){
    .grid-item.col-lg-3 {
        width: 23.24%;
    }
}


/**********************
   Google Maps
 */
.google-maps--container {
    margin: 20px 0;
}

.google-maps .google-map {
    min-height: 200px;
    min-width: 200px;
    width: 100%;
    height: 100%;
}

/**********************
   Accordion
 */
.accordion .accordion-button {
    padding: 0 20px;
}

.frame-type-staempfli_content_elements_accordion .search {
    margin-bottom: 30px;
}

/**********************
   Testimonial Slider
 */
.swiper-wrapper .swiper-slide {
    margin: 0;
    height: auto;
}

.attestant-image img {
    max-width: 100%;
    height: auto;
}

.attestant-details {
    text-align: center;
}

/**********************
   Timeline
 */
.timeline .timeline-item {
    position: relative;
    display: flex;
    align-items: stretch;
    flex-direction: row;
}

.timeline .spacer {
    flex-basis: 0;
}

.timeline .timeline-item__content {
    position: relative;
    display: block;
    flex-basis: 100%;
    padding-top: 0.5em;
    margin-bottom: 6rem;
}

.timeline .timeline-item__content > * {
    margin-bottom: 1rem;
}

.timeline .timeline-item:not(:last-child) .timeline-year::after {
    content: "";
    position: absolute;
    top: 3em;
    left: 1.5em;
    height: 100%;
    width: 1px;
    background-color: #000;
    z-index: -1;
}

.timeline .timeline-item__timeline {
    flex-shrink: 0;
    padding-right: 2rem;
    position: relative;
}

.timeline .timeline-year {
    display: block;
    height: 3em;
    width: 3em;
    padding-top: 1.5em;
    border-radius: 100%;
    background-color: #000;
    color: #fff;
    text-align: center;
    line-height: 0;
}

.timeline--left .spacer, .timeline--right .spacer {
    display: none;
}

.timeline--right .timeline-item {
    flex-direction: row-reverse;
}

.timeline--right .timeline .timeline-item .timeline .timeline-item__timeline {
    padding-right: 0;
    padding-left: 2rem;
}

.timeline--right .timeline .timeline-item:not(:last-child) .timeline .timeline-year::after {
    left: auto;
    right: 1.5em;
}

@media screen and (min-width: 1024px) {
    .timeline--center .timeline-item__content, .timeline--center .spacer {
        flex-basis: 50%;
    }
    .timeline--center .timeline-item__timeline {
        padding-left: 2rem;
    }
    .timeline--center .timeline-item:not(:last-child) .timeline-year::after {
        left: 50%;
    }
    .timeline--center.timeline--timeline-item-start-left .timeline-item:nth-child(2n + 1), .timeline--center.timeline--timeline-item-start-right .timeline-item:nth-child(2n) {
        flex-direction: row-reverse;
    }
}

/**********************
   Slider
 */
.slider__textbox {
    background-color: #FFFFFF;
    padding: 0.5rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.slider__copyright {
    display: inline;
    position: absolute;
    top: 0;
    margin-left: 0.5rem;
}

@media screen and (max-width: 992px) {
    .slider__textbox {
        position: relative;
    }
}

/* YouTube Videos / iFrames */
.swiper-slide iframe.video-embed-item {
    width: 100%;
    aspect-ratio: 5/3;
}

/**********************
   Card
 */
.icon-size-small {
    width: 3em;
}

.icon-size-medium {
    width: 5em;
}

.icon-size-large {
    width: 7em;
}