.captionjs {
    line-height: 0;
}

    .captionjs figcaption {
        line-height: 1.5;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        -o-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11px;
        color:#000;
        font-style: italic;
        display: block;
    }

    .captionjs.stacked, .captionjs.animated, .captionjs.hide {
        position: relative;
        overflow: hidden;
    }

        .captionjs.stacked figcaption, .captionjs.animated figcaption, .captionjs.hide figcaption {
            position: absolute;
        }

        .captionjs.stacked figcaption {
            bottom: 0;
        }

        .captionjs.animated figcaption {
            -webkit-transition: .25s bottom;
            -moz-transition: .25s bottom;
            -ms-transition: .25s bottom;
            -o-transition: .25s bottom;
            transition: .25s bottom;
        }

        .captionjs.animated:hover figcaption {
            bottom: 0 !important;
        }

        .captionjs.hide figcaption {
            -webkit-transition: .25s margin-bottom;
            -moz-transition: .25s margin-bottom;
            -ms-transition: .25s margin-bottom;
            -o-transition: .25s margin-bottom;
            transition: .25s margin-bottom;
        }

        .captionjs.hide:hover figcaption {
            margin-bottom: 0 !important;
        }
