In a stand mixer add the egg yolks and the butter and mix well.
Add the sugar and mix well.
Add the almond paste and mix well. Break up the almond paste in small chunks before adding it to the mixer so that it mixes quicker.
Add the flour and mix well.
Beat the egg whites with a fork until they get a little foamy and add them to the mixer. Mix for a few minutes until you have a soft and uniform dough.
Take the dough, divide it in 3 equal parts and put it in three separate bowls.
The dough in one bowl should be left white.
The dough of one of the other bowls should be colored green and the other one red. Add as much food color as you like until you get the color tone that you prefer.
Evenly spread the mixes in three separate ungreased aluminum baking sheets (12"x8").
Bake each one at 375F for 10-12 mins. Let them all cool off.
Put a piece of parchment paper on a wood board and deposit the green sheet.
Spread a thin layer of apricot jam over the entire surface of the green sheet.
Place the white sheet on top of the green sheet.
Spread apricot jam on the white surface as well.
Deposit the red sheet over the white and with your hands press well so that the three sheets will stick together.
With a serrated knife trim all four edges of the tricolor sheets.
Met the chocolate and spread it over the top of the sheets.
Let the chocolate dry, preferably overnight, turn upside down and spread melted chocolate over the other side.
Let the chocolate dry and cut the cookies into pieces of about 1 1/2" x 1/2" or as big as you prefer.