#content img {
    max-width: 100%;
}

#content figure {
    z-index: 10;
    position: relative;
}

#content figure a,
#content figure img {
    max-width: 100%;
    outline: none;
}

#content figcaption {
    display: none;
    font-size: 0.82em;
    line-height: 1.28;
    padding: 0.4em;
    text-align: center;
}

.align_right {
    display: block;
    float: right;
    margin-bottom: 2em;
    margin-left: 2em;
}

.align_left {
    display: block;
    float: left;
    margin-bottom: 2em;
    margin-right: 2em;
}

.align_center {
    display: block;
    margin: 0 auto 2em;
    text-align: center;
}

.gallery {
    clear: both;
    margin-bottom: 2em;
    width: 100%;
}

.gallery-row {
    display: table;
    width: 100%;
}

.gallery a {
    display: table-cell;
    outline: none;
}

.gallery a img {
    height: auto;
    width: 100%;
    vertical-align: middle;
}

.cycle-slideshow {
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
}

.cycle-slideshow .cycle-slide {
    width: 100%;
}

.cycle-slideshow .cycle-slide a {
    display: block;
}

.cycle-slideshow .cycle-slide img {
    width: 100%;
}

.cycle-slideshow .cycle-slide .caption {
    background: #241d1e;
    background: rgba(36, 29, 30, 0.82);
    bottom: 0;
    color: #fff;
    display: block;
    font-size: 0.72em;
    left: 0;
    line-height: 1;
    margin: 0;
    max-width: none;
    opacity: 0;
    padding: 0.64em;
    position: absolute;
    text-align: center;
    width: 100%;
    -webkit-transition: all 512ms;
    transition: all 512ms;
    z-index: 2;
}

.cycle-slideshow .cycle-slide.slide-in .caption {
    bottom: 0;
}

.cycle-slideshow .cycle-slide.slide-out .caption {
    bottom: -40px;
}

.cycle-slideshow:hover .cycle-slide .caption {
    opacity: 1;
}

.slideshow {
    border-bottom: 1px solid #fff;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 2em;
}

.slideshow .slide-arrow {
    color: #fff;
    cursor: pointer;
    height: 100%;
    left: -40px;
    opacity: 0.7;
    overflow: hidden;
    position: absolute;
    text-decoration: none;
    top: 0;
    width: 38px;
    -webkit-transition: all 512ms;
    transition: all 512ms;
    z-index: 300;
}

.slideshow .slide-arrow:hover {
    opacity: 1.0;
}

.slideshow .slide-arrow.next {
    left: auto;
    background-position: right center;
    right: -40px;
}

.slideshow:hover .slide-arrow {
    left: 0;
}

.slideshow:hover .slide-arrow.next {
    left: auto;
    right: 0;
}

.slideshow .slide-arrow span {
    color: #fff;
    font-size: 40px;
    margin-top: -20px;
    padding: 0 10px;
    position: absolute;
    top: 50%;
}

.thumbnails {
    margin-top: -2em;
    margin-bottom: 2em;
}

.thumbnails img {
    border-right: 1px solid #fff;
    cursor: pointer;
    opacity: 0.92;
    -webkit-transition: all 256ms;
    transition: all 256ms;
}

.thumbnails img:hover {
    opacity: 1;
}

.thumbnails .cycle-slide {
    display: block;
}

.thumbnails .cycle-slide img {
    height: auto;
    width: 100%;
}

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

    #content figure {
        width: 100% !important;
    }

    .align_right,
    .align_left {
        float: none;
        height: auto;
        margin: 0 0 32px;
        width: 100%;
    }

    .align_right img,
    .align_left img {
        height: auto;
        width: 100%;
    }

}
