.carousel {
    position: relative;
    /*max-width: 900px;*/
    width: 100%;
    /*margin: 2rem auto;*/
    /*border: 1px solid #ccc;*/
    /*padding: 0.5rem;*/
}

.carousel__viewport {
    position: relative;
    overflow: hidden;
}

.carousel__slide {
    display: none;
    max-height: 480px;
}

.carousel__slide[aria-hidden="false"] {
    display: block;
}

/* Image + overlay */
.carousel__image-wrap {
    position: relative;
}

.carousel__image-wrap img {
    width: 100%;
    /*height: auto;*/
    height: auto;
    display: block;
}

.carousel__title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: center;
    box-sizing: border-box;
}

.carousel__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.carousel__title a {
    color: #fff;
    text-decoration: none;
}

.carousel__title a:hover,
.carousel__title a:focus {
    text-decoration: underline;
    outline: 2px solid #fff; /* visible focus ring */
    outline-offset: 2px;
}

.carousel__desc {
    background: #f9f9f9;
    padding: 0.5rem;
    font-size: 0.95rem;
}

/* Controls */
.carousel .btn-prev,
.carousel .btn-next {
    position: absolute;
    z-index: 700;
    top: 50%;
    margin-top: -2.5em;
    border: 0;
    background: rgba(255, 255, 255, 0.6);
    line-height: 1;
    padding: 10px 5px;
    transition: padding .4s ease-out;
    cursor: pointer;
}

.carousel .btn-next {
    right: 0;
    border-radius: .25em 0 0 .25em;
}

.carousel .btn-prev {
    left: 0;
    border-radius: 0 .25em .25em 0;
}

.carousel .btn-prev img,
.carousel .btn-next img {
    width: 24px;
    height: 24px;
}

.carousel button:focus {
    outline-offset: 2px;
    outline: 2px solid;
}

.carousel button:focus,
.carousel button:hover {
    background-color: #005a9c; /* W3C blue */
    color: #fff;
    border-color: #005a9c;
}

.carousel .btn-next:hover,
.carousel .btn-next:focus,
.carousel .btn-prev:hover,
.carousel .btn-prev:focus {
    padding-left: 15px;
    padding-right: 15px;
}

/* Indicators + Pause */
.carousel__indicators {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    list-style: none;
    padding: 0;
}

.carousel__indicator,
.carousel__pause {
    margin: 0 0.25rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid #00274c;
    background: #fff;
    cursor: pointer;
}

.carousel__indicator[aria-current="true"] {
    background: #00274c;
    color: #fff;
}

.carousel__pause[aria-pressed="true"] {
    background: #ccc;
}

@media only screen and (max-width: 479px) {
    #accessible-carousel {
        display: none;
    }
}