$(function () {
    $(".timeline-holder").mCustomScrollbar({axis: "x", theme: "dark", autoExpandScrollbar: true});
    $('.testimonials-carousel').not('.slick-initialized').slick({infinite: true, slidesToShow: 3, arrows: false, dots: true, slidesToScroll: 3, responsive: [{breakpoint: 992, settings: {slidesToShow: 2, slidesToScroll: 2, adaptiveHeight: true}}, {breakpoint: 767, settings: {slidesToShow: 1, slidesToScroll: 1}}]});
    $('.popup-youtube').magnificPopup({disableOn: 700, type: 'iframe', mainClass: 'mfp-fade', removalDelay: 160, preloader: false, fixedContentPos: false});
});