
/*
 * 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
 */

/*--------------------------------------------------*/
/* Loading 						                    */

	#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('/a/img/global/fancybox/loading.png');
		}

/*--------------------------------------------------*/
/* Setup						                    */

	#fancybox-overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 1100;
		display: none;
	}

	#fancybox-tmp {
		padding: 0;
		margin: 0;
		border: 0;
		overflow: auto;
		display: none;
	}

	#fancybox-hide-sel-frame {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: transparent;
		z-index: 1101;
	}

		#fancybox-error {
			color: #444;
			font: normal 12px/20px Arial;
			padding: 14px;
			margin: 0;
		}

	.fancybox-bg {
		position: absolute;
		padding: 0;
		margin: 0;
		border: 0;
		width: 20px;
		height: 20px;
		z-index: 1001;
	}

/*--------------------------------------------------*/
/* Wrap							                    */

	#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: 1px solid #ccc;
			-webkit-box-shadow: 0 0 5px #666;
			box-shadow: 0 0 5px #666;
		}
		
			#fancybox-close {
				position: absolute;
				top: 6px;
				right: 6px;
				width: 20px;
				height: 20px;
				background-image: url("/a/img/global/fancybox/controls.gif");
				background-position: 0 -400px;
				cursor: pointer;
				z-index: 1103;
				display: none;
			}

				#fancybox-close:hover,
				#fancybox-close:focus {
					background-position: 0px -500px;
				}

		/*--------------------------------------------------*/
		/* Content						                    */

			#fancybox-content {
				width: 0;
				height: 0;
				padding: 0;
				outline: none;
				position: relative;
				overflow: hidden;
				z-index: 1102;
			}

				#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;
				}

			/*--------------------------------------------------*/
			/* Gallery Controls				                    */

				#fancybox-left,
				#fancybox-right {
					position: absolute;
					bottom: 0px;
					height: 100%;
					width: 35%;
					cursor: pointer;
					outline: none;
					background: url('/a/img/global/fancybox/blank.gif');
					z-index: 1102;
					display: none;
				}

					#fancybox-left {
						left: 5px;
					}

					#fancybox-right {
						right: 5px;
					}

					#fancybox-left-ico,
					#fancybox-right-ico {
						background-image: url("/a/img/global/fancybox/controls.png") !important;
						background-image: url("/a/img/global/fancybox/controls.gif");
						position: absolute;
						top: 50%;
						left: -9999px;
						width: 26px;
						height: 26px;
						margin-top: -15px;
						cursor: pointer;
						z-index: 1102;
						display: block;
					}

						#fancybox-left-ico {
							background-position: 0 0;
							left: 0;
						}

							#fancybox-left-ico:hover {
								background-position: 0 -100px;
							}

						#fancybox-right-ico {
							background-position: 0 -200px;
							left: auto;
							right: 0;
						}

							#fancybox-right-ico:hover {
								background-position: 0 -300px;
							}

		/*--------------------------------------------------*/
		/* Title						                    */

			#fancybox-title {
				z-index: 1102;
			}

			.fancybox-title-float {
				position: absolute;
				left: 0;
				bottom: 30px;
				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 13px;
							background: url("/a/img/global/fancybox/title.png") no-repeat 0 0;
						}

						#fancybox-title-float-main {
							background: url("/a/img/global/fancybox/title.png") no-repeat 0 -400px;
							font: bold 1.2em/1em Arial;
							padding: 7px 0;
							color: #000;
						}

						#fancybox-title-float-right {
							padding: 0 0 0 13px;
							background: url("/a/img/global/fancybox/title.png") no-repeat 100% -200px;
						}

	/*--------------------------------------------------*/
	/* Internet explorer fixes		                    */

		.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
			height: expression(this.parentNode.clientHeight + "px");
		}

		#fancybox-loading.fancybox-ie6 {
			position: absolute; margin-top: 0;
			top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
		}

		#fancybox-loading.fancybox-ie6 div	{
			background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale');
		}
		
		.fancybox-ie .fancybox-bg {
			background: transparent !important;
		}