$("li a.search").on('click', function () {
         if ($(".searchform").css("display") === "none") {
             $(".searchform").css("display", "inherit");
-            $('header ul.social').css("margin","10px 118px 0px");
+            $('header ul.social').css("margin","10px 0px 0px");
             $(".searchform input[type='submit']").css("display", "inherit");
         } else {
             $(".searchform").css("display", "none");
 
     $("li a.search").on('click', function () {
         if ($(".searchform").css("display") === "none") {
             $(".searchform").css("display", "inherit");
-            $('header ul.social').css("margin","10px 118px 0px");
+            $('header ul.social').css("margin","10px 0px 0px");
             $(".searchform input[type='submit']").css("display", "inherit");
         } else {
             $(".searchform").css("display", "none");