var html_dir = jQuery('html').attr('dir') == 'rtl',
	body_dir = jQuery('body.theme-body').hasClass('rtl'),
	owl_carousel_dir;

	if (html_dir || body_dir) {
		owl_carousel_dir = true;
	} else {
		owl_carousel_dir = false;
	}

// Featured Slider
jQuery('.featured-slider .owl-carousel').owlCarousel({
	loop:true,
	margin:0,
	nav:true,
	navText: ['', ''],
	autoplay: true,
	dots: false,
	smartSpeed: 800,
	autoplayTimeout: 5500,
	rtl: owl_carousel_dir,
	responsive:{
		0:{
			items:1
		},
	}
});

jQuery('.style-multi-col.multi-col-default .owl-carousel').owlCarousel({
	loop:true,
	margin:15,
	nav:true,
	navText: ['', ''],
	autoplay: true,
	dots: false,
	smartSpeed: 800,
	autoplayTimeout: 5300,
	rtl: owl_carousel_dir,
	responsive:{
		1400:{
			items:4
		},
		768:{
			items:3
		},
		575:{
			items:2
		},
		0:{
			items:1,
			margin:0
		},
	}
});