/**
 * UpSolution Element: l-preloader
 */
! function( $ ) {
	"use strict";

	if ( $( '.l-preloader' ).length ) {
		$( 'document' ).ready( function() {
			$ush.timeout( function() {
				$( '.l-preloader' ).addClass( 'done' );
			}, 500 );
			$ush.timeout( function() {
				$( '.l-preloader' ).addClass( 'hidden' );
			}, 1000 ); // 500 ms after 'done' class is added
		} );
	}
}( jQuery );
