/* Adapted from R.css with the following additional features: - Assumes the presence of