text: document.addEventListener("DOMContentLoaded", function() {
    var options = {
      defaultDate: new Date().setHours(0, 0, 0),
      setDefaultDate: false
    };
    var elems = document.querySelector(".datepicker");
    var instance = M.Datepicker.init(elems, options);
    // instance.open();
  });
  
  document.addEventListener("DOMContentLoaded", function() {
    var options = {};
    var elems = document.querySelectorAll("select");
    var instances = M.FormSelect.init(elems, options);
  });
  document.addEventListener("DOMContentLoaded", function() {
    var options = {};
    var elems = document.querySelectorAll(".sidenav");
    var instances = M.Sidenav.init(elems, options);
  });
  
  document.addEventListener("DOMContentLoaded", function() {
    var options = {
      direction: "buttom" //delete
    };
    var elems = document.querySelectorAll(".fixed-action-btn");
    var instances = M.FloatingActionButton.init(elems, options);
  });
  
  /* Carrusel*/
  document.addEventListener("DOMContentLoaded", function() {
    var options = {};
    var elems = document.querySelectorAll(".carousel");
    var instances = M.Carousel.init(elems, options);
  });
  
  document.addEventListener("DOMContentLoaded", function() {
    var elems = document.querySelectorAll(".slider");
    var instances = M.Slider.init(elems, options);
  });
  
  document.addEventListener("DOMContentLoaded", function() {
    var elems = document.querySelectorAll(".tooltipped");
    var instances = M.Tooltip.init(elems, options);
  });
  document.addEventListener('DOMContentLoaded', function() {
    var elems = document.querySelectorAll('.parallax');
    var instances = M.Parallax.init(elems, options);
  });
  $(document).ready(function(){
    $('.slider').slider();
  });
  $(document).ready(function(){
    $('.parallax').parallax();
  });
  