/* ----------------------------- Esprimo Typo3 ---------------------------- */

/* Data ultima modifica: 21 maggio 2018 */


/************** background styles **************/
#background01, #background02, #background03, #background04 {
  position: relative;
  height: 100vh;
  max-height: 1200px;
  margin: 100px 0;
}

#background01:before, #background02:before, #background03:before, #background04:before {
  position: absolute;
  bottom: 0;
  top: 200px;
  left: 0;
  right: 0;
  content: "";
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+100 */ /* FF3.6-15 */
  background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.3)));
  background: -webkit-linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00000000", endColorstr="#4d000000", GradientType=0); /* IE6-9 */
}

#background01 {
  margin: 0 0 100px;
  background: url(../images/background/01.jpg) no-repeat fixed left bottom / cover;
}
#background02 {
  background: url(../images/background/02.jpg) no-repeat fixed center top / cover;
}
#background03 {
  background: url(../images/background/03.jpg) no-repeat fixed center top / cover;
}
#background04 {
  background: url(../images/background/05.jpg) no-repeat fixed center top / cover;
}



@media only screen and (max-width: 768px) {

  #background01 {
    height: 75vh;
    background-attachment: scroll;
  }
  #background02, #background03, #background04 {
    height: 50vh;
    background-attachment: scroll;
  }

}

