﻿.loading-panel {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0, 0, 0, 0.2);
	z-index: 10;
	text-align: center;
}

.loading-panel .spinner-s2w {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
}

.spinner-s2w {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}

.spinner-s2w div {
	display: inline-block;
	position: absolute;
	left: 8px;
	width: 16px;
	background: #fff;
	animation: spinner-s2w 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}

.spinner-s2w div:nth-child(1) {
	left: 8px;
	animation-delay: -0.24s;
}

.spinner-s2w div:nth-child(2) {
	left: 32px;
	animation-delay: -0.12s;
}

.spinner-s2w div:nth-child(3) {
	left: 56px;
	animation-delay: 0;
}

@keyframes spinner-s2w {
	0% {
		top: 8px;
		height: 64px;
	}

	50%, 100% {
		top: 24px;
		height: 32px;
	}
}