$(".banner-2021").slick({
	fade: true,
	slide:".item",
	autoplay: true,
	arrows: false,
	dots: true,
	infinite: true,
	speed: 900,
	autoplaySpeed: 5000,
	cssEase: 'cubic-bezier(0.7, 0, 0.3, 1)',
	customPaging: function(slider, i) {
		return '<a  data-role="none" role="button" aria-required="false" tabindex="0"></a>';
	},
});

$(".ibox-real-2021").slick({
	speed: 1000,
	autoplay: true,
	slidesToShow: 5,
	slidesToScroll: 1,
	arrows: true,
	dots: false,
	cssEase:"cubic-bezier(0.7, 0, 0.3, 1)",
	responsive: [
	  {
		  breakpoint: 1921,
		  settings: {
			  slidesToShow: 4
		  }
	  },{
		  breakpoint: 1370,
		  settings: {
			  slidesToShow: 3
		  }
	  },{
		breakpoint: 1024,
		settings: {
			slidesToShow: 2
		}
	},{
		breakpoint: 481,
		settings: {
			slidesToShow: 1
		}
	}
	]
});

$(".ibox-life-2021").slick({
	speed: 1000,
	autoplay: true,
	slidesToShow: 4,
	slidesToScroll: 1,
	arrows: true,
	dots: false,
	cssEase:"cubic-bezier(0.7, 0, 0.3, 1)",
	responsive: [
	  {
		  breakpoint: 1921,
		  settings: {
			  slidesToShow: 3
		  }
	  }
	]
});

$(document).on("mouseenter", ".ibox-designlist-2021 li", function () {
	pageTextChange($(this).index());
});
pageTextChange(0);
 function pageTextChange(ind) {
	$(".ibox-designlist-2021 li").eq(ind).addClass("active").siblings().removeClass("active");
	$(".ibox-design-item").eq(ind).addClass("active").siblings().removeClass("active");
};


jQuery('.ibox-dynamics-ldemo').slick({
	autoplay: true,
	slidesToShow: 3,
	slidesToScroll: 1,
	asNavFor: '.ibox-dynamics-rdemo',
	centerPadding:"0",
	infinite: true,
	arrows: false,
	dots: false,
	centerMode: false,
	focusOnSelect: true,
   	vertical:true
});
jQuery('.ibox-dynamics-rdemo').slick({
	slide:".item",
	slidesToShow: 1,
	slidesToScroll: 1,
	arrows: true,
	dots: false,
	adaptiveHeight:true,
	infinite: true,
	fade: true,
	asNavFor: '.ibox-dynamics-ldemo',
	prevArrow: $('.idynamics-prev'),
	nextArrow: $('.idynamics-next')
});