Menu block gets alot bigger when logged out


I am working on a website for a customer and i stumbled upon a problem. I made a menu that can be changed into 3 languages. this morning it was looking/working completely fine. But when i tried to put in the country flags the whole layout got ruined (only when logged out)

This is how the menu block looks when logged in:

This is how the menu block looks when logged out:

The margin under the menu is gone, the country flags went a bit up and most important the menu block got stretched out by alot.
I checked the css of the page logged in and out and its both excactly the same. I have tried some things and i asked a colege but we couldnt figure out the problem. i hope someone on here is able to help me with my problem.

Kind regards,

Peter van Veghel

Drupal version: