A gym reduced its 24/7 opening hours by closing overnight, citing health and safety as the reason for the decision.