* {
	margin: 0;
	padding: 0;
}

* {
	text-rendering: optimizelegibility;
}

html {
	overflow:hidden;
}

body {
	background: none repeat scroll 0 0 #EEEEEE;
	font-family: "HelveticaNeue", Helvetica, Arial, sans-serif;
	font-size: 62.5%;
	height: 100%;
	vertical-align: middle;
	overflow:hidden;
}

a.pasw_recov:link {
    color: black;
    font-family: "HelveticaNeue",Helvetica,Arial,sans-serif;
    font-size: 11px;
    text-decoration: none;
    color: gray;
}
a.pasw_recov:hover {
    text-decoration: underline;
    color: black;
}

a.reset_pass:link {
    color: black;
    font-family: "HelveticaNeue",Helvetica,Arial,sans-serif;
    font-size: 11px;
    text-decoration: none;
    color: gray;
}
a.reset_pass:hover {
    text-decoration: underline;
    color: black;
}

a.reset_pass {
   margin-left: 127px;
}

* { margin: 0; padding: 0; }
#page{display:table;overflow:hidden;margin:0px auto;}
*:first-child+html #page {position:relative;}/*ie7*/
* html #page{position:relative;}/*ie6*/

#content_container{display:table-cell;vertical-align: middle;}
*:first-child+html #content_container{position:absolute;top:50%;}/*ie7*/
* html #content_container{position:absolute;top:50%;}/*ie6*/

*:first-child+html #dialog{position:relative;top:-50%;}/*ie7*/
* html #dialog{position:relative;top:-50%;}/*ie6*/

html,body{height:100%;}
#page{height:100%;width:100%;}

div.dialog {
	background: #fff;
	background: none repeat scroll 0 0 rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(0, 0, 0, 0.5);
	border-radius: 10px;
	box-shadow: 0 0 45px rgba(0, 0, 0, 0.6);
	margin: 0 auto;
	padding: 30px 10px 20px 10px;
	width: 400px;
	text-align: center;
	/*
	height: auto;
	overflow: hidden;
	*/
}

div.dialog h1 {
	font-family: 'Raleway', "HelveticaNeue", Helvetica, Arial, sans-serif;
	color: #434343;
	font-size: 36px;
	font-weight: normal;
	letter-spacing: -1px;
	line-height: 40px;
	margin-bottom: 10px;
	margin-top: 0px;
	text-shadow: 1px 1px 1px rgba(250, 250, 250, 0.8);
}

div.dialog table {
	vertical-align: middle;
	width: auto;
	margin: 10px auto;
	font-size: 1.2em;
}

div.dialog table tr {
	height: auto;
}

div.dialog table tr td.box {
	width: auto;
	text-align: right;
}

div.dialog table tr td {
	text-align: left;
	padding-right: 10px;
}

div.dialog table tr td input, div.dialog table tr td select, .box {
	/*font-family: 'Raleway', 'HelveticaNeue',Helvetica,Arial,sans-serif;*/
	text-align: left;
	height: 26px;
	vertical-align: middle;
	font-size: 16px;
	width: 250px;
	text-shadow: 1px 1px 1px rgba(250, 250, 250, 0.7);
}

div.dialog table tr td span {
	font-family: Helvetica, Raleway, HelveticaNeue, Arial, sans-serif;
	font-size: 14px;
	height: 28px;
	text-shadow: 1px 1px 1px rgba(250, 250, 250, 0.7);
}

div.dialog .login_button_disabled {
	margin: 20px auto;
	width: 40%;
	border-top: 1px solid #F7F7F7;
	background: #D6D6D6;
	background: -webkit-gradient(linear, left top, left bottom, from(#9B9B9B),
		to(#D6D6D6) );
	background: -webkit-linear-gradient(top, #9B9B9B, #D6D6D6);
	background: -moz-linear-gradient(top, #9B9B9B, #D6D6D6);
	background: -ms-linear-gradient(top, #9B9B9B, #D6D6D6);
	background: -o-linear-gradient(top, #9B9B9B, #D6D6D6);
	padding: 8.5px 17px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-webkit-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
	-moz-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
	box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
	text-shadow: rgba(0, 0, 0, .4) 0 1px 0;
	color: white;
	font-size: 12px;
	text-decoration: none;
	vertical-align: middle;
	display: block;
}

div.dialog .login_button {
	margin: 20px auto;
	width: 40%;
	border-top: 1px solid #96d1f8;
	background: #65a9d7;
	background: -webkit-gradient(linear, left top, left bottom, from(#3e779d),
		to(#65a9d7) );
	background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
	background: -moz-linear-gradient(top, #3e779d, #65a9d7);
	background: -ms-linear-gradient(top, #3e779d, #65a9d7);
	background: -o-linear-gradient(top, #3e779d, #65a9d7);
	padding: 8.5px 17px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	-webkit-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
	-moz-box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
	box-shadow: rgba(0, 0, 0, 1) 0 1px 0;
	text-shadow: rgba(0, 0, 0, .4) 0 1px 0;
	color: white;
	font-size: 12px;
	text-decoration: none;
	vertical-align: middle;
	display: block;
}

div.dialog .login_button:hover {
	border-top-color: #28597a;
	background: #28597a;
	color: #ccc;
}

div.dialog .login_button:active {
	border-top-color: #1b435e;
	background: #1b435e;
}

div.dialog img {
	margin: 20px auto;
	padding
	0;
}

div.dialog p.footer {
	text-shadow: 0 1px 0 rgba(245, 245, 245, 0.9);
	margin: 50px 0 -20px 0;
	vertical-align: middle;
}

div.dialog p.footer a {
	color: #332374;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(245, 245, 245, 0.9);
	margin: 0 0 -20px 0;
	vertical-align: middle;
}

div.dialog p.footer a img {
	max-width: 150px;
	max-height: 50px;
	width: expression(this.width >       150 ?       150 :       true);
	height: expression(this.height >       30 ?       30 :       true);
	color: #332374;
	text-decoration: none;
	text-shadow: 0 1px 0 rgba(245, 245, 245, 0.9);
	margin: 0 0 5px 0;
	vertical-align: middle;
	border: 0px solid transparent;
}

div.dialog p#errorMsg {
	color: #882222;
	font-size: 12px;
	text-shadow: 1px 1px 1px rgba(250, 250, 250, 0.7);
	font-weight: bold;
}

img.company_logo {
	max-width: 400px;
	max-height: 200px;
	width: expression(this.width >       400 ?       400 :       true);
	height: expression(this.height >       200 ?       200 :       true);
	width: auto;
	height: auto;
}

.recovery {
    background-image:url(../images/mail_new_16x16.png) !important;
}

#username, #password {
    background: url("../ext-3.4.1/resources/images/default/form/text-bg.gif") repeat-x scroll 0 0 #FFFFFF;;
    border: 1px solid #AAAAAA;
	padding: 1px 3px;
}
