text: /*  ---------------------------------------------------
      Template Name: Foodeiblog
      Description:  Foodeiblog Blog HTML Template
      Author: Colorlib
      Author URI: https://colorlib.com
      Version: 1.0
      Created: Colorlib
  ---------------------------------------------------------  */
  
  'use strict';
  
  (function ($) {
  
      /*------------------
          Preloader
      --------------------*/
      $(window).on('load', function () {
          $(".loader").fadeOut();
          $("#preloder").delay(200).fadeOut("slow");
      });
  
      /*------------------
          Background Set
      --------------------*/
      $('.set-bg').each(function () {
          var bg = $(this).data('setbg');
          $(this).css('background-image', 'url(' + bg + ')');
      });
  
      //Humberger Menu
      $(".humberger__open").on('click', function () {
          $(".humberger__menu__wrapper").addClass("show__humberger__menu__wrapper");
          $(".humberger__menu__overlay").addClass("active");
      });
  
      $(".humberger__menu__overlay").on('click', function () {
          $(".humberger__menu__wrapper").removeClass("show__humberger__menu__wrapper");
          $(".humberger__menu__overlay").removeClass("active");
      });
  
      //Search Switch
      $('.search-switch').on('click',function() {
          $('.search-model').fadeIn(400);
      });
  
      $('.search-close-switch').on('click',function() {
          $('.search-model').fadeOut(400,function() {
              $('#search-input').val('');
          });
      });
  
      /*------------------
  		Navigation
  	--------------------*/
      $(".mobile-menu").slicknav({
          prependTo: '#mobile-menu-wrap',
          allowParentLinks: true
      });
  
      /*------------------
          Carousel Slider
      --------------------*/
      var hero_s = $(".hero__slider");
      hero_s.owlCarousel({
          loop: true,
          margin: 0,
          items: 1,
          dots: false,
          nav: true,
          navText: ["<span class='arrow_carrot-left'><span/>", "<span class='arrow_carrot-right'><span/>"],
          animateOut: 'fadeOut',
          animateIn: 'fadeIn',
          smartSpeed: 1200,
          autoHeight: false,
          autoplay: true
      });
  
  })(jQuery);