/* FROM GITHUB - LATEST */

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

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

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

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

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

#facebox {
  position: absolute;
  top: 0;    /*!important */
  left: 0;  /*!important */
  z-index: 100;
   /* width: 100%;  added */ 
  text-align: left; 
}

#facebox .popup {
  position: relative;
  /*top:170px;  added */
   /*   width: 100%;!important added */ 
}

#facebox table {
  border-collapse: collapse; 
   /*   margin:0 auto;  added */  
}

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

#facebox .body {
  padding: 10px 0 0 0;
  background: #F8F3BA;
  width: 320px; 
   /*   margin: 0 auto;  added */ 
}

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

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

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

#facebox .footer {
  border-top: 1px solid #C4C093;
  padding: 5px 0;
  margin: 16px 0 -1px 0;
  text-align: center;
background: #D7D3A1;
}

#facebox .footer img {
  vertical-align: middle;
  margin:0 auto;
} /* GITHUB Fixed the extra spacing under the close image in the facebox footer */

#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 */
	float: left;
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#facebox h1 {margin:0.1em auto -.2em auto;letter-spacing:0.037em; text-align:center;}

#facebox .maincontent {margin-bottom:0;padding: 0 10px; width:430px;}

#facebox p,
#facebox h2,
#facebox h3 {margin-left:0;margin-right:0;}

#facebox a.close {display:block;padding:0;background:#D7D3A1;width:100%;}

/* Video */

#facebox .content {
	margin: 0 10px;
}