#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 101;
  text-align: left;
    border: 1px solid #39a1cd;
}
#facebox .b,
#facebox .tl,
#facebox .tr,
#facebox .bl,
#facebox .br {
    display: none;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

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

#facebox .body {
  padding: 10px;
  background: #fff;
  min-width: 316px;
  /*width: 370px;*/
  position: relative;
  overflow: hidden;
}

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

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

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

#facebox .header {
    position: relative;
    overflow: hidden;
    width: 16px;
    height: 16px;
    float: right;
}
#facebox .header a{
    display: block;
    position: relative;
    width: 16px;
    height: 16px;
    overflow: hidden;
}
#facebox .header img{
    position: relative;
    left: -52px;
    top: -3px;
    opacity:0.5;
    max-height: 100%;
}

#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%;
  background: #3e6c85;
}

.facebox_hide {
  z-index:-100;
  display: none;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}/*
#facebox .content{
    width: 300px;
    margin: 0 80px;
}*/

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