/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Hanlding Updates
-----------------------------------------------------------------*/
/* Style Header */
#footer{
  margin-top: 0!important;
}
#header{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  max-height:100%;
}
@media (max-width: 991px){
  #header{
    overflow-y: scroll;
  }
  #header::-webkit-scrollbar-track{
    display: none;
  }

  #header::-webkit-scrollbar{
    display: none;
  }

  #header::-webkit-scrollbar-thumb{
    display: none;
  }
}


	@media (min-width: 992px){
		#header{
			background-color: rgba(255,255,255,0.8);
		}
	}

  .container-header-personalised{
    position: relative;
    margin-right: auto;
    margin-left: auto;
  }
  @media (min-width: 1350px) {
  	.container-header-personalised {
  		width: 1170px;
  	}
  }
  #header.sticky-header:not(.static-sticky), #header.sticky-header:not(.static-sticky) #header-wrap, #header.sticky-header:not(.static-sticky):not(.sticky-style-2):not(.sticky-style-3) #logo img{
    max-height: 60px !important;
  }

/* Style Home */
	/* Ore apertura */
		.counterHomeTime{
			display: inline-block;
			font: inherit;
		}

/* Style Chi Siamo */
  /* Loghi fornitori */
    .clients-grid > li .coloredSupplierLogo{
      display: none;
      opacity: 0;
    }
    .clients-grid > li .BWSupplierLogo{
      opacity: 0.6;
    }
    .clients-grid > li:hover .BWSupplierLogo{
      display: none;
      opacity: 0
    }
    .clients-grid > li:hover .coloredSupplierLogo{
      display: block;
      opacity: 1;
    }

/* Style Contatti */
	/* Form */
		#formBigResult{
			display: none;
			position: absolute;
			z-index: 4;
			width: 100%;
			height: 100%;
			background: rgba(255,255,255,.7)
		}
    .sm-form-control{
      border-radius: 5px !important;
      background: #f2f2f2;
    }
	/*  Orari */
		.orariContact{
			text-align: left;
			border-bottom: 1px solid #E5E5E5;
			padding: 0 0.5em;
		}
		.orariContact > span{
			float: right;
		}

/* Footer */
	/* Style box Prenotazione */
		#prenotaFooterContainer{
		  width: 100%;
		  height: 250px;
		  /*background-color: #eeeeee;*/
		  //border: 0.5px solid #ccc;
		  box-shadow: 1px 1px #555,
		              -1px -1px #555,
		              -1px 1px #555,
		              1px -1px #555;
		  border-radius: 3px!important;
		  padding: 0.6em;
		  text-align: center;
		  vertical-align: middle;
		}
		#prenotaFooterContainer > .col_full{
		  margin-bottom: 0.5em!important;
		  vertical-align: middle;
		}
		#prenotaFooterContainer .sm-form-control{
		  border-radius: 3px!important;
		  border: none;
		}

	/* Style Contact Form */
		#contactformFooter > .col_full{
      margin-bottom: 0.5em;
    }
    #contactformFooter .sm-form-control{
      border-radius: 3px!important;
      border: none;
    }

/* Default */
	/* Icone Social */
		.siTripAdvisor:hover, .si-colored.siTripAdvisor{
	    background-color: #00af87;
	  }
	  .iconTripAdvisor:before{
	    content: "\f262";
	    font-style: normal;
	    font-family: FontAwesome!important;
	  }
	  .siGoogleMaps:hover, .si-colored.siGoogleMaps{
	    background-color: #34a853;
	  }
	  .iconGoogleMaps:before{
	    content: "\f041";
	    font-style: normal;
	    font-family: FontAwesome!important;
	  }
	  .si-instagram:hover, .si-colored.si-instagram{
       background: #c13584!important;
     }

   /* SVG */
   	.svgIcon path{
      color: inherit;
      fill: currentColor;
    }
    .svgIcon svg{
      width: inherit;
      height: inherit;
    }

/*
#arrowDown{
  display:block;
  width: 100%;
  position: absolute;
  height:1.5em;
  line-height: 1.5em;
  top: 65vh;
  left: 0;
  z-index: 9;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 10px #000;
  font-size: 5em;
  font-weight: bold;
  animation: bounce 0.6s infinite alternate;
  -webkit-animation: bounce 0.6s infinite alternate;
  text-decoration: none;
}*/

/*#arrowDown { background: url(https://www.nxworld.net/example/css-scroll-down-button/bg10.jpg) center center / cover no-repeat;}
*/
#arrowDown {
  position: absolute;
  top: 65vh;
  left: 0;
  z-index: 9;
  display: block;
  width: 100%;
  text-align: center;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
  color: #fff;
  font-family: Raleway;
  font-size: 1.5em;
  font-variant: small-caps;
  text-shadow: 0 0 10px #000;
  font-weight: 500;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
  animation: bounce 2s infinite alternate;
  -webkit-animation: bounce 2s infinite alternate;
  padding-top: 60px;
}
#arrowDown span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #fff;
  border-radius: 50px;
  box-sizing: border-box;
}
#arrowDown span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sdb10 2s infinite;
  animation: sdb10 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb10 {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb10 {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}


@keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-15px);
  }
}
@-webkit-keyframes bounce {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-15px);
  }
}


.menu-item-button:not(.current){
  background: #ad130f;
  color: #fff;
  border-radius: 3px;
}
#primary-menu.style-5 > ul > li.menu-item-button:not(.current) > a{
  color: #fff;
}
body:not(.dark) #header:not(.dark) #header-wrap:not(.dark) #primary-menu > ul > li.menu-item-button:not(.current):hover a,
#primary-menu.style-5 > ul > li.menu-item-button:not(.current):hover > a,
#primary-menu.style-5 > ul > li.menu-item-button:not(.current):hover > a:hover{
  color: #ddd!important;
}

.portfolio-news .portfolio-item .portfolio-image img{
  min-height: 100%;
      width: auto;
      min-width: 100%;
      height: auto;
      max-width: fit-content;
      max-height: 100%;
  }
