@charset "UTF-8";
/* CSS Document */
@keyframes example {
  0% {
    opacity: 1
  }
  33% {
    opacity: 1
  }
  100% {
    opacity: 0
  }
}
@keyframes fadeSchedaIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.scheda .content {
  opacity: 0;
  animation: fadeSchedaIn 0.5s ease forwards;
}
#lightbox {
  margin-bottom: 5px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: none;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: 0.5s opacity;
  background-color: #f9f7f1;
}
#acqua {
  margin-left: 20px;
}
.cover {
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
  animation-name: example;
  animation-duration: 2s;
  opacity: 0.98;
  z-index: 100;
  background-position: center;
  background-size: cover;
  height: 100vh;
  background-image: url("img/cover.png");
  position: fixed;
  margin-left: -28px;
  width: 100vw;
  margin-bottom: 30px;
  top: 0;
  pointer-events: none;
}
.underline {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration: underline;
  text-decoration-color: rgb(16, 76, 49);
}
.scheda .donazioni {
  left: -29px;
  position: absolute;
  top: 0;
  width: 100%;
  margin: -1px 0 0 0;
  height: 110px;
  font-size: 1.7vw;
  padding: 10px 30px;
  border-radius: 0;
  border-top: 1px solid;
  border-bottom: none;
  border-left: none;
  border-right: none;
}
.scheda #contatti div p {
  margin-bottom: 60px;
}
.scheda .collumn {
  min-height: 100px;
}
.btn {
  height: 40px;
  width: 40px;
  position: relative;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  float: none;
  display: block;
  padding-bottom: 41px;
}
.btn img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease; /* fade */
  object-fit: contain !important;
  min-height: auto !important;
}
.btn img.hover {
  opacity: 0; /* nascosto di default */
}
.btn:hover img.default {
  opacity: 0; /* fade out */
}
.btn:hover img.hover {
  opacity: 1; /* fade in */
}
.scheda .btn {
  margin-left: 0.5rem;
  display: inline-block;
  padding-bottom: 0 !important;
  margin-top: 0.6vw;
  padding: 0;
  position: absolute;
}
.scheda .collumn .headline.hl5, header .headline.hl5, .fondi .headline.hl5 {
  display: block;
  font-family: system-ui;
  font-size: 1.25rem;
  height: 0.5vw;
  padding: 10px 0 30px 0;
}
.scheda canvas {
  /* height: 400px!important; */
  /* width: 400px!important; */
}
.scheda {
  margin-left: 8px;
  margin-top: 0;
  ;
}
.scheda section:first-child {
  padding-top: 0;
  position: sticky;
  top: 0;
  background-color: #f9f7f1;
  padding-bottom: 0;
  z-index: 9;
  height: auto;
  padding-left: 0;
}
.scheda h1 {
  padding-top: 5px;
  display: block;
  font-size: 1.7vw;
  padding-bottom: 2vw;
  border-bottom: 1px solid;
}
.fondi {
  /* border-left: solid 1px rgb(16, 76, 49); */
  width: calc(50% - 16.65vw - 30px);
  float: right;
  height: calc(58vh - 5vw - 150px);
  padding: 0 15px;
}
.scheda .carousel {
  width: calc(50%);
  height: calc(100vh - 5vw - 150px);
  margin-top: 20px;
}
.scheda #contatti {
  /* height: 100vh; */
  /* border-top: solid 1px; */
  padding-top: 80px;
  height: 0;
}
.partners {
  bottom: 0;
  position: sticky;
  width: 100%;
  border-top: 1px solid #104c31;
  background-color: #f9f7f1;
  display: flex;
  padding-top: 11px;
}
.partners img {
  display: -webkit-inline-flex;
  max-width: 110px;
  object-fit: contain;
  max-height: 71px;
  padding: 0px 0px 30px 15px;
}
body {
  font-family: 'Droid Serif', serif;
  font-size: 0.55vw;
  line-height: 1.5;
  color: #104c31;
  background-color: #f9f7f1;
  overflow-x: hidden;
}
.donazioni {
  width: calc(100% - 30px);
  border: solid 1px #104c31;
  border-radius: 2px;
  color: #104c31;
  text-decoration: none;
  padding: 8px 13px 10px 13px;
  font-family: system-ui;
  float: revert;
  display: inline-block;
  font-size: 0.9em;
  position: sticky;
  margin-bottom: 1rem;
  transition: all 0.5s;
}
.donazioni:hover {
  background-color: #104c31;
  color: white;
}
.light {
  position: absolute;
  right: 5px;
  font-size: 0.8em;
  font-family: system-ui;
  padding-top: 0.25em;
}
header {
  padding-right: 15px;
  margin-left: 15px;
  height: calc(100vh - 5vh - 158px);
  float: none;
  display: inline-block;
  margin-bottom: 20px;
}
.scheda header {
  border-right: 1px solid;
}
h1 {
  margin-top: 0;
  font-family: system-ui;
  font-size: 2vw;
  font-weight: 400;
  display: none;
  margin-bottom: 0;
}
header p {
  width: calc(16.6vw - 35px);
}
#documenti ul {
  padding: 0px;
}
#documenti ul li {
  list-style-type: none;
  font-family: system-ui;
  font-weight: 400;
  font-size: 1.7vw;
  line-height: 105%;
  padding: 10px 0 30px 0;
  border-top: 1px solid #000;
}
#documenti ul li a {
  color: inherit;
  text-decoration: none;
}
#contatti {
  height: calc(100vh - 145px);
  padding-bottom: 0;
  margin-bottom: 0;
  background-color: #f9f7f1;
}
#contatti div p {
  width: 100%;
  max-width: 29vw;
  font-family: system-ui;
  font-weight: 400;
  font-size: 1.7vw;
  line-height: 112%;
  padding-top: 10px;
  margin-bottom: calc(100vh - (7 * 1.05 * 1.7vw) - 225px);
}
#documenti {
  padding-top: 10px;
}
section:first-child {
  /* margin-top: 8rem; */
}
section {
  float: none;
  padding-bottom: 36px;
}
section:first-child {
  padding-top: 60px;
  height: calc(100vh - 112px);
}
canvas {
  /* width: 100px !important; */
  /* height: 100px !important; */
  margin-bottom: 40px;
  float: left;
}
p {
  margin-top: 0;
  margin-bottom: 20px;
}
a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
img {
  filter: contrast(0.8) brightness(1.1);
  mix-blend-mode: multiply;
}
#green-it img {
  width: 100%;
  float: left;
  height: 100%;
  object-fit: cover;
}
.carousel {
  position: relative;
  overflow: hidden;
  width: calc(16.6vw * 5 - 60px);
  float: left;
  height: calc(100vh - 150px);
  object-fit: cover;
}
.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
}
.carousel-image.active {
  opacity: 1;
  z-index: 1;
}
.collumn img {
  width: 100%;
  /* margin-bottom: 20px; */
  margin-top: 15px;
  min-height: calc(510px + 5vw - 30px);
  object-fit: cover;
}
.data {
  font-weight: 800;
  display: inline-block;
  font-family: system-ui;
  font-size: 0.9em;
  padding-left: 0;
  line-height: 145%;
}
.menu {
  margin: 0;
  position: fixed;
  background-color: #f9f7f1;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 30px;
  z-index: 100;
  border-bottom: 1px solid #104c31;
}
.project-filter {
  margin: 0;
  position: sticky;
  background-color: #f9f7f1;
  top: 37px;
  left: 0;
  width: calc(100% - 30px);
  padding: 13px 30px 10px 0;
  z-index: 10;
  border-bottom: 1px solid #104c31;
  margin-bottom: -1px;
}
.menu li, .project-filter li {
  display: inline-block;
  list-style-type: none;
  margin-right: 10px;
  transition: 0.5s opacity;
  cursor: pointer;
}
.menu li a {
  opacity: 0.3;
  transition: opacity 0.3s ease;
  color: inherit;
  text-decoration: none;
}
.menu li a.active {
  opacity: 1;
}
.head {
  position: relative;
}
.subhead {
  text-transform: uppercase;
  border-bottom: 2px solid #104c31;
  border-top: 2px solid #104c31;
  padding: 12px 0 12px 0;
}
.weatherforcastbox {
  position: relative;
  width: 12%;
  left: 10px;
  border: 3px double #2f2f2f;
  padding: 10px 15px 10px 15px;
  line-height: 20px;
  display: inline-block;
  margin: 0 50px 20px -360px;
}
.content {
  width: calc(100% - 30px);
  display: inline-block;
  margin: 0 20px 0 20px;
}
.collumns {}
.collumn {
  min-height: calc(510px + 5vw);
  margin-right: -3px;
  width: calc(16.65% - 31px);
  display: inline-block;
  padding: 0 15px 0 15px;
  vertical-align: top;
  margin-bottom: 50px;
  transition: width 0.5s ease 0s, padding 0.5s ease 0s, border 0.5s ease 0s, height 0.5s ease 0s;
  opacity: 1;
  border-left: 1px solid #104c31;
  border-top: 1px solid #104c31;
}
.collumn:first-child {
  margin-left: 0;
}
.collumn .headline {
  line-height: normal;
  display: block;
  margin: 0 auto;
}
.collumn .headline.hl5 {
  font-family: system-ui;
  height: 7.8rem;
  font-weight: 400;
  font-size: 1.7vw;
  line-height: 105%;
  box-sizing: border-box;
  padding: 10px 0 30px 0;
}
.collumn .figure {
  margin: 0 0 20px;
}
.media {
  -webkit-filter: sepia(80%) contrast(1) opacity(0.8);
  filter: sepia(80%) grayscale(1) contrast(1) opacity(0.8);
  mix-blend-mode: multiply;
  width: 100%;
}
.collumn {
  opacity: 1;
  transition:
    opacity 0.3s ease, width 0.5s ease 0.3s, padding 0.5s ease 0.3s, border 0.5s ease 0.3s, height 0.5s ease 0.3s;
}
.collumn.collapsing {
  opacity: 0;
  width: 0;
  padding: 0;
  height: 0;
  overflow: hidden;
  display: none;
  border: 0;
  transition:
    opacity 0.3s ease, width 0.5s ease 0.3s, padding 0.5s ease 0.3s, border 0.5s ease 0.3s, height 0.5s ease 0.3s;
}
.collumn.unhiding {
  opacity: 0;
  transition:
    width 0.5s ease, padding 0.5s ease, border 0.5s ease, height 0.5s ease, opacity 0.3s ease 0.5s;
}
.collumn {
  opacity: 1;
}
.indirizzo {
  margin: 10px 5px;
}
.indirizzo span {
  margin-right: 10px;
}
.pagamenti {
  position: fixed;
  width: 800px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pagamenti div {
  width: 380px;
  margin: 0 10px;
  float: left;
}
.pagamenti div h1 {
  padding-bottom: 0.5rem;
}
.pagamenti div a {
  margin-top: 1rem;
  width: calc(100% - 30px);
  border: solid 1px #104c31;
  border-radius: 2px;
  color: #104c31;
  text-decoration: none;
  padding: 8px 13px 10px 13px;
  font-family: system-ui;
  float: revert;
  display: inline-block;
  font-size: 0.9em;
  position: sticky;
  margin-bottom: 1rem;
  transition: all 0.5s;
}
.pagamenti div a:hover, .pagamenti div button:hover {
  background-color: #104c31;
  color: white;
}
.pagamenti li {
  list-style-type: none;
  margin-left: -2.5rem;
  padding: 11px 7px 7px 0;
  border-bottom: 1px solid;
}
.pagamenti li span {
    width: 3.8vw;
    display: inline-block;

}
.pagamenti .twint {
  height: 55px;
  position: absolute;
  right: 0;
  margin-top: 6px;
}
.pagamenti div button {
  position: absolute;
  margin-top: -1.5px;
  right: 411px;
  border: solid 1px #104c31;
  border-radius: 2px;
  color: #104c31;
  text-decoration: none;
  font-family: system-ui;
  font-size: 0.9em;
  transition: all 0.5s;
  background: transparent;
  cursor: pointer;
}
.pagamenti li:last-child {
  border-bottom: none;
}
/*________________________________________________________________________________________________________________________________*/
/*MEDIAQUERIES*/
@media only all and (max-width: 2200px) {
  .collumn, .menu, header, .project-filter, #contatti, .fondi, .pagamenti {
    font-size: 0.7vw;
  }
  .collumn {
    width: calc(20% - 31px);
  }
  .collumn .headline.hl5 {
    font-size: 2vw;
    height: 6.2vw;
  }
  .carousel {
    width: calc(20vw * 4 - 60px);
  }
  header p {
    width: calc(20vw - 31px);
  }
  #contatti div p {
    margin-bottom: calc(100vh - (7 * 1.05 * 1.7vw) - 225px);
  }
  .fondi {
    width: calc(50% - 20vw - 31px);
  }
}
@media only all and (max-width: 1800px) {
  .collumn, .menu, header, .project-filter, #contatti, .fondi, .pagamenti {
    font-size: 0.8vw;
  }
  .collumn {
    width: calc(25% - 31px);
  }
  .collumn .headline.hl5 {
    /* font-size: 2.25vw; */
    height: 6.5vw;
  }
  #documenti ul li, .collumn .headline.hl5, #contatti div p, .scheda h1, .scheda .donazioni {
    font-size: 2.25vw;
  }
  .carousel {
    width: calc(25vw * 3 - 47px);
  }
  header p {
    width: calc(25vw - 44px);
  }
  #contatti div p {
    margin-bottom: calc(100vh - (7 * 1.05 * 2.25vw) - 225px);
    max-width: 38vw;
  }
  .fondi {
    width: calc(50% - 25vw - 19px);
  }
  .scheda canvas {
    /* height: 300px!important; */
    /* width: 300px!important; */
  }
}
@media only all and (max-width: 1400px) {
  .scheda header {
    border-right: none;
  }
  .scheda .carousel {
    width: calc(100% - 33.3vw);
  }
  .collumn, .menu, header, .project-filter, #contatti, .fondi, .pagamenti {
    font-size: 1vw;
  }
  .collumn {
    width: calc(33% - 31px);
  }
  .collumn .headline.hl5 {
    height: 8.5vw;
  }
  #documenti ul li, .collumn .headline.hl5, #contatti div p, .scheda h1, .scheda .donazioni {
    font-size: 2.8vw;
  }
  .carousel {
    width: calc(66vw - 42px);
  }
  header p {
    width: calc(33vw - 31px);
  }
  #contatti div p {
    margin-bottom: calc(100vh - (7 * 1.05 * 2.8vw) - 225px);
    max-width: 45vw;
  }
  .fondi {
    border-top: solid 1px;
    width: calc(33% - 16px);
    margin-top: 36px;
    height: 300px;
    /* border-left: 1px solid; */
    padding-left: 0;
  }
  .pagamenti li span {
	width: 4.2vw;
  }
}
@media only all and (max-width: 1000px) {
  .scheda .carousel {
    width: calc(100vw - 40px);
  }
  .scheda header {
    width: calc(50% - 31px);
    border-right: 1px solid;
    margin-right: 0;
  }
  .scheda header p {
    width: calc(100% - 22px);
  }
  .carousel {
    width: calc(100vw - 60px);
  }
  .collumn, .menu, header, .project-filter, #contatti, .fondi, .pagamenti {
    font-size: 1.5vw;
  }
  .collumn {
    width: calc(50% - 45px);
  }
  .collumn .headline.hl5 {
    height: 12.7vw;
  }
  #documenti ul li, .collumn .headline.hl5, #contatti div p, .scheda h1, .scheda .donazioni {
    font-size: 4.3vw;
  }
  header {
    margin-top: 20px;
    margin-left: 2px;
    height: auto;
  }
  header p {
    width: 50%;
  }
  #contatti div p {
    margin-bottom: calc(100vh - (7 * 1.05 * 4.3vw) - 225px);
    max-width: 72vw;
  }
  .fondi {
    width: calc(50% - 17px);
    border: none;
    margin-top: 20px;
  }
  section:first-child {
    height: auto;
  }
  .pagamenti {
	width: 380px;
  }
  .pagamenti div button {
        right: -8px;  
  }
  .pagamenti li span {
	width: 6.2vw;
  }
}
@media only all and (max-width: 700px) {
  .scheda {
    margin-left: 0px;
  }
  .scheda header {
    width: calc(100% - 22px);
    border: none;
  }
  .scheda .carousel {
    width: calc(100vw);
    height: 66vh;
    margin-top: 0;
  }
  .fondi {
    width: calc(100% - 65px);
    height: auto;
    float: left;
    margin-left: 31px;
  }
  .project-filter li:first-child {
    padding-left: 30px;
  }
  .light {
    right: 20px;
  }
  .content {
    margin: 0;
    width: 100%;
  }
  section:first-child {
    padding-top: 0;
    height: auto;
  }
  .carousel {
    width: 100vw;
    height: calc(100vh - 80px);
  }
  #green-it img {
    width: 100vw;
  }
  body {
    margin: 0;
    overflow-x: hidden;
  }
  .collumn, .menu, header, .project-filter, #contatti, .fondi, .pagamenti {
    font-size: 14px;
  }
  .collumn {
    margin-left: 15px;
    width: calc(100% - 60px);
    margin-bottom: -2px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .scheda .collumn {
    min-height: 20px;
  }
  .collumn .headline.hl5 {
    height: auto;
  }
  #documenti ul li, .collumn .headline.hl5, .scheda h1, .scheda .donazioni {
    font-size: 8.5vw;
  }
  .scheda h1 {
    padding-left: 30px;
    padding-right: 60px;
    line-height: 100%;
    padding-bottom: 30px;
    padding-top: 20px;
  }
  .scheda .btn {
    margin-top: 11px;
  }
  header {
    margin-top: 20px;
    margin-left: 2px;
    height: auto;
  }
  header p {
    padding: 0 30px;
    width: calc(100% - 60px);
  }
  .scheda header p {
    width: calc(100% - 40px);
  }
  #contatti div p {
    margin-bottom: calc(100vh - (1.5vw * 42));
    margin-right: 80px;
    max-width: calc(100% - 60px);
  }
  #contatti div p br {
    display: none;
  }
  #documenti ul li, #contatti div p {
    font-family: 'Droid Serif', serif;
    font-size: 14px;
    line-height: 1.5;
    padding-left: 30px;
    padding-bottom: 10px;
  }
  .cover {
    width: 100%;
    margin: 0;
  }
  .indirizzo {
    margin: 10px 30px;
  }
  .indirizzo span {
    display: block;
  }
  header .headline.hl5 {
    margin-left: 30px
  }
  .collumn:first-child {
    margin-left: 15px;
  }
  #acqua, #costruzioni, #agricoltura {
    display: none;
  }
  .scheda .donazioni {
    padding-left: 30px;
    left: 0;
    width: calc(100% - 60px);
    line-height: 100%;
    padding-top: 20px;
    padding-bottom: 30px;
  }
  .scheda .btn {
    position: absolute;
    top: 10px;
    left: auto;
    right: 20px !important;
  }
  .pagamenti {
	width: 100%;
	margin: 0 20px
	}
    .pagamenti div {
	width: calc(100% - 60px);
	}
  .pagamenti li span {
	width: 10vw;
  }
  .pagamenti h1 {
	padding-left: 0;
	padding-right: 0;
  }
  .pagamenti .twint {
	height: 55px;
	position: absolute;
	right: -20px;
	margin-top: 0;
  }
  .pagamenti div button {
	right: 50px;
  }
.pagamenti .twint {
	right: -60px;
	}
}