Advertisement
MikkoDC

KF Header

Oct 3rd, 2024
16
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.24 KB | None | 0 0
  1. <!-- Start VWO Async SmartCode -->
  2. <link rel="preconnect" href="https://dev.visualwebsiteoptimizer.com" />
  3. <script type='text/javascript' id='vwoCode'>
  4. window._vwo_code || (function() {
  5. var account_id=852380,
  6. version=2.1,
  7. settings_tolerance=2000,
  8. hide_element='body',
  9. hide_element_style = 'opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important',
  10. /* DO NOT EDIT BELOW THIS LINE */
  11. f=false,w=window,d=document,v=d.querySelector('#vwoCode'),cK='_vwo_'+account_id+'_settings',cc={};try{var c=JSON.parse(localStorage.getItem('_vwo_'+account_id+'_config'));cc=c&&typeof c==='object'?c:{}}catch(e){}var stT=cc.stT==='session'?w.sessionStorage:w.localStorage;code={use_existing_jquery:function(){return typeof use_existing_jquery!=='undefined'?use_existing_jquery:undefined},library_tolerance:function(){return typeof library_tolerance!=='undefined'?library_tolerance:undefined},settings_tolerance:function(){return cc.sT||settings_tolerance},hide_element_style:function(){return'{'+(cc.hES||hide_element_style)+'}'},hide_element:function(){if(performance.getEntriesByName('first-contentful-paint')[0]){return''}return typeof cc.hE==='string'?cc.hE:hide_element},getVersion:function(){return version},finish:function(e){if(!f){f=true;var t=d.getElementById('_vis_opt_path_hides');if(t)t.parentNode.removeChild(t);if(e)(new Image).src='https://dev.visualwebsiteoptimizer.com/ee.gif?a='+account_id+e}},finished:function(){return f},addScript:function(e){var t=d.createElement('script');t.type='text/javascript';if(e.src){t.src=e.src}else{t.text=e.text}d.getElementsByTagName('head')[0].appendChild(t)},load:function(e,t){var i=this.getSettings(),n=d.createElement('script'),r=this;t=t||{};if(i){n.textContent=i;d.getElementsByTagName('head')[0].appendChild(n);if(!w.VWO||VWO.caE){stT.removeItem(cK);r.load(e)}}else{var o=new XMLHttpRequest;o.open('GET',e,true);o.withCredentials=!t.dSC;o.responseType=t.responseType||'text';o.onload=function(){if(t.onloadCb){return t.onloadCb(o,e)}if(o.status===200){_vwo_code.addScript({text:o.responseText})}else{_vwo_code.finish('&e=loading_failure:'+e)}};o.onerror=function(){if(t.onerrorCb){return t.onerrorCb(e)}_vwo_code.finish('&e=loading_failure:'+e)};o.send()}},getSettings:function(){try{var e=stT.getItem(cK);if(!e){return}e=JSON.parse(e);if(Date.now()>e.e){stT.removeItem(cK);return}return e.s}catch(e){return}},init:function(){if(d.URL.indexOf('__vwo_disable__')>-1)return;var e=this.settings_tolerance();w._vwo_settings_timer=setTimeout(function(){_vwo_code.finish();stT.removeItem(cK)},e);var t;if(this.hide_element()!=='body'){t=d.createElement('style');var i=this.hide_element(),n=i?i+this.hide_element_style():'',r=d.getElementsByTagName('head')[0];t.setAttribute('id','_vis_opt_path_hides');v&&t.setAttribute('nonce',v.nonce);t.setAttribute('type','text/css');if(t.styleSheet)t.styleSheet.cssText=n;else t.appendChild(d.createTextNode(n));r.appendChild(t)}else{t=d.getElementsByTagName('head')[0];var n=d.createElement('div');n.style.cssText='z-index: 2147483647 !important;position: fixed !important;left: 0 !important;top: 0 !important;width: 100% !important;height: 100% !important;background: white !important;';n.setAttribute('id','_vis_opt_path_hides');n.classList.add('_vis_hide_layer');t.parentNode.insertBefore(n,t.nextSibling)}var o='https://dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&vn='+version;if(w.location.search.indexOf('_vwo_xhr')!==-1){this.addScript({src:o})}else{this.load(o+'&x=true')}}};w._vwo_code=code;code.init();})();
  12. </script>
  13. <!-- End VWO Async SmartCode -->
  14.  
  15. <meta name="facebook-domain-verification" content="yb8oyp0vxjgr5ih6y7gjnpwij775mn" />
  16. <style>
  17.  
  18. /* Weglot Top Navigation */
  19. #mega-menu-main-navigation .mega-weglot-lang {
  20. display: none !important
  21. }
  22. #menu-top-navigation > li.menu-item-has-children {
  23. position:relative;
  24. }
  25. #menu-top-navigation > li.menu-item-has-children:before {
  26. position: absolute;
  27. background: transparent;
  28. content: "" !important;
  29. display: block!important;
  30. width: 100%;
  31. height: 30px;
  32. top: 0;
  33. left: 0;
  34. }
  35. #menu-top-navigation > li.menu-item-has-children > a{
  36. padding-right:15px;
  37. }
  38. #menu-top-navigation > li.menu-item-has-children > a:before{
  39. border-left: 5px solid transparent;
  40. border-right: 5px solid transparent;
  41. border-top: 5px solid #ffffff;
  42. position: absolute;
  43. right:0;
  44. top: 50%;
  45. transform: translateY(-50%);
  46. content: "" !important;
  47. width: 0;
  48. height: 0;
  49. background: transparent;
  50. display: block !important;
  51. }
  52. #menu-top-navigation > li.menu-item-has-children > a:hover:before{
  53. border-left: 5px solid transparent;
  54. border-right: 5px solid transparent;
  55. border-bottom: 5px solid #ffffff;
  56. border-top:0;
  57. position: absolute;
  58. right:0;
  59. top:50%;
  60. transform: translateY(-50%);
  61. content: "" !important;
  62. width: 0;
  63. height: 0;
  64. background: transparent;
  65. display:block !important;
  66. }
  67. #menu-top-navigation > li > ul {
  68. display: none;
  69. position: absolute;
  70. right:0;
  71. top:30px;
  72. background: #ffffff;
  73. box-shadow: 0px 10px 30px rgb(0 0 0 / 5%);
  74. border-radius: 3px;
  75. padding: 15px 20px;
  76. z-index: 2;
  77. width: 145px;
  78. }
  79. #menu-top-navigation > li > ul:before {
  80. border-left: 7px solid transparent;
  81. border-right: 7px solid transparent;
  82. border-bottom: 7px solid #ffffff;
  83. position: absolute;
  84. right: 20px;
  85. top: -5px;
  86. content: "" !important;
  87. width: 0;
  88. height: 0;
  89. background: transparent;
  90. display: block !important;
  91. }
  92.  
  93. #menu-top-navigation > li > ul li:first-child a {
  94. padding-top:0 !important;
  95. }
  96. #menu-top-navigation > li > ul li:last-child a {
  97. border-bottom:0;
  98. padding-bottom: 0 !important;
  99. }
  100. #menu-top-navigation > li > ul li a{
  101. color: #6256A3 !important;
  102. border-bottom: 1px solid #E0E0E0;
  103. padding: 6px 0 !important;
  104. display: block;
  105. }
  106. #menu-top-navigation > li a{
  107. position: relative;
  108. }
  109. #menu-top-navigation li:hover > ul {
  110. display: block;
  111. }
  112. @media screen and (max-width: 1080px){
  113. header.main-header.nav_option1 .mega-menu#mega-menu-main-navigation-option1 {
  114. padding: 50px 30px 30px !important;
  115. z-index: -1 !important;
  116. }
  117. #mega-menu-main-navigation .mega-weglot-lang {
  118. display: block !important
  119. }
  120. #mega-menu-main-navigation .mega-weglot-lang ul{
  121. margin: 0 auto !important;
  122. width: 95% !important;
  123. float: none !important;
  124. }
  125. #mega-menu-main-navigation .mega-weglot-lang ul li a {
  126. padding: 10px 20px!important;
  127. color: #17102F !important;
  128. }
  129. #mega-menu-main-navigation .mega-weglot-lang ul li a:hover,
  130. #mega-menu-main-navigation .mega-weglot-lang ul li a:focus{
  131. color: #6844DF !important;
  132. background: transparent !important;
  133. -webkit-text-fill-color: inherit !important;
  134. }
  135. #mega-menu-main-navigation .mega-weglot-lang ul li a:before {
  136. display: none !important;
  137. }
  138.  
  139. }
  140.  
  141. @media screen and (max-width: 767px){
  142. #mega-menu-main-navigation .mega-weglot-lang ul{
  143. margin: 0 auto !important;
  144. width: 90% !important;
  145. float: none !important;
  146. }
  147. }
  148.  
  149. header.main-header .alert-modal .right_col .nav li {
  150. padding: 0 10px;
  151. }
  152.  
  153. header.main-header .alert-modal .right_col .nav li a:before {
  154. right: -10px;
  155. }
  156. </style>
  157.  
  158. <script>(function (c, p, d, u, id, i) {
  159.   id = ''; // Optional Custom ID for user in your system
  160.   u = 'https://tracking.g2crowd.com/attribution_tracking/conversions/' + c + '.js?p=' + encodeURI(p) + '&e=' + id;
  161.   i = document.createElement('script');
  162.   i.type = 'application/javascript';
  163.   i.async = true;
  164.   i.src = u;
  165.   d.getElementsByTagName('head')[0].appendChild(i);
  166. }("5068", document.location.href, document));</script>
  167. <script>
  168. (function(a, b, c, d, e, m) {
  169. a['OktopostTrackerObject'] = d;
  170. a[d] = a[d] || function() {
  171. (a[d].q = a[d].q || []).push(arguments);
  172. };
  173. e = b.createElement('script');
  174. m = b.getElementsByTagName('script')[0];
  175. e.async = 1;
  176. e.src = c;
  177. m.parentNode.insertBefore(e, m);
  178. })(window, document, 'https://static.oktopost.com/oktrk.js', '_oktrk');
  179.  
  180. _oktrk('create', '001ciljmufkumpz');
  181. </script>
  182.  
  183.  
  184. <!-- Google Tag Manager (Standard) -->
  185. <!-- <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  186. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  187. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  188. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  189. })(window,document,'script','dataLayer','GTM-MTR3B74');</script> -->
  190. <!-- End Google Tag Manager (Standard) -->
  191.  
  192. <!-- Google Tag Manager (Delayed) -->
  193. <script>
  194. window.onload = function() {
  195. setTimeout(function() {
  196. (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  197. new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  198. j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  199. 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  200. })(window,document,'script','dataLayer','GTM-MTR3B74');
  201. console.log("Code fired after 2 seconds!");
  202. }, 2000);
  203. };
  204. </script>
  205. <!-- End Google Tag Manager (Delayed) -->
  206.  
  207. <script src="https://cdn-app.pathfactory.com/libraries/overlay/overlay.js" defer ></script>
  208. <link href="https://cdn-app.pathfactory.com/libraries/overlay/overlay.css" rel="stylesheet" type="text/css" />
  209.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement