Adhesive failure on portlight

The acrylic (?) window fell out of one of our port lights. What type of adhesive is recommended for repair and what solvent, if any, is recommended to remove the old adhesive? Will a solvent damage the gasket and its adhesive? Thanks for any advice you can give me. Ed

Puffin, 26U