/*
// caption.js styles
*/

/* Main */
.erpProcaptionjs {
    line-height: 0;
    margin-left: 0;
    margin-right: 0;
}
.erpProcaptionjs figcaption {
    line-height: 1;
    -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%;
}
.erpProcaptionjs.stacked,
.erpProcaptionjs.animated,
.erpProcaptionjs.hide {
    position: relative;
    overflow: hidden;
}
.erpProcaptionjs.stacked figcaption,
.erpProcaptionjs.animated figcaption,
.erpProcaptionjs.hide figcaption {
    position: absolute;
}

/* Stacked mode */
.erpProcaptionjs.stacked figcaption {
    bottom: 0;
}

/* Animated mode */
.erpProcaptionjs.animated figcaption {
    -webkit-transition: 0.25s bottom;
    -moz-transition:    0.25s bottom;
    -ms-transition:     0.25s bottom;
    -o-transition:      0.25s bottom;
    transition:         0.25s bottom;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(64, 64, 64, 0.65);
    color: #fff;
    border: none;
}
.erpProcaptionjs.animated:hover figcaption {
    bottom: 0 !important;
}

/* Hide mode */
.erpProcaptionjs.hide figcaption {
    -webkit-transition: 0.25s margin-bottom;
    -moz-transition:    0.25s margin-bottom;
    -ms-transition:     0.25s margin-bottom;
    -o-transition:      0.25s margin-bottom;
    transition:         0.25s margin-bottom;
}
.erpProcaptionjs.hide:hover figcaption {
    margin-bottom: 0 !important;
}
