As I can see from code that you posted everything is ok with your css.
Only thing that makes you problem is jquery css fuction which is used to apply styles to an image. Look at jquery site
] for help about it.
The code must look like this:
'-moz-box-shadow': '0 0 2.5px 2.5px #41627E',
'-webkit-box-shadow': '0 0 2.5px 2.5px #41627E',
'box-shadow': '0 0 5px 5px #41627E',
Notice that css properties an their values are enclosed with ' char.
All other code stays as it is.