/***************************************\

	jquery.kyco.preloader
	=====================

	Version 1.1.5

	Brought to you by
	http://www.kycosoftware.com

	Copyright 2014 Cornelius Weidmann

	Distributed under the GPL

\***************************************/

#kyco_preloader {
	/*
	**	Do not change position unless you know what you are doing.
	**	The preloader uses this value and also adjusts it when
	**	setting the showInContainer option to true.
	*/
	position: fixed;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
}

#kyco_preloader .kyco_loader_overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	opacity: 0.1;
}

#kyco_preloader .kyco_loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 30px;
	background: rgba(255, 255, 255, 0.5);
}

#kyco_preloader .kyco_progress_notification {
	position: absolute;
	bottom: 6px;
	width: 100%;
	text-align: center;
}

#kyco_preloader .kyco_progress_percentage {
	/*
	**	This rule is only necessary if a global style is applied to all span tags
	*/
	position: relative;
	float: none;
}

#kyco_preloader .kyco_progress_bar {
	position: absolute;
	top: 0;
	width: 100%;
	height: 0;
	border-bottom: 2px solid #fff;
}

#kyco_preloader .kyco_progress_loaded {
	position: relative;
	width: 0;
	height: 100%;
	border-bottom: 2px solid rgba(63, 72, 204, 0.8);
	box-shadow: 0 0 2px rgba(63, 72, 204, 0.5);
}

#kyco_preloader .kyco_progress_notification.error {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px 0;
	background: #fff;
	border-top: 5px solid #f00;
}

#kyco_preloader .kyco_progress_bar.error {
	display: none;
}

.kyco_preloader_not_found_error {
	position: relative;
	background: #fff url(loading-error.png) no-repeat center; /* Change image path to match your setup */ 
	box-shadow: inset 0 0 0 1px #aaa;
}
