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



div#fancy_loading {
position: absolute;
height: 40px;

width: 40px;

cursor: pointer;

display: none;

overflow: hidden;

background: transparent;

z-index: 1000;

}



div#fancy_loading div {

position: absolute;

top: 0;

left: 0;

width: 40px;

height: 480px;

background: transparent url('img/fancy_progress.png') no-repeat;

}



div#fancy_outer {

position: absolute;

top: 0;

left: 0;

z-index: 900;

padding: 20px 20px 40px 20px;

margin: 0;

background: transparent;

display: none;

}



div#fancy_inner {

position: relative;

width:100%;

height:100%;

background: #FFF;

}



div#fancy_content {

margin: 0;

z-index: 1000;

position: absolute;

}



div#fancy_div {

background: #000;

color: #FFF;

height: 100%;

width: 100%;

z-index: 1000;

}



img#fancy_img {

position: absolute;

top: 0;

left: 0;

border:0; 

padding: 0; 

margin: 0;

z-index: 1000;

width: 100%;

height: 100%;

}



div#fancy_close {
position: absolute;
width: 12px;
height: 9px;
/*background: url('img/fancy_closebox.png') top left no-repeat;*/
background: url('img/close.png') 0 0 no-repeat;
cursor: pointer;
z-index: 1810;
display: none; 
/*right: -15px; -22 
top: -12px; 0 		edit fancybox.php! */
}
div#fancy_close:hover {
background: url('img/closeon.png') 0 -0px no-repeat;
}
div#fancy_close:active {
background: url('img/closeclick.png') 0 -0px no-repeat;
}



#fancy_frame {

position: relative;

width: 100%;

height: 100%;

display: none;

}



#fancy_ajax {

width: 100%;

height: 100%;

overflow: auto;

}



a#fancy_left, a#fancy_right {

position: absolute; 

bottom: 0px; 

height: 100%; 

width: 35%; 

cursor: pointer;

z-index: 1110; 

display: none;

background-image: url("data:image/gif;base64,AAAA");

outline: none;

overflow: hidden;

}



a#fancy_left {
left: -20px; 
/*border: red 1px solid;*/
}
a#fancy_right {
right: -20px; 
/*border: red 1px solid;*/
}

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

span#fancy_left_ico {
left: -0px; 
/*left: -9999px;
background: transparent url('img/fancy_left.png') no-repeat;*/
background: transparent url('img/left.png') -0px -0px no-repeat;
}
span#fancy_right_ico {
right: -0px; 
/*right: -9999px;
background: transparent url('img/fancy_right.png') no-repeat;*/
background: transparent url('img/right.png') -0px 0 no-repeat;
}

a#fancy_left:hover, a#fancy_right:hover {
visibility: visible;

}

a#fancy_left:hover span {
/*left: -0px; */
background: transparent url('img/lefton.png') -0px -0px no-repeat;
}
a#fancy_right:hover span {
/*right: -0px; */
background: transparent url('img/righton.png') -0px 0 no-repeat;
}
a#fancy_left:active span {
/*left: -0px; */
background: transparent url('img/leftclick.png') -0px -0px no-repeat;
}
a#fancy_right:active span {
/*right: -0px; */
background: transparent url('img/rightclick.png') -0px 0 no-repeat;
}


#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: 700;

border: 0;

padding: 0;

margin: 0;

}



div.fancy_bg {

position: absolute;

display: block;

z-index: 700;

border: 0;

padding: 0;

margin: 0;

}



div#fancy_bg_n {

top: -20px;

left: 0;

width: 100%;

height: 20px;

background: transparent url('img/fancy_shadow_n.png') repeat-x;

}



div#fancy_bg_ne {

top: -20px;

right: -20px;

width: 20px;

height: 20px;

background: transparent url('img/fancy_shadow_ne.png') no-repeat;

}



div#fancy_bg_e {

right: -20px;

height: 100%;

width: 20px;

background: transparent url('img/fancy_shadow_e.png') repeat-y;

}



div#fancy_bg_se {

bottom: -20px;

right: -20px;

width: 20px;

height: 20px;

background: transparent url('img/fancy_shadow_se.png') no-repeat;

}



div#fancy_bg_s {

bottom: -20px;

left: 0;

width: 100%;

height: 20px;

background: transparent url('img/fancy_shadow_s.png') repeat-x;

}



div#fancy_bg_sw {

bottom: -20px;

left: -20px;

width: 20px;

height: 20px;

background: transparent url('img/fancy_shadow_sw.png') no-repeat;

}



div#fancy_bg_w {

left: -20px;

height: 100%;

width: 20px;

background: transparent url('img/fancy_shadow_w.png') repeat-y;

}



div#fancy_bg_nw {

top: -20px;

left: -20px;

width: 20px;

height: 20px;

background: transparent url('img/fancy_shadow_nw.png') no-repeat;

}



div#fancy_title {
position: absolute;
z-index: 1000;
display: none;
}



div#fancy_title div {
color: #FFF;
font: 12px Arial;
padding-bottom: 3px;
white-space: nowrap;
}

div#fancy_title table {
/*margin: 0 auto;
border: red 1px solid;*/
}

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

td#fancy_title_left {
height: 20px;
width: 0px;
/*background: transparent url('img/fancy_title_left.png') repeat-x;*/
}
td#fancy_title_main {
height: 20px;
/*background: transparent url('img/fancy_title_main.png') repeat-x;*/
}
td#fancy_title_right {
height: 20px;
width: 0px;
/*background: transparent url('img/fancy_title_right.png') repeat-x;*/
}