

/* footer is actually the header due to adjustements on the org. facebox*/
#facebox .fbclose {
    width:22px;
    height:22px;
    display:block;
    right:14px;
    position: absolute;
    float:right;
    background: url(close.png) no-repeat;
    cursor: pointer;
    margin-top: 4px;
    border:1px solid orange;
}

#facebox .fbclose:hover {
    border:1px solid #ff3300;
}


.facebox_header h2 { margin-top:0; color: #666; font-size: 17px;}

.facebox_header {
    padding:17px;
    background: #e0e3ec;
    border-bottom: 2px solid #aaa;
}

.facebox_content {
    padding:17px;
}

#facebox .footer {
  text-align: right;
  height: 22px;
  border-bottom: 0px solid #ccc;
  margin-bottom: 8px;
}


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

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

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

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

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

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

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

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

#facebox .body {
  padding: 00px;
  background: #fff;
  width: 470px;
}






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

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

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



#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');
}
