T-shirts and shorts are acceptable as long as they are not too tight or revealing. If you are in places such as small villages, Moroccan homes, public events etc you must show some respect and keep most parts covered although this would not normally apply to having ones head covered.