/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/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
 *
 * CUSTOMIZED for Rising Cities
 */

#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('https://risingcities-865.bpsecure.com/css/fancybox.png'); */
}

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1100;
	width: 100%;
	display: none;
}

#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;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 3px;
	box-shadow: 0 0 15px #000;
}

#fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}

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

#fancybox-close {
	display: block !important;
	position: absolute;
	top: -8px;
	right: -8px;
	z-index: 1103;
	width: 32px;
	height: 32px;
	background: url('../../images/page/marketplace_main_icons_opt.png') -1em -32px;
	font-size: 0;
	cursor: pointer;
}

#fancybox-close:hover {
	font-size: 32px;
}

#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;
	top: 50%;
	right: -47px;		/* -width - 6px */
	z-index: 1102;
	height: 90px;
	width: 41px;
	background: transparent url('../../images/page/arrows_opt.png') no-repeat -41px -1em;
	margin-top: -45px;	/* height / 2 */
	outline: none;
	font-size: 0;
	cursor: pointer;
}

#fancybox-left {
	right: auto;
	left: -47px;		/* -width - 6px */
	font-size: 90px;	/* height */
}

#fancybox-left:hover,
#fancybox-right:hover {
	background-position: -123px -1em;
}

#fancybox-left:active,
#fancybox-right:active {
	background-position: 0 -1em;
}

/* #fancybox-left-ico, #fancybox-right-ico { ... */