
.header-auth-form {
	float: left;
	margin-right: 2em;
	width: 13em;
	
}

/* ññûëêà àâòîðèçàöèè */
.header-auth-form .login-link {
	position: relative;
	z-index: 2;
}

.header-auth-form .login-link .link {
	width: 4.5em;
}

.header-auth-form .login-link.active .link {
	position: relative;
	width: 9em;
	z-index: 1001;
}

.header-auth-form .login-link .link,
.header-auth-form .username {
	height: 1.7em;
}

/* ññûëêà */
.header-auth-form .link .container {
	text-align: center;
}

.header-auth-form .active .container {
}

.header-auth-form .link .container a,
.header-auth-form .username a {
	color: #800000;
	font-weight: bold;
}

.header-auth-form .active .container a {
	color: #2170BE;
	text-decoration: none;
}


.header-auth-form .popup-overlay {
	-moz-opacity: .40;
	background: #000000;
	filter: alpha(opacity=40);
	height: 100%;
	left: 0;
	opacity: .40;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 1000;
}

/* 

ÂÑÏËÛÂÀÞÙÅÅ ÎÊÍÎ

*/

.header-auth-form .active .container,
.header-auth-form .active .r4,
.header-auth-form .active .r2,
.header-auth-form .active .r1,
.header-auth-form .popup .inner {
	background:#C5DFFA;
}

/* çàêðóãëåíèå */
.header-auth-form .r4,
.header-auth-form .r2,
.header-auth-form .r1 {
	font-size: 0px;
	height: 1px;
}

.header-auth-form .r1 {
	height: 2px;
}

.header-auth-form .r4 {
	margin: 0 4px;
}

.header-auth-form .r2 {
	margin: 0 2px;
}

.header-auth-form .r1 {
	margin: 0 1px;
}

.header-auth-form .r-left {
	margin-right: 0px;
}

.header-auth-form .r-right {
	margin-left: 0px;
}
.header-auth-form .popup {
	display: none;
	left: 0px;
	margin-top: 1.2em;
	position: absolute;
	top: 3px;
	width: 15em;
	z-index: 1001;
	zoom: 1;
}

.header-auth-form .active .popup {
	display: block;
}

.header-auth-form .popup .inner {
	padding: 1em 1.5em;
}

.header-auth-form .popup .inner label {
	color: #000000;
}

.header-auth-form .popup .inner label span {
	font-size: .8em;
}

.header-auth-form .popup .inner div.close {
	font-size: .75em;
	text-align: right;
}

.header-auth-form .popup .inner div.login,
.header-auth-form .popup .inner div.password,
.header-auth-form .popup .inner div.remember {
	margin-bottom: .5em;
}

.header-auth-form .popup .inner div.login input,
.header-auth-form .popup .inner div.password input {
	width: 96%;
}

.header-auth-form .popup .inner div.remember input {
	vertical-align: middle;
}

.header-auth-form .popup .inner input {
}

.header-auth-form .popup .inner .submit {
	margin-bottom: .3em;
}

.header-auth-form .popup .inner .submit input {
	font-size: 1.5em;
}

.header-auth-form .popup .inner .forgot a {
	font-size: .8em;
}

/* ññûëêà ðåãèñòðàöèè */
.header-auth-form .register-link {
	clear: left;
	float: left;
	margin-right: 1em;
	margin-left: .7em;
	
}

html.msie6 .header-auth-form .register-link {
	display: inline;
	margin-top: 1px;
}

.header-auth-form .register-link a {
	font-size: .8em;
	color:#FFFF00;
}

.header-auth-form .username {
	clear: both;
	color: #FF6633;
	font-weight: bold;
	float: left;
	margin-left: .7em;
}

html.msie6 .header-auth-form .username {
	display: inline;
}