#facebox .b {
  background:url(/facebox/b.png);
}

#facebox .tl {
  background:url(/facebox/tl.png);
}

#facebox .tr {
  background:url(/facebox/tr.png);
}

#facebox .bl {
  background:url(/facebox/bl.png);
}

#facebox .br {
  background:url(/facebox/br.png);
}

#facebox {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6000;
  text-align: left;
  font-size: 12px;
}

#facebox h1{
	font-family: "Helvetica Neue", Verdana, Geneva, sans-serif;
	font-size: 1.8em;
	line-height: 1.2em;
	color: #FFFFFF !important;
	letter-spacing: normal !important;
	font-weight: normal !important;
}

#facebox h2{
	font-family: "Helvetica Neue", Verdana, Geneva, sans-serif;
	font-size: 1.3em;
	line-height: 1.2em;
	color: #FFFFFF !important;
	font-weight: bold;
	padding-top: 5px;
	letter-spacing: normal !important;
}

#facebox h3{
	font-family: "Helvetica Neue", Verdana, Geneva, sans-serif;
	font-size: 1.3em;
	line-height: 1.2em;
	color: #FFFFFF !important;  
  
}

#facebox p{
	font-family: "Helvetica Neue", Verdana, Geneva, sans-serif;
	font-size: 1.3em;
	line-height: 1.2em;
	color: #FFFFFF;  
  
}


#facebox #picture_submit{
	font-size: .9em;
	padding: 0px 2px 2px;
	margin:4px 5px 5px;
	background-color: transparent;
	background-image: url(/facebox/updatebutton.png);
	background-repeat: no-repeat;
	background-position: 0% 0%;
	font-size: .9em;
	color: #ffffff;
	width: 81px;
	border-top-style: none;
	border-right-style-value: none;
	border-right-style-ltr-source: physical;
	border-right-style-rtl-source: physical;
	border-bottom-style: none;
	border-left-style-value: none;
	border-left-style-ltr-source: physical;
	border-left-style-rtl-source: physical;
	height: 27px;
	font-family: "Times New Roman", Times, serif;
	font-weight: bold;
	border-right-style: none;
	border-left-style: none;
	cursor: pointer;
	}
#facebox #gallery_submit{
	font-size: .9em;
	padding: 0px 2px 2px;
	margin:4px 5px 5px;
	background-color: transparent;
	background-image: url(/facebox/updatebutton.png);
	background-repeat: no-repeat;
	background-position: 0% 0%;
	font-size: .9em;
	color: #ffffff;
	width: 81px;
	border-top-style: none;
	border-right-style-value: none;
	border-right-style-ltr-source: physical;
	border-right-style-rtl-source: physical;
	border-bottom-style: none;
	border-left-style-value: none;
	border-left-style-ltr-source: physical;
	border-left-style-rtl-source: physical;
	height: 27px;
	font-family: "Times New Roman", Times, serif;
	font-weight: bold;
	border-right-style: none;
	border-left-style: none;
	cursor: pointer;
	
	
}#facebox .popup {
  position: relative;
}

#facebox .popup {
  position: relative;
}
#facebox table {
  border-collapse: collapse;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  background-color: transparent;
}

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

#facebox .body {
  padding: 10px;
  background: #fff;
  width: auto;
  background-image: none;
  background-color: rgba(32,32,32, 0.8);
}

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

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

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

#facebox .fbfooter {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#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%;
}

.facebox_hide {
  z-index:-100;
}

.facebox_overlayBG {
  background-color: #000;
  z-index: 99;
}

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

#facebox div.popup table tr td .fbcontent {
  background: none !important;
  padding: 10px !important;
  margin-left: auto !important;
  border: none !important;
  width: auto !important;
  height: auto !important;
}
