/* 
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  -webkit-animation-duration: 2000ms;
  animation-duration: 2000ms;
  -webkit-animation-fill-mode: none;
  animation-fill-mode: none;
}
.owl-carousel .owl-animated-in {
  z-index: 0;
}
.owl-carousel .owl-animated-out {
  z-index: 1;
}
.owl-carousel .fadeOut {
  -webkit-animation-name: fadeOut;
  animation-name: fadeOut;
}


@-webkit-keyframes fadeOut {
	0% {
		/*transform: scale(1.0);*/
		opacity: 1;
	}
	/*40%{
		opacity: 1;
	}
	70%{
		transform: scale(1.02);
	}*/
	100% {
		opacity: 0;
	}
}
@keyframes fadeOut {
	0% {
		/*transform: scale(1.0);*/
		opacity: 1;
	}
	/*40%{
		opacity: 1;
	}
	70%{
		transform: scale(1.02);
	}*/
	100% {
		opacity: 0;
	}
}


@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}
@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}
@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}


/*.owl-carousel .zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

@-webkit-keyframes zoomIn {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.2);
  }
}
@keyframes zoomIn {
  0% {
    transform: scale(1.0);
  }

  100% {
    transform: scale(1.2);
  }
}*/

/* 
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}

/* 
 *  Core Owl Carousel CSS File
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 0;
}

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
	height: 300px !important
}
.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-controls .owl-nav .owl-prev,
.owl-carousel .owl-controls .owl-nav .owl-next,
.owl-carousel .owl-controls .owl-dot {
  cursor: pointer;
  cursor: hand;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel.owl-loaded {
  display: block;
}
.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}
.owl-carousel.owl-hidden {
  opacity: 0;
}
.owl-carousel .owl-refresh .owl-item {
  display: none;
}
.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  -webkit-transform-style: preserve-3d;
}
.owl-carousel.owl-text-select-on .owl-item {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}
.owl-carousel .owl-grab {
  cursor: move;
  cursor: -webkit-grab;
  cursor: -o-grab;
  cursor: -ms-grab;
  cursor: grab;
}
.owl-carousel.owl-rtl {
  direction: rtl;
}
.owl-carousel.owl-rtl .owl-item {
  float: right;
}

/* No Js */
.no-js .owl-carousel {
  display: block;
}

/* 
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  -webkit-transition: opacity 400ms ease;
  -moz-transition: opacity 400ms ease;
  -ms-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-item img {
  transform-style: preserve-3d;
}

/* 
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}
.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transition: scale 100ms ease;
  -moz-transition: scale 100ms ease;
  -ms-transition: scale 100ms ease;
  -o-transition: scale 100ms ease;
  transition: scale 100ms ease;
}
.owl-carousel .owl-video-play-icon:hover {
  -webkit-transition: scale(1.3, 1.3);
  -moz-transition: scale(1.3, 1.3);
  -ms-transition: scale(1.3, 1.3);
  -o-transition: scale(1.3, 1.3);
  transition: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}
.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
  -webkit-transition: opacity 400ms ease;
  -moz-transition: opacity 400ms ease;
  -ms-transition: opacity 400ms ease;
  -o-transition: opacity 400ms ease;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
}


/*personalizzazione*/
.owl-carousel{width:100%; display:block; position:relative; margin:auto;}
	.owl-item{ width:100%; display:block;}
.item{width:100%; overflow:hidden;height: 300px !important}
/*slider testata*/	
	.immagine{background-position:bottom center; background-repeat:no-repeat; background-size:cover; width:100%; display:block; height:100%;}
	
	#testata-slider .owl-controls{ position:absolute; bottom:0; left:50%; width:50%;}
#testata-slider .owl-prev,#testata-slider .owl-next{position:relative; margin:auto; color:#FFFFFF; /*background-color:rgba(0,0,0,0.6);*/ width:90px; height:90px; float:left; text-align:center;}
	#testata-slider .owl-prev i.fa-3x,#testata-slider .owl-next i.fa-3x{font-size:5.2rem; line-height:90px;}

	#testata-slider .item{overflow:hidden;} 


#testata-slider  .active .immagine, .owl-carousel .fadeOut .active .immagine{ 
/*
-webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;*/
  
/*transform: scale(1.1);*/}
#testata-slider  .immagine{ /*transition: transform  5s linear;*/}

/*slider offerte*/
.carousel-offerte .owl-controls{ position:absolute; bottom:0; right:0; width:auto;z-index:100 !important;}
.carousel-offerte .owl-prev,.carousel-offerte .owl-next{position:relative; margin:auto; color:#5d4037;  width:60px; height:60px; float:left; text-align:center;z-index:100 !important; cursor:pointer;}

.carousel-offerte .owl-prev i.fa-3x,.carousel-offerte .owl-next i.fa-3x{font-size:1.8rem; line-height:60px;}

/*dettaglio offerte - slider camera*/
.tab-camera-accordion-dett-img .owl-controls{ position:absolute; bottom:0; left:50%; transform:translateX(-50%); width:auto;z-index:100 !important;}
.tab-camera-accordion-dett-img .owl-prev,.tab-camera-accordion-dett-img .owl-next{position:relative; margin:auto; color:#5d4037;  width:60px; height:60px; float:left; text-align:center;z-index:100 !important; cursor:pointer;}
.tab-camera-accordion-dett-img .owl-prev i.fa-3x,.tab-camera-accordion-dett-img .owl-next i.fa-3x{font-size:1.8rem; line-height:60px;}
