@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700);
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css');
/*
html, body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 11px;
	background-color: #000;
	background-image: url("../images/bg-grad.png");
	background-position: center top;
	background-repeat: repeat-y;
	color: #FFFFFF;
	margin: 0 auto;
}
*/


*{
	font-family: 'Open Sans', 'sans-serif', 'FontAwesome';
}
body{
   // background: rgb(52, 56, 61);
	//	font-size: 11px;
	background-color: #000;
	background-image: url("../images/bg-grad.png");
	background-position: center top;

background-repeat: repeat-y;
//background-size: cover;
	
//	background-size: contain;
//background-repeat: no-repeat;




	
}




h1{
	color: rgb(255, 255, 255);
	margin: 20px auto 0;
	width: 200px;
	text-align: center;
}
#wrapper{
	position: absolute;
	width: 320px;
	left: 50%;
	margin-left: -160px;
	top: 50%;
	margin-top: -75px;
	
}

/* === Sign in Form === */
#signin {
	height: 90px;
	width: 300px;
	border-radius: 8px;
	position: relative;
}
#signin::before {
	display: block;
	position: relative;
	height: 2px;
	background: rgb(52, 56, 61);
	content: '';
	top: 44px;
	margin-left: 20px;
	z-index: 1;
}
#signin input:first-of-type{
	border-top-right-radius: 8px;
	border-top-left-radius: 8px;
}
#signin input:last-of-type{
	border-bottom-right-radius: 8px;
	border-bottom-left-radius: 8px;
}
#signin  input[type="text"], #signin  input[type="password"], #signin button[type="submit"]{
	background: rgb(28, 30, 33);
	box-shadow: inset -100px -100px 0 rgb(28, 30, 33); /*Prevent yellow autofill color*/
	color: rgb(52, 56, 61);
}
#signin  input[type="text"], #signin  input[type="password"]{
	position: relative;
	display: block;
	width: 280px;
	height: 45px;
	border: 0;
	outline: 0;
	top: -2px;
	padding: 0 0 0 20px;
	font-weight: 700;
}
#signin  input[type="text"]:focus, #signin  input[type="password"]:focus{
	color: rgb(255, 255, 255);
}
#signin button[type="submit"]{
	display: block;
	position: absolute;
	width: 52px;
	height: 52px;
	color: rgb(52, 56, 61);
	border-radius: 50px;
	outline: 0;
	z-index: 2;
	top: 19px;
	right: -24px;
	border: 6px solid rgb(52, 56, 61);
	font-size: 25px;
	text-indent: 0px;
	padding-left: 9px;
	padding-bottom: 3px;
	text-align: center;
}
#signin button[type="submit"]:hover{
	color: rgb(0, 126, 165);
	text-shadow: 0 0 10px rgb(0, 126, 165);
	cursor: pointer;
}
#signin p {
	color: rgb(79, 85, 97);
	padding: 0 20px;
	font-weight: 700;
	font-size: 12px;
	margin: 5px 0 0 0;
}
#signin p > a{
	color: rgb(111, 119, 135);
	text-decoration: none;
}
#signin p > a:hover{
	border-bottom: 1px solid;
}

#footer {
    position: fixed; /* Фиксированное положение */
    left: 50%; bottom: 0; /* Левый нижний угол */
    padding: 10px; /* Поля вокруг текста */
  //  background: #39b54a; /* Цвет фона */
   // color: #fff; /* Цвет текста */
   // width: 100%; /* Ширина слоя */
	
	font-size: 12px;
		color: rgb(111, 119, 135);
	text-decoration: none;
	font-weight: 700;
	
   }
   
   
#footer > a{
	color: rgb(111, 119, 135);
	text-decoration: none;

}   
#footer > a:hover{
	border-bottom: 1px solid;
	//color: rgb(255, 255, 255);
	//  animation: a 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) both;
	animation: 3s ease-in 1s infinite reverse both running slidein;
}
   
#logo {
	margin: 0 auto;
	text-align: center;
	animation: 3s ease-in 1s infinite reverse both running slidein;
}   

#shake {
		position: absolute;
	width: 320px;
	left: 50%;
	margin-left: -160px;
	top: 50%;
	margin-top: -75px;
  /* Запускаем анимацию shake и устанавливаем длительность 0.5 секунды */
  animation: shake 0.5s;

  /* Когда цикл анимации закончится, запустить ее снова */
 // animation-iteration-count: infinite;
}

/* Цикл анимации */
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}
