text: $(document).ready(function(){
      
      var nav_offset_top = $('header').height(); 
      /*-------------------------------------------------------------------------------
        Navbar 
      -------------------------------------------------------------------------------*/
  
      //* Navbar Fixed  
      function navbarFixed(){
          if ( $('.main_header_area, .main_header_three, .box_header_four').length ){ 
              $(window).scroll(function() {
                  var scroll = $(window).scrollTop();   
                  if (scroll >= nav_offset_top ) {
                      $(".main_header_area, .main_header_three, .box_header_four").addClass("navbar_fixed");
                  } else {
                      $(".main_header_area, .main_header_three, .box_header_four").removeClass("navbar_fixed");
                  }
              });
          };
      };
      navbarFixed();
      
       function recipe_slider(){
          if ( $('.special_recipe_slider').length ){
              $('.special_recipe_slider').owlCarousel({
                  loop:true,
                  margin: 0,
                  items: 1,
                  nav:false,
                  autoplay: true,
                  smartSpeed: 1500,
                  dots:true,
                  responsiveClass: true,
              })
          }
      }
      recipe_slider();
      
      /*----------------------------------------------------*/
      /*  Main Slider js
      /*----------------------------------------------------*/
      function main_slider(){
          if ( $('#main_slider').length ){
              $("#main_slider").revolution({
                  sliderType:"standard",
                  sliderLayout:"auto",
                  delay:4000,
                  disableProgressBar:"on",
                  navigation: {
                      onHoverStop: 'off',
                      touch:{
                          touchenabled:"on"
                      },
                      arrows: {
                          style:"zeus",
                          enable:true,
                          hide_onmobile:true,
                          hide_under:992,
                          hide_onleave:true,
                          hide_delay:200,
                          hide_delay_mobile:1200,
                          tmp:'<div class="tp-title-wrap">    <div class="tp-arr-imgholder"></div> </div>',
                          left: {
                              h_align: "left",
                              v_align: "center",
                              h_offset: 50,
                              v_offset: 0
                          },
                          right: {
                              h_align: "right",
                              v_align: "center",
                              h_offset: 50,
                              v_offset: 0
                          }
                      },
                  },
                  responsiveLevels:[4096,1199,992,767,480],
                  gridwidth:[1170,970,750,700,400],
                  gridheight:[625,625,550,550,500],
                  lazyType:"smart",
                  fallbacks: {
                      simplifyAll:"off",
                      nextSlideOnWindowFocus:"off",
                      disableFocusListener:false,
                  }
              })
          }
      }
      main_slider();
      /*----------------------------------------------------*/
      /*  Main Slider js
      /*----------------------------------------------------*/
      function main_slider3(){
          if ( $('#main_slider3').length ){
              $("#main_slider3").revolution({
                  sliderType:"standard",
                  sliderLayout:"auto",
                  delay:4000,
                  disableProgressBar:"on",
                  navigation: {
                      onHoverStop: 'off',
                      touch:{
                          touchenabled:"on"
                      },
                      arrows: {
                          style:"zeus",
                          enable:true,
                          hide_onmobile:true,
                          hide_under:992,
                          hide_onleave:true,
                          hide_delay:200,
                          hide_delay_mobile:1200,
                          tmp:'<div class="tp-title-wrap">    <div class="tp-arr-imgholder"></div> </div>',
                          left: {
                              h_align: "left",
                              v_align: "center",
                              h_offset: 50,
                              v_offset: 0
                          },
                          right: {
                              h_align: "right",
                              v_align: "center",
                              h_offset: 50,
                              v_offset: 0
                          }
                      },
                  },
                  responsiveLevels:[4096,1199,992,767,480],
                  gridwidth:[1170,970,750,700,400],
                  gridheight:[798,798,600,600,500],
                  lazyType:"smart",
                  fallbacks: {
                      simplifyAll:"off",
                      nextSlideOnWindowFocus:"off",
                      disableFocusListener:false,
                  }
              })
          }
      }
      main_slider3();
      /*----------------------------------------------------*/
      /*  Main Slider js
      /*----------------------------------------------------*/
      function main_slider4(){
          if ( $('#main_slider4').length ){
              $("#main_slider4").revolution({
                  sliderType:"standard",
                  sliderLayout:"auto",
                  delay:4000,
                  disableProgressBar:"on",
                  navigation: {
                      onHoverStop: 'off',
                      touch:{
                          touchenabled:"on"
                      },
                      arrows: {
                          style:"zeus",
                          enable:true,
                          hide_onmobile:true,
                          hide_under:767,
                          hide_onleave:true,
                          hide_delay:200,
                          hide_delay_mobile:1200,
                          tmp:'<div class="tp-title-wrap">    <div class="tp-arr-imgholder"></div> </div>',
                          left: {
                              h_align: "left",
                              v_align: "center",
                              h_offset: 50,
                              v_offset: 0
                          },
                          right: {
                              h_align: "right",
                              v_align: "center",
                              h_offset: 50,
                              v_offset: 0
                          }
                      },
                  },
                  responsiveLevels:[4096,1370,1199,992,767,480],
                  gridwidth:[1170,1170,970,750,540,400],
                  gridheight:[767,767,767,600,600,500],
                  lazyType:"smart",
                  fallbacks: {
                      simplifyAll:"off",
                      nextSlideOnWindowFocus:"off",
                      disableFocusListener:false,
                  }
              })
          }
      }
      main_slider4();
      /*----------------------------------------------------*/
      /*  Main Slider js
      /*----------------------------------------------------*/
      function main_slider5(){
          if ( $('#main_slider5').length ){
              $("#main_slider5").revolution({
                  sliderType:"standard",
                  sliderLayout:"auto",
                  delay:4000,
                  disableProgressBar:"on",
                  navigation: {
                      onHoverStop: 'off',
                      touch:{
                          touchenabled:"on"
                      },
                      arrows: {
                          style:"zeus",
                          enable:true,
                          hide_onmobile:true,
                          hide_under:992,
                          hide_onleave:true,
                          hide_delay:200,
                          hide_delay_mobile:1200,
                          tmp:'<div class="tp-title-wrap">    <div class="tp-arr-imgholder"></div> </div>',
                          left: {
                              h_align: "left",
                              v_align: "center",
                              h_offset: 50,
                              v_offset: 0
                          },
                          right: {
                              h_align: "right",
                              v_align: "center",
                              h_offset: 50,
                              v_offset: 0
                          }
                      },
                  },
                  responsiveLevels:[4096,1370,1199,992,767,480],
                  gridwidth:[1170,1170,970,750,700,400],
                  gridheight:[620,620,620,550,550,500],
                  lazyType:"smart",
                  fallbacks: {
                      simplifyAll:"off",
                      nextSlideOnWindowFocus:"off",
                      disableFocusListener:false,
                  }
              })
          }
      }
      main_slider5();
      
      /*----------------------------------------------------*/
      /*  Cake Feature Slider
      /*----------------------------------------------------*/
    
      
      /*----------------------------------------------------*/
      /*  Cake Feature Slider
      /*----------------------------------------------------*/
      function client_say_slider(){
          if ( $('.client_says_slider').length ){
              $('.client_says_slider').owlCarousel({
                  loop:true,
                  margin: 30,
                  items: 1,
                  nav:true,
                  autoplay: true,
                  smartSpeed: 1500,
                  dots:false,
                  navContainerClass: 'client_says_slider',
                  navText: ['<i class="fa fa-angle-left" aria-hidden="true"></i>','<i class="fa fa-angle-right" aria-hidden="true"></i>'],
                  responsiveClass: true,
              })
          }
      }
      client_say_slider();
      
   
  
      
              $('#preloader').fadeOut('slow', function () {
              $(this).remove();
          });
     
      
  
    
      
      /*----------------------------------------------------*/
      /*  Search Popup js
      /*----------------------------------------------------*/
      $(document).ready(function() {
          $('.popup-with-zoom-anim').magnificPopup({
              type: 'inline',
  
              fixedContentPos: false,
              fixedBgPos: true,
  
              overflowY: 'auto',
  
              closeBtnInside: true,
              preloader: false,
  
              midClick: true,
              removalDelay: 300,
              mainClass: 'my-mfp-zoom-in'
          });
  
          $('.popup-with-move-anim').magnificPopup({
              type: 'inline',
  
              fixedContentPos: false,
              fixedBgPos: true,
  
              overflowY: 'auto',
  
              closeBtnInside: true,
              preloader: false,
  
              midClick: true,
              removalDelay: 300,
              mainClass: 'my-mfp-slide-bottom'
          });
      });
      
      /*----------------------------------------------------*/
      /*  Simple LightBox js
      /*----------------------------------------------------*/
      $('.imageGallery1 .light').simpleLightbox();
      
      
  });