
.carousel {
    overflow: hidden;
    display: block;
    position: relative;
    width: 100%;
    height: auto;
}

.carousel-stage {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
    height: auto;
    border: none;
}

.carousel-stage ol {
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
}

/* if the images in the slides aren't all of equal height, a max-width
 * can be used to correctly align the caption */

.carousel-stage li {
    float: left;
    list-style: none outside none;
    position: relative;
    text-align: center;
    padding: 0;
}

/* depending on whether you want to fit to width or height, adjust these
 * properties accordingly */

.carousel-stage li img {
    display: block;
    width: 100%;
    height: auto;
}

/* slide overlay */

.carousel-stage li a.slide-overlay {
    position: absolute;
    top: 30%;
    display: block;
    background: rgba(255,255,255,0.8);
    padding: 20px 40px 60px 40px;
    text-align: left;
    text-decoration: none;
}

.carousel-stage li a.slide-overlay * {

    color: black;
    text-decoration: none;
}

/* Controls */

.carousel .carousel-sliders {
    position: absolute;
    top: 50%;
    z-index: 100;
    width: 100%;
    margin-top: -45px;
}

.carousel .carousel-sliders a {
    opacity: 0.85;

    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.carousel .carousel-sliders a:hover,
.carousel .carousel-sliders a:focus {
    opacity: 1;
}

.carousel .carousel-sliders a img {
    display: block;
    width: 50px;
    height: auto;
}

/* Right */

.carousel .carousel-sliders a.right {
    float: right;
    margin-right: 25px;
}

/* Left */

.carousel .carousel-sliders a.left {
    float: left;
    margin-left: 25px;
}

/* Navigation */

.carousel-navigation ol {
    list-style: none outside none;
    height: 20px;
    padding: 0;
    margin: 0;
}

.carousel-navigation li {
    float: left;
    margin-right: 10px;
}

.carousel-navigation li.selected a {
    text-decoration: underline;
}

.carousel-navigation a:hover {
    opacity: 0.5;
}

@media only screen and (max-width: 800px) {

    /* common classes */

    .carousel-stage li a.slide-overlay {
        position: absolute;
        top: 10%;
        left: 15%;
        width: 60%;
        display: block;
        background: rgba(255,255,255,0.8);
        padding: 20px 40px 20px 40px;
        text-align: left;
        text-decoration: none;
    }

}
