Nest CSS class correctly

A change to detailed guides stylesheet caused a bug in other document types with translations. This change nests the detailed guides css correctly.