html, body {
	height: 100%;
}

div#fancy_overlay {
	background-color: #666666;
	display: none;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 30;
}

* html div#fancy_overlay {
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
	position: absolute;
}

div#fancy_wrap {
	text-align: left;
}

div#fancy_loading {
	background: transparent;
	cursor: pointer;
	display: none;
	height: 40px;
	overflow: hidden;
	position: absolute;
	width: 40px;
	z-index: 100;
}

div#fancy_loading div {
	background: transparent url("../images/fancybox/progress.png") no-repeat;
	height: 480px;
	left: 0;
	position: absolute;
	top: 0;
	width: 40px;
}

div#fancy_loading_overlay {
	background-color: #ffffff;
	position: absolute;
	z-index: 30;
}

div#fancy_loading_icon {
	background: url("../images/fancybox/loading.gif") no-repeat;
	height: 16px;
	position: absolute;
	width: 16px;
	z-index: 35;
}

div#fancy_outer {
    background: transparent;
    display: none;
    left: 0;
    margin: 0;
    overflow: hidden;
    padding: 18px 18px 33px 18px;
	position: absolute;
    top: 0;
    z-index: 90;
}

div#fancy_inner {
	background: #ffffff;
	border: 1px solid #bbbbbb;
	height: 100%;
	position: relative;
	width: 100%;
}

div#fancy_content {
	margin: 0;
	position: absolute;
	z-index: 100;
}

div#fancy_div {
	background: #000000;
	color: #ffffff;
	height: 100%;
	width: 100%;
	z-index: 100;
}

img#fancy_img {
	border: 0;
	height: 100%;
	left: 0;
	margin: 0;
	position: absolute;
	top: 0;
	padding: 0; 
	width: 100%;
	z-index: 100;
}

div#fancy_close {
	background: url("../images/fancybox/control-close.png") top left no-repeat;
	cursor: pointer;
	display: none;
	height: 30px;
	position: absolute;
	right: -15px;
	top: -12px;
	width: 30px;
	z-index: 181;
}

#fancy_frame {
	display: none;
	height: 100%;
	position: relative;
	width: 100%;
}

#fancy_ajax {
	height: 100%;
	overflow: auto;
	width: 100%;
}

a#fancy_left, a#fancy_right {
	background-image: url(data:image/gif;base64,AAAA);
	bottom: 0px;
	cursor: pointer;
	display: none;
	height: 100%;
	outline: none;
	position: absolute;
	width: 35%;
	z-index: 111; 
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

span.fancy_ico {
	cursor: pointer;
	display: block;
	height: 30px;
	margin-top: -15px;
	position: absolute;
	top: 50%;
	width: 30px;
	z-index: 112;
}

span#fancy_left_ico {
	left: -9999px;
	background: transparent url("../images/fancybox/control-back.png") no-repeat;
}

span#fancy_right_ico {
	background: transparent url("../images/fancybox/control-forward.png") no-repeat;
	right: -9999px;
}

a#fancy_left:hover {
	visibility: visible;
}

a#fancy_right:hover {
	visibility: visible;
}

a#fancy_left:hover span {
	left: 20px; 
}

a#fancy_right:hover span {
	right: 20px; 
}

.fancy_bigIframe {
	background: transparent;
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

div#fancy_bg {
	border: 0;
	height: 100%;
	left: 0;
	margin: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 70;
	padding: 0;
}
	
div.fancy_bg {
	border: 0;
	display: block;
	margin: 0;
	padding: 0;
	position: absolute;
	z-index: 70;
}

div.fancy_bg_n {
	background: transparent url("../images/fancybox/shadow-n.png") repeat-x;
	height: 18px;
	top: -18px;
	width: 100%;
}

div.fancy_bg_ne {
	background: transparent url("../images/fancybox/shadow-ne.png") no-repeat;
	height: 18px;
	right: -13px;
	top: -18px;
	width: 13px;
}

div.fancy_bg_e {
	background: transparent url("../images/fancybox/shadow-e.png") repeat-y;
	height: 100%;
	right: -13px;
	width: 13px;
}

div.fancy_bg_se {
	background: transparent url("../images/fancybox/shadow-se.png") no-repeat;
	bottom: -18px;
	height: 18px;
	right: -13px;
	width: 13px;
}

div.fancy_bg_s {
	background: transparent url('../images/fancybox/shadow-s.png') repeat-x;
	bottom: -18px;
	width: 100%;
	height: 18px;
}

div.fancy_bg_sw {
	background: transparent url("../images/fancybox/shadow-sw.png") no-repeat;
	bottom: -18px;
	height: 18px;
	left: -13px;
	width: 13px;
}

div.fancy_bg_w {
	background: transparent url("../images/fancybox/shadow-w.png") repeat-y;
	height: 100%;
	left: -13px;
	width: 13px;
}

div.fancy_bg_nw {
	background: transparent url("../images/fancybox/shadow-nw.png") no-repeat;
	height: 18px;
	left: -13px;
	top: -18px;
	width: 13px;
}

div#fancy_title {
	display: none;
	left: 0;
	bottom: -33px;
	position: absolute;
	width: 100%;
	z-index: 100;
}

div#fancy_title div {
	color: #ffffff;
	font: bold 12px "Arial";
	padding-bottom: 3px;
}

div#fancy_title table {
	border: none;
	margin: 0 auto;
}

div#fancy_title table td {
	border: none;
	padding: 0;
	vertical-align: middle;
}

td#fancy_title_left {
	background: transparent url("../images/fancybox/title-start.png") repeat-x;
	border: none;
	height: 32px;
	width: 15px;
}

td#fancy_title_main {
	background: transparent url("../images/fancybox/title-middle.png") repeat-x;
	border: none;
	border: none;
	height: 32px;
}

td#fancy_title_right {
	background: transparent url("../images/fancybox/title-end.png") repeat-x;
	border: none;
	height: 32px;
	width: 15px;
}

