Police detained dozens of people in cities across Morocco as authorities prevented a third-day of protests against declines in public health and education.