#facebox .b {
  background:url(/images/facebox/b.png);
}

#facebox .tl {
  background:url(/images/facebox/tl.png);
}

#facebox .tr {
  background:url(/images/facebox/tr.png);
}

#facebox .bl {
  background:url(/images/facebox/bl.png);
}

#facebox .br {
  background:url(/images/facebox/br.png);
}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .legend {
  font-size: 20px;
  color: #60A44A;
  padding: 5px;
  background: #E2F7DD;
  margin: -5px;
}

#facebox .legend.small {
	font-size: 15px;
	line-height: 1.1;
}

#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 .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%;
  text-align: left;
  background: #000;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background: #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');
}

/************************ Custom *******************************************/
#facebox .buttons {
  clear: both;
  padding-top: 10px;
}

#facebox textarea {
  width: 355px;
  height: 80px;
  font-size: 12px;
}

#facebox label {
  display: block;
  margin: 10px 0 0 0;
}

#facebox label.sub {
  color: #9e9e9e;
  margin: 5px 0 0 0;
}

#facebox #errorExplanation {
  margin: 10px 0 10px 0;
}

#facebox #errorExplanation ul {
  margin: 3px;
}