/* Загрузка */
#loading{
	display: none;
	position: fixed;
	padding: 20px;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 999999;
	background: url('../../img/dark45.png');
	color: white;
	text-align: center;
}
#loading .loading-title{
	position: absolute;
	top: 50%;
	left: 50%;
	margin: 10px 0 0 -55px;
	font-size: 28px;
	text-shadow: 1px 1px 0 #777;
}
#spinningSquaresG{
	width:240px;
	height:29px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -25px 0 0 -120px;
}
.spinningSquaresG{
	position:absolute;
	top:0;
	background-color:#000000;
	width:29px;
	height:29px;
	-moz-animation-name:bounce_spinningSquaresG;
	-moz-animation-duration:1.3s;
	-moz-animation-iteration-count:infinite;
	-moz-animation-direction:linear;
	-moz-transform:scale(.3);
	-webkit-animation-name:bounce_spinningSquaresG;
	-webkit-animation-duration:1.3s;
	-webkit-animation-iteration-count:infinite;
	-webkit-animation-direction:linear;
	-webkit-transform:scale(.3);
	-ms-animation-name:bounce_spinningSquaresG;
	-ms-animation-duration:1.3s;
	-ms-animation-iteration-count:infinite;
	-ms-animation-direction:linear;
	-ms-transform:scale(.3);
	-o-animation-name:bounce_spinningSquaresG;
	-o-animation-duration:1.3s;
	-o-animation-iteration-count:infinite;
	-o-animation-direction:linear;
	-o-transform:scale(.3);
	animation-name:bounce_spinningSquaresG;
	animation-duration:1.3s;
	animation-iteration-count:infinite;
	animation-direction:linear;
	transform:scale(.3);
}
#spinningSquaresG_1{
	left:0;
	-moz-animation-delay:0.52s;
	-webkit-animation-delay:0.52s;
	-ms-animation-delay:0.52s;
	-o-animation-delay:0.52s;
	animation-delay:0.52s;
}
#spinningSquaresG_2{
	left:30px;
	-moz-animation-delay:0.65s;
	-webkit-animation-delay:0.65s;
	-ms-animation-delay:0.65s;
	-o-animation-delay:0.65s;
	animation-delay:0.65s;
}
#spinningSquaresG_3{
	left:60px;
	-moz-animation-delay:0.78s;
	-webkit-animation-delay:0.78s;
	-ms-animation-delay:0.78s;
	-o-animation-delay:0.78s;
	animation-delay:0.78s;
}
#spinningSquaresG_4{
	left:90px;
	-moz-animation-delay:0.91s;
	-webkit-animation-delay:0.91s;
	-ms-animation-delay:0.91s;
	-o-animation-delay:0.91s;
	animation-delay:0.91s;
}
#spinningSquaresG_5{
	left:120px;
	-moz-animation-delay:1.04s;
	-webkit-animation-delay:1.04s;
	-ms-animation-delay:1.04s;
	-o-animation-delay:1.04s;
	animation-delay:1.04s;
}
#spinningSquaresG_6{
	left:150px;
	-moz-animation-delay:1.17s;
	-webkit-animation-delay:1.17s;
	-ms-animation-delay:1.17s;
	-o-animation-delay:1.17s;
	animation-delay:1.17s;
}
#spinningSquaresG_7{
	left:180px;
	-moz-animation-delay:1.3s;
	-webkit-animation-delay:1.3s;
	-ms-animation-delay:1.3s;
	-o-animation-delay:1.3s;
	animation-delay:1.3s;
}
#spinningSquaresG_8{
	left:210px;
	-moz-animation-delay:1.43s;
	-webkit-animation-delay:1.43s;
	-ms-animation-delay:1.43s;
	-o-animation-delay:1.43s;
	animation-delay:1.43s;
}
@-moz-keyframes bounce_spinningSquaresG{
0%{
	-moz-transform:scale(1);
	background-color:#000000;
}
100%{
	-moz-transform:scale(.3) rotate(90deg);
	background-color:#FFFFFF;
}

}
@-webkit-keyframes bounce_spinningSquaresG{
0%{
	-webkit-transform:scale(1);
	background-color:#000000;
}
100%{
	-webkit-transform:scale(.3) rotate(90deg);
	background-color:#FFFFFF;
}
}
@-ms-keyframes bounce_spinningSquaresG{
0%{
	-ms-transform:scale(1);
	background-color:#000000;
}
100%{
	-ms-transform:scale(.3) rotate(90deg);
	background-color:#FFFFFF;
}
}
@-o-keyframes bounce_spinningSquaresG{
0%{
	-o-transform:scale(1);
	background-color:#000000;
}
100%{
	-o-transform:scale(.3) rotate(90deg);
	background-color:#FFFFFF;
}
}
@keyframes bounce_spinningSquaresG{
0%{
	transform:scale(1);
	background-color:#000000;
}
100%{
	transform:scale(.3) rotate(90deg);
	background-color:#FFFFFF;
}
}

/* Сообщения */
#messages{
	position: fixed;
	width: 500px;
	top: 0;
	left: 50%;
	margin-left: -250px;
	z-index: 1000000; 
}
#messages .message{
	padding: 10px;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-o-border-radius: 7px;
	-khtml-border-radius: 7px;
	-webkit-border-radius: 7px;
	background: white;
	border: 10px solid #ddd;
	-webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.35);
	box-shadow: 0 0 10px 0 rgba(0,0,0,0.35);
	text-align: left;
	margin: 20px 0 0 0;
	text-align: center;
}
#messages .message.error{	border: 10px solid #f26c4f;	}
#messages .message.success{	border: 10px solid #88c149;	}
#messages .message p{	margin: 10px 0 0 0;	}
#messages .message p:first-child{	margin: 0;	}

/* Кнопка "Наверх" */
#to-top{
	background: url('../../img/dark15.png');
	position: fixed;
	top: 15px;
	left: 15px;
	z-index: 100;
	padding: 15px;
	color: white;
	cursor: pointer;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	font-size: 16px;
}
#to-top:hover{	
	background: url('../../img/dark45.png');	
}