MDL-43321 theme_bootstrapbase: Added @media query in less/moodle/course.less
also added clearfix to ../course/renderer.php.