/************* FACEBOX pop-ups styling *****************/

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

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

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

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

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

#facebox {
  left: 0;
  position: absolute;
  text-align: left;
  top: 0;
  z-index: 1000; /* reduce megnitude by 1 to avoid occluding calendar_select */
}

#facebox .legend {
  background: #E2F7DD;
  color: #60A44A;
  font-size: 20px;
  margin: -5px;
  padding: 5px;
}

#facebox .legend.small {
	font-size: 15px;
	line-height: 1.1;
}

#facebox .popup {position: relative;}

#facebox table {border-collapse: collapse;}

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

#facebox .body {
  background: #fff;
  padding: 0px;
  width: 370px;
  overflow: auto;
}

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

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

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

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

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  overflow: hidden;
  padding: 0;
  width: 10px;
}

#facebox_overlay {
  background: #FFF;
  left: 0px;
  height:100%;
  position: fixed;
  text-align: left;
  top: 0px;
  width:100%;
}

.facebox_hide {z-index:-100;}

.facebox_overlayBG {
  background: #000;
  z-index: 999; /* reduce megnitude by 1 to avoid occluding calendar_select */
}

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

/************************ Custom *******************************************/

/* a nice title bar for all facebox popups */
.facebox_title {
  background:transparent url("/images/facebox/nav_bar_bkg.jpg") repeat-x scroll 0 0;
  color:white;
  font-size:14pt;
  height:34px;
  line-height:34px;
  margin-left:-10px;
  margin-top:-10px;
  padding:0 10px;
  padding-bottom: 10px;
  width:100%;
}

#facebox_content .dialog-message {font-size: 110%; paddding:10px;}

/************************ Fixes jQueryUI integration issues ************************************/
h3.ui-widget-header {text-align: left;}
#facebox_content .ui-widget .ui-widget-content {margin-bottom:0px;}
#facebox_content .ui-form-fields input[type="text"], #facebox_content .ui-form-fields textarea, #facebox_content .ui-form-fields select {width:100%;}


