Added styling to auto-size videos and images to fill the width of the document, up to a pre-determined maximum.