/** .atSlideshowArticle is placed with JS, so that AT can also be placed in other containers than .slideshow-container */
.atSlideshowArticle,
.slideshow-container .article {
    border: 1px solid #dcddde;
}

.atSlideshowArticle > h2,
.slideshow-container .article > h2 {
    margin: 0;
    padding: .3em .5em .3em 40px;
    line-height: inherit;
    font-size: 1em;
    text-transform: uppercase;
    background: #bac9d5 url(../../img/icon-sprite.png) no-repeat 12px .55em;
    background-size: 20px auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.at-slideshow {
    position: relative;
    padding-bottom: 56px;
}

.at-slideshow label,
.at-slideshow input {
    display: none;
}

.ats-slideshow-inner > ul {
    margin: 0;
    list-style: none;
}

.ats-slideshow-inner > ul > li + li {
    margin-top: 1em;
}

/**
 * All offers link
 */

.ats-all-offers-link {
    position: absolute;
    padding-left: 1.3em;
    bottom: 5px;
    text-decoration: none;
    color: inherit;
}

.ats-all-offers-title {
    display: block;
    color: #ae1421;
    text-decoration: underline;
}

.ats-all-offers-title:after {
    text-decoration: none;
}

.ats-all-offers-link:hover .ats-all-offers-title {
    text-decoration: none;
}

@media screen and (min-width: 600px) {
    .ats-at-slideshow {
        position: relative;
        display: block;
        overflow: hidden;
    }

    .ats-slideshow-inner {
        position: relative;
        overflow: hidden;
    }

    .ats-slideshow-inner > ul {
        position: relative;
        left: 0;
        height: 100%;
        overflow: hidden;
        transition: left .8s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .ats-slideshow-inner > ul > li {
        position: relative;
        margin-top: 0;
        float: left;
    }

    .ats-slideshow-inner > ul > li + li {
        margin-top: 0;
    }

    .at-slideshow input[type=radio] {
        position: absolute;
        left: 50%;
        bottom: 15px;
        z-index: 100;
        visibility: hidden;
    }

    /**
     * styling labels Tabs
     */

    label.ats-tab,
    .ats-all-offers-link {
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        padding: 3px 7px;
        min-height: 56px;
        font-size: 11px;
        border-color: #dcddde;
        border-top-width: 1px;
        border-top-style: solid;
        z-index: 100;
        box-sizing: border-box;
    }

    label.ats-tab,
    .ats-all-offers-link {
        background: #f3f3f4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    label.ats-tab ~ label.ats-tab,
    .ats-all-offers-link {
        border-left-width: 1px;
        border-left-style: solid;
    }

    .ats-tab-title,
    .ats-all-offers-title {
        display: block;
        font-weight: 700;
        text-transform: uppercase;
        white-space: initial;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .ats-tab-sub-title,
    .ats-all-offers-subtitle {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .at-slideshow input[type=radio]:checked+label {
        color: #fff;
        background: #ae1421;
        border-color: #ae1421;
    }
}
