/* home */
.green{
  color: #64a19d;
}
.border-green{
  border-right: 6px solid #64a19d;
}
.separatore{
    background: #64a19d;
    width:100px;
    height:3px;

}
.text-grey{
  color:999999;
}
#navigation{
  background-color: black;
}
.lang{
  font-size: 12px;
}
.claim{
  font-size: 14px;
}
.lang-button{
  font-size:12px;
  padding: 10px;
  cursor:pointer;
  color:white;
  width: 100px;
  height: 50px;
  background-color: black;
}
.nav-button{
  font-size:30px;
  padding: 10px;
  cursor:pointer;
  color:white;
  width: 50px;
  height: 50px;
  background-color: black;
}
.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1031;
  overflow-y: hidden;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: left;
  margin-top: 30px;
  padding-left: 10px;
}

.link-nav {
  padding: 8px;
  text-decoration: none;
  font-size: 15px;
  color: #818181;
  display: block;
  transition: 0.3s;
}
.link-nav:hover {
  padding: 8px;
  text-decoration: none ;
  font-size: 15px;
  color: #64a19d !important;
  display: block;
  transition: 0.3s linear;
}


.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  text-decoration: none;
  color:white;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}



  .carousel-fade .carousel-item {
	opacity: 0;
	transition-duration: .3s;
	transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
	opacity: 1;
}

.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
	opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
	transform: translateX(0);
	transform: translate3d(0, 0, 0);
}


footer{
  background-color: #575757;
}
#carouselExampleIndicators .carousel-item {
  height: 600px;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}
#caroselloFranchi .carousel-item {
  height: 700px;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
/* pagina nervi */
.header-nervi{
  height: 700px;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.73)),
    url('../assets/img/header-nervi.jpg');  
  background-size: cover;
  background-position: center center;
  background-repeat: none;
  background-attachment: fixed;
}
.header-stadio{
  height: 700px;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.73)),
    url('../assets/img/slider-franchi-4.jpg');  
  background-size: cover;
  background-position: center center;
  background-repeat: none;
  background-attachment: fixed;
}
.header-pericolo{
  height: 700px;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.73)),
    url('../assets/img/slider-franchi-2.jpg');  
  background-size: cover;
  background-position: center center;
  background-repeat: none;
  background-attachment: fixed;
}

.header-finding{
  height: 700px;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.73)),
    url('../assets/img/finding-pln.jpg');  
  background-size: cover;
  background-position: center center;
  background-repeat: none;
  background-attachment: fixed;
}
.header-perche-salvarlo{
  height: 700px;
  background-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.73)),
    url('../assets/img/finding-pln/finding-pln-9.jpg');  
  background-size: cover;
  background-position: center center;
  background-repeat: none;
  background-attachment: fixed;
}
/* media query */
.carousel-caption{
  bottom: 65% !important;
}
.masonry { /* Masonry container */
  column-count: 4;
  -webkit-column-count: 4;
  column-gap: 0.5rem;
}
.masonry a{
  display: inline-block;
}
.masonry .item { /* Masonry bricks or child elements */
  background-color: #eee;
  display: inline-block;
  margin-bottom: 0.5rem;
  width: 100%;
}
.item:hover{
  opacity: 0.8;
  transition: 0.3 ease-in;
}

@media(max-width:567px) {
  .masonry {
    column-count: 1;
  }
}

@media screen and (max-width:1680px){
  .carousel-caption{
    bottom: 65% !important;
  }
}

@media screen and (max-width:1300px){
  .carousel-caption{
    bottom: 65% !important;
  }
}

@media screen and (max-width:500px){
  .carousel-caption{
    bottom: 50% !important;
    font-size: 12px;
  }
}
@media screen and (max-width:1024px){
  .header-nervi{
  
    background-attachment: scroll;
  }
  .header-stadio{
   
    background-attachment: scroll;
  }
  .header-pericolo{
 
    background-attachment: scroll;
  }
  .masthead
  {
  
    background-attachment: scroll;
  }
  .header-finding{
  
    background-attachment: scroll;
  }
  .header-perche-salvarlo{
  
    background-attachment: scroll;
  }
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}
