/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 *
 * 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%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}
#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url('fancybox.png');
}
#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	display: none;
	background: #464646 url(../images/bg_stripes.png) repeat;
}
#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}
#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 1101;
	outline: none;
	display: none;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	margin-left: -10px;
}
#fancybox-wrap * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
#fancybox-outer {position: relative; width: 100%; height: 100%; background: #fff; padding: 10px;}
#fancybox-content {
	width: 0;
	height: 0;
	padding: 10px;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0;
}
#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}
#fancybox-close {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 40px;
	height: 40px;
	background: #BA1D1D url('icon_close_white.png') no-repeat center;
	cursor: pointer;
	z-index: 1103;
	display: none;
}
#fancybox-close:hover {background-color: #464646;}
#fancybox-error {color: #444; font: normal 12px/20px Arial; padding: 14px; margin: 0;}
#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}
#fancybox-frame {width: 100%; height: 100%; border: none; display: block;}
#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 20%;
	cursor: pointer;
	outline: none;
	z-index: 1102;
	opacity: 0;
}
#fancybox-left {left: -10px;}
#fancybox-right {right: -10px;}
#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}
#fancybox-left-ico {background: #464646 url(arrow_left.png) no-repeat center;}
#fancybox-right-ico {background: #464646 url(arrow_right.png) no-repeat center;}
#fancybox-left-ico:hover, #fancybox-right-ico:hover {background-color: #707070;}
#fancybox-left:hover, #fancybox-right:hover {opacity: 1;}
#fancybox-left:hover {left: -20px;}
#fancybox-right:hover {right: -20px;}
#fancybox-left:hover span {left: 0px;}
#fancybox-right span {right: 0px;}
.fancybox-bg {display: none;}
#fancybox-title {font-family: inherit; font-size: 12px; z-index: 1102;}
.fancybox-title-inside {
	color: #464646;
	background: #fff;
	position: relative;
}
.fancybox-title-outside {padding-top: 10px; color: #fff;}
.fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	text-align: left;
}
#fancybox-title-over {padding: 10px; background-image: url('fancy_title_over.png'); display: block;}
.fancybox-title-float {position: absolute; left: 0; bottom: -20px;height: 32px;}
#fancybox-title-float-wrap {border: none; border-collapse: collapse; width: auto;}
#fancybox-title-float-wrap td {border: none; white-space: nowrap;}
#fancybox-title-float-left {padding: 0 0 0 15px; background: url('fancybox.png') -40px -90px no-repeat;}
#fancybox-title-float-main {
	color: #fff;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url('fancybox-x.png') 0px -40px;
}
#fancybox-title-float-right {padding: 0 0 0 15px; background: url('fancybox.png') -55px -90px no-repeat;}


/* IE6, IE7, IE8 */
.fancybox-ie .fancybox-bg { background: transparent !important; }