#LoginBox, .MessageBox{  display:none;}  

.ModalDialog, .ModalDialog {position: absolute;top: 0;left: 0;z-index: 100;text-align: left;}
.ModalDialog .popup{ position:relative;border:3px solid rgba(0,0,0,0);-webkit-border-radius:5px;-moz-border-radius:5px; border-radius:5px;-webkit-box-shadow:0 0 18px rgba(0,0,0,0.4);-moz-box-shadow:0 0 18px rgba(0,0,0,0.4);box-shadow:0 0 18px rgba(0,0,0,0.4);}

.ModalDialog .DialogContent {
  display:table;
  width: 370px;
  padding: 10px;
  background: #fff  url("../images/DialogBackground.png") bottom repeat-x;
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ccc));
  background: -moz-linear-gradient(top,  #fff,  #ccc);
  
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
}
.ModalDialog .modalHeader {
  text-shadow: 0 1px 1px rgba(0,0,0,.3);
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
  color: #fff;
  background: #446bb8 url("../../install/HeaderBack.png") repeat-x bottom;
  background: -webkit-gradient(linear, left top, left bottom, from(#446bb8), to(#2a4985));
  background: -moz-linear-gradient(top,  #446bb8,  #2a4985);	
  -webkit-border-radius: .5em; 
  -moz-border-radius: .5em;
  border-radius: .5em;
  text-align:center;
  
  font-size: 12.5pt;
}
* html .ModalDialog .modalHeader {width:340px;line-height:10px;padding-top:10px}
*:first-child+html .ModalDialog .modalHeader {width:340px;line-height:20px;padding-top:10px}

* html .ModalDialog .modalInner {padding-top:10px}
*:first-child+html .ModalDialog .modalInner {padding-top:10px}

.ModalDialog .close{position:absolute; top:5px;right:5px;padding:2px;background:#fff;}
.ModalDialog .close img{opacity:0.3;}
.ModalDialog .close:hover img{opacity:1.0;}

.ModalDialog_overlayBG { position: fixed;top: 0px;left: 0px;height:100%;width:100%;background-color: #000;z-index: 99;opacity: 0.2}

.ModalDialog input[type=text], .ModalDialog input[type=password] {
	display:block;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius:4px;
	border:1px solid black;
	font-size:13px;
	margin:0 0 5px;
	padding:5px;
	width:370px;
}
*:first-child+html .ModalDialog input[type=text],
*:first-child+html .ModalDialog input[type=password] {width:360px}

*:first-child+html .RembemberMe {display:block}

.LoginButton {
	border: none;

	vertical-align: baseline;
	margin: 10px 2px;
	cursor: pointer;
	text-align: center!important;
	text-decoration: none;
	font: 1.3em Arial, Helvetica, sans-serif bold!important;
	padding: .1em 0.5em .1em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	
	color: #fff!important;
	border: solid 1px #333;
	background: #446bb8 url("../../install/HeaderBack.png") repeat-x  bottom!important;
	
	background: -webkit-gradient(linear, left top, left bottom, from(#446bb8), to(#2a4985));
	background: -moz-linear-gradient(top,  #446bb8,  #2a4985);
	
    height:40px;
	width:150px;
}
.StandardButton {
	border: none;

	vertical-align: baseline;
	margin: 10px 2px;
	cursor: pointer;
	text-align: center!important;
	text-decoration: none;
	font: 1.2em Arial, Helvetica, sans-serif bold!important;
	padding: .1em 0.5em .1em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);

	color: #fff!important;
	border: solid 1px #333;
	background: #446bb8 url("../../install/HeaderBack.png") repeat-x  bottom!important;
	
	background: -webkit-gradient(linear, left top, left bottom, from(#446bb8), to(#2a4985));
	background: -moz-linear-gradient(top,  #446bb8,  #2a4985);
	
    height:25px;
	width:80px;
}
.StandardButtton:hover,
.RecoveryButtton:hover,
.LoginButton:hover {
	color: #ffffff;
	text-decoration: none;
	background-color: #000!important;
	background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#000));
	background: -moz-linear-gradient(top,  #444,  #000);
	
}
.RecoveryButtton {
	border: none;
	display: inline-block;
	vertical-align: baseline;
	margin: 10px 2px;
	cursor: pointer;
	text-align: center!important;
	text-decoration: none;
	padding: .1em 0.5em .1em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	
	color: #fff!important;
	border: solid 1px #333;
	
	background: #446bb8 url("../../install/HeaderBack.png") repeat-x  bottom!important;
	background: -webkit-gradient(linear, left top, left bottom, from(#446bb8), to(#2a4985));
	background: -moz-linear-gradient(top,  #446bb8,  #2a4985);
}