/*
 * 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(../img/fancybox/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 {
  background-color: #dab250;
  background-image: url("../img/fancybox/orizontallines.png");
  background-repeat: repeat;
  display: none;
  height: 100% !important;
  left: 0 !important;
  outline: medium none;
  padding: 0 !important;
  position: fixed;
  top: 0 !important;
  width: 100% !important;
  z-index: 1101;
}

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

#fancybox-content {
  display: table-cell;
  height: 100% !important;
  margin: 0 auto;
  outline: medium none;
  overflow: hidden;
  padding: 36px 0 100px;
  /*position: relative;*/
  vertical-align: middle;
  width: auto !important;
  z-index: 1102;
}

#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(../img/fancybox/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 {
  border: medium none;
  height: 100%;
  line-height: 0;
  margin: 0;
  max-height: 500px;
  outline: medium none;
  padding: 0;
  vertical-align: top;
  width: auto;
}

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

#fancybox-left, #fancybox-right {
	position: fixed;
	bottom: 0px;
	height: 100%;
	width: 15%;
	cursor: pointer;
	outline: none;
	background: transparent url(../img/fancybox/blank.gif);
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0;
}

#fancybox-right {
	right: 0;
}

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

#fancybox-right-ico {
	position: fixed;
	top: 50%;
	width: 35px;
	height: 54px;
	margin-top: -30px;
	cursor: pointer;
	z-index: 1102;
	display: block;
	right: 15px;
}

#fancybox-left-ico {
	background-image: url(../img/fancybox/arrows.png);
	background-position: 0 0;
}

#fancybox-right-ico {
	background-image: url(../img/fancybox/arrows.png);
	background-position: -36px 0;
}

#fancybox-left:hover #fancybox-left-ico {
	background-position: 0 -60px;
}

#fancybox-right:hover #fancybox-right-ico {
	background-position: -36px -60px;
}



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

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
	display:none;
}

#fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url(../img/fancybox/fancybox-x.png);
}

#fancybox-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url(../img/fancybox/fancybox.png);
	background-position: -40px -162px;
}

#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url(../img/fancybox/fancybox-y.png);
	background-position: -20px 0px;
}

#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url(../img/fancybox/fancybox.png);
	background-position: -40px -182px;
}

#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url(../img/fancybox/fancybox-x.png);
	background-position: 0px -20px;
}

#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url(../img/fancybox/fancybox.png);
	background-position: -40px -142px;
}

#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url(../img/fancybox/fancybox-y.png);
}

#fancybox-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url(../img/fancybox/fancybox.png);
	background-position: -40px -122px;
}

#fancybox-title {
	font-family: Helvetica;
	font-size: 12px;
	/*z-index: 1102;*/
	margin:0 auto !important;
}

.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #624D39;
	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 {
  display: block;
  padding: 10px 10px 10px 15px;
}

#fancybox-title-over.sfondo {
	background-image: none;
	float:left
}


.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(../img/fancybox/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(../img/fancybox/fancybox-x.png) 0px -40px;
}

#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url(../img/fancybox/fancybox.png) -55px -90px no-repeat;
}

/* IE6 */

.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_close.png, sizingMethod='scale'); }

.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_nav_left.png, sizingMethod='scale'); }
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_nav_right.png, sizingMethod='scale'); }

.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_title_over.png, sizingMethod='scale'); zoom: 1; }
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_title_left.png, sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_title_main.png, sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_title_right.png, sizingMethod='scale'); }

.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=../img/fancybox/fancybox/fancy_loading.png, sizingMethod='scale'); }

/* IE6, IE7, IE8 */

.fancybox-ie .fancybox-bg { background: transparent !important; }

.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_shadow_n.png, sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_shadow_ne.png, sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_shadow_e.png, sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_shadow_se.png, sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_shadow_s.png, sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_shadow_sw.png, sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_shadow_w.png, sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src=../img/fancybox/fancybox/fancy_shadow_nw.png, sizingMethod='scale'); }


#fancybox-title .prodotto-dett { height:60px;}
#fancybox-title .prodotto-dett span.prodotto-box {
  color: #dab250;
  float: left;
  margin-right: 20px;
}
#fancybox-title .prodotto-dett span.prodotto-inner {
  color: #dab250;
  float: left;
}
#fancybox-title .prodotto-codice {
  color: #dab250;
}
#fancybox-title .prodotto-codice .cod {
  background-color: #dab250;

}
#fancybox-title .prodotto-codice.nologin,
#fancybox-title .prodotto-dett.nologin span.prodotto-inner,
#fancybox-title .prodotto-dett.nologin span.prodotto-box {
  color: #af322e;
  text-align:center
}
#fancybox-title .prodotto-dett.nologin {
  display: table;
  float: none;
  height: 60px;
  margin: 0 auto;
  width: auto;
}
#fancybox-title .increaseQuantityCartone, #fancybox-title .increaseQuantity, #fancybox-title .decreaseQuantity, #fancybox-title .decreaseQuantityCartone, #fancybox-title a.btn {
  /*background-color: #dab250;
  cursor:pointer*/
}

@media screen and (min-width: 535px) and (max-width: 1024px) {
	#fancybox-title .prodotto-dett { width:100%; height:90px;}
	#fancybox-img {
	  width: 100%;
	  max-height:100%
	}

}
@media screen and (max-width: 992px) {

}

@media screen and (min-width: 0px) and (max-width: 620px) {
	#fancybox-content {
		width:100% !important;
		height:auto !important
	}
	#fancybox-title p.prodotto-desc {
	  text-align: left !important;
	}


}

@media screen and (min-width: 0px) and (max-width: 534px) {
	#fancybox-titl .prodotto-dett { width:100%; height:90px;}
	#fancybox-title .aggiuingi-carrello { width:50%;}


}
