I'm travelling to Gambia and I have two layover in Morocco and Guinea Bissau for 1 hour each place. Do I need a transit visa? I have a Travel Document from Denmark (it's a blue passport) and I'm not a citizen of Denmark yet. I'm a citizen of Afghanistan, but have lived in Denmark for 22 years (if that matters).
As stated in Timatic, the database used by airlines:
Transit without visa: Holders of confirmed onward tickets for a max. transit time of 24 hours at Casablanca (CMN).
Transit without visa: Holders of confirmed onward tickets in transit
So no, you do not need visas.
P.S. Get Danish citizenship as soon as possible - it will be well worth it.