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


#facebox .popup{
  position:relative;
  border:3px solid rgba(0,0,0,0);
  -webkit-border-radius:5px;
  -moz-border-radius:5px;
  border-radius:5px;
  -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 {
  display:table;
  width: 560px;
  padding: 10px;
  background: #fff;
  -webkit-border-radius:4px;
  -moz-border-radius:4px;
  border-radius:4px;
}

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

#facebox .close{
  position:absolute;
  top:5px;
  right:0px;
  padding:2px;
  background:transparent;
  margin-top:-15px;
    margin-right:-14px;
}
#facebox .close img{
  opacity:0.5;
}
#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: 99;
}
.fieldset {
    background: none repeat scroll 0 0 #3CA4EE;
    border: 2px solid #FF0000;
    margin-top: 20px;
    position: relative;
}
.legend {
    background: none repeat scroll 0 0 #A7BB5C;
    border: 2px solid #FF0000;
    font-weight: bold;
    left: 0.5em;
    padding: 0 0.25em;
    position: absolute;
    top: -0.6em;
}
.nzwh-wrapper .content {
    margin: 1em 0.5em 0.5em;
}
legend.nzwh {    background: none repeat scroll 0 0 #ffffff;    border: 1px solid #A7A7A7;    color: #d0cbcb;    left: 0.5em;    padding: 0 2px;    position: absolute;    top: -0.6em;    width: 40%;    text-align: center;}
fieldset.nzwh {
    background: none repeat scroll 0 0 #ddd;    border: 1px solid #A7A7A7;    margin-top: 15px !important;    position: relative;
}

legend.nzwh { top: -0.88em !important; }


