﻿html                  { height: 100%; min-height:100%; margin:0 auto; background:#ffffff; }
body                  { height: 100%; min-height:100%; margin:0 auto; min-width:450px !important; background:#ffffff; position: relative; text-align:left;}
div                   { position: relative; }

#aspnetForm {
    min-height: 100%;
	height: 100%;
    width: 100%;
    margin:0 auto;
    background: none;
    position: relative;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
	height: 100%;
	margin: 0 auto -50px auto;
    background: none;
    width: 100%;
}

#header {
	margin: 0px;
	padding: 0px;    
}

#header > div {
	width: 96%;
    height: 80px;
    border-bottom: 1px solid #E0E0E0;
    position: relative;
    margin: 0px auto;
}

#header span, #footer p {
    cursor: default;
}

#header .hleft > span { 
	position: relative;
	top: -27px;
	padding: 0;
	margin: 0px 0px 0px 20px;
	font: bold 200% Verdana, Tahoma;
	color: #ffffff;
	text-shadow: 0 1px 0 #870802;
}

#header .hleft > a {
    outline: none; 
}

#header .hleft > a > img {
	margin: 0px;
}

#header .hright {
    text-align: right;
}

#header .hright > li {
    display: inline-block;
    /*display: none;*/
    position: relative;
    margin: 0px 5px;
    font: 110% Verdana, Tahoma;
	color: #ff0000;
	text-decoration: underline; 
}
#header .hright > li > a { color: #ff0000; }
#header .hright > li:hover > a { color: #c20b19; }

#header .hright > span {
    font:  100% Verdana, Tahoma;
	color: #ff0000;
}

#content > div.wps {
	width: 600px;
	height: 290px;
	margin: 11% auto 10px auto;
	background: url("../images/shadow-form.png") no-repeat 48% 100%;
}

div#content > div.recovery {
    height: 220px;
    margin: 14% auto 10px auto;
}
div#content > div.recovery #form {
    height: 150px;
}

#content > div {
    width: 800px;
	margin: 10px auto 0px auto;
}

#form {
	position: relative;
	width: 400px;
	height: 220px;
	background: #f5f3f3;
	padding: 2em 1.5em;
	margin: 0px auto 0 auto;
	border: 1px solid #efefef;
	border-radius: 5px;
	box-shadow: 
			0 1px 4px rgba(0, 0, 0, 0.27), 
			0 0 40px rgba(0, 0, 0, 0.06) inset;
}

#form label {
	font: bold 90%/1.5em Verdana, Tahoma;
	color: #333333;
	padding: 0px;
	margin: 0px;
	text-shadow: 0px 1px 0px #ffffff;
}

#form input[type=text], #form input[type=password] {
	width: 97%;
	padding: 7px;
	margin: 1px 0px 20px 0px;
	border-radius: 5px;
	border: 1px solid #D1D1D1;
	font: 150%/1.2em Verdana, Tahoma;
	color: #333333;
	background: #ffffff;
}
#form input[type=text]:hover, #form input[type=password]:hover {
     border: 1px solid #B5B5B5;
}

#form input.username {
   background: #ffffff url(/images/login.png) no-repeat 98% 50%;     
}
#form input.userpass {
   background: #ffffff url(/images/password.png) no-repeat 98% 50%;     
}

#form input:focus { /*outline: none;*/ outline: 1px dotted #A50E01; }

#form input[type=text]:focus, #form input[type=password]:focus {
	border: 1px solid #E39D93;
	box-shadow: inset 1px 1px 5px 0px #D1D1D1;
	outline: none;
	/*background: #ffffff;*/
}

#form input[type=button], #form input[type=submit] {
	position: absolute;
	bottom: 25px;
	right: 4%;
	padding: 5px 35px;
	width: 140px;
	font: bold 110%/1.5em Verdana, Tahoma;
	color: #ffffff;
	background: #C52726;
	border: 1px solid #A50E01;
	border-radius: 3px;
	cursor: pointer;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px, inset rgba(255, 255, 255, 0.15) 0px 1px 0px, inset rgba(255, 255, 255, 0.25) 0px 0px 1px;
	text-shadow: black 0px 1px 0px;
}

#form input[type=button].recov, #form input[type=submit].recov {
    width: 180px;
}

#form input[type=button]:active, #form input[type=submit]:active {
	bottom: 24px;
	box-shadow: 0 5px 4px #BB2424 inset, 0 0 4px #E47878 inset;
}

#form #remember {
	position: absolute;
	display: inline-block;
	bottom: 33px;
	left: 20px;
	font: normal 100% Verdana, Tahoma;
	color: #531111;
	opacity: 0.8;
	text-shadow: 0px 1px 0px #ffffff;
}

#form #remember:hover {
	opacity: 1;
}

#form > #remember input[type=checkbox] {
	margin: 0px 5px 0px 5px;
	position: relative;
	top: 2px;
}

#form .info { display: none; }

#form > ul {
	list-style: none;
	position: absolute;
	bottom: 2px;
	width: 90%;
	padding: 5px;
	text-align: center;
	border-top: 1px dotted #e0e0e0;
	clear: both;
}

#form > ul > li {
	display: inline-block;
	margin: 0px 0px;
	width: 50%;
	float: left;
}

#form > ul > li > a {
	font: 90%/1.5em Verdana, Tahoma;
	text-decoration: underline;
	color: #CCB1AC;
}

#form > ul > li > a:hover {
	color: #531111;
}

.page {
    padding: 50px 0px; 
    font: normal 100%/1.5em Verdana, Tahoma;   
}

.page h2 { font: bold 140%/1.3em Verdana, Tahoma; margin-bottom: 0.7em; }
.page p  { margin-bottom: 0.5em; }
.page a  { color: #ff0000; }
.page .button {
    padding: 5px 35px;
    margin: 5px 15px;
	max-width: 150px;
	font: bold 100%/1.5em Verdana, Tahoma;
	color: #ffffff;
	background: #C52726;
	border: 1px solid #8E1C1C;
	border-radius: 3px;
	cursor: pointer;
	box-shadow: 0 0 4px #E47878 inset;
	text-shadow: 1px 1px 0px #8E1C1C;
}


.push {
	height: 50px;
}

#footer {
	height: 50px;
}

#footer > div {
	width: 96%;
	border-top: 1px solid #E0E0E0;
	margin: 0px auto;
}

#footer .info > select {
	width: 300px;
}

#footer .info > img {
    padding: 9px 0px 0px 5px;
    /*height: 33px;*/
}

#footer .info > p {
	position: absolute;
	right: 45px;
	top: 0.8em;
	display: inline-block;
	color: #666666;
	font: normal 85%/1.5em Verdana, Tahoma;
	text-align: right;
}

#footer .info > .foot-menu {
    position: absolute;
	right: 45px;
	top: 2.3em;
    color: #ff0000;
    font: normal 85%/1.5em Verdana, Tahoma;
	text-align: right;
}

#footer .info > .foot-menu > li {
    display: inline-block;
    margin-left: 3px;
    text-align: right;
}

#footer > div a {
	text-decoration: underline;
	color: #ff0000;
}

#footer .lang {
    position: absolute;
	right: 5px;
	top: 3px;
	width: 32px;
	height: 42px;
	text-align: right;
}

#footer .flag {
    position: relative;
    margin-top: 3px;
    opacity: 0.9;
}
#footer .flag:active {
    bottom: -1px;
}
#footer .flag:hover {
    opacity: 1;
}

/* Хаки */
.ie6 body, .ie7 body, .ie8 body { min-width:700px !important; }
.ie6 #content > div, .ie7 #content > div, .ie8 #content > div { width: 650px; }
.ie6 #header > .hright > li, .ie7 #header > .hright > li { zoom: 1; display: inline; }

/* Адаптивный дизайн */
@media only screen and (max-width: 850px) {
    #header .hleft > span {
        font: bold 150% Verdana, Tahoma;
        top: -30px;
	    margin: 0px 0px 0px 5px;
    }
    #header .hright > li {
        font: 100% Verdana, Tahoma;
    }
    #content > div.wps {
       width: 400px; 
       background: none;
    }   
    #form {
       width: 400px; 
    }     
    #content > div {
       width: 600px; 
    }
    .page {
        padding: 30px 0px; 
    }   
                             
}
@media only screen and (max-width: 650px), only screen and (max-device-width: 650px) {  
    #header {
        height: 90px;
    }
    #header > div {
        height: 90px;
    }
    #header .hleft {
        position: relative!important;
        width: 99%!important;
        margin: 0px!important;
        top: 5px!important;
    } 
    #header .hright {
        position: relative!important; 
        top: 5px!important;  
        margin: 0px!important;
    }   
    #content > div {
       width: 400px; 
    } 
    #content > div.wps {
       width: 300px; 
       background: none;
    }   
    #form {
       width: 300px; 
    } 
    .page {
        padding: 20px 0px; 
    }    
    #footer .info > img {
        display: none;
    }                    
}