/*
 * 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
 */

#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;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px;
	z-index: 1101;
	outline: none;
	display: none;
	background:#6b6b6b;
	-webkit-box-shadow:0 10px 40px rgba(0,0,0,0.6);
	-o-box-shadow:0 10px 40px rgba(0,0,0,0.6);
	-moz-box-shadow:0 10px 40px rgba(0,0,0,0.6);
	box-shadow:0 10px 40px rgba(0,0,0,0.6);
	border-radius:5px;
}
#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background:none;
	margin-left:-10px;
}
#fancybox-content {
	width: 0;
	height: 0;
	padding: 0 20px 0 20px;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: none;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url('fancybox.png') -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#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: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url('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-ico {
	background-image: url('fancybox.png');
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url('fancybox.png');
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible; /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}


/*#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 */
#modalPopup{display:none;}
#modalContent p{font-family:arial;color:#fff;font-size:11pt;}
#modalContent{text-align:center;padding-bottom:20px;}
#modalContent p:first-child{text-align:left;padding-bottom:10px;line-height:16pt;}
#modalContent a{
text-decoration:none;
margin:0 15px 0 15px;
padding:4px 10px 5px 10px;
font-weight:bold;
font-size:9pt;
color:#fff;
display:inline-block;
border-radius:5px;
border:1px solid #bb0000;
border-top-color:#cc6666;
border-bottom-color:#990000;
text-shadow:0 -1px 0 rgb(100,0,0);
background-color:#c00;
-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow:0 1px 3px rgba(0,0,0,0.5);
box-shadow:0 1px 3px rgba(0,0,0,0.5);
background-image: linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -o-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -moz-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -webkit-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -ms-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
}
#modalContent a:hover{
color:#eee;
background-image:none;
background-color:#444;
-webkit-box-shadow:none;
-moz-box-box-shadow:none;
box-shadow:none;
text-shadow:none;
border-color:#666;
border-top-color:#222;
border-bottom-color:#888;
cursor:pointer;
}

#modalPopupLightBox{display:none;}
#modalContentLightBox p{font-family:arial;color:#fff;font-size:11pt;}
#modalContentLightBox{text-align:center;padding-bottom:20px;}
#modalContentLightBox p:first-child{text-align:left;padding-bottom:10px;line-height:16pt;}
#modalContentLightBox a{
text-decoration:none;
margin:0 15px 0 15px;
padding:4px 10px 5px 10px;
font-weight:bold;
font-size:9pt;
color:#fff;
display:inline-block;
border-radius:5px;
border:1px solid #bb0000;
border-top-color:#cc6666;
border-bottom-color:#990000;
text-shadow:0 -1px 0 rgb(100,0,0);
background-color:#c00;
-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow:0 1px 3px rgba(0,0,0,0.5);
box-shadow:0 1px 3px rgba(0,0,0,0.5);
background-image: linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -o-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -moz-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -webkit-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -ms-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
}
#modalContentLightBox a:hover{
color:#eee;
background-image:none;
background-color:#444;
-webkit-box-shadow:none;
-moz-box-box-shadow:none;
box-shadow:none;
text-shadow:none;
border-color:#666;
border-top-color:#222;
border-bottom-color:#888;
cursor:pointer;
}

#modalPopupReplaceProduct{display:none;}
#modalContentReplaceProduct p{font-family:arial;color:#fff;font-size:10pt;text-align:left;}
#modalContentReplaceProduct{text-align:center;padding-bottom:20px;}
#modalContentReplaceProduct p:first-child{text-align:left;padding-bottom:10px;line-height:16pt;}
#modalContentReplaceProduct a{
text-decoration:none;
margin:0 15px 0 15px;
padding:4px 10px 5px 10px;
font-weight:bold;
font-size:9pt;
color:#fff;
display:inline-block;
border-radius:5px;
border:1px solid #bb0000;
border-top-color:#cc6666;
border-bottom-color:#990000;
text-shadow:0 -1px 0 rgb(100,0,0);
background-color:#c00;
-webkit-box-shadow:0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow:0 1px 3px rgba(0,0,0,0.5);
box-shadow:0 1px 3px rgba(0,0,0,0.5);
background-image: linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -o-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -moz-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -webkit-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
background-image: -ms-linear-gradient(bottom, rgb(204,0,0) 20%, rgb(255,89,89) 80%);
}
#modalContentReplaceProduct a:hover{
color:#eee;
background-image:none;
background-color:#444;
-webkit-box-shadow:none;
-moz-box-box-shadow:none;
box-shadow:none;
text-shadow:none;
border-color:#666;
border-top-color:#222;
border-bottom-color:#888;
cursor:pointer;
}
