html, body {height: 100%;}

div#fancy_overlay {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background-color: #000000;display: none;z-index: 350;}
* html div#fancy_overlay {position: absolute;height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');}
div#fancy_wrap {text-align: left;}
div#fancy_loading {position: absolute;height: 40px;width: 40px;cursor: pointer;display: none;overflow: hidden;background: transparent;z-index: 500;}

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

div#fancy_loading_overlay {position: absolute;background-color: #292929;z-index: 350;}

div#fancy_loading_icon {position: absolute;background: url(../images/fancybox/fancy_loading.png) no-repeat;z-index: 500;width: 16px;height: 16px;}

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

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

div#fancy_content, div#coloured_bg {margin: 0;z-index: 500;position: absolute;}

div#coloured_bg {background: #292929;}

div#fancy_div {background: #000;color: #FFF;height: 100%;width: 100%;z-index: 400;}

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

div#fancy_close {background:transparent url(../images/fancybox/close.gif) no-repeat scroll left top;cursor:pointer;display:none;height:14px;position:absolute;top:8px;right:5px;width:15px;}
div#fancy_close:hover,
div#fancy_close.hover {background-position:0 -14px;}

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

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

a#fancy_left, a#fancy_right {position: absolute; bottom: 0px; height: 100%; width: 35%; cursor: pointer;z-index: 550; display: none;outline: none;}

a#fancy_left {left: 0;}

a#fancy_right {right: 0;}

span.fancy_ico {position: absolute; top: 50%;margin-top: -12px;width: 22px;height: 24px;z-index: 555; cursor: pointer;display: block;}

a#fancy_right:hover span,
a#fancy_left:hover span {background-position:0 -24px;}

span#fancy_left_ico {left: 20px;background: transparent url(../images/fancybox/prev.png) no-repeat;}

span#fancy_right_ico {right: 20px;background: transparent url(../images/fancybox/next.png) no-repeat;}

a#fancy_left {  visibility: visible;}

a#fancy_right {  visibility: visible;}

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

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

div.fancy_bg {
position: absolute;
display: block;
z-index: 400;
border: 0;
padding: 0;
margin: 0;
}

div.fancy_bg_n {
top: -15px;
width: 100%;
height: 15px;
background-color:#c9c9c9;
}

div.fancy_bg_ne {
top: -15px;
right: -15px;
width: 15px;
height: 15px;
background: transparent url(../images/fancybox/corner_ne.png) no-repeat 0 0;
}

div.fancy_bg_e {
right: -15px;
height: 100%;
width: 15px;
background-color:#c9c9c9;
}

div.fancy_bg_se {
top:-1px;
right: -15px;
width: 15px;
height: 35px;
text-indent:-9999px;
background: transparent url(../images/fancybox/corner_se.png) no-repeat 0 0;
}

div.fancy_bg_s {
width: 100%;
height: 35px;
background-color:#c9c9c9;
text-align:center;
}

div.fancy_bg_sw {

left: -15px;
width: 15px;
height: 35px;
text-indent:-9999px;
background: transparent url(../images/fancybox/corner_sw.png) no-repeat 0 0;
}

div.fancy_bg_w {
left: -15px;
height: 100%;
width: 15px;
background-color:#c9c9c9;
}

div.fancy_bg_nw {
top: -15px;
left: -15px;
width: 15px;
height: 15px;
background: transparent url(../images/fancybox/corner_nw.png) no-repeat 0 0;
}

div#fancy_title {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
z-index: 500;
}

div#fancy_title div p{
color: #000;
font: bold 12px Arial;
padding-top:8px;
}

div#fancy_title table {
margin: 0 auto;
}

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

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

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

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