apdet error page, layout, index & css