Resident detained for environmental violations in Medina