PageSourceSearch

https://www.wabag.com/wp-content/themes/industroz/assets/js/functions.js?ver=5.0

js wabag.com collected 2026-10-02 05:00:59 UTC 48,233 bytes, 1,882 lines download raw bytes

1/* =====================================
2All JavaScript fuctions Start
3======================================*/
4jQuery(document).ready(function($){
5	"use strict";
6
7/*--------------------------------------------------------------------------------------------
8	document.ready ALL FUNCTION START
9---------------------------------------------------------------------------------------------*/	
10
11	 // > LIGHTBOX Gallery Popup function	by = lc_lightbox.lite.js =========================== //      
12	 function lightbox_popup(){
13		lc_lightbox('.elem', {
14			wrap_class: 'lcl_fade_oc',
15			gallery : true,	
16			thumb_attr: 'data-lcl-thumb', 
17			
18			skin: 'minimal',
19			radius: 0,
20			padding	: 0,
21			border_w: 0,
22		});
23	}
24
25	// Home page Project gallery 1 function by = owl.carousel.js ========================== //
26	function project_gallery_one(){
27		jQuery('.project-gallery-one').owlCarousel({
28			loop:true,
29			autoplay:false,
30			nav:true,
31			dots: false,	
32			margin:0,
33			navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
34			responsive:{
35				0:{
36					items:1,
37				},
38				640:{
39					items:1,
40				},			
41				767:{
42					items:2,
43				},				
44				991:{
45					items:3,
46				},
47				1366:{
48					items:3,
49				},			
50			
51			}
52		});
53	}	
54
55// > Video responsive function by = custom.js ========================= //	
56	function video_responsive(){	
57		jQuery('iframe[src*="youtube.com"]').wrap('<div class="embed-responsive embed-responsive-16by9"></div>');
58		jQuery('iframe[src*="vimeo.com"]').wrap('<div class="embed-responsive embed-responsive-16by9"></div>');	
59	}  
60
61// > magnificPopup function	by = magnific-popup.js =========================== //
62	function magnific_popup(){
63        jQuery('.mfp-gallery').magnificPopup({
64          delegate: '.mfp-link',
65          type: 'image',
66          tLoading: 'Loading image #%curr%...',
67          mainClass: 'mfp-img-mobile',
68          gallery: {
69            enabled: true,
70            navigateByImgClick: true,
71            preload: [0,1] // Will preload 0 - before current, and 1 after the current image
72          },
73          image: {
74            tError: '<a href="%url%">The image #%curr%</a> could not be loaded.',
75          }
76       });
77	}
78
79// > magnificPopup for video function	by = magnific-popup.js ===================== //	
80	function magnific_video(){	
81		jQuery('.mfp-video').magnificPopup({
82			type: 'iframe',
83		});
84	}
85
86// Vertically center Bootstrap modal popup function by = custom.js ==============//
87	function popup_vertical_center(){	
88		jQuery(function() {
89			function reposition() {
90				var modal = jQuery(this),
91				dialog = modal.find('.modal-dialog');
92				modal.css('display', 'block');
93				
94				// Dividing by two centers the modal exactly, but dividing by three 
95				// or four works better for larger screens.
96				dialog.css("margin-top", Math.max(0, (jQuery(window).height() - dialog.height()) / 2));
97			}
98			// Reposition when a modal is shown
99			jQuery('.modal').on('show.bs.modal', reposition);
100			// Reposition when the window is resized
101			jQuery(window).on('resize', function() {
102				jQuery('.modal:visible').each(reposition);
103			});
104		});
105	}
106
107// > Main menu sticky on top  when scroll down function by = custom.js ========== //		
108	function sticky_header(){
109		if(jQuery('.sticky-header').length){
110			var sticky = new Waypoint.Sticky({
111			  element: jQuery('.sticky-header')
112			});
113		}
114	}
115	
116
117	// > Sidebar sticky  when scroll down function by = custom.js ========== //		
118	function sticky_sidebar(){		
119		$('.rightSidebar')
120			.theiaStickySidebar({
121				additionalMarginTop: 100
122			});		
123	}	
124
125
126// > page scroll top on button click function by = custom.js ===================== //	
127	function scroll_top(){
128		jQuery("button.scroltop").on('click', function() {
129			jQuery("html, body").animate({
130				scrollTop: 0
131			}, 1000);
132			return false;
133		});
134
135		jQuery(window).on("scroll", function() {
136			var scroll = jQuery(window).scrollTop();
137			if (scroll > 900) {
138				jQuery("button.scroltop").fadeIn(1000);
139			} else {
140				jQuery("button.scroltop").fadeOut(1000);
141			}
142		});
143	}
144	
145// > input type file function by = custom.js ========================== //	 	 
146	function input_type_file_form(){
147		jQuery(document).on('change', '.btn-file :file', function() {
148			var input = jQuery(this),
149				numFiles = input.get(0).files ? input.get(0).files.length : 1,
150				label = input.val().replace(/\\/g, '/').replace(/.*\//, '');
151			input.trigger('fileselect', [numFiles, label]);
152		});
153
154		jQuery('.btn-file :file').on('fileselect', function(event, numFiles, label) {
155			var input = jQuery(this).parents('.input-group').find(':text'),
156				log = numFiles > 10 ? numFiles + ' files selected' : label;
157			if (input.length) {
158				input.val(log);
159			} else {
160				if (log) alert(log);
161			}
162		});	
163	}
164
165// > input Placeholder in IE9 function by = custom.js ======================== //	
166	function placeholderSupport(){
167	/* input placeholder for ie9 & ie8 & ie7 */
168		jQuery.support.placeholder = ('placeholder' in document.createElement('input'));
169		/* input placeholder for ie9 & ie8 & ie7 end*/
170		/*fix for IE7 and IE8  */
171		if (!jQuery.support.placeholder) {
172			jQuery("[placeholder]").on('focus', function () {
173				if (jQuery(this).val() === jQuery(this).attr("placeholder")) jQuery(this).val("");
174			}).blur(function () {
175				if (jQuery(this).val() === "") jQuery(this).val(jQuery(this).attr("placeholder"));
176			}).blur();
177
178			jQuery("[placeholder]").parents("form").on('submit', function () {
179				jQuery(this).find('[placeholder]').each(function() {
180					if (jQuery(this).val() === jQuery(this).attr("placeholder")) {
181						 jQuery(this).val("");
182					}
183				});
184			});
185		}
186		/*fix for IE7 and IE8 end */
187	}	
188
189
190// > footer fixed on bottom function by = custom.js ======================== //	
191	function footer_fixed() {
192	  jQuery('.site-footer').css('display', 'block');
193	  jQuery('.site-footer').css('height', 'auto');
194	  var footerHeight = jQuery('.site-footer').outerHeight();
195	  jQuery('.footer-fixed > .page-wraper').css('padding-bottom', footerHeight);
196	  jQuery('.site-footer').css('height', footerHeight);
197	}
198	
199	
200// > accordion active calss function by = custom.js ========================= //	
201	function accordion_active() {
202		$('.acod-head a').on('click', function() {
203			$('.acod-head').removeClass('acc-actives');
204			$(this).parents('.acod-head').addClass('acc-actives');
205			$('.acod-title').removeClass('acc-actives'); //just to make a visual sense
206			$(this).parent().addClass('acc-actives'); //just to make a visual sense
207			($(this).parents('.acod-head').attr('class'));
208		 });
209	}	
210
211// > Nav submenu show hide on mobile by = custom.js
212	 
213	function mobile_nav(){
214		jQuery(".sub-menu, .mega-menu").parent('li').addClass('has-child');
215		jQuery("<div class='fa fa-angle-right submenu-toogle'></div>").insertAfter(".has-child > a");
216
217		jQuery('.has-child a+.submenu-toogle').on('click',function(ev) {
218
219			jQuery(this).parent().siblings(".has-child ").children(".sub-menu, .mega-menu").slideUp(500, function(){
220				jQuery(this).parent().removeClass('nav-active');
221			});
222	
223			jQuery(this).next(jQuery('.sub-menu, .mega-menu ')).slideToggle(500, function(){
224				jQuery(this).parent().toggleClass('nav-active');
225			});
226			ev.stopPropagation();
227		});
228	}
229	 
230	// Mobile side drawer function by = custom.js
231	function mobile_side_drawer(){
232		jQuery('#mobile-side-drawer').on('click', function () { 
233			jQuery('.mobile-sider-drawer-menu').toggleClass('active');
234		});
235	}	
236	
237//  > Top Search bar Show Hide function by = custom.js =================== //	
238
239	function site_search(){
240		
241	  jQuery(".header-search-icon").on('click', function(){
242		jQuery("#search-toggle-block").slideToggle("slow");
243		jQuery('.header-search-icon').toggleClass('close');
244	  });
245	  
246	}	
247	
248		//  > Top Search bar Show Hide function by = custom.js =================== //	
249
250	function site_search2(){
251		jQuery('a[href="#search-two"]').on('click', function(event) {                    
252		jQuery('#search-two').addClass('open');
253		jQuery('#search-two > form > input[type="search"]').focus();
254	});
255				
256	jQuery('#search-two, #search-two button.close').on('click keyup', function(event) {
257		if (event.target === this || event.target.className === 'close') {
258			jQuery(this).removeClass('open');
259		}
260	});  
261	}	
262	
263// Home page Services function by = owl.carousel.js ========================== //
264	function services_slider(){
265	jQuery('.services-slider').owlCarousel({
266		loop:true,
267		autoplay:false,
268		nav:true,
269		dots: false,	
270		margin:10,
271		navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
272		responsive:{
273			0:{
274				items:1,
275			},
276			640:{
277				items:1,
278			},			
279			767:{
280				items:2,
281     		},				
282			991:{
283				items:2,
284			},
285			1366:{
286				items:2,
287			},			
288			1400:{
289				items:3
290			}		
291		}
292	});
293	}
294	
295// Home page how-we-work function by = owl.carousel.js ========================== //
296	function how_we_work(){
297	jQuery('.how-we-work').owlCarousel({
298		loop:true,
299		autoplay:false,
300		nav:true,
301		dots: false,	
302		margin:10,
303		navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
304		responsive:{
305			0:{
306				items:1,
307			},
308			640:{
309				items:1,
310			},			
311			767:{
312				items:2,
313     		},				
314			991:{
315				items:2,
316			},
317			1366:{
318				items:4,
319			},			
320			1400:{
321				items:4
322			}		
323		}
324	});
325	}
326	
327	
328// Home page Project Slider function by = owl.carousel.js ========================== //
329	function project_1_slider(){
330	jQuery('.project-1-slider').owlCarousel({
331		loop:true,
332		autoplay:false,
333		nav:true,
334		dots: false,	
335		margin:30,
336		navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
337		responsive:{
338			0:{
339				items:1,
340			},
341			1400:{
342				items:1
343			}		
344		}
345	});
346	}
347	
348// featured products Slider function by = owl.carousel.js ========================== //
349	function featured_products(){
350	jQuery('.featured-products').owlCarousel({
351		loop:true,
352		autoplay:true,
353		nav:true,
354		dots: false,	
355		margin:30,
356		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
357		responsive:{
358			0:{
359				items:1,
360			},
361			640:{
362				items:2,
363			},			
364			767:{
365				items:2,
366     		},				
367			991:{
368				items:3,
369			},
370			1024:{
371				items:3,
372			}	
373		}
374	});
375	}
376	
377	
378// > TouchSpin box function by  = jquery.bootstrap-touchspin.js =============== // 
379
380	function input_number_vertical_form() {	
381		jQuery("input[name='quantity']").TouchSpin({
382		  verticalbuttons: true,
383		  verticalupclass: 'fa fa-plus',
384		  verticaldownclass: 'fa fa-minus'
385		});	
386	}
387	
388	jQuery(".cart input[class='input-text']").each(function() {
389		jQuery('.input-text.qty.text').TouchSpin({
390		  verticalbuttons: true,
391		  verticalupclass: 'fa fa-plus',
392		  verticaldownclass: 'fa fa-minus'
393		});
394	});
395	
396// Home page Testimonial Slider function by = owl.carousel.js ========================== //
397	function testimonial_1_content(){
398	jQuery('.testimonial-1-content').owlCarousel({
399		loop:true,
400		autoplay:false,
401		nav:true,
402		dots: false,	
403		margin:30,
404		navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
405		responsive:{
406			0:{
407				items:1,
408			},
409			1400:{
410				items:1
411			}		
412		}
413	});
414	}
415	
416// Home page Testimonial Slider function by = owl.carousel.js ========================== //
417	function testimonial_2_content(){
418	jQuery('.testimonial-2-content').owlCarousel({
419		loop:true,
420		autoplay:false,
421		nav:true,
422		dots: false,	
423		margin:30,
424		navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
425		responsive:{
426		
427			0:{
428				items:1,
429			},
430			1400:{
431				items:1
432			}					
433		}
434	});
435	}	
436	
437// Home page Testimonial Slider function by = owl.carousel.js ========================== //
438	function testimonial_3_content(){
439	jQuery('.testimonial-3-content').owlCarousel({
440		loop:true,
441		autoplay:false,
442		nav:false,
443		dots: true,	
444		margin:30,
445		navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
446		responsive:{
447			0:{
448				items:1,
449			},
450			991:{
451				items:1,
452			},			
453			1400:{
454				items:2
455			}	
456		}
457	});
458	}	
459
460	// Home page Testimonial Slider function by = owl.carousel.js ========================== //
461	function testimonial_4_content(){
462	jQuery('.testimonial-4-content').owlCarousel({
463		loop:true,
464		autoplay:false,
465		nav:false,
466		dots: true,	
467		margin:30,
468		navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
469		responsive:{
470			0:{
471				items:1,
472			},
473			1400:{
474				items:1
475			}		
476		}
477	});
478	}	
479	
480// Gallery slider function by = owl.carousel.js ========================== //
481	function gallery_slider(){
482	jQuery('.gallery-slider').owlCarousel({
483		loop:true,
484		autoplay:false,
485		nav:true,
486		dots: false,	
487		margin:30,
488		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
489		responsive:{
490			0:{
491				items:1,
492			},
493			640:{
494				items:2,
495			},			
496			767:{
497				items:2,
498     		},				
499			991:{
500				items:3,
501			},
502			1024:{
503				items:3,
504			},	
505			
506			1200:{
507				items:4,
508			},					
509			1366:{
510				items:4,
511			},			
512			1400:{
513				items:5
514			}		
515		}
516	});
517	}	
518	
519	// > Testimonial carousel  function by = owl.carousel.js ========================== //
520	function testimonial_5_content(){
521		jQuery('.testimonial-carousel-5').owlCarousel({
522			loop:true,
523			autoplay:false,
524			margin:30,
525			nav:true,
526			dots: false,
527			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
528			responsive:{
529				0:{
530					items:1
531				},
532				991:{
533					items:2
534				}
535				
536			}
537		});
538	}	
539	
540	// > work carousel  function by = owl.carousel.js ========================== //
541	function projects_carousel2(){
542		jQuery('.projects-carousel-two').owlCarousel({
543			loop:true,
544			autoplay:false,
545			margin:15,
546			nav:true,
547			dots: false,
548			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
549			responsive:{
550				0:{
551					items:1
552				},
553				640:{
554					items:2
555				},			
556				768:{
557					items:2
558				},		
559				991:{
560					items:2
561				},
562				
563				1024:{
564					items:3
565				},
566				
567				1280:{
568					items:4
569				},
570				
571				1366:{
572					items:5
573				}	
574				
575			}
576		});
577	}
578	
579// Gallery slider function by = owl.carousel.js ========================== //
580	function gallery_slider2(){
581	jQuery('.gallery-slider2').owlCarousel({
582		loop:true,
583		autoplay:true,
584		nav:false,
585		dots: true,	
586		margin:30,
587		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
588		responsive:{
589			0:{
590				items:1,
591			},
592			640:{
593				items:2,
594			},			
595			767:{
596				items:2,
597     		},				
598			991:{
599				items:3,
600			},
601			1024:{
602				items:3,
603			}
604		}
605	});
606	}	
607	
608	
609// Project slider function by = owl.carousel.js ========================== //
610	function project_detail_slider(){
611	jQuery('.project-detail-slider').owlCarousel({
612		loop:true,
613		autoplay:false,
614		nav:true,
615		dots: false,	
616		margin:30,
617		navText: ['<i class="fa fa-chevron-left"></i>', '<i class="fa fa-chevron-right"></i>'],
618		responsive:{
619			0:{
620				items:1,
621			}
622		}
623	});
624	}		
625	
626
627
628//  home_client_carouse function by = owl.carousel.js ========================== //
629	function home_client_carousel_2(){
630	jQuery('.home-client-carousel-2').owlCarousel({
631		loop:true,
632		nav:false,
633		dots: false,				
634		margin:10,
635		autoplay:true,
636		navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
637		responsive:{
638			0:{
639				items:2,
640			},
641			480:{
642				items:3,
643			},			
644			767:{
645				items:5,
646			},
647			1000:{
648				items:5
649			}
650		}
651	});
652	}	
653	
654
655// > Home_project_slider Full Screen with no margin function by = owl.carousel.js ========================== //
656	function home3_projects_slider(){
657		
658		var owl = jQuery('.h3-project-slider').owlCarousel({
659		loop:false,
660		autoplay:true,
661		margin:20,
662		nav:false,
663		dots: true,
664		navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
665		responsive:{
666			0:{
667				items:1
668			},
669			480:{
670				items:1
671			},
672			580:{
673				items:1
674			},						
675			767:{
676				items:2
677			},
678			991:{
679				items:3
680			},			
681			1152:{
682				items:3
683			},
684			1360:{
685				items:3
686			},
687			1366:{
688				items:3
689			}	
690		    }
691		})	
692	}
693	
694	// > services-style-new carousel function by = owl.carousel.js ========================== //
695	function services_style_new(){
696		
697		var owl = jQuery('.services-style-new').owlCarousel({
698			loop:true,
699			autoplay:true,
700			nav:true,
701			dots: false,	
702			margin:30,
703			navText: ['<i class="fa fa-long-arrow-left"></i>', '<i class="fa fa-long-arrow-right"></i>'],
704			responsive:{
705				0:{
706					items:1,
707				},
708				640:{
709					items:1,
710				},			
711				767:{
712					items:2,
713				},				
714				991:{
715					items:2,
716				},
717				1366:{
718					items:2,
719				},			
720				1400:{
721					items:3
722				}		
723			}
724		})	
725	}
726
727	// > home_projects_filter Full Screen with no margin function by = owl.carousel.js ========================== //
728	function home_projects_filter(){
729		
730		var owl = jQuery('.owl-carousel-filter').owlCarousel({
731		loop:false,
732		autoplay:true,
733		margin:20,
734		nav:true,
735		dots: false,
736		navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
737		responsive:{
738			0:{
739				items:1
740			},
741			480:{
742				items:1
743			},
744			580:{
745				items:2
746			},						
747			767:{
748				items:2
749			},
750			991:{
751				items:3
752			},			
753			1152:{
754				items:4
755			},
756			1360:{
757				items:4
758			},
759			1366:{
760				items:5
761			}	
762		    }
763		})
764		
765		jQuery('.btn-filter-wrap').on('click', '.btn-filter', function(e) {
766			var filter_data = jQuery(this).data('filter');
767
768			/* return if current */
769			if(jQuery(this).hasClass('btn-active')) return;
770
771			/* active current */
772			jQuery(this).addClass('btn-active').siblings().removeClass('btn-active');
773
774			/* Filter */
775			owl.owlFilter(filter_data, function(_owl) { 
776				jQuery(_owl).find('.item').each(owlAnimateFilter); 
777			});
778		})
779		
780	}
781
782	//  Service Gallery Carousel two function by = owl.carousel.js ========================== //
783	function services_gallery_carousel_two(){
784		jQuery('.services-gallery-two').owlCarousel({
785			loop:true,
786			nav:true,
787			dots: false,				
788			margin:15,
789			autoplay:true,
790			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
791			responsive:{
792				0:{
793					items:1,
794				},
795				480:{
796					items:1,
797				},			
798				767:{
799					items:2,
800				},
801				1000:{
802					items:2
803				}
804			}
805		});
806	}
807
808
809		
810
811//  Service Gallery Carousel twelve function by = owl.carousel.js ========================== //
812function service_button_filter(){
813		
814	var owl = jQuery('.service_button_filter').owlCarousel({
815	loop:true,
816	autoplay:true,
817	margin:20,
818	nav:true,
819	dots: false,
820	navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
821	responsive:{
822		0:{
823			items:1
824		},
825		480:{
826			items:1
827		},
828		580:{
829			items:2
830		},						
831		767:{
832			items:2
833		},
834		991:{
835			items:3
836		},			
837		1152:{
838			items:4
839		},
840		1360:{
841			items:4
842		},
843		1366:{
844			items:4
845		}	
846		}
847	})
848	
849	/* Filter Nav */
850
851	jQuery('.sr-btn-filter-wrap').on('click', '.sr-btn-filter', function(e) {
852		var filter_data = jQuery(this).data('filter');
853
854		/* return if current */
855		if(jQuery(this).hasClass('btn-active')) return;
856
857		/* active current */
858		jQuery(this).addClass('btn-active').siblings().removeClass('btn-active');
859
860		/* Filter */
861		owl.owlFilter(filter_data, function(_owl) { 
862			jQuery(_owl).find('.item').each(owlAnimateFilter); 
863		});
864	})
865
866
867
868}
869
870
871	// Home page Testimonial Slider function by = owl.carousel.js ========================== //
872	function testimonial_12_content(){
873		jQuery('.testimonial-12-content').owlCarousel({
874			loop:true,
875			autoplay:false,
876			nav:false,
877			dots: true,
878			center:true,
879			margin:0,
880			navText: ['<i class="flaticon-arrows"></i>', '<i class="flaticon-point-to"></i>'],
881			responsive:{
882				0:{
883					items:1,
884				},
885				767:{
886					items:2,
887				},
888				1140:{
889					items:3
890				}		
891			}
892		});
893	}
894
895	//  Client logo Carousel function by = owl.carousel.js ========================== //
896	function home_client_carousel_11(){
897		jQuery('.home-client-carousel11').owlCarousel({
898			loop:true,
899			nav:false,
900			dots: false,				
901			margin:5,
902			autoplay:true,
903			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
904			responsive:{
905				0:{
906					items:2,
907				},
908				480:{
909					items:3,
910				},			
911				767:{
912					items:4,
913				},
914				1000:{
915					items:5
916				}
917			}
918		});
919	}
920
921
922	//  Team Carousel function by = owl.carousel.js ========================== //
923	function team_carousel(){
924		jQuery('.team-carousel').owlCarousel({
925			loop:true,
926			nav:true,
927			dots: false,				
928			margin:30,
929			autoplay:false,
930			navText: ['<i>Prev</i>', '<i>Next</i>'],
931			responsive:{
932				0:{
933					items:1,
934				},
935				480:{
936					items:1,
937				},			
938				767:{
939					items:2,
940				},
941				1000:{
942					items:2
943				}
944			}
945		});
946	}
947	
948	
949	// > projects_carousel Full Screen with no margin function by = owl.carousel.js ========================== //
950	function project_carousel(){
951		jQuery('.project-carousel').owlCarousel({
952			loop:true,
953			nav:false,
954			dots: true,				
955			margin:20,
956			autoplay:false,
957			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
958			responsive:{
959				0:{
960					items:1
961				},
962				480:{
963					items:1
964				},
965				640:{
966					items:2
967				},						
968				767:{
969					items:2
970				},
971				991:{
972					items:3
973				},			
974				1366:{
975					items:4
976				}		
977
978			}
979		});
980	}	
981
982
983	// Home page Testimonial Slider function by = owl.carousel.js ========================== //
984	function testimonial_11_content(){
985		jQuery('.testimonial-11-content').owlCarousel({
986			loop:true,
987			autoplay:true,
988			nav:true,
989			dots: false,	
990			margin:30,
991			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
992			responsive:{
993				0:{
994					items:1,
995				},
996				768:{
997					items:1,
998				},
999				1200:{
1000					items:2
1001				}					
1002			}
1003		});
1004	}
1005	
1006
1007	//  Service Gallery Carousel function by = owl.carousel.js ========================== //
1008	function blog_gallery_carousel(){
1009		jQuery('.blog-gallery-one').owlCarousel({
1010			loop:true,
1011			nav:true,
1012			dots: false,				
1013			margin:15,
1014			autoplay:true,
1015			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1016			responsive:{
1017				0:{
1018					items:1,
1019				},
1020				480:{
1021					items:1,
1022				},			
1023				767:{
1024					items:2,
1025				},
1026				1000:{
1027					items:2
1028				}
1029			}
1030		});
1031	}
1032
1033	// > footer fixed on bottom function by = custom.js ======================== //	
1034	function new1_footer_fixed() {
1035	  jQuery('.new1-site-footer').css('display', 'block');
1036	  jQuery('.new1-site-footer').css('height', 'auto');
1037	  var footerHeight = jQuery('.new1-site-footer').outerHeight();
1038	  jQuery('.footer-fixed > .page-wraper').css('padding-bottom', footerHeight);
1039	  jQuery('.new1-site-footer').css('height', footerHeight);
1040	}		
1041		
1042	//  > Top Search bar Show Hide function by = custom.js =================== //	
1043
1044		function new1_site_search(){
1045			
1046			jQuery('a[href="#new1-search"]').on('click', function(event) {                    
1047			jQuery('#new1-search').addClass('open');
1048			jQuery('#new1-search > form > input[type="search"]').focus();
1049		});
1050					
1051		jQuery('#new1-search, #new1-search button.close').on('click keyup', function(event) {
1052			if (event.target === this || event.target.className === 'close') {
1053				jQuery(this).removeClass('open');
1054			}
1055		});  
1056	 }	
1057		
1058	// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1059		function new1_testimonial_2_content(){
1060		jQuery('.new1-testimonial-2-content').owlCarousel({
1061			loop:true,
1062			autoplay:true,
1063			nav:false,
1064			dots: true,	
1065			margin:30,
1066			navText: ['<i class="flaticon2-left"></i>', '<i class="flaticon2-right"></i>'],
1067			responsive:{
1068			
1069				0:{
1070					items:1,
1071				},
1072				1200:{
1073					items:1
1074				}					
1075			}
1076		});
1077	}
1078	
1079	// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1080	function new1_testimonial_3_content(){
1081		jQuery('.new1-testimonial-3-content').owlCarousel({
1082			loop:true,
1083			autoplay:true,
1084			nav:true,
1085			dots: false,	
1086			margin:30,
1087			navText: ['<i class="flaticon2-left"></i>', '<i class="flaticon2-right"></i>'],
1088			responsive:{
1089			
1090				0:{
1091					items:1,
1092				},
1093				1024:{
1094					items:2
1095				}					
1096			}
1097		});
1098	}
1099	
1100		//  Client logo Carousel function by = owl.carousel.js ========================== //
1101	function home_client_carousel(){
1102		jQuery('.home-client-carousel').owlCarousel({
1103			loop:true,
1104			nav:false,
1105			dots: true,				
1106			margin:5,
1107			autoplay:true,
1108			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1109			responsive:{
1110				0:{
1111					items:2,
1112				},
1113				480:{
1114					items:3,
1115				},			
1116				767:{
1117					items:4,
1118				},
1119				1000:{
1120					items:4
1121				}
1122			}
1123		});
1124	}
1125
1126		//  Client logo Carousel function by = owl.carousel.js ========================== //
1127	function new1_home_client_carousel_2(){
1128		jQuery('.new1-home-client-carousel2').owlCarousel({
1129			loop:true,
1130			nav:false,
1131			dots: false,				
1132			margin:10,
1133			autoplay:true,
1134			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1135			responsive:{
1136				0:{
1137					items:2,
1138				},
1139				480:{
1140					items:3,
1141				},			
1142				767:{
1143					items:4,
1144				},
1145				1000:{
1146					items:4
1147				}
1148			}
1149		});
1150	}	
1151	
1152	//  Client logo Carousel function by = owl.carousel.js ========================== //
1153	function home_client_carousel_3(){
1154		jQuery('.home-client-carousel3').owlCarousel({
1155			loop:true,
1156			nav:false,
1157			dots: false,				
1158			margin:10,
1159			autoplay:true,
1160			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1161			responsive:{
1162				0:{
1163					items:2,
1164				},
1165				480:{
1166					items:3,
1167				},			
1168				767:{
1169					items:4,
1170				},
1171				1000:{
1172					items:6
1173				}
1174			}
1175		});
1176	}
1177	
1178		//  Team Carousel function by = owl.carousel.js ========================== //
1179	function new1_team_carousel(){
1180		jQuery('.new1-team-carousel').owlCarousel({
1181			loop:true,
1182			nav:true,
1183			dots: false,				
1184			margin:30,
1185			autoplay:true,
1186			navText: ['<i>Prev</i>', '<i>Next</i>'],
1187			responsive:{
1188				0:{
1189					items:1,
1190				},
1191				480:{
1192					items:1,
1193				},			
1194				767:{
1195					items:2,
1196				},
1197				1000:{
1198					items:3
1199				}
1200			}
1201		});
1202	}
1203	
1204	//  Shop Product Price Range Slider function by = bootstrap-slider.min.js ========================== //
1205	function shop_product_price(){
1206		jQuery("#ex2").slider({});
1207	}
1208	
1209	//  Service Gallery Carousel two function by = owl.carousel.js ========================== //
1210	function new1_services_gallery_carousel_two(){
1211		jQuery('.new1-services-gallery-two').owlCarousel({
1212			loop:true,
1213			nav:true,
1214			dots: false,				
1215			margin:15,
1216			autoplay:true,
1217			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1218			responsive:{
1219				0:{
1220					items:1
1221				},
1222				480:{
1223					items:1
1224				},
1225				580:{
1226					items:2
1227				},						
1228				767:{
1229					items:2
1230				},
1231				991:{
1232					items:3
1233				},			
1234				1152:{
1235					items:4
1236				},
1237				1360:{
1238					items:4
1239				},
1240				1366:{
1241					items:4
1242				}
1243			}
1244		});
1245	}
1246	
1247	//________images bg  moving function by = jquery.bgscroll.js	________//	
1248	bg_moving();
1249	
1250	//________images bg  moving function by = jquery.bgscroll.js	________//	
1251	function bg_moving(){
1252		jQuery( function() {			  
1253		jQuery('.bg-moving').bgscroll({scrollSpeed:20 , direction:'h' });
1254		});
1255	}
1256	
1257	//  Service Gallery Carousel two function by = owl.carousel.js ========================== //
1258	function services_gallery_carousel_three(){
1259		jQuery('.services-gallery-three').owlCarousel({
1260			loop:true,
1261			nav:false,
1262			dots: true,				
1263			margin:15,
1264			autoplay:true,
1265			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1266			responsive:{
1267				0:{
1268					items:1
1269				},
1270				480:{
1271					items:1
1272				},
1273				580:{
1274					items:2
1275				},						
1276				767:{
1277					items:2
1278				},
1279				991:{
1280					items:3
1281				},			
1282				1152:{
1283					items:3
1284				}
1285				
1286			}
1287		});
1288	}
1289	
1290	function front_back_bg() {
1291		//Count nr. of square classes
1292		var countSquare = $('.square').length;
1293		var i = jQuery(this);
1294		//For each Square found add BG image
1295		for (i = 0; i < countSquare; i++) {
1296		var firstImage = $('.square').eq([i]);
1297		var secondImage = $('.square2').eq([i]);
1298		
1299		var getImage = firstImage.attr('data-image');
1300		var getImage2 = secondImage.attr('data-image');
1301		
1302		firstImage.css('background-image', 'url(' + getImage + ')');
1303		secondImage.css('background-image', 'url(' + getImage2 + ')');
1304		}
1305	}
1306	
1307	// > new1_home_projects_filter Full Screen with no margin function by = owl.carousel.js ========================== //
1308	function new1_home_projects_filter(){
1309		
1310		var owl = jQuery('.new1-owl-carousel-filter').owlCarousel({
1311		loop:false,
1312		autoplay:true,
1313		margin:30,
1314		nav:false,
1315		dots: true,
1316		navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1317			responsive:{
1318				0:{
1319					items:1
1320				},
1321				480:{
1322					items:1
1323				},
1324				580:{
1325					items:2
1326				},						
1327				767:{
1328					items:2
1329				},
1330				991:{
1331					items:3
1332				},			
1333				1152:{
1334					items:4
1335				},
1336				1360:{
1337					items:4
1338				},
1339				1366:{
1340					items:4
1341				}			
1342
1343			}
1344		})
1345		
1346		/* Filter Nav */
1347
1348		jQuery('.new1-btn-filter-wrap').on('click', '.btn-filter', function(e) {
1349			var filter_data = jQuery(this).data('filter');
1350
1351			/* return if current */
1352			if(jQuery(this).hasClass('btn-active')) return;
1353
1354			/* active current */
1355			jQuery(this).addClass('btn-active').siblings().removeClass('btn-active');
1356
1357			/* Filter */
1358			owl.owlFilter(filter_data, function(_owl) { 
1359				jQuery(_owl).find('.item').each(owlAnimateFilter); 
1360			});
1361		});
1362	}
1363
1364	
1365/** * =============================jquery.owl-filter.js START * Create: 07-09-2016 * Author: Bearsthemes * Version: 1.0.0 */
1366
1367$.fn.owlRemoveItem = function(num) {
1368	var owl_data = $(this).data('owl.carousel');
1369	
1370	owl_data._items = $.map(owl_data._items, function(data, index) {
1371		if(index != num) return data;
1372	})
1373
1374	$(this).find('.owl-item').eq(num).remove();
1375}
1376
1377$.fn.owlFilter = function(data, callback) {
1378	var owl = this,
1379		owl_data = $(owl).data('owl.carousel'),
1380		$elemCopy = $('<div>').css('display', 'none');
1381	
1382	/* check attr owl-clone exist */
1383	if(typeof($(owl).data('owl-clone')) == 'undefined') {
1384		$(owl).find('.owl-item:not(.cloned)').clone().appendTo($elemCopy);
1385		$(owl).data('owl-clone', $elemCopy);
1386	}else {
1387		$elemCopy = $(owl).data('owl-clone');
1388	}
1389	
1390	/* clear content */
1391	owl.trigger('replace.owl.carousel', ['<div/>']);
1392	
1393	switch(data){
1394		case '*': 
1395			$elemCopy.children().each(function() {
1396				owl.trigger('add.owl.carousel', [$(this).clone()]);
1397			})
1398			break;
1399		default: 
1400			$elemCopy.find(data).each(function() {
1401				owl.trigger('add.owl.carousel', [$(this).parent().clone()]);
1402			})
1403			break;
1404	}
1405
1406	/* remove item empty when clear */
1407	owl.owlRemoveItem(0);
1408	owl.trigger('refresh.owl.carousel').trigger('to.owl.carousel', [0]);
1409
1410	// callback
1411	if(callback) callback.call(this, owl);
1412}		
1413/** ====================================================================END */	
1414	
1415	//  Counter Section function by = counterup.min.js
1416	function counter_section(){
1417		jQuery('.counter').counterUp({
1418			delay: 10,
1419			time: 3000
1420		});	
1421	}	
1422	
1423	//  MAKE AN APPOINTMENT Section function by = counterup.min.js
1424	function contact_slide(){
1425	jQuery('#contact-slide-show').on('click', function () {	
1426		jQuery('.contact-slide-hide').animate({'right': '0%'});
1427	});
1428	jQuery('.contact_close').on('click', function () {	
1429		jQuery('.contact-slide-hide').animate({'right': '-100%'});
1430	});		
1431	}			
1432
1433//menu navigation 
1434
1435	function menu_navigation(){
1436    jQuery(".menu-btn").on('click', function () {
1437        jQuery(".full-menu").fadeIn(500);
1438    });
1439    jQuery('.full-menu-close').on('click', function () {
1440        jQuery(".full-menu").fadeToggle(500);
1441    });
1442	}
1443		
1444	jQuery('.nav-tabs a').on('click', function(e) {
1445		e.preventDefault();
1446		jQuery(this).tab('show');
1447	});
1448	
1449	jQuery('.wt-accordion .acod-title a').on('click', function(e) {
1450		e.preventDefault();
1451		jQuery(this).tab('show');
1452	});	
1453	
1454	// > Top cart list Show Hide function by = custom.js =================== //	
1455	function cart_block(){
1456		jQuery('.cart-btn').on('click', function () { 
1457			jQuery( ".cart-dropdown-item-wraper" ).slideToggle( "slow" );
1458		});  
1459	}	
1460
1461/*--------------------------------------------------------------------------------------------
1462	Window on load ALL FUNCTION START
1463---------------------------------------------------------------------------------------------*/
1464
1465
1466	// > masonry function function by = isotope.pkgd.min.js ========================= //	
1467	function masonryBox() {
1468        if ( jQuery().isotope ) {      
1469            var $container = jQuery('.masonry-wrap');
1470                $container.isotope({
1471                    itemSelector: '.masonry-item',
1472                    transitionDuration: '1s',
1473					originLeft: true,
1474					stamp: '.stamp'
1475                });
1476
1477            jQuery('.masonry-filter li').on('click',function() {                           
1478                var selector = jQuery(this).find("a").attr('data-filter');
1479                jQuery('.masonry-filter li').removeClass('active');
1480                jQuery(this).addClass('active');
1481                $container.isotope({ filter: selector });
1482                return false;
1483            });
1484    	}
1485	}
1486	
1487	// > masonry function function by = isotope.pkgd.min.js ========================= //	
1488	function new1_masonryBox() {
1489        if ( jQuery().isotope ) {      
1490            var $container = jQuery('.new1-masonry-wrap');
1491                $container.isotope({
1492                    itemSelector: '.masonry-item',
1493                    transitionDuration: '1s',
1494					originLeft: true,
1495					stamp: '.stamp'
1496                });
1497
1498            jQuery('.new1-masonry-filter li').on('click',function() {                           
1499                var selector = jQuery(this).find("a").attr('data-filter');
1500                jQuery('.new1-masonry-filter li').removeClass('active');
1501                jQuery(this).addClass('active');
1502                $container.isotope({ filter: selector });
1503                return false;
1504            });
1505    	}
1506	}
1507
1508// > background image parallax function by = stellar.js ==================== //	
1509	function bg_image_stellar(){
1510		jQuery(function(){
1511				jQuery.stellar({
1512					horizontalScrolling: false,
1513					verticalOffset:100
1514				});
1515			});			
1516	}	
1517
1518// > page loader function by = custom.js ========================= //		
1519	function page_loader() {
1520		$('.loading-area').fadeOut(1000);
1521	}
1522
1523/*--------------------------------------------------------------------------------------------
1524    Window on scroll ALL FUNCTION START
1525---------------------------------------------------------------------------------------------*/
1526
1527    function color_fill_header() {
1528        var scroll = $(window).scrollTop();
1529        if(scroll >= 100) {
1530            $(".is-fixed").addClass("color-fill");
1531        } else {
1532            $(".is-fixed").removeClass("color-fill");
1533        }
1534    }
1535	
1536	// Bootstrap Select box function by  = bootstrap-select.min.js
1537	function Bootstrap_Select(){	
1538			jQuery('.selectpicker').selectpicker();
1539		}	
1540		
1541	jQuery('.new1-wt-accordion a').on('click', function() {
1542		e.preventDefault();
1543		jQuery(this).tab('show');
1544	});		
1545	
1546	// > projects_carousel Full Screen with no margin function by = owl.carousel.js ========================== //
1547	function new1_project_carousel(){
1548		jQuery('.new1-project-carousel').owlCarousel({
1549			loop:true,
1550			nav:false,
1551			dots: true,				
1552			margin:20,
1553			autoplay:true,
1554			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1555			responsive:{
1556				0:{
1557					items:1
1558				},
1559				480:{
1560					items:1
1561				},
1562				640:{
1563					items:2
1564				},						
1565				767:{
1566					items:2
1567				},
1568				991:{
1569					items:3
1570				},			
1571				1366:{
1572					items:3
1573				}		
1574
1575			}
1576		});
1577	}
1578	
1579	//  project-slider-3 function by = owl.carousel.js ========================== //
1580	function project_slider_3(){
1581		jQuery('.project-slider-3').owlCarousel({
1582			loop:true,
1583			nav:true,
1584			dots: false,				
1585			margin:30,
1586			autoplay:true,
1587			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1588			responsive:{
1589				0:{
1590					items:1,
1591				},
1592				640:{
1593					items:2,
1594				},			
1595				767:{
1596					items:2,
1597				},
1598				991:{
1599					items:3,
1600				},			
1601				1000:{
1602					items:3,
1603				},
1604				1440:{
1605					items:4,
1606				},			
1607				1600:{
1608					items:5
1609				}			
1610			}
1611		});
1612	}
1613	
1614	//  Service Gallery Carousel function by = owl.carousel.js ========================== //
1615	function services_gallery_carousel(){
1616		jQuery('.services-gallery-one').owlCarousel({
1617			loop:true,
1618			nav:true,
1619			dots: false,				
1620			margin:15,
1621			autoplay:true,
1622			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1623			responsive:{
1624				0:{
1625					items:1,
1626				},
1627				480:{
1628					items:1,
1629				},			
1630				767:{
1631					items:2,
1632				},
1633				1000:{
1634					items:2
1635				}
1636			}
1637		});
1638	}
1639	
1640		//  Service Gallery Carousel function by = owl.carousel.js ========================== //
1641	function new1_blog_gallery_carousel(){
1642		jQuery('.new1-blog-gallery-one').owlCarousel({
1643			loop:true,
1644			nav:true,
1645			dots: false,
1646			center:false,				
1647			margin:30,
1648			autoplay:true,
1649			navText: ['<i class="fa fa-angle-left"></i>', '<i class="fa fa-angle-right"></i>'],
1650			responsive:{
1651				0:{
1652					items:1,
1653				},
1654				480:{
1655					items:1,
1656				},			
1657				767:{
1658					items:2,
1659				},
1660				1000:{
1661					items:3
1662				}
1663			}
1664		});
1665	}
1666
1667/*--------------------------------------------------------------------------------------------
1668	document.ready ALL FUNCTION START
1669---------------------------------------------------------------------------------------------*/
1670	jQuery(document).ready(function() {
1671		// > LIGHTBOX Gallery Popup function	by = lc_lightbox.lite.js =========================== //      
1672		lightbox_popup(),
1673		// > Top Search bar Show Hide function by = custom.js  		
1674		site_search(),	
1675		//  > Top Search bar Show Hide function by = custom.js =================== //	
1676		site_search2(),	
1677		//menu navigation
1678		menu_navigation(),
1679		// > Video responsive function by = custom.js 
1680		video_responsive(),
1681		// > Top cart list Show Hide function by = custom.js =================== //	
1682		cart_block(),
1683		// > magnificPopup function	by = magnific-popup.js
1684		magnific_popup(),
1685		// > magnificPopup for video function	by = magnific-popup.js
1686		magnific_video(),
1687		// > Vertically center Bootstrap modal popup function by = custom.js
1688		popup_vertical_center();
1689		// > Main menu sticky on top  when scroll down function by = custom.js		
1690		sticky_header(),
1691	    // > Sidebar sticky  when scroll down function by = custom.js ========== //		
1692	    sticky_sidebar(),		
1693		// > page scroll top on button click function by = custom.js	
1694		scroll_top(),
1695		// > input type file function by = custom.js	 	
1696		input_type_file_form(),
1697		// > input Placeholder in IE9 function by = custom.js		
1698		placeholderSupport(),
1699		// > footer fixed on bottom function by = custom.js	
1700		footer_fixed(),
1701		// > accordion active calss function by = custom.js ========================= //			
1702		accordion_active(),				
1703		// > Nav submenu on off function by = custome.js ===================//
1704		mobile_nav(),
1705		// Mobile side drawer function by = custom.js
1706		mobile_side_drawer(),
1707		// Gallery slider function by = owl.carousel.js ========================== //
1708	    gallery_slider2(),
1709		// Project slider function by = owl.carousel.js ========================== //
1710		project_detail_slider(),		
1711		// Home page visited place function by = owl.carousel.js ========================== //
1712		services_slider(),
1713        // Home page Project Slider function by = owl.carousel.js ========================== //
1714        how_we_work(),	
1715		// Home page Project Slider function by = owl.carousel.js ========================== //
1716        project_1_slider(),
1717		project_gallery_one(),
1718		projects_carousel2(),
1719        // featured products Slider function by = owl.carousel.js ========================== //
1720	    featured_products(),
1721		// > TouchSpin box function by  = jquery.bootstrap-touchspin.js =============== // 
1722		input_number_vertical_form(),		
1723		// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1724	    testimonial_1_content(),
1725		// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1726		testimonial_2_content(),
1727        // Home page Testimonial Slider function by = owl.carousel.js ========================== //
1728	    testimonial_3_content(),
1729		// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1730	    testimonial_4_content(),
1731		// > Testimonial carousel  function by = owl.carousel.js ========================== //
1732		testimonial_5_content(),
1733		// Gallery slider function by = owl.carousel.js ========================== //
1734		gallery_slider(),		
1735		//  Client logo Carousel function by = owl.carousel.js ========================== //
1736		home_client_carousel_2(),
1737		// > Home_project_slider Full Screen with no margin function by = owl.carousel.js ========================== //
1738	    home3_projects_slider(),
1739		// > project-style-new carousel function by = owl.carousel.js ========================== //
1740		// services_style_new(),	
1741        // > home_projects_filter Full Screen with no margin function by = owl.carousel.js ========================== //
1742	    home_projects_filter(),	
1743		//  Service Gallery Carousel twelve function by = owl.carousel.js ========================== //
1744		service_button_filter(),
1745		// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1746	    testimonial_12_content(),
1747	    // Service Gallery Carousel two function by = owl.carousel.js ========================== //
1748	    services_gallery_carousel_two(),
1749		//  Client logo Carousel function by = owl.carousel.js ========================== //
1750		home_client_carousel_11(),
1751		//  Team Carousel function by = owl.carousel.js ========================== //
1752		team_carousel(),
1753	    // > projects_carousel Full Screen with no margin function by = owl.carousel.js ========================== //
1754        project_carousel(),
1755		// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1756	    testimonial_11_content(),
1757		//  Service Gallery Carousel function by = owl.carousel.js ========================== //
1758		blog_gallery_carousel(),
1759		//  Counter Section function by = counterup.min.js ========================== //
1760		counter_section(),
1761		//  MAKE AN APPOINTMENT Section function by = counterup.min.js
1762		contact_slide()	;
1763		
1764		// > Top Search bar Show Hide function by = custom.js  		
1765		new1_site_search(),	
1766		
1767		// > footer fixed on bottom function by = custom.js	
1768		new1_footer_fixed(),
1769		
1770		// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1771		new1_testimonial_2_content(),
1772		// Home page Testimonial Slider function by = owl.carousel.js ========================== //
1773		new1_testimonial_3_content(),
1774		//  Client logo Carousel function by = owl.carousel.js ========================== //
1775		new1_home_client_carousel_2(),
1776		//  Team Carousel function by = owl.carousel.js ========================== //
1777		new1_team_carousel(),
1778		//  Service Gallery Carousel two function by = owl.carousel.js ========================== //
1779		new1_services_gallery_carousel_two(),
1780		//  Service Gallery Carousel function by = owl.carousel.js ========================== //
1781		new1_blog_gallery_carousel(),
1782		// > new1_home_projects_filter Full Screen with no margin function by = owl.carousel.js ========================== //
1783		new1_home_projects_filter(),	
1784		// > projects_carousel Full Screen with no margin function by = owl.carousel.js ========================== //
1785		new1_project_carousel(), 
1786		//  project-slider-3 function by = owl.carousel.js ========================== //
1787		project_slider_3(),
1788		//  Service Gallery Carousel function by = owl.carousel.js ========================== //
1789		services_gallery_carousel(),
1790		//  Client logo Carousel function by = owl.carousel.js ========================== //
1791		home_client_carousel(),
1792		//  Client logo Carousel function by = owl.carousel.js ========================== //
1793		home_client_carousel_3(),
1794		//  Shop Product Price Range Slider function by = bootstrap-slider.min.js ========================== //
1795		shop_product_price(),	
1796		//  Service Gallery Carousel two function by = owl.carousel.js ========================== //
1797		services_gallery_carousel_three(),
1798		
1799		front_back_bg();	
1800				
1801	}); 	
1802
1803/*--------------------------------------------------------------------------------------------
1804	Window Load START
1805---------------------------------------------------------------------------------------------*/
1806	jQuery(window).on('load', function () {
1807		// Bootstrap Select box function by  = bootstrap-select.min.js
1808		 Bootstrap_Select(),		
1809		// > masonry function function by = isotope.pkgd.min.js		
1810		masonryBox(),
1811		new1_masonryBox(),
1812		// > background image parallax function by = stellar.js	
1813		bg_image_stellar(),
1814		// > page loader function by = custom.js		
1815		page_loader();
1816});
1817
1818 /*===========================
1819	Window Scroll ALL FUNCTION START
1820===========================*/
1821
1822	jQuery(window).on('scroll', function () {
1823	// > Window on scroll header color fill 
1824		color_fill_header();
1825	});
1826	
1827/*===========================
1828	Window Resize ALL FUNCTION START
1829===========================*/
1830
1831	jQuery(window).on('resize', function () {
1832	// > footer fixed on bottom function by = custom.js		 
1833	 	footer_fixed();
1834	});
1835
1836
1837
1838	$('body').on('click', '.subscribe', function(e) {
1839        e.preventDefault();
1840        var email = $('#email').val();
1841        if(isEmail(email)) {
1842            var data = {
1843                'action': 'subscribe_user',
1844                'email': email,
1845                'security': aw.security,
1846				beforeSend: function() {
1847					$('div.status').css('display','block');
1848				}
1849            };
1850      
1851            $.post(aw.ajaxurl, data, function(response) {
1852                if (response == 200) {
1853					$('div.status').css('display','none');
1854                    alert('You have subscribed successfully.');
1855                } else {
1856					$('div.status').css('display','none');
1857                    alert(response);
1858                }
1859            });
1860        } else {
1861			$('div.status').css('display','none');
1862            alert('This is not a valid email');
1863        }
1864    });
1865
1866	function isEmail(email) {
1867		var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/;
1868		return regex.test(email);
1869	}
1870	
1871	/*===========================
1872	Window Resize ALL FUNCTION START
1873===========================*/
1874
1875	jQuery(window).on('resize', function () {
1876	// > footer fixed on bottom function by = custom.js		 
1877	 	new1_footer_fixed();
1878	});
1879	
1880	
1881	
1882});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.