#galleries a { display: inline-block; } #galleries .meta { font-size: 0.9em; width: 100%; margin: 0.5em 0; color: #666; line-height: 1.2em; } #galleries > li { display: inline-block; margin-right: 2em; margin-bottom: 3em; } #galleries .grid { width: 200px; } #galleries .grid li { float: left; padding: 0 0.2em 0.2em 0; width: 50%; } #galleries .grid img { display: block; width: 100%; } #media { margin-bottom: 3em; } #media li { display: inline-block; margin-right: 0.2em; margin-bottom: 0.2em; position: relative; } #media li .video-overlay { left: 50%; height: 48px; margin-left: -24px; margin-top: -24px; position: absolute; top: 50%; width: 48px; } #lg-gallery .lg-slide .object { transition-duration: 0.3s; } #lg-gallery .video { height: 100%; left: 0; padding-bottom: 100px; position: absolute; top: 0; width: 100%; } #lg-gallery video { max-width: 100%; } /* captions */ .lg-sub-html { bottom: 100px; /* always display above the thumbnails */ }