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


#facebox .popup{
  position:relative;
  
  padding: 10px;
  -webkit-border-radius:0px;
  -moz-border-radius:0px;
  border-radius:0px;
  -webkit-box-shadow:0 0 18px rgba(0,0,0,0.4);
  -moz-box-shadow:0 0 18px rgba(0,0,0,0.4);
  box-shadow:0 0 18px rgba(0,0,0,0.4);
  background: url("../images/tab2_bg.png") repeat scroll 0 0 transparent;
 /* overflow: hidden; */
}
#facebox .popup .header{
    background: #333;
    color: #fff;
    padding-left: 15px;
    padding-top: 6px;
    padding-bottom: 4px;
    font-weight: 800;
	height: auto;
}
#facebox .popup .content {
	padding: 10px 15px;
}
#facebox .content {
  display:table;
  /*min-width: 470px;*/
  max-width: 960px;
  padding: 0px;
  background: #e2e2e2;
  -webkit-border-radius:0px;
  -moz-border-radius:0px;
  border-radius:0px;
  border: 1px solid #333;
  box-shadow: none;
}

#facebox .content > p:first-child{
  margin-top:20px;
}
#facebox .content > p:last-child{
  margin-bottom:20px;
}

#facebox .content p {
  line-height: 22px;
  margin-bottom: 5px;
}

#facebox .content p a {
  text-decoration: underline;
}

#facebox .content .inTab .tForm {
  float:left;
  background:#fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border: 1px #CCCCCC double;
  width: 300px;
  color:#565656;
  padding:4px 10px;
  margin-left:10px;
}
#facebox .content .inTab .sForm {
  float:left;
  background:#fff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius:3px;
  border:1px #CCCCCC double;
  width: 300px;
  color:#c2c2c2;
  padding:4px 10px;
  margin-left:10px;
}
#facebox .content .inTab .tForm.captcha { 
  width: 120px;
  margin-left:20px;
  float:right;
}
#facebox .content .inTab select, .main .inTab  select {
  border:0;
  width:190px;
}
#facebox .content .inTab  input, .main .inTab  input {
  border:0;
}

#facebox .close{
  position:absolute;
  top:-20px;
  right:-20px;
  padding:2px;  
}
#facebox .close img{
  /*opacity:0.3;*/
}
#facebox .close:hover img{
  opacity:1.0;
}

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

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

#facebox img {
  border: 0;
  margin: 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: 199;
}