html, body {
	height: 100%;
}

body {
	padding: 0;
	margin: 0;
	font-family: tahoma;
	background: #d7d2cb;
	direction: rtl;
}

#contain {
	width: 1002px;
	margin: 0 auto;
	height: 100%;
	min-height: 100%;
	background: url("../images/login/bot.jpg") no-repeat center center;
}

#login {
	background: url("../images/login/login_mid.jpg") repeat-y;
	margin: 0 auto;
	width: 300px;
	position: relative;
	top: 20%;
}

#login_top {
	background: url("../images/login/login_top.jpg") no-repeat top;
}

#login_bot {
	background: url("../images/login/login_bot.png") no-repeat bottom;
	padding: 56px 50px 20px;
	width:200px;
}

#contain {position: relative;}
#contain[id] {display: table; position: static;}

#middle {margin-top:-50px; position: absolute; top: 50%;}  /* for explorer 6 only*/
#middle[id] {display: table-cell; vertical-align: middle; position: static;}

#bot {position: relative; top: -50%;}  /* for explorer 6 0only */
#bot[id] {position: static;}

*:first-child+html #contain[id] {
	position:relative
} /* for explorer 7 only */
*:first-child+html #middle[id] {
	position: absolute;
	display:block;
	vertical-align:inherit;
	top: 50%;
} /* for explorer 7 only */
*:first-child+html #bot[id] {position: relative;}  /* for explorer 7 only */

#bot {
	width: 300px;
	padding-right: 80px; 
}

#versian_text{
	padding-top:5px;
	text-align: center;
	font-size: 10px;
	color: #FFF;
}

#error_message {
	background: url(../images/login/icon_error.png) no-repeat right;
	font-size: 11px;
	color: #382d13;
	padding-right: 35px;
	line-height: 32px;
	white-space: nowrap; 
}

#login_bot form {
	display: block;
	margin: 0;
	padding: 0;
}

#remember_label {
	line-height: 28px;
	font-size: 11px;
}

#remember {
	vertical-align: middle;
}

#remeber_div {
	text-align: center;
}

input.textbox {
	background: url(../images/login/textbox_bg.png) repeat-x;
	border: 1px solid #fbf1cd;
	border-bottom-width: 2px;
	width: 146px;
	height: 15px;
	direction: ltr;
	float: left;
	margin-top: -25px;
	color: #54534d; 	
}

input.gray {
	color: #bf9946;
}

label.textbox {
	display: block;
	text-indent: -5000px;
	width: 32px;
	height: 32px;
}

#submit {
	background: url(../images/login/submit.png);
	text-indent: -5000px;
	border: 0;
	width: 74px;
	height: 22px;
	margin: 0 auto;
	display: block;
}

#username_label {
	background: url(../images/login/icon_username.png);
}

#password_label {
	background: url(../images/login/icon_password.png);
}

#captcha_label {
	background: url(../images/login/icon_captcha.png);
}

#captcha_div {
	padding-right: 52px;
}
