.sqs-block-image .image-block-outer-wrapper { .layout-caption-overlay .intrinsic .image-caption-wrapper, .layout-caption-overlay-hover .intrinsic .image-caption-wrapper { background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7); height: 100%; overflow: hidden; padding: 0; position: absolute; text-align: center; top: 0; right: 0; bottom: 0; left: 0; } .layout-caption-overlay-hover .image-caption { margin-bottom: -5px; position: relative; top: 50%; transition: margin-bottom 0.1s ease-out 0s; } }