div#fancy_overlay {
	position:absolute;
	top: 0;
	left: 0;
	z-index: 490;
	width: 100%;
	background-color: #000;
	}
#fancy_nav{
	position:absolute;
	top:6px;
	right:6px;
	width:119px;
	height:39px;
	background: url(../images/img_gal/fancy/fancy_nav.png) no-repeat 0 0;
	z-index:550;
	}
	.singlefancy #fancy_nav{
		width:35px;
		background-image:url(../images/img_gal/fancy/fancy-nav-single.png);
		}
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: 480px;
	background: transparent url(../images/img_gal/fancy/loader.gif) no-repeat;
}

a#fancy_close {
	position: absolute;
	right: 10px;
	top: 11px;
	height: 27px;
	width: 26px;
	background: transparent url(../images/img_gal/fancy/fancy_close.png) ;
	cursor: pointer;
	z-index: 600;
	display: none;
}
a#fancy_close:hover{
	background-position:0 -27px;
	}
div#fancy_content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0; 
	margin: 0;
	z-index: 396;
}

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

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0; 
	margin: 0;
	z-index: 392;
	border-left:solid 5px #FFF;
	border-right:solid 5px #FFF;
/*	border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    box-shadow: 0px 0px 5px #000;
    -moz-box-shadow: 0px 0px 5px #000;
    -webkit-box-shadow: 0px 0px 5px #000;
*/}


div#fancy_title {
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	z-index: 300;
	display: none;
	text-align:left;
	color:#000;
	font-weight:normal;
	background:#f0f0f0 url(../images/img_gal/photo-grad.html) repeat-x 0 100%;
	padding-bottom:26px;
	border-left:solid 5px #FFF;
	border-right:solid 5px #FFF;
/*	border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -khtml-border-radius: 5px;
    box-shadow: 0px 0px 5px #000;
    -moz-box-shadow: 0px 0px 5px #000;
    -webkit-box-shadow: 0px 0px 5px #000;*/
}

div#fancy_title div {
	color: #000;
	font: normal 12px/1.3 Arial,sans-serif;
	padding-bottom: 2px;
	color:#262626;
	padding:22px 20px 0 20px;
}

#fancy_title .fancy_title_meta,#fancy_title .fancy_title_short{
	font-size:10px;
	color:#848484;
	margin-bottom:15px;
	}
	#fancy_title .fancy_title_short{
		margin-bottom:0;
		margin-top:15px;	
		}
	#fancy_title .fancy_title_meta strong{
		font-weight:normal;
		padding-left:15px;
		background:url(../images/img_gal/fancy_sep.html) no-repeat 0 50%;
		margin-left:12px;
		}
div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 490;
   /*  padding: 18px 18px 193px 18px; */
    padding: 18px;
    margin: 0;
 
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
}
div#fancy_inner1{
	position:relative;
	top:26px;
	 
	}
a#fancy_left, a#fancy_right {
	position: absolute; 
	top: 6px; 
	height: 27px; 
	width: 26px; 
	cursor: pointer;
	background-image: url(../images/img_gal/fancy/fancy_left.png);
	z-index: 400; 
}
 a#fancy_right{
	 background-image: url(../images/img_gal/fancy/fancy_right.png);
	}
a#fancy_left {
	left: 6px; 
}

a#fancy_right {
	right: 55px; 
}

a#fancy_left:hover {
	background-position:0 -27px;
}

a#fancy_right:hover {
	background-position:0 -27px;
}

#fancy_bigIframe, #fancy_freeIframe {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 310;
}

div#fancy_bg,.fancy_bgw{
	display: none;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 370;
}

div.fancy_bg_n {
	top: -20px;
	width: 100%;
	height: 20px;
	left:0;
	background: transparent url(../images/img_gal/fancy/fancy_shadow_n.png) repeat-x;
}

div.fancy_bg_ne {
	top: -17px;
	right: -16px;
	width: 16px;
	height: 17px;
	background: transparent url(../images/img_gal/fancy/fancy_shadow_ne.png) no-repeat;
}

div.fancy_bg_e {
	right: -20px;
	height: 100%;
	width: 20px;
	background: transparent url(../images/img_gal/fancy/fancy_shadow_e.png) repeat-y;
}

div.fancy_bg_se {
	bottom: -16px;
	right: -16px;
	width: 16px;
	height: 16px;
	background: transparent url(../images/img_gal/fancy/fancy_shadow_se.png) no-repeat;
}

div.fancy_bg_s {
	bottom:-20px;
	width: 100%;
	height: 20px;
	left:0;
	background: transparent url(../images/img_gal/fancy/fancy_shadow_s.png) repeat-x;
}

div.fancy_bg_sw {
	bottom:-16px;
	left: -16px;
	width: 16px;
	height: 16px;
	background: transparent url(../images/img_gal/fancy/fancy_shadow_sw.png) no-repeat;
}

div.fancy_bg_w {
	position:absolute;
	left: -20px;
	height: 100%;
	width: 20px;
	background: transparent url(../images/img_gal/fancy/fancy_shadow_w.png) repeat-y;
}

div.fancy_bg_nw {
	top: -17px;
	left: -16px;
	width: 16px;
	height: 17px;
	background: transparent url(../images/img_gal/fancy/fancy_shadow_nw.png) no-repeat;
}
.r_1t { height:1px; background:#FFF; margin-left:5px; margin-right:5px;}
.r_2t { height:1px; background:#FFF; margin-left:3px; margin-right:3px;}
.r_3t { height:1px; background:#FFF; margin-left:2px; margin-right:2px;}
.r_4t { height:1px; background:#FFF; margin-left:1px; margin-right:1px;}
.r_5t { height:1px; background:#FFF; margin-left:1px; margin-right:1px;}

.r_1b { height:1px; background:#FFF; margin-left:1px; margin-right:1px;}
.r_2b { height:1px; background:#FFF; margin-left:1px; margin-right:1px;}
.r_3b { height:1px; background:#FFF; margin-left:2px; margin-right:2px;}
.r_4b { height:1px; background:#FFF; margin-left:3px; margin-right:3px;}
.r_5b { height:1px; background:#FFF; margin-left:5px; margin-right:5px;}

#r_t { position:absolute; top:-5px; left:0; right:-10px; //width:100%;}
#r_b { position:absolute; bottom:-5px; left:0; right:-10px; //width:100%;}
#r_t2 { position:absolute; top:-5px; left:-5px; right:-5px;}
#r_b2 { position:absolute; bottom:0px; //bottom:-5px; left:-5px; right:-5px;}
body div#fancy_title #r_t, 
body div#fancy_title #r_b, 
body div#fancy_title #r_t2, 
body div#fancy_title #r_b2,
body div#fancy_title #r_t div, 
body div#fancy_title #r_b div, 
body div#fancy_title #r_t2 div, 
body div#fancy_title #r_b2 div,
body div#fancy_title #r_t div img, 
body div#fancy_title #r_b div img, 
body div#fancy_title #r_t2 div img, 
body div#fancy_title #r_b2 div img{ padding:0; height:1px;}
