/* CSS Document */

div#pnl_slide {
    min-height: 512px;
	background-color: var(--zm-offwhite);
}

@media only screen and (max-width:991px) {
	div#pnl_slide {
    	min-height: 300px;
	}
}

div#pnl_slide .carousel-caption {
    top: 50% !important;
    transform: translateY(-50%);
}

div#pnl_slide .carousel-inner .carousel-caption h1 {
	margin-bottom: 3rem;
}

div#pnl_slide .carousel-inner .carousel-caption a {
    background: var(--zm-offwhite);
    padding: .9rem 1.4rem;
    text-transform: uppercase;
    font-size: .9rem;
    font-weight: 500;
    color: black;
    margin-top: 3rem;
    display: inline-block;
}

div#pnl_slide .carousel-inner .carousel-caption a:hover {
	text-decoration: none;
	background: var(--zm-brand);
	color: black;
}


section.social-header a:hover {
    text-decoration: none;
	color: var(--zm-brand)
}


div#google-reviews .rContainer {
    transition: .2s all ease;
}

div#google-reviews .rContainer:hover {
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.13);
}

div#google-reviews .boxReview .rContainer p {
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: .8px;
    text-align: center;
}


.instagram_feed_box img {
    filter: brightness(0.8);
	transition: all 0.3s ease;
}

.instagram_feed_box img:hover {
    filter: brightness(1);
	transform: scale(1.01);
}

div#homeshuffle h3.head {
    text-align: center;
    margin-bottom: 2rem;
}


@media only screen and (max-width:991px) {
	.container.body-content {
	   	 padding: 0;
	}
	.instagram_feed_box {
		padding: .2rem !important;
	}
	div#MainContent_ctl00_pnl_instagram .col-12.text-center {
		padding: .2rem !important;
	}
}

/* Partner Loghi */

	@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.carousel-aziende {
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
  position: relative;
}


.carousel-aziende:before,
.carousel-aziende:after {
  position: absolute;
  top: 0;
  width: 10%;
  height: 100%;
  content: "";
  z-index: 2;
}

.carousel-aziende:before {
  left: 0;
      background: linear-gradient(to left, #ffffff00, #ffffff);
}

.carousel-aziende:after {
  right: 0;
  background: linear-gradient(to right, #ffffff00, #ffffff);
}


.carousel-aziende-container {
  display: inline-block;
  animation: 100s slide infinite linear;
}

.carousel-aziende-container.slidetoright {
	animation-direction: reverse;
}

.carousel-aziende-container img {
  height: 112px;
	opacity: .5;
	    margin: 0 1rem;
}

.carousel-aziende-container img:hover {
	opacity: 1;
}

#myCarousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background: linear-gradient(
      to right, 
      rgb(from #000000 r g b / 0.3) 0%, 
      rgb(from #000000 r g b / 0) 50%
    );
    z-index: 1;
}


/* Slider Text Animation */
	
@keyframes slideFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-2rem);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


#pnl_slide .carousel-caption.slide h1 {
	animation: slideFromLeft 1s ease forwards;
}

#pnl_slide .carousel-caption.slide h2,
#pnl_slide .carousel-caption.slide h3,
#pnl_slide .carousel-caption.slide h4,
#pnl_slide .carousel-caption.slide h5,
#pnl_slide .carousel-caption.slide p {
	animation: slideFromLeft 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

#pnl_slide .carousel-caption.slide a {
	animation: slideFromLeft 1s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}