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


#facebox .popup{
  position:relative;
  -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);
}

#facebox .content {
  width: 470px;
  padding: 10px;
  background: #f9f9f9;
  -webkit-box-shadow: inset 2px 2px 15px 0px rgba(0,0,0,0.15);
  -moz-box-shadow: inset 2px 2px 15px 0px rgba(0,0,0,0.15);
  box-shadow: inset 2px 2px 15px 0px rgba(0,0,0,0.15);
  border: 5px solid #f0f0f0;
}

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

#facebox .close{
  position:absolute;
  top:0;
  right:0;
  opacity:1;
}

#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: 99;
}

#facebox .top {
  background: url('logo_facebox.png') no-repeat top center;
  height: 80px;
  border-bottom: 6px solid #e33f20;
  margin-left: -10px;
  margin-right: -10px;
}
#facebox .body {
  padding: 20px;
}
#facebox input[type=text]{
  border: none;
  background-color: #f4f4f4;
  border-top: 1px solid #c3c3c3;
  border-left: 1px solid #e9e9e9;
  border-bottom: 1px solid #f4f4f4;
  border-right: 1px solid #f4f4f4;
  border-radius: 5px;
  font-size: 0.9em;
  padding: 6px 8px;
  width: 100%;
}
#facebox label{
  font-weight: bold;
  font-size: 0.9em;
}

#facebox h3{
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
}

#facebox .no-padding-left{
  padding-left: 0;
}
#facebox .no-padding-right{
  padding-right: 0;
}

#facebox .fields{
  padding-top: 5px;
  padding-bottom: 5px;
}

@media (max-width: 470px){
  #facebox .content {
    width: 300px;
  }
  #facebox h3{
    font-size: 1.1em;
  }
  #facebox .fields{
    padding-top: 1px;
    padding-bottom: 1px;
  }
}