html{
	min-height: 100%;
	}
body{
	}
#facebox .b {
  background:url(/images/template/facebox/b.png);
  background:#000;
}

#facebox .tl {
  background:url(/images/template/facebox/tl.png);
  background:#000;
}

#facebox .tr {
  background:url(/images/template/facebox/tr.png);
  background:#000;
}

#facebox .bl {
  background:url(/images/template/facebox/bl.png);
  background:#000;
}

#facebox .br {
  background:url(/images/template/facebox/br.png);
  background:#000;
}

#facebox {
  position: fixed;
  top: 100px!important;
  left: 0;
  z-index: 112;
  text-align: left;
  /*ie6*/
  _position:absolute;
  _top:15%;
  background:#fff;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  border-collapse: collapse;
}

#facebox td {
  border-bottom: 0;
  padding: 0;
 
}

#facebox .body {
  padding: 10px;
  width: 370px;
}

#facebox .loading {
  text-align: center;
  display:block; 
}
#facebox .loading img{}
#facebox .image {
  text-align: center;
  
}
#facebox .content{background:none;}
#facebox img {
  border: 0;
  margin: 0;
}

#facebox .footer {
  padding-top: 0px;
  margin-top: 0px;
	margin-bottom:0px;
  text-align:right;
}

#facebox a.close{
	height:25px;
	overflow:hidden;
	}


#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');
}

div#modalPopupOverlay 
{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=65)" !important; /* no idea why this needs important */
    filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=65) !important;
    opacity: 0.65; /* webkit */
    -moz-opacity:0.65; /* ff */
    z-index: 110;
    height: 100%;
    width: 100%;
    background-repeat:no-repeat; 
    background-position:center; 
    position:fixed; 
    top: 0px;
    left: 0px;
    display: none;
    background: #000; 
	/*ie 6*/
	 _position: absolute;
  _height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

body > div#modalPopup{
    display: none;
}

#modalPopup{
 	 width: 100%;
     height: 100%;
}
iframe{overflow:auto!important;}

#modalPopup iframe{
		height: 350px!important;
		width:550px!important;
    	overflow:auto!important;
		border:none!important;
		display:block;
	}


