added important to inline-block rule of .galya-thumbnail