html, body {
	height: 100%;
}

body {
	padding: 0;
	margin: 0;
	font-family: tahoma;
	background: #E1ECF2;
	direction: rtl;
}

.ewLoginTitle,.ewForgotPasswordTitle {
font-size:11px;
font-family:tahoma;
color:#000;
font-weight:bold;

}

a {
	font-family:tahoma;
	font-size:11px;
	font-weight:normal;
	color:#000;
	text-decoration:none;
}

a:hover {
	font-family:tahoma;
	font-size:11px;
	font-weight:normal;
	color:#000;
	text-decoration:underline;
}

#remeber_div label {
	color:#000;
}


#contain {
	width: 1002px;
	margin: 0 auto;
	height: 100%;
	min-height: 100%;
	background: url("../phpimages/login/bot.jpg") no-repeat center center;
}

#login {
	margin: 0 auto;
	width: 324px;
	position: relative;
	top: 20%;
	margin-right:-10px;
}


#login_top {
	background: url("../phpimages/login/login_top.png") no-repeat top;
	width:324px;
	height:32px;
	
}

#login_mid {
	border-left:1px solid #CFBDCB;
	border-right:1px solid #CFBDCB;
	border-bottom:1px solid #CFBDCB;
	background-color:#fff;
}


#forgot_top {
	background: url("../phpimages/login/login_top.png") no-repeat top;
}

#login_bot {
	padding: 10px 40px 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 */


#banner {
    position: absolute;
    height: 390px;
    width: 458px;
    margin: -196px 0 0 -421px;
    top: 50%;
    left: 50%;
}

#bannerfooter {
	position:absolute;
	width:100%;
	bottom:0;
}

#bannerfooter div{
	position:absolute;
	bottom:0;
	text-align:center;
	width:453px;
	background-color:#fff;
	color:#333;
	font-family:Verdana, Geneva, sans-serif, tahoma;
	font-weight:normal;
	padding:5px 0 0 5px;
	font-size:10px;
	
	/* Required for IE 5, 6, 7 */
	/* ...or something to trigger hasLayout, like zoom: 1; */
		
	/* Theoretically for IE 8 & 9 (more valid) */	
	/* ...but not required as filter works too */
	/* should come BEFORE filter */
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
	
	/* This works in IE 8 & 9 too */
	/* ... but also 5, 6, 7 */
	filter: alpha(opacity=80);
	
	/* Older than Firefox 0.9 */
	-moz-opacity:0.8;
	
	/* Safari 1.x (pre WebKit!) */
	-khtml-opacity: 0.8;
    
	/* Modern!
	/* Firefox 0.9+, Safari 2?, Chrome any?
	/* Opera 9+, IE 9+ */
	opacity: 0.8;
	
	
}

.transparent {
	/* Required for IE 5, 6, 7 */
	/* ...or something to trigger hasLayout, like zoom: 1; */
	width: 100%; 
		
	/* Theoretically for IE 8 & 9 (more valid) */	
	/* ...but not required as filter works too */
	/* should come BEFORE filter */
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	
	/* This works in IE 8 & 9 too */
	/* ... but also 5, 6, 7 */
	filter: alpha(opacity=50);
	
	/* Older than Firefox 0.9 */
	-moz-opacity:0.5;
	
	/* Safari 1.x (pre WebKit!) */
	-khtml-opacity: 0.5;
    
	/* Modern!
	/* Firefox 0.9+, Safari 2?, Chrome any?
	/* Opera 9+, IE 9+ */
	opacity: 0.5;
}



*: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(../phpimages/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;
	color:#fff;
}




input.textbox {
	background: url(../phpimages/login/textbox_bg.png) repeat-x;
	border: 1px solid #BCB8B7;
	border-bottom-width: 1px;
	width: 146px;
	height: 15px;
	direction: ltr;
	float: left;
	margin-top: -29px;
	color: #54534d; 	
}

input.gray {
	color: #bf9946;
}

label.textbox {
	display: block;
	text-indent: -5000px;
	width: 32px;
	height: 32px;
}

#submit {
	background: url(../phpimages/login/submit.png);
	text-indent: -5000px;
	border: 0;
	width: 74px;
	height: 22px;
	margin-left:auto;
	margin-right:auto;
}

#username_label {
	background: url(../phpimages/login/icon_username.png) 0 0 no-repeat;

}

#password_label {
	background: url(../phpimages/login/icon_password.png) no-repeat;
}

#captcha_label {
	background: url(../phpimages/login/icon_captcha.png);
}

#captcha_div {
	padding-right: 52px;
}

#remeber_div {
	font-size:11px;
	direction:rtl;
	text-align:right;
	color:#333;
}