(function($){"use strict";$(document).ready(function(){transfers.init();});$(window).on('load',function(){transfers.load();});new WOW().init();var transfers={init:function(){$('.main-nav').slicknav({prependTo:'.header .wrap',allowParentLinks:true,label:''});$('input[type=radio], input[type=checkbox],input[type=number], select').uniform();$('.information').hide();$('.trigger').click(function(){$(this).parent().parent().nextAll('.information').slideToggle(500);});$('.close').click(function(){$('.information').hide(500);});$('.faqs dd').hide();$('.faqs dt').click(function(){$(this).next('.faqs dd').slideToggle(500);$(this).toggleClass('expanded');});$('.tab-content').hide().first().show();$('.tabs li:first').addClass('active');$('.tabs a').on('click',function(e){e.preventDefault();$(this).closest('li').addClass('active').siblings().removeClass('active');$($(this).attr('href')).show().siblings('.tab-content').hide();});var hash=$.trim(window.location.hash);if(hash)$('.tabs a[href$="'+hash+'"]').trigger('click');var $root=$('html, body');$('a.anchor').on('click',function(e){var href=$.attr(this,'href');if(typeof($(href))!='undefined'&&$(href).length>0){var anchor='';if(href.indexOf("#")!=-1){anchor=href.substring(href.lastIndexOf("#"));}var scrollToPosition=$(anchor).offset().top-80;if(anchor.length>0){$root.animate({scrollTop:scrollToPosition},500,function(){window.location.hash=anchor;$('html').animate({'scrollTop':scrollToPosition},0);});e.preventDefault();}}});},load:function(){var maxHeight=0;$('.heightfix').each(function(){if($(this).height()>maxHeight){maxHeight=$(this).height();}});$('.heightfix').height(maxHeight);$('.preloader').fadeOut();}}})(jQuery);$(document).ready(function(){$('.btn-float').mouseover(function(){$(this).find('.float-label').fadeIn(80);}).mouseleave(function(){$(this).find('.float-label').fadeOut();});$('.float-book-now').click(function(){$('.search-pickup .search-input').focus();});$(window).scroll(function(){var vscroll=$(window).scrollTop();if(vscroll>100){$('.header').addClass('collapsed');}else{$('.header').removeClass('collapsed');}});$('.single').hide().first().show();$('.categories li:first').addClass('active');$('.categories a').on('click',function(e){e.preventDefault();$(this).closest('li').addClass('active').siblings().removeClass('active');$($(this).attr('href')).show().siblings('.single').hide();});var hash=$.trim(window.location.hash);if(hash)$('.categories a[href$="'+hash+'"]').trigger('click');$('.main-nav li').each(function(){var url=window.location.href.replace(/\/$/,'');if(url==$('a',this).attr('href')){$(this).addClass('active');}});}); $(".read-only").on('keydown paste', function(e){ e.preventDefault(); });