#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999999;
  text-align: left;
  background-color: #6699cc;
  	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	behavior: url(/css/PIE.htc);
}

.ie9 #facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99999999;
  text-align: left;
  background-color: #6699cc;
  	-moz-border-radius: none;
	-webkit-border-radius: none;
	border-radius: none;
	behavior: none;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border-bottom: 0;
  padding: 0;
}

#facebox .body {
  padding: 10px;
  background: #fff;
  width: 370px;
}

#facebox .loading {
  text-align: center;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
  margin: 0;
}

#facebox input, #facebox textarea{
 	margin-bottom: 5px;
	padding-left: 5px;
    padding-right: 5px;
    padding-top: 1px;
    padding-bottom: 1px;
	background-color: #e2e2e2;
	border: 1px solid #ccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	behavior: url(/css/PIE.htc);
	position: relative;
	overflow-x: hidden;
}

.ie9 #facebox input, .ie9 #facebox textarea{
 	margin-bottom: 5px;
	padding-left: 5px;
    padding-right: 5px;
    padding-top: 1px;
    padding-bottom: 1px;
	background-color: #e2e2e2;
	border: 1px solid #ccc;
	-moz-border-radius: none;
	-webkit-border-radius: none;
	border-radius: none;
	behavior: none;
	position: static;
	overflow-x: hidden;
}

#facebox .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#facebox_overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}

* html #facebox_overlay { /* ie6 hack */
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

