html, body {height: 100%;}
body{background: rgb(203,224,179)}

/* NOTE: animazione per il menu che scrolla tipo tenda*/
.animate {
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

p{line-height: 22px;}


/*--------------------------------------------------------*/
/*------------------------HEADER--------------------------*/
/*--------------------------------------------------------*/

.header {
  background-color: rgb(203,224,179);
}

.header__logo {
  float: left;
  display: block;
  padding-left: 10px;
  padding-top: 5px;
  width: 120px;
  margin-left: 10px;
  margin-top:5px;
}

.header__menu {
  float: right;
  margin: 0px;
  padding: 10px;
}

.header__menu__item {
  display: inline-block;
  text-decoration: none;
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
}

.header__menu__item a {
  color: #fff;
  display: inline-block;
  padding:25px;
  margin-bottom: 5px;
  text-decoration: none;
  font-size: 22px;
}

.header__icon_bar {
  display: block;
  float: right;
  padding: 20px;
  display: none;
}

.header__icon_bar span {
  display: block;
  height: 5px;
  width: 40px;
  background: rgb(175,56,36);
  margin-bottom: 5px;
  border-radius: 3px;
}

/* NOTE: per sottolineare il testo dal centro quando ci vado sopra*/
.header__menu__item a {
     display: inline-block;
     position: relative;
     padding-bottom: 3px;
}

.header__menu__item a:after {
     content: '';
     display: block;
     margin: auto;
     height: 3px;
     width: 0px;
     background: transparent;
     transition: width .5s ease, background-color .5s ease;
}

.header__menu__item a:hover:after,
.header__menu__item a:focus:after {
     width: 100%;
     background: rgb(175,56,36);
}
/* NOTE: per sottolineare il testo dal centro quando ci vado sopra*/

/*------------------------HEADER--------------------------*/


/*--------------------------------------------------------*/
/*------------------------COVER---------------------------*/
/*--------------------------------------------------------*/

.cover {
  height: 800px;
  position: top;
  background-image: url("Foto%20Utili/Prodotti/Zeppo2.jpeg");
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
/*o-background-size e moz-background-size servono per essere compatibili con tipo opera e altri browser*/
  background-position: center;
  position: relative;
  z-index: -1;
}

.cover__filter {
  background: black;
  width: 100%;
  height:100%;
  opacity: 30%;
  position: absolute;
  z-index: 0;
}

.cover_caption {
  display: table;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}

.cover_caption_copy {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
  font-size: 20px;
}

/* -----------------------COVER-------------------------- */


/*--------------------------------------------------------*/
/*------------------SCORRIMENTO IMMAGINI------------------*/
/*--------------------------------------------------------*/

.titolo {
  color: rgb(175,56,36);
  text-align: center;
  display: block;
  margin-top: 10%;
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 40px;
}

.sottotitolo{
  display: block;
  width: 90%;
  margin: 0% 5%;
  font-size: 25px;
  text-align: center;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-style: italic;
  color: black;
}

.container1,
.container2,
.container3,
.container4,
.container5,
.container6,
.container7,
.container8 {
  width:35%;
  height: auto;
  margin: 5%;
  display: inline-block;
}

.container1 h3,
.container2 h3,
.container3 h3,
.container4 h3,
.container5 h3,
.container6 h3,
.container7 h3,
.container8 h3 {
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
  color: rgb(176,56,36);
  font-size: 30px;
  text-align: center;
}

.slideshow-container {
  box-sizing: border-box;
  border: 4px dotted rgb(175,56,36);

}

.mySlides1,
.mySlides2,
.mySlides3,
.mySlides4,
.mySlides5,
.mySlides6,
.mySlides7,
.mySlides8 {
  display: none;
}

img {
  vertical-align: middle;
}

/* Slideshow contenitore */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Bottoni avanti e indietro */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Posizione del tasto avanti */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Hover dei tastini avanti e indietro*/
.prev:hover,
.next:hover {
  background-color: rgba(175,56,36,0.7);
}

/* Numero slide (1/7 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  display: none;
}

/* Barretta didascalia */
.mySlides1 span,
.mySlides2 span,
.mySlides3 span,
.mySlides4 span,
.mySlides5 span,
.mySlides6 span,
.mySlides7 span,
.mySlides8 span {
    float: left;
    margin: 0;
    padding: 10px;
    width: 96%;
    height: 10%;
    color: rgb(222,222,222);
    background: #222; /* browser che non supportano rgba */
    background: rgba(0,0,0,0.7);
    position: absolute;
    left: 0;
    bottom: 0;
}

/* Testo sotto */
.mySlides1 span strong,
.mySlides2 span strong,
.mySlides3 span strong,
.mySlides4 span strong,
.mySlides5 span strong,
.mySlides6 span strong,
.mySlides7 span strong,
.mySlides8 span strong {
    display: block;
    color: white;
    font-size: 20px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
    font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
}

/* Fading immagini scorrimento */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*------------------SCORRIMENTO IMMAGINI------------------*/


/*--------------------------------------------------------*/
/*--------------------BANNER SOTTO------------------------*/
/*--------------------------------------------------------*/

.banner_sotto {
  width: 100%;
  background-color: rgb(156,156,156);
}
.card_banner {
  width: 20%;
  margin-left: 2.5%;
  margin-right: 2.5%;
  margin-top: 1.5%;
  margin-bottom: 1.5%;
  float: left;
  display: block;
}


.card__copy_banner h3 {
  text-align: center;
  font-family: "Meno Display Condensed Bold", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 20px;
  margin-top: 1%;
  color: rgb(175,56,36);
}

.card__copy_banner p {
  margin-top: 10px;
  text-align: center;
  display: block;
  padding: 10px;
  color: rgb(255,253,231);
  margin: 0 auto;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 18px;
}

.card__copy_banner a {
  margin-top: 10px;
  text-align: center;
  display: block;
  padding: 10px;
  color: rgb(255,253,231);
  margin: 0 auto;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 18px;
  text-decoration: none;
}

#telcompsopra {
  display: block;
  margin:0;
}

#telcellsopra {display: none;}

#telcompsotto {
  display: block;
  margin:0;
}

#telcellsotto {display: none;}

/*--------------------BANNER SOTTO------------------------*/


/*--------------------------------------------------------*/
/*-----------------------FOOTER---------------------------*/
/*--------------------------------------------------------*/

.footer {
  background: rgb(175,56,36);
  color: #fff;
  float: right;
  width: 100%;
  }

.footer p {
  padding: 1%;
  font-family: "Meno Display Condensed", "Montserrat";
  font-size: 18px;
  font-weight: bold;
  margin-left: 2.5%
}
.insta {
  width:2%;
  padding: 2%;
  float: right;
  display: block;
  margin-right: 20%
  }

/*------------------------FOOTER--------------------------*/


/*--------------------------------------------------------*/
/*-----------------------EFFETTI--------------------------*/
/*--------------------------------------------------------*/

/* NOTE: fadein immagine, logo, bottone */
.fadeIn {
 -webkit-animation-name: fadeIn;
 animation-name: fadeIn;
 -webkit-animation-duration: 3s;
 animation-duration: 3s;
 -webkit-animation-fill-mode: both;
 animation-fill-mode: both;
 }
 @-webkit-keyframes fadeIn {
 0% {opacity: 0;}
 100% {opacity: 1;}
 }
 @keyframes fadeIn {
 0% {opacity: 0;}
 100% {opacity: 1;}
 }

/* NOTE: slideinleft scritta centrale*/
 .slideInLeft {
  -webkit-animation-name: slideInLeft;
  animation-name: slideInLeft;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  }
  @-webkit-keyframes slideInLeft {
  0% {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  visibility: visible;
  }
  100% {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  }
  }
  @keyframes slideInLeft {
  0% {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  visibility: visible;
  }
  100% {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  }
  }

/* NOTE: Fadein scrolling */
.fadeimg {
  visibility: hidden;
}
.fadeimg.fadein {
  visibility: visible !important;
  -webkit-animation: fade_in_anim 1.2s;
  animation: fade_in_anim 1.2s;
}
@-moz-keyframes fade_in_anim {
  0%{opacity:0}
  100%{opacity:1}
}
@-webkit-keyframes fade_in_anim {
  0%{opacity:0}
  100%{opacity:1}
}
@keyframes fade_in_anim {
  0%{opacity:0}
  100%{opacity:1}
}

/*-----------------------EFFETTI--------------------------*/


/*--------------------------------------------------------*/
/*----------------------RESPONSIVE------------------------*/
/*--------------------------------------------------------*/

/* NOTE: menu per smartphone*/
@media (max-width: 768px){
.header {position: fixed; z-index: 100; width: 100%;}
.header__icon_bar {display: block;}
.header__menu {width: 100%; height: 0px; overflow: hidden;}
.header__menu__item {display: block;}
.header__logo{width: 100px; height: auto; margin-left: 5px;}
.is-open{height:300px; overflow: auto;}
.button{width: 40%}
}

/* NOTE: cover per smartphone e tablet verticali*/
@media screen and (max-width: 600px) {
  .cover{
    height: 100%;
    background-size: cover;
  }
}
 @media screen and (max-width: 768px) and (orientation: portrait){
 .cover{
   height: 100%;
   background-size: cover;
 }
}
/* NOTE: cover per smartphone e tablet verticali*/

/* NOTE: scrittalogo per smartphone e tablet*/
@media screen and (min-width: 992px) {
  .scrittalogosmart{display:none}
  .scrittalogo{
    width:60%
  }
}
@media screen and (min-width: 768px) {
  .scrittalogosmart{display:none}
  .scrittalogo{
    width:80%
  }
}

@media screen and (max-width: 768px){
  .scrittalogo{display:none}
  .scrittalogosmart{
    width:100%
  }
}
/* NOTE: scrittalogo per smartphone e tablet*/

/* NOTE: cards e banner */
@media (max-width: 768px){
  .card_banner{width: 100%; margin:0;}
  .card__copy_banner {width: 100%; margin-top: 5%;}
  .card__copy_banner h3{margin-bottom: 0px;}
  .card__copy_banner a, .card__copy_banner p{padding: 5px;}
  .banner_sotto{height: 46%; padding-bottom: 5%;}
  #telcellsopra{display: block;}
  #telcompsopra{display: none;}
  #telcellsotto{display: block;}
  #telcompsotto{display: none;}
  .insta{width: 10%; margin-right: 3%}
  }

  /* NOTE: cards e banner */

  @media only screen and (max-width: 768px) {
    .titolo{font-size: 28px; margin-top: 15%;}
    .sottotitolo{font-size: 20px;}
    .prev, .next{font-size: 18px}
    .container1 h3, .container2 h3, .container3 h3, .container4 h3, .container5 h3, .container6 h3, .container7 h3, .container8 h3 {font-size: 24px;}
    .container1, .container2, .container3, .container4, .container5, .container6, .container7, .container8 {width: 90%; margin: 5%; margin-top: 5%;}
    .dot1, .dot2, .dot3, .dot4, .dot5, .dot6 , .dot7, .dot8{display: none;}
    .numbertext{display: block; font-size: 18px;}
    .mySlides1 span, .mySlides2 span, .mySlides3 span, .mySlides4 span, .mySlides5 span, .mySlides6 span, .mySlides7 span, .mySlides8 span {width:94.5%;}
    .mySlides1 span strong,.mySlides2 span strong, .mySlides3 span strong, .mySlides4 span strong, .mySlides5 span strong, .mySlides6 span strong, .mySlides7 span strong, .mySlides8 span strong {font-size: 18px; width: 80%;}
    .container7, .container8 {margin-bottom: 15%;}
  }

  /*----------------------RESPONSIVE------------------------*/


  /*--------------------------------------------------------*/
  /* ---------------BOTTONE PER TORNARE SU----------------- */
  /*--------------------------------------------------------*/

  /*bottone*/
  #bottone {
    display: inline-block;
    background-color: grey;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 30px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s,
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }

  /*freccina dentro bottone: after genere un elemento dopo il bottone*/
  #bottone::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
  }

  /*cambio colore quando si è sopra*/
  #bottone:hover {
    cursor: pointer;
    background-color: #333;
  }

  /*cambio colore quando si clicca*/
  #bottone:active {
    background-color: #555;
  }

  /*quando si vede il bottone*/
  #bottone.show {
    opacity: 1;
    visibility: visible;
  }

  .content {
    width: 77%;
    margin: 50px auto;
    font-family: 'Merriweather', serif;
    font-size: 17px;
    color: #6c767a;
    line-height: 1.9;
  }

  @media (min-width: 500px) {
    .content {
      width: 43%;
    }

    #bottone {
      margin: 30px;
    }
  }
  /* ---------------BOTTONE PER TORNARE SU----------------- */

.linkattivo a {color: rgb(175,56,36);}

/* clearfix ripulisce i float*/
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
  }
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
