/*
* The MIT License (MIT)
*
* Copyright (c) 2015 Tobias Ahlin
* 
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
* the Software, and to permit persons to whom the Software is furnished to do so,
* subject to the following conditions:
* 
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
* 
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

.loading-overlay {
	display: none;
	position: fixed;
	left: 0;
	width: 100vw;
	height: 110vh;
	overflow: hidden;
	background-color: rgb(0, 0, 0);
	opacity: 0.2;
	z-index: 10000000;
}

.loading-container {
	display: none;
	width: 60px;
	height: 60px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -30px;	/* 50% von width */
	margin-left: -30px;	/* 50% von height */
	z-index: 10000001;
}

.loading-fading-circle {
	width: 60px;		/* entspricht width von loading-container */
	height: 60px;		/* entspricht height von loading-container */
	position: relative;
	z-index: 10000001;
}

.loading-fading-circle .loading-circle {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
}

.loading-fading-circle .loading-circle:before {
	content: '';
	display: block;
	margin: 0 auto;
	width: 15%;
	height: 15%;
	background-color: rgb(0, 0, 0);
	border-radius: 100%;
	-webkit-animation: loading-circleFadeDelay 1.2s infinite ease-in-out both;
	animation: loading-circleFadeDelay 1.2s infinite ease-in-out both;
}

.loading-fading-circle .loading-circle2 {
	-webkit-transform: rotate(30deg);
	-ms-transform: rotate(30deg);
	transform: rotate(30deg);
}

.loading-fading-circle .loading-circle3 {
	-webkit-transform: rotate(60deg);
	-ms-transform: rotate(60deg);
	transform: rotate(60deg);
}

.loading-fading-circle .loading-circle4 {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
}

.loading-fading-circle .loading-circle5 {
	-webkit-transform: rotate(120deg);
	-ms-transform: rotate(120deg);
	transform: rotate(120deg);
}

.loading-fading-circle .loading-circle6 {
	-webkit-transform: rotate(150deg);
	-ms-transform: rotate(150deg);
	transform: rotate(150deg);
}

.loading-fading-circle .loading-circle7 {
	-webkit-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	transform: rotate(180deg);
}

.loading-fading-circle .loading-circle8 {
	-webkit-transform: rotate(210deg);
	-ms-transform: rotate(210deg);
	transform: rotate(210deg);
}

.loading-fading-circle .loading-circle9 {
	-webkit-transform: rotate(240deg);
	-ms-transform: rotate(240deg);
	transform: rotate(240deg);
}

.loading-fading-circle .loading-circle10 {
	-webkit-transform: rotate(270deg);
	-ms-transform: rotate(270deg);
	transform: rotate(270deg);
}

.loading-fading-circle .loading-circle11 {
	-webkit-transform: rotate(300deg);
	-ms-transform: rotate(300deg);
	transform: rotate(300deg);
}

.loading-fading-circle .loading-circle12 {
	-webkit-transform: rotate(330deg);
	-ms-transform: rotate(330deg);
	transform: rotate(330deg);
}

.loading-fading-circle .loading-circle2:before {
	-webkit-animation-delay: -1.1s;
	animation-delay: -1.1s;
}

.loading-fading-circle .loading-circle3:before {
	-webkit-animation-delay: -1s;
	animation-delay: -1s;
}

.loading-fading-circle .loading-circle4:before {
	-webkit-animation-delay: -0.9s;
	animation-delay: -0.9s;
}

.loading-fading-circle .loading-circle5:before {
	-webkit-animation-delay: -0.8s;
	animation-delay: -0.8s;
}

.loading-fading-circle .loading-circle6:before {
	-webkit-animation-delay: -0.7s;
	animation-delay: -0.7s;
}

.loading-fading-circle .loading-circle7:before {
	-webkit-animation-delay: -0.6s;
	animation-delay: -0.6s;
}

.loading-fading-circle .loading-circle8:before {
	-webkit-animation-delay: -0.5s;
	animation-delay: -0.5s;
}

.loading-fading-circle .loading-circle9:before {
	-webkit-animation-delay: -0.4s;
	animation-delay: -0.4s;
}

.loading-fading-circle .loading-circle10:before {
	-webkit-animation-delay: -0.3s;
	animation-delay: -0.3s;
}

.loading-fading-circle .loading-circle11:before {
	-webkit-animation-delay: -0.2s;
	animation-delay: -0.2s;
}

.loading-fading-circle .loading-circle12:before {
	-webkit-animation-delay: -0.1s;
	animation-delay: -0.1s;
}

@-webkit-keyframes loading-circleFadeDelay {
	0%, 39%, 100% { opacity: 0;
	}40% { opacity: 1;
	};
}

@keyframes loading-circleFadeDelay {
	0%, 39%, 100% { opacity: 0;
	}40% { opacity: 1;
	};
}