.at-carousel {
    position: relative;
    margin-bottom: 0 !important; /* To override the .article styling */
}

.at-carousel__slides {
    display: flex;
}

.at-carousel__slide {
    flex-grow: 1;
    position: relative;
    height: inherit;
}

.at-carousel__content {
    height: 100%;
    min-height: 15rem;
}

.at-carousel__content--noPadding {
    padding: 0;
}

.at-carousel__content--primary {
    background: var(--primaryColor);
}

.at-carousel__content--secondary {
    background: var(--secondaryColor);
}

.at-carousel__content--transparent {
    background: none;
}

.at-carousel__content a {
    color: var(--baseWhite);
}

.at-carousel__content p img {
    display: block;
}

/**
 *  Slider controls
 */

.at-carousel__controlButton {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: inline-block;
    height: 3em;
    width: 3em;
    margin-top: -1.5em;
    padding: 0;
    border: none;
    cursor: pointer;
    text-indent: -9999em;
    box-shadow: 0 5px 10px rgba(0,0,0,.06);
}

.at-carousel__controlButton:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,.22);
}

.at-carousel__controlButton::before {
    position: absolute;
    left: 0;
    right: 0;
    display: inline-block;
    content: '';
    font-family: 'dynamic';
    text-indent: 0;
}

.at-carousel__controlButton--prev {
    left: 0;
}

.at-carousel__controlButton--prev::before {
    content: '\2190';
}

.at-carousel__controlButton--next {
    right: 0;
}

.at-carousel__controlButton--next::before {
    content: '\2192';
}

@media (min-width: 1200px) {

    .at-carousel__content {
        min-height: 20rem;
    }

    .at-carousel__content--noPadding {
        padding: 0;
    }

    .at-carousel__controlButton--prev {
        left: 4rem;
    }

    .at-carousel__controlButton--next {
        right: 4rem;
    }

}

/**
 * Tiny slider overrides
 */

.tns-outer {
    position: relative;
}

.tns-outer > button {
    display: none;
}

.tns-nav {
    position: absolute;
    top: calc(50% - 2em);
    right: 0.5em;
    display: flex;
    flex-direction: column;
    bottom: calc(var(--articleMarginBottom) + 2rem);
}

.tns-nav button {
    width: .6em;
    height: .6em;
    margin-bottom: .5em;
    padding: 0;
    border-radius: 50%;
    opacity: .34;
}

.tns-nav .tns-nav-active {
    transform: scale(1.5);
    margin-bottom: .7em;
    opacity: 1;
}

.tns-ovh {
    position: relative;
}

@media (min-width: 1340px) {
    .tns-nav {
        right: auto;
        left: 95%;
    }
}

@media (min-width: 1680px) {
    .tns-nav {
        left: 85%;
    }
}

@media (min-width: 1920px) {
    .tns-nav {
        left: 81%;
    }
}
