﻿/* carousel styles from TeamHQ */

/* Carousel base class */
.carousel {
    /*margin-bottom: 4rem;*/
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
    margin: 0;
    padding: 0;
    bottom: unset;

    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.carousel-caption-row {
    text-align: center;
    width: 100%;
}

.carousel-inner {
    border-radius: 8px 8px 0px 0px;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 255px;
    margin-top: 35px;
}

    .carousel-item > img {
        position: absolute;
        top: 0;
        left: 0;
        /*min-width: 100%;*/
        height: 20rem;
    }

.carousel-bottom-addon {
    margin-top: -20px;
}
/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

}

/* eigene Styles */
.bg-cover-centered, .bg-cover-centered-140 {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.bg-cover-centered {
    width: 140px;
    height: 120px;
}
