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: 60px;
  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/Home/CreTartCuoreSf.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-------------------------- */


/*--------------------------------------------------------*/
/*---------------CARDS PRODUZIONE E EVENTI----------------*/
/*--------------------------------------------------------*/

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

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

.cards {
  max-width: 1200px;
  margin: 60px auto;
}

.card {
  width: 30%;
  margin: 2% 1%;
  background-color: rgb(255,253,231);
  float: left;
  display: block;
  border: 6px double rgb(175,56,36);
}

.card_servizi1 {
  width: 45%;
  height: 30%;
  margin: 0 1.5%;
  float: left;
}

.card_servizi2 {
  width: 45%;
  height: 30%;
  margin: 0 1.5%;
  float: right;
}

.card__image {
  width: 100%;
  height: auto;
  display: block;
}

.card__image_servizi {
  width: 70%;
  height: auto;
  margin: 2% 15%;
  display: block;
  border: 6px double rgb(175,56,36);
}

.card__copy {
  padding: 5px 20px;
}

.card__copy h3 {
  margin-bottom: 0;
  text-align: center;
  font-family: "Meno Display Condensed Bold", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  font-size: 25px;
  margin-top: 1%;
}

.card__copy p {
  margin-bottom: 0;
  text-align: center;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
}

.card__copy_servizi {
  padding: 5px 20px;
}

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

.card__copy_servizi p {
  margin-bottom: 0;
  text-align: center;
  font-family: "Meno Display", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
}

.card:hover{
  opacity: 20%;
}

/*---------------CARDS PRODUZIONE E EVENTI----------------*/


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

.banner {
  background-color: rgb(255,253,231);
   height: 50%;
   width: 100%;
   margin-bottom: 10%
 }

.banner__image {
  width: 30%;
   float: left;
   height: 90%;
   margin: 1.5%;
   background-image: url("Foto%20Utili/Home/CreTartCarlo.jpeg");
   background-size: cover;
   -o-background-size: cover;
   -moz-background-size: cover;
   background-position: center;
 }

.banner__copy {
  width: 60%;
  float: left;
  height: 100%;
  display: table;
}

.banner__copy__text{
  display: table-cell;
  vertical-align: middle;
  padding: 30px;
  font-family: "Meno Display", "Montserrat", "Times New Roman", "Helvetica Neue", "Helvetica", "Arial";
  text-align: center;
}

.banner__copy__text h3{
  font-size: 45px;
  margin-bottom: 0;
  margin-top:0;
  font-family: "Meno Display", "Montserrat", "Helvetica Neue", "Arial";
  color: rgb(175,56,36);
}

.banner__copy__text h4{
  font-size: 26px;
  margin: 5px 0;
}

.banner__copy__text p {
  font-size: 22px;
  line-height: 30px;
}

.banner__copy__text a {
  font-size: 20px;
  line-height: 30px;
}

#contatti {
  font-size: 22px;
  line-height: 30px;
  color: rgb(175,56,36);
  text-decoration: none
}

.button {
  display: block;
  width: 150px;
  height:24px;
  margin: 0 auto;
  text-align: center;
  background: rgb(175,56,36);
  color: #fff; padding: 15px 30px;
  border-radius: 30px;
  font-family: "Meno Display Condensed", "Montserrat", "Helvetica Neue", "Arial";
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;}


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


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

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

.card_banner {
  width: 20%;
  margin-left: 1.5%;
  margin-right: 1.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", "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: 1.5s;
  animation-duration: 1.5s;
  -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;           /*immagine invisibile al caricamento pagina*/
  -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: 40px; 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/Home/CreTartCuoreSf2.jpeg");
    }
  }
   @media screen and (max-width: 768px) and (orientation: portrait){
   .cover{
     height: 100%;
     background-size: cover;
     background-image: url("Foto%20Utili/Home/CreTartCuoreSf2.jpeg");
   }
  }
  /* NOTE: cover per smartphone e tablet verticali*/

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

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

/* NOTE: cards e banner */

  @media (max-width: 768px){
    .card{width: 90%; margin: 5%}
    .card_servizi1{width: 90%; margin: 5%}
    .card_servizi2{width: 90%; margin: 5%}
    .banner{height: 100%;}
    .button{width: 120px; height: 20px;}
    .banner__image{width: 97%; height: 50%;}
    .banner__copy{width: 100%; height: 50%;}
    .scritte__intermedie{font-size: 30px;}
    .scritte__intermedie2{font-size: 20px; width: 95%; margin-left: 2.5%; margin-right: 2.5%}
    .banner__copy__text h3{font-size: 35px;}
    .banner__copy__text h4{font-size: 20px;}
    .banner__copy__text p{font-size: 19px;}
    .banner__copy__text a{font-size: 19px;text-align: center;}
    #contatti {font-size: 20px;}
}

/*banner contatti e footer ecc*/
@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 */

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