(function($) {
    "use strict";
	var direction =  $("body").attr('direction');
	if(direction != 'rtl')
	{direction = 'ltr'; }

	var dezSettingsOptions = {
		typography: "poppins",
		version: "light",
		layout: "Vertical",
		headerBg: "color_1",
		navheaderBg: "color_1",
		sidebarBg: "color_1",
		sidebarStyle: "full",
		sidebarPosition: "fixed",
		headerPosition: "fixed",
		containerLayout: "full",
		direction: direction
	};

	new dezSettings(dezSettingsOptions);

	jQuery(window).on('resize',function(){
		new dezSettings(dezSettingsOptions);
	});

})(jQuery);
