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


#facebox .popup{
  position:relative;
  border:10px solid #999;
  -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: 370px;
  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{
	display: none;
  position:absolute;
  top:5px;
  right:5px;
  padding:2px;
  background:#fff;
}
#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: 99;
}

#facebox .yellowbox {
	width: 610px;
}

#facebox .wrapper {
	padding: 20px;		
}
#facebox .yellowbox .wrapper h2 {
	margin: 0;	
}

#facebox .yellowbox table {
	width: 100%;	
}
#facebox .yellowbox h2 {
	background: none;
	color: #333;
	padding: 0 0 10px 0;
	margin: 20px;
}
#facebox .yellowbox div.submit {
	text-align: right;
}
#facebox .yellowbox .mandatory {
	margin: 0;	
}
#facebox label .note {
	background: none;
	font-weight: normal;	
	padding: 0;
	border: 0;
	color: #333;
}
#facebox form p {
	padding: 10px;	
}
#facebox .input > p {
	margin: 0 0 0 150px;
}

.yellowbox hr {
	height: 1px;
	color: #CCC;
	background: #CCC;	
	border: 0;
}