adjusted sizes for types/layouts, fixed CSS