(function(){$.fn.serviceList=function(n){var n=$.extend({modulid:"service",titleColor:"#13183e",textColor:"#4f4f4f",textHoverColor:"#fff",digerColor:"#cc0000",bgColor:"#fff",bgHoverColor:"#13183E"},n);return this.each(function(){function i(n){var t=$("<div />",{html:"<style>"+n+"<\/style>"}).appendTo("body")}function r(){$(n.modulid+" .serviceContent").hasClass("moreContent")&&$(n.modulid+" .serviceContent").removeClass("moreContent");$(n.modulid+" .serviceContent:nth-of-type(n + "+t+")").addClass("moreContent")}n.modulid="#"+$(this).attr("id");$(n.modulid+" .our-services .card-title").toggleClass("changed");$(n.modulid+" .card-title").css({color:n.titleColor});$(n.modulid+" .card-text").css({color:n.textColor});$(n.modulid+" .our-services").css({border:"1px solid"+n.bgColor});$(n.modulid+" .our-services").css({"background-color":n.bgColor});$(n.modulid+" .card-body").on("mouseenter",function(){$(this).find(".card-text").css({color:n.textHoverColor});$(this).find(".card-title").css({color:n.textHoverColor})});$(".our-services").hover(function(){$(this).css({"background-color":n.bgHoverColor});$(this).css({"box-shadow":"8px 10px 31px"+n.bgHoverColor});$(this).css({border:"none"})},function(){$(this).css({"background-color":n.bgColor});$(this).css({"box-shadow":""})});$(n.modulid+" .card-body").on("mouseleave",function(){$(this).find(".card-text").css({color:n.textColor});$(this).find(".card-title").css({color:n.titleColor})});i(n.modulid+" .our-services .card-title::after {background-color:"+n.digerColor);i(n.modulid+" .btn-loadmore:before {color:"+n.digerColor);let t=5;t=window.innerWidth<=767.98?2:window.innerWidth<=991.98?4:5;r();$(n.modulid+" .btn-loadmore").click(function(){$(this).toggleClass("expanded");$(this).hasClass("expanded")?($(n.modulid+" .btn-loadmore").removeAttr("href"),$(n.modulid+" .moreContent:hidden").fadeIn(),location.hash="back"):($(n.modulid+" .btn-loadmore").attr("href","javascript:void(0);"),$(n.modulid+" .moreContent").slideUp(),$("#back").scrollToMe())});$(window).resize(function(){t=window.innerWidth<=767.98?2:window.innerWidth<=991.98?4:5;r()});jQuery.fn.extend({scrollToMe:function(){var n=jQuery(this).offset().top-250;jQuery("html,body").animate({scrollTop:n},500)}})})}})(jQuery)