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/Contatti/TegBrioImp1.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;
}

.scrittalogo {width: 60%;}

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


/*--------------------------------------------------------*/
/*------------------------CARDS---------------------------*/
/*--------------------------------------------------------*/

.titolo {
  margin:5%;
}

.titolo h1{
  font-size: 40px;
  font-family: "Meno Display Condensed", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-weight: bold;
  text-align: center;
  color: rgb(175,56,36);
}


.cards {
  width: 100%;
  background-color: rgb(255,253,231);
}

.cards__maps {
  width: 100%;
  background-color: rgb(255,253,231);
  padding-top: 5%;
  margin-bottom: 10%;
}

.card {
  width: 20%;
  margin: 2.5%;
  float: left;
  display: block;
}

.card__image {
  width: 20%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 20px;
}

.card__maps {
  width: 30%;
  margin-left: 15%;
  margin-bottom:5%;
  float: left;
  display: block;
}

.card__maps_text {
  width: 30%;
  float: right;
  display: block;
  padding: 4%;
  margin-right: 5%;
  margin-left: 5%;
}

.card__maps_copy {
  width: 100%;
  margin: 0 auto;
  float: left;
  display: block;
  vertical-align: middle;
}


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

.card__copy p {
  margin-top: 10px;
  text-align: center;
  display: block;
  padding: 20px;
  font-family: "Meno Display", "Montserrat", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 18px;
}

.card__copy a {
  margin-top: 10px;
  text-align: center;
  display: block;
  padding: 20px;
  margin: 0 auto;
  font-family: "Meno Display", "Montserrat", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 18px;
  text-decoration: none;
  color: black;
}

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

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

.card__maps_copy p {
  margin: 1%;
  text-align: center;
  display: block;
  font-family: "Meno Display", "Times New Roman", "Montserrat", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 18px;
}

#telcomp {
  display: none;
}

.separatore{
  display: block;
  border-top: 6px dotted rgb(175,56,36);
  background: rgb(255,253,231);
}
/*-----------------------CARDS---------------------------*/


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

.banner_sotto {
  width: 100%;
  background-color: rgb(156,156,156);
}

.card_banner {
  width: 20%;
  margin: 2.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", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  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; margin-left: 5px;}
.is-open{height:300px; overflow: auto;}
.button{width: 40%}
}
/* NOTE: menu per smartphone*/

/* NOTE: cover per smartphone e tablet verticali*/
@media screen and (max-width: 600px) {
  .cover{
    height: 100%;
    background-size: cover;
    background-image: url("Foto%20Utili/Contatti/TegBrioImp1.jpeg");
  }
}
 @media screen and (max-width: 768px) and (orientation: portrait){
 .cover{
   height: 100%;
   background-size: cover;
   background-image: url("Foto%20Utili/Contatti/TegBrioImp.jpeg");
 }
}
/* 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:100%;
  }
}

@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){
  .titolo{margin:10%; margin-top: 15%;}
  .cards{margin: 0px}
  .card{width: 100%; margin: 0px;}
  #card__image{margin-top: 30%;}
  .cards__maps{width: 100%; padding-top: 10%;}
  .card__maps_text{width: 90%; margin: 1.5%;}
  .card__maps{width: 80%; margin-top: 2%}
  .card__maps iframe{width: 250px; height: 200px;}
  .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 */


/* -----------------------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: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 */
