/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Copyright (c) 20010 Janis Skarnelis
 * Examples and documentation at: http://fancybox.net
 *
 * Version: 1.3.0 (02/02/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: 50%;
	left: 50%;
	height: 40px;
	width: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	background: transparent;
	z-index: 1104;
	display: none;
}

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

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

#fancybox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	z-index: 1100;
	display: none;
}

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

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 20px;
	z-index: 1101;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #FFF;
}

#fancybox-inner {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: 0;
	outline: none;
	overflow: hidden;
}

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

#fancybox_error {
	color: #444;
	font: normal 12px/20px Arial;
}

#fancybox-content {
	height: auto;
	width: auto;
	padding: 0;
	margin: 0;
}

#fancybox-img {
	/* 05.2013 */
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}

#fancybox-frame {
	position: relative;
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-title {
	position: absolute;
	bottom: 0;
	left: 0;
	font-family: Arial;
	font-size: 12px;
	z-index: 1102; padding-top:0px; padding-bottom:0px;
}

.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 {
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background: url('images/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: transparent url('images/fancy_title_left.png') repeat-x;
}

#fancybox-title-main {
	font-weight: bold;
	line-height: 29px;
	background: transparent url('images/fancy_title_main.png') repeat-x;
	color: #FFF;
}

#fancybox-title-right {
	padding-left: 15px;
	background: transparent url('images/fancy_title_right.png') repeat-x;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background-image: url('images/blank.gif');
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}


#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible;    /* IE6 */
}

#fancybox-left:hover span {
	left: 15px;
}

#fancybox-right:hover span {
	left: auto;
	right: 10px;
}

div.fancy-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	z-index: 1001;
}

/** Вид рамки**/

/*fansy_1*/
div.fancy1 div#fancy-bg-n {width: 100%; height: 20px; left: 0px; top: -20px;  background: repeat-x bottom url('images/fancy_shadow_n.png') ;}
div.fancy1 div#fancy-bg-ne {width: 20px; height: 20px; right: -20px; top: -20px;  background: no-repeat left bottom url(images/fancy_shadow_ne.png);}
div.fancy1 div#fancy-bg-e  {width: 20px; height: 100%; right: -20px; top: 0px;  background: repeat-y left url('images/fancy_shadow_e.png') ;}
div.fancy1 div#fancy-bg-se {width: 20px; height: 20px; right: -20px; bottom: -20px;  background: no-repeat top left url('images/fancy_shadow_se.png');}
div.fancy1 div#fancy-bg-s {width: 100%; height: 20px; left: 0px; bottom: -20px;	background: repeat-x url('images/fancy_shadow_s.png');}
div.fancy1 div#fancy-bg-sw  {width: 20px; height: 20px; left: -20px; bottom: -20px; 	background: no-repeat url('images/fancy_shadow_sw.png');}
div.fancy1 div#fancy-bg-w {width: 20px; height: 100%; left: -20px; top: 0px; background: repeat-y url('images/fancy_shadow_w.png');}
div.fancy1 div#fancy-bg-nw {width: 20px; height: 20px; left: -20px; top: -20px; background: transparent url('images/fancy_shadow_nw.png') no-repeat;}
div.fancy1 #fancybox-close {width: 68px; height: 15px; position: absolute; right: 20px; bottom: 30px; background:no-repeat left top url(images/fancy_closebox2.png);
	cursor: pointer; z-index: 1103; }
div.fancy1 #fancybox-close:hover { background:no-repeat left top url(images/fancy_closebox2a.png); }
div#fancy_1 { padding:5px 0px 5px 0px; }
#fancy_1  .fancy_img_name {padding:2px 0px 40px 1px; color:#000000; font-weight:bold; text-align:left;}	
div#fancy_1 div.fancy_num{width:40px; height:15px; bottom:25px; position:absolute; left:5px; font-size:12px; color:#939598;}
div#fancy_1 div.fancy_nav{width:114px; height:21px; position:absolute; left:50%; bottom:10px; margin-left:-57px; padding-top:6px;z-index:120;}
div#fancy_1 div.fancy_nav .fancy_left { float: left; padding-left:10px; font-size:11px; background:transparent url(images/back.gif) no-repeat scroll left 5px;}
div#fancy_1 div.fancy_nav .fancy_right { float: right; padding-right:10px; font-size:11px; background:transparent url(images/more.gif) no-repeat scroll right 5px;}
div#fancy_1 div.fancy_nav a {color:#000000;}
div#fancy_1 div.fancy_nav span {color:#939598;}



/*fansy_2*/
div.fancy2 div#fancy-bg-n {width: 100%; height: 10px; left: 0px; top: -10px;  background: #fff;}
div.fancy2 div#fancy-bg-ne {width: 10px; height: 10px; right: -10px; top: -10px;  background: no-repeat left bottom url(images/f2_rc2.png); }
div.fancy2 div#fancy-bg-e  {width: 10px; height: 100%; right: -10px; top: 0px;  background: #fff;}
div.fancy2 div#fancy-bg-se {width: 10px; height: 10px; bottom: -10px; right: -10px;  background: no-repeat left top url(images/f2_rc4.png); }
div.fancy2 div#fancy-bg-s {width: 100%; left: 0px; bottom: -10px; height: 10px;  background: #fff;}
div.fancy2 div#fancy-bg-sw  {width: 10px; height: 10px; left: -10px; bottom: -10px;  background: no-repeat right top url(images/f2_rc3.png);}
div.fancy2 div#fancy-bg-w {width: 10px; height: 100%; left: -10px; top: 0px;  background: #fff;}	
div.fancy2 div#fancy-bg-nw {width: 10px; height: 10px; left: -10px; top: -10px;background: no-repeat right bottom url(images/f2_rc1.png);}
div.fancy2 #fancybox-close {width:28px; height:28px; position:absolute; right:-22px; top:-22px;  background:no-repeat 0px 0px  url(images/fancy2_close.png); 
	cursor: pointer; z-index: 1103;}
#fancy_2 {width:100%; text-align:left; position:relative; min-height:20px;}
#fancy_2  .fancy_num { color:#707070;  text-align:center;  position:relative;  padding-top:5px; }		
#fancy_2  .fancy_img_name {
    padding:11px 0px 2px 1px;
    color:#000000;
    font-weight:bold;
    text-align: center;
}
.fancy_img_name {margin-left:10px; margin-right:10px;}

a.fancy2_left {display:block; width:17px; height:12px; position:absolute; left:50%; bottom:2px; margin-left:-87px; background:no-repeat left top url(images/fancy2_left.png); }
span.fancy2_left_s {display:block; width:17px; height:12px; position:absolute; left:50%; bottom:2px; margin-left:-87px; background:no-repeat left top url(images/fancy2_left_s.png);}

a.fancy2_right {display:block; width:17px; height:12px; position:absolute; left:50%; bottom:1px; margin-left:70px; background:no-repeat left top url(images/fancy2_right.png); }
span.fancy2_right_s {display:block; width:17px; height:12px; position:absolute; left:50%;bottom:1px; margin-left:70px; background:no-repeat left top url(images/fancy2_right_s.png);}

.fancy2 #fancybox-left-ico {
	background: transparent url('images/fancy_nav_left.png') no-repeat;
}

.fancy2 #fancybox-right-ico {
	background: transparent url('images/fancy_nav_right.png') no-repeat;
}


/* 05.2013 */
#fancybox-inner {border:1px solid #92abb9; left:2px !important;}


#fancybox-wrap {min-width:242px !important;}
#fancybox-outer{min-width:242px !important;}
#fancybox-inner,  #fancybox-title, #fancy_2   { min-width:236px !important; text-align: center;}

.fancy_img_name {margin-left:72px; margin-right:72px;}
/* /05.2013 */




/*fansy_2_emp*/
div.fansy_2_emp div#fancy-bg-n {width: 100%; height: 10px; left: 0px; top: -10px;  background: #fff;}
div.fansy_2_emp div#fancy-bg-ne {width: 10px; height: 10px; right: -10px; top: -10px;  background: no-repeat left bottom url(images/f2_rc2.png); }
div.fansy_2_emp div#fancy-bg-e  {width: 10px; height: 100%; right: -10px; top: 0px;  background: #fff;}
div.fansy_2_emp div#fancy-bg-se {width: 10px; height: 10px; bottom: -10px; right: -10px;  background: no-repeat left top url(images/f2_rc4.png); }
div.fansy_2_emp div#fancy-bg-s {width: 100%; left: 0px; bottom: -10px; height: 10px;  background: #fff;}
div.fansy_2_emp div#fancy-bg-sw  {width: 10px; height: 10px; left: -10px; bottom: -10px;  background: no-repeat right top url(images/f2_rc3.png);}
div.fansy_2_emp div#fancy-bg-w {width: 10px; height: 100%; left: -10px; top: 0px;  background: #fff;}	
div.fansy_2_emp div#fancy-bg-nw {width: 10px; height: 10px; left: -10px; top: -10px;background: no-repeat right bottom url(images/f2_rc1.png);}
div.fansy_2_emp #fancybox-close {width:28px; height:28px; position:absolute; right:-22px; top:-22px;  background:no-repeat 0px 0px  url(images/fancy2_close.png); 
	cursor: pointer; z-index: 1103;}
div.fansy_2_emp  #fancy_2 {width:100%; text-align:left; position:relative; }	





/*fansy_wind*/
div.fansy_wind div#fancy-bg-n {width: 100%; height: 10px; left: 0px; top: -10px;  background: #fff;}
div.fansy_wind div#fancy-bg-ne {width: 10px; height: 10px; right: -10px; top: -10px;  background: no-repeat left bottom url(images/f2_rc2.png); }
div.fansy_wind div#fancy-bg-e  {width: 10px; height: 100%; right: -10px; top: 0px;  background: #fff;}
div.fansy_wind div#fancy-bg-se {width: 10px; height: 10px; bottom: -10px; right: -10px;  background: no-repeat left top url(images/f2_rc4.png); }
div.fansy_wind div#fancy-bg-s {width: 100%; left: 0px; bottom: -10px; height: 10px;  background: #fff;}
div.fansy_wind div#fancy-bg-sw  {width: 10px; height: 10px; left: -10px; bottom: -10px;  background: no-repeat right top url(images/f2_rc3.png);}
div.fansy_wind div#fancy-bg-w {width: 10px; height: 100%; left: -10px; top: 0px;  background: #fff;}	
div.fansy_wind div#fancy-bg-nw {width: 10px; height: 10px; left: -10px; top: -10px;background: no-repeat right bottom url(images/f2_rc1.png);}
div.fansy_wind #fancybox-close {width:28px; height:28px; position:absolute; right:-22px; top:-22px;  background:no-repeat 0px 0px  url(images/fancy2_close.png); 
	cursor: pointer; z-index: 1103;}



/** / Вид рамки**/







