/**===================================
				Preloader Styles
====================================*/
#preloader-background {
	background: #fff none repeat scroll 0 0;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 99999;
}

#preloader-background .preloader-wrapper {
	left: 50%;
	position: absolute;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

/*========================================
	Default preloader
=======================================*/
.custom-preloader i {
	font-size: 28px;
}

.custom-preloader {
	position: relative;
	-webkit-animation-name: slide;	/* Safari 4.0 - 8.0 */
	-webkit-animation-duration: 3s;	/* Safari 4.0 - 8.0 */
	animation-name: slide;
	animation-duration: 3s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	animation-iteration-count: infinite;
	font-size: 10px !important;
}

.custom-preloader::after, .custom-preloader::before {
	content: "";
	width: 6px;
	height: 6px;
	background: #333;
	bottom: 2px;
	right: 11px;
	position: absolute;
	border-radius: 50%;
	-webkit-animation-name: rotate;
	-webkit-animation-duration: 0.5s;
	animation-name: rotate;
	animation-duration: 0.5s;
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	animation-iteration-count: infinite;
	border-bottom: 1px solid #aeaeae;
	border-top: 1px solid #8a8a8a;
}

.custom-preloader::after {
	right: 22px;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes slide {
	0% {
		left: 0px;
		top: 0px;
		opacity: 1;
	}

	100% {
		left: 100px;
		opacity: 0.1;
	}

}

/* Standard syntax */
@keyframes slide {
	0% {
		left: 0px;
		top: 0px;
		opacity: 1;
	}

	100% {
		left: 100px;
		opacity: 0.1;
	}

}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes rotate {
	0% {
		-webkit-transform: rotate(0);
		-ms-transform: rotate(0);
		-o-transform: rotate(0);
		transform: rotate(0);
	}

	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}

}

/* Standard syntax */
@keyframes rotate {
	0% {
		-webkit-transform: rotate(0);
		-ms-transform: rotate(0);
		-o-transform: rotate(0);
		transform: rotate(0);
	}

	100% {
		-webkit-transform: rotate(360deg);
		-ms-transform: rotate(360deg);
		-o-transform: rotate(360deg);
		transform: rotate(360deg);
	}

}

@media (max-width:600px) {
	.custom-preloader i {
		font-size: 20px;
	}

	.custom-preloader::after {
		right: 15px;
	}

	.custom-preloader::before {
		right: 7px;
	}

}

/*========================================
	Wave
=======================================*/
.mt-wave {
	margin: 40px auto;
	width: 50px;
	height: 40px;
	text-align: center;
	font-size: 10px;
}

.mt-wave .mt-rect {
	background-color: #333;
	height: 100%;
	width: 6px;
	display: inline-block;
	-webkit-animation: mt-waveStretchDelay 1.2s infinite ease-in-out;
	animation: mt-waveStretchDelay 1.2s infinite ease-in-out;
}

.mt-wave .mt-rect1 {
	-webkit-animation-delay: -1.2s;
	animation-delay: -1.2s;
}

.mt-wave .mt-rect2 {
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s;
}

.mt-wave .mt-rect3 {
	-webkit-animation-delay: -1s;
	animation-delay: -1s;
}

.mt-wave .mt-rect4 {
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s;
}

.mt-wave .mt-rect5 {
	-webkit-animation-delay: -0.8s;
	animation-delay: -0.8s;
}

@-webkit-keyframes mt-waveStretchDelay {
	0%, 40%, 100% {
		-webkit-transform: scaleY(0.4);
		transform: scaleY(0.4);
	}

	20% {
		-webkit-transform: scaleY(1);
		transform: scaleY(1);
	}

}

@keyframes mt-waveStretchDelay {
	0%, 40%, 100% {
		-webkit-transform: scaleY(0.4);
		transform: scaleY(0.4);
	}

	20% {
		-webkit-transform: scaleY(1);
		transform: scaleY(1);
	}

}

/*========================================
	Three Bounce
=======================================*/
.mt-three-bounce {
	margin: 40px auto;
	width: 80px;
	text-align: center;
}

.mt-three-bounce .mt-child {
	width: 20px;
	height: 20px;
	background-color: #333;
	border-radius: 100%;
	display: inline-block;
	-webkit-animation: mt-three-bounce 1.4s ease-in-out 0s infinite both;
	animation: mt-three-bounce 1.4s ease-in-out 0s infinite both;
}

.mt-three-bounce .mt-bounce1 {
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.mt-three-bounce .mt-bounce2 {
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
}

@-webkit-keyframes mt-three-bounce {
	0%, 80%, 100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}

	40% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}

}

@keyframes mt-three-bounce {
	0%, 80%, 100% {
		-webkit-transform: scale(0);
		transform: scale(0);
	}

	40% {
		-webkit-transform: scale(1);
		transform: scale(1);
	}

}

/*========================================
	Folding Cube
=======================================*/
.mt-folding-cube {
	margin: 40px auto;
	width: 40px;
	height: 40px;
	position: relative;
	-webkit-transform: rotateZ(45deg);
	transform: rotateZ(45deg);
}

.mt-folding-cube .mt-cube {
	float: left;
	width: 50%;
	height: 50%;
	position: relative;
	-webkit-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
}

.mt-folding-cube .mt-cube:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #333;
	-webkit-animation: mt-foldCubeAngle 2.4s infinite linear both;
	animation: mt-foldCubeAngle 2.4s infinite linear both;
	-webkit-transform-origin: 100% 100%;
	-ms-transform-origin: 100% 100%;
	transform-origin: 100% 100%;
}

.mt-folding-cube .mt-cube2 {
	-webkit-transform: scale(1.1) rotateZ(90deg);
	transform: scale(1.1) rotateZ(90deg);
}

.mt-folding-cube .mt-cube3 {
	-webkit-transform: scale(1.1) rotateZ(180deg);
	transform: scale(1.1) rotateZ(180deg);
}

.mt-folding-cube .mt-cube4 {
	-webkit-transform: scale(1.1) rotateZ(270deg);
	transform: scale(1.1) rotateZ(270deg);
}

.mt-folding-cube .mt-cube2:before {
	-webkit-animation-delay: 0.3s;
	animation-delay: 0.3s;
}

.mt-folding-cube .mt-cube3:before {
	-webkit-animation-delay: 0.6s;
	animation-delay: 0.6s;
}

.mt-folding-cube .mt-cube4:before {
	-webkit-animation-delay: 0.9s;
	animation-delay: 0.9s;
}

@-webkit-keyframes mt-foldCubeAngle {
	0%, 10% {
		-webkit-transform: perspective(140px) rotateX(-180deg);
		transform: perspective(140px) rotateX(-180deg);
		opacity: 0;
	}

	25%, 75% {
		-webkit-transform: perspective(140px) rotateX(0deg);
		transform: perspective(140px) rotateX(0deg);
		opacity: 1;
	}

	90%, 100% {
		-webkit-transform: perspective(140px) rotateY(180deg);
		transform: perspective(140px) rotateY(180deg);
		opacity: 0;
	}

}

@keyframes mt-foldCubeAngle {
	0%, 10% {
		-webkit-transform: perspective(140px) rotateX(-180deg);
		transform: perspective(140px) rotateX(-180deg);
		opacity: 0;
	}

	25%, 75% {
		-webkit-transform: perspective(140px) rotateX(0deg);
		transform: perspective(140px) rotateX(0deg);
		opacity: 1;
	}

	90%, 100% {
		-webkit-transform: perspective(140px) rotateY(180deg);
		transform: perspective(140px) rotateY(180deg);
		opacity: 0;
	}

}
