Why is the lido deck on a ship called the lido deck?

Lido is another word for swimming-pool, so I should think the lido-deck is where the pool is.