Media Block, Light Box improvement, and CSS refactoring