.carousel-container {
    display: block;
}

.carousel {
    display: block;
}

.slick-dots {
    display: flex;
    justify-content: center;
    position: relative;
    list-style: none;
}

.slick-dots button {
    overflow: hidden;
    text-indent: -9999px;

    margin: 5px;
    height: 10px;
    width: 10px;

    border: 0;
    border-radius: 50%;
    background-color: rgb(255,255,255,0.4);
}

.slick-dots button:hover {
    background-color: rgb(255,255,255,0.6);
}

.slick-dots .slick-active button {
    background-color: rgb(255,255,255,0.8);
}

.carousel-slide {
    display: block;
    height: 407px;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-overlay-container {
    display: flex;
    align-items: center;
    width: 960px;
    height: 100%;
    margin: auto;
}

.carousel-overlay-left {
    justify-content: left;
}

.carousel-overlay-right {
    justify-content: right;
}

.carousel-overlay {
    background-color: rgb(0,0,0,0.7);
    padding: 10px 20px 10px 20px;
    margin: 0 40px 0 40px;
}

.tfd-teaser {
    margin-top: 5px;
    width: 960px;
    background-position: center;
    background-repeat: no-repeat;
}

.rich-text h1 {
    font-size: 28px;
}

.rich-text h2 {
    font-size: 26px;
}

.rich-text h3 {
    font-size: 24px;
}

.rich-text h4 {
    font-size: 22px;
}

.tfd-teaser .rich-text {
    padding: 40px 0 0 40px;
    width: 40%;
}


.gallery-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    padding-top: 1em;
}

.gallery-item {
    position: relative;
    width: 288px;
    height: 162px;
    margin-bottom: 1em;
}
.gallery-item .gallery-item-overlay {
    display: none;
}
.gallery-item:hover .gallery-item-overlay {
    display: block;
    position: absolute;
    background-color: rgb(0,0,0,0.4);
    width: 100%;
    height: 100%;
}
.gallery-item-overlay .overlay-text {
    padding: 1em;
}
.gallery-item-desc {
    display: none;
}


.customer-logo-list {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(9, auto);
    gap: 1em;
    padding: 10px;
}
.customer-logo-list img {
    margin: 1em auto 1em auto;
}
