/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * Version: 1.3.1 (05/03/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed; 
	top: 35%;
	left: 40%;
	height: 40px;
	width: 40px;
	/*margin-top: -20px;
	margin-left: -20px;*/
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none; 
}

* html #fancybox-loading {	/* IE6 */
	position: absolute;
	margin-top: 0;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	/*width: 660px;
	height: 500px; */
	background-image: url(../layout/gallery/fancy_loading.png); 
}

#fancybox-overlay {
	position: fixed; 
	top: 0; 
	left: 0; 
	bottom: 0;
	right: 0;
	background-color: #ffffff;
	z-index: 1100;
	display: none;/*width:100%!important; height:100%!important;*/
	/*background-image:url(../layout/logo.gif);
	background-position:20px top;
	background-repeat:no-repeat;*/
}

* html #fancybox-overlay {	/* IE6 */
	position: absolute;
	width: 100%; height:100%; 
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
	/*width:660px;
	height:500px;*/ 
}

#fancybox-wrap {
	position: absolute; 
	top: 0; 
	left: 0; 
	bottom: 0;
	right: 0;
	/*margin: 0 0;*/
	/*margin-top:20px;*/
	/*padding: 20px;*/
	z-index: 1101;
	display: none;
	width:100%!important; height:100%!important;
	/*background-image:url(../layout/gallery/top_left_corner.gif);
	background-position:10px 10px;
	background-repeat:no-repeat;*/
	/*background-color:#ffffff;
	opacity:0.1;
	filter:alpha(opacity=10);*/
}

#fancybox-outer {
	position: absolute;  position:relative;
	/*top:0px; 
	left:0px; 
	right:0px;
	bottom:0px;*/ 
	margin:0 auto;
	width: 100%;  width:980px;
	height: 100%; height:980px;
	margin-top:5px; 
	text-align:right;
	/*overflow:hidden;*/
	/*background: #FFF;*/ 
}

#fancybox-inner {
	position: relative;
	/*top: 0;
	left: 0;*/
	width: 1px; width:850px!important;
	height: 1px; height:850px!important;
	padding: 0;
	margin: 0;
	outline: none;
	overflow: hidden; 
}

#fancybox-hide-sel-frame {
	position: relative;
	top: 0;
	left: 0;
	width: 100%; 
	height: 100%; 
	/*background: transparent;*/ 
}

#fancybox-close {
	margin-top: 200px;
	position: absolute;
	top:0px; 
	left:860px;
	/*right:0px;*/
	width: 30px;
	height: 30px;
	background-image: url(../images/close.gif);
	background-position: 0px 0px;
	background-repeat:no-repeat;
	cursor: pointer;
	z-index: 1103;
	display: none;
}
#fancybox-close:hover {
	background-image: url(../images/close_over.gif);
}

#fancybox_error {
	color: #444;
	/*font: normal 12px/20px Arial;*/
	padding: 7px;
	margin: 0;
}

#fancybox-content {
	/*height: auto; 
	width: auto;*/ 
	padding: 0;
	margin: 0;
	width:660px!important;
	text-align:right;
	float:right;
	right:0px; 
}

#fancybox-img {
	/*width: 100%; 
	height: 100%;*/ 
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	right:0px; float:right;
	/*width:660px;
	height:500px;*/
	/*-ms-interpolation-mode: bicubic;*/
}
#fancybox-img img {float:right; right:0px;}
#fancybox-frame {
	/*position: absolute;
	top:0; left:0;*/
	width: 620px; 
	height: 380px; 
	/*border: none;
	display: block;*/
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	right:0px; float:right;
}

#fancybox-title {
	position: absolute; /*position:relative;*/
	/*top:-550; right:0px;*/
	/*left: 700;*/
	top:40px;
	font-family: Arial;
	z-index: 11020; 
	float:left; 
	font-size: 13px;
    color: #000000;
    padding-top: 5px;
    display: block;
    margin-top: 200px;

}

.fancybox-title-inside {
	padding: 10px 0;
	text-align: center;
	color: #333; 
}

.fancybox-title-outside {
	padding-top: 5px;
	color: #FFF;
	text-align: center;
	font-weight: bold;
}

.fancybox-title-over {
	position:absolute;
	/*left:600;*/ top:-500px; left:860px;
	/*margin-top:50px;*/
	/*color: #95938f;
	font-size:11px;*/
	text-align: left;
	z-index:10000; float:left; width:120px!important; 
}
.fancybox-title-over div {
	color:#000000;
	font-size:11px;
	text-align: left;
	margin-top:5px;
	padding-top:5px;
	border-top:5px solid #000000;
}
#title_custom {
	font-size:13px;
	color:#000000;
	padding-top:5px;
	display:block;
}
#fancybox-title-over {
	/*padding: 10px;*/
	/*height:35px;*/
	/*background-image:url(../layout/gallery/fancy_title_over.png);*/
	display: block; 
}

#fancybox-title-wrap {
	display: inline-block;
}

#fancybox-title-wrap span {
	height: 32px;
	float: left;
}

#fancybox-title-left {
	padding-left: 15px;
	background-image: url(../layout/gallery/fancybox.png);
	background-position: -40px -90px;
	background-repeat: no-repeat;
}

#fancybox-title-main {
	font-weight: bold;
	line-height: 29px;
	background-image: url(../layout/gallery/fancybox-x.png);
	background-position: 0px -40px;
	color: #FFF;
}

#fancybox-title-right {
	padding-left: 15px;
	background-image: url(../layout/gallery/fancybox.png);
	background-position: -55px -90px;
	background-repeat: no-repeat; 
}

#fancybox-left, #fancybox-right {
	position: absolute;
	top:850px;
	/*top:0px;*/
	font-size:11px;
	color:#000000;
	height:25px;
	padding-top:6px;
	/*width:100px;*/
	cursor: pointer;
	outline: none;
	background-image: url(../layout/gallery/blank.gif);
	z-index: 1102;
	display: none; 
}
a#fancybox-left, a#fancybox-right  {
	color:#000000;
	text-decoration:none; 
	margin-top: 200px;
}
a#fancybox-left:hover, a#fancybox-right:hover {
	color:#95938f;  
}
#fancybox-left {
	/*left: 300px; top:400px;*/
	left:930px; top: 0px;
	background-image:url(../images/previous.png);
	background-position:10px top;
	background-repeat:no-repeat; 
}
#fancybox-left:hover {
	background-image:url(../images/previous_over.png);
}
#fancybox-right {
	/*right: 0px; top:400px;*/
	/*left:0px;*/
	right:0px; top:0px;
	background-image:url(../images/next.png);
	background-position:10px top;
	background-repeat:no-repeat; 
}
#fancybox-right:hover {
	background-image:url(../images/next_over.png);
}
#fancybox-left-ico, #fancybox-right-ico {
	/*position: relative;*/
	/*right:0px;*/
	/*top:0; left:0px;*/
	/*left: -9999px; left:850px;*/
	/*width: 110px;
	height: 20px;*/
	/*margin-top: -15px;*/
	cursor: pointer;
	z-index: 1102;
	display: block; /*visibility: visible;*/ 
}
#fancybox-left-ico {
	/*position: absolute;*/
	/*left:30px;*/
	/*top:540px;*/
	width:72px; width:25px;
	padding-left:0px;
	/*height:20px;*/
	text-decoration:none;
	/*background-image:url(../layout/gallery/previous.gif);
	background-repeat:no-repeat;
	background-position: left -6px;*/
	float:left; 
}
#fancybox-left-ico:hover {
	/*color:#95938f;*/
	/*background-image:url(../layout/gallery/previous_over.gif);*/
}
#fancybox-right-ico {
	/*position: absolute;*/
	/*left:0px;*/
	/*top:595px;*/
	/*left:-600px;*/
	width:25px;
	/*height:20px;*/
	padding-right:0px;
	/*background-image:url(../layout/gallery/next.png);
	background-repeat:no-repeat;
	background-position: right -6px;*/
	float:left; 
}
/*.sep {
	position:absolute;
	top:858px; left:764px;
	width:1px;
	height:10px;
	background-color:#000000;
	float:left; 
}*/
#fancybox-right-ico:hover {
	/*background-image:url(../layout/gallery/next_over.png);*/
}
/* IE6 */
#fancybox-left:hover {
	/*background-image:url(../layout/gallery/previous_over.png);
	background-position:left bottom;
	background-repeat:no-repeat;
	visibility: visible;*/    
}
/* IE6 */
#fancybox-right:hover {
	/*background-image:url(../layout/gallery/next_over.png);
	background-position:right bottom;
	background-repeat:no-repeat;
	visibility: visible;*/    
}
#fancybox-left:hover span {
	/*left: 20px;*/ 
	/*display:block;*/ 
}


#fancybox-right:hover span {
	/*left: auto;*/
	/*right: 20px;*/
	/*display:block;*/ 
}

.fancy-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001; 
}

#fancy-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	/*background-image: url(../layout/gallery/fancybox-x.png);*/ 
}

#fancy-bg-ne {
	top: -20px;
	right: -20px;
	/*background-image: url(../layout/gallery/fancybox.png);
	background-position: -40px -162px;*/ 
}

#fancy-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	/*background-image: url(../layout/gallery/fancybox-y.png);
	background-position: -20px 0px;*/
}

#fancy-bg-se {
	bottom: -20px;
	right: -20px;
	/*background-image: url(../layout/gallery/fancybox.png);
	background-position: -40px -182px;*/
}

#fancy-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	/*background-image: url(../layout/gallery/fancybox-x.png);
	background-position: 0px -20px;*/
}

#fancy-bg-sw {
	bottom: -20px;
	left: -20px;
	/*background-image: url(../layout/gallery/fancybox.png);
	background-position: -40px -142px;*/
}

#fancy-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	/*background-image: url(../layout/gallery/fancybox-y.png);*/
}

#fancy-bg-nw {
	top: -20px;
	left: -20px;
	/*background-image: url(../layout/gallery/fancybox.png);
	background-position: -40px -122px;*/
}

/* IE */

#fancybox-loading.fancybox-ie div	{ /*background: transparent;*/ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_loading.png'/*, sizingMethod='scale'*/); }
.fancybox-ie #fancybox-close		{ /*background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/layout/gallery/fancy_close.png', sizingMethod='scale');*/ }

.fancybox-ie #fancybox-title-over	{ /*background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_title_over.png', sizingMethod='scale'); zoom: 1;*/ }
.fancybox-ie #fancybox-title-left	{ /*background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_title_left.png', sizingMethod='scale');*/ }
.fancybox-ie #fancybox-title-main	{ /*background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_title_main.png', sizingMethod='scale');*/ }
.fancybox-ie #fancybox-title-right	{ /*background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_title_right.png', sizingMethod='scale');*/ }

.fancybox-ie #fancybox-left-ico		{ /*background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_nav_left.png', sizingMethod='scale');*/ }
.fancybox-ie #fancybox-right-ico	{ /*background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_nav_right.png', sizingMethod='scale');*/ }

.fancybox-ie .fancy-bg {/* background: transparent !important;*/  }

.fancybox-ie #fancy-bg-n	{ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_shadow_n.png', sizingMethod='scale');*/ }
.fancybox-ie #fancy-bg-ne	{ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_shadow_ne.png', sizingMethod='scale');*/ }
.fancybox-ie #fancy-bg-e	{ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_shadow_e.png', sizingMethod='scale');*/ }
.fancybox-ie #fancy-bg-se	{ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_shadow_se.png', sizingMethod='scale');*/ }
.fancybox-ie #fancy-bg-s	{ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_shadow_s.png', sizingMethod='scale');*/ }
.fancybox-ie #fancy-bg-sw	{ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_shadow_sw.png', sizingMethod='scale');*/ }
.fancybox-ie #fancy-bg-w	{ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_shadow_w.png', sizingMethod='scale');*/ }
.fancybox-ie #fancy-bg-nw	{ /*filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../layout/gallery/fancy_shadow_nw.png', sizingMethod='scale');*/ }
