@CHARSET "UTF-8";
@import url('https://fonts.googleapis.com/css?family=Roboto');

body
{
    background-color: #000;
	height: 100%;
	margin: 0;
    padding: 0;
    font-family: 'Roboto', Verdana;
    font-size: 12px;
    color: #000000;
    background: url(/images/back.jpg) no-repeat center fixed;
	background-size: cover;
}

html
{
	height: 100%;
	margin: 0;
    padding: 0;
}

img
{
   border-width: 0;
}

div, input {
	box-sizing: border-box;
}

#zone_visible
{
	height: 100%;
	position: relative;
}

#zone_content .inner
{
	width: 300px;
	height: 400px;
   	background-color: #FFFFFF;
	box-shadow: 5px 5px 15px 1px rgba(0, 0, 0, 0.85);
	position: absolute;
	left: 50%;
	top: 50%;
	margin-left: -150px;
	margin-top: -200px;
	animation-name: fondu;
	animation-duration: .5s;
}

#flashNotice, #flashError
{
    position: absolute;
	width: 92%;
	left: 4%;
	top: 350px;
	margin-right: auto;
	padding: 5px;
	border: solid 1px #555200;
	padding-left: 25px;
	font-size: 14px;
	border-radius: 6px;
	text-align: center;
    color: #FFFFFF;
    opacity: 0;
    animation-name: flash;
	animation-duration: 7s;
}

#flashNotice
{
    background-color: rgba(255, 200, 0, 0.5);
	border: solid 1px #FF9900;
	color: #333;
}

#flashError
{
    background-color: rgba(255, 0, 0, 0.5);
    border: solid 1px #FF0000;
}
    
#flashNotice:before
{
    content: "\2BD1";
    position: absolute;
    left: 5px;
    top: 4px;
	font-size: 1.2em;
	color: #F90;
}

#flashError:before
{
	content: "\2BBF";
	position: absolute;
    left: 5px;
    top: 4px;
	font-size: 1.2em;
	color: #F00;
}

#login
{
    height: 320px;
	width: 280px;
	margin-top: 10px;
	margin-left: 10px;
	padding-top: 215px;
	background: url(/images/avatar.png) no-repeat center, #000;
	background-size: contain;
	overflow: hidden;
	animation-name: slide;
	animation-duration: 1.5s;
}

#login input[type="text"], #login input[type="password"]
{
    display: block;
	width: 250px;
	margin: auto;
	margin-top: 7px;
	background-color: #000;
	border: solid 1px rgba(255,255,255,0.2);
	height: 24px;
	padding: 2px;
	font-size: 1.1em;
	padding-left: 30px;
	color: #AAA;
	transition: box-shadow .5s, background-color .5s;
	border-radius: 12px;
}

#login input[type="text"]
{
    background: url(/images/login_user.png) 0 center no-repeat, linear-gradient(90deg, #666 0%, #666 10%, #333 10%, #555);   
}

#login input[type="password"]
{
    background: url(/images/login_pass.png) 0 center no-repeat, linear-gradient(90deg, #666 0%, #666 10%, #333 10%, #555);    
}

input[type=text]:focus, input[type=password]:focus {
	outline: 0;
	box-shadow: 0 0 10px rgba(44, 117, 255, 0.8);
	background-color: red;
}

#login input[type="submit"]
{
    display: block;
    width: 110px;
    margin-left: auto;
    margin-right: 15px;
    margin-top: 7px;
    border: solid 1px #777;
    height: 22px;
    font-size: 1em;
	font-weight: bold;
	color: #CCC;
	background: url(/images/login_go.png) no-repeat right center, linear-gradient(90deg, rgba(120, 120, 120, 0.3), rgba(255, 255, 255, 0.4));
	text-transform: uppercase;
	text-align: left;
	padding-left: 8px;
	cursor: pointer;
	filter: grayscale(1);
	border-radius: 12px;
	overflow: hidden;
	transition: background-color .5s, border-color .5s;
    animation-name: slide2;
	animation-duration: 3s;
}

#login input[type="submit"]:hover, #login input[type="submit"]:focus 
{
	background-color: rgba(44, 117, 255, 0.4);
	border-color: #AAA;
	filter: none;
}

@keyframes fondu
{
    0%
    {
        opacity: 0;
    }
    100%
    {
        opacity: 1;
    }
}

@keyframes slide
{
    0%, 25%
    {
        padding-top: 320px;
    }
    100%
    {
        padding-top: 215px;
    }
}

@keyframes slide2
{
    0%, 50%
    {
        width: 0;
        border: 0;
        padding: 0;
        background: linear-gradient(90deg, rgba(120, 120, 120, 0.3), rgba(255, 255, 255, 0.4));
    }
    70%
    {
        background: linear-gradient(90deg, rgba(120, 120, 120, 0.3), rgba(255, 255, 255, 0.4));
        border: solid 1px #777;
    }
    100%
    {
        width: 110px;
    }
}

@keyframes flash
{
    0%, 80%
    {
        opacity: 1;
    }
    100%
    {
        opacity: 0;
    }
}
