:root {
  --main-color: #91ad96;
  --gray: #3a3a3a;
  --gray2: #c6c6c6;
  --black: #000000;
  --white: #ffffff;
}



html{
  max-width: 2000px!important;
	margin-left: auto;
	margin-right: auto;
}

body{
  font-size: 18px;
}

*{
  font-family: Georgia;
  color: var(--gray);
}
h1,h2,h3,.sottotitolo{
  font-family: "Poppins";
}

h1,h2{
  font-size: 48px;
  font-weight: 500;
}

h3{
  font-size: 32px;
  font-weight: 500;
}

b{font-weight: bold;}

img{max-width: 100%;}

footer *{
  font-family: "Poppins";
  font-size: 14px;
}

footer h5{
  font-size: 20px;
}
footer ul li{
  border-bottom: 1px solid var(--gray2);
  padding: 10px;
}

.bottom-footer,
.bottom-footer *{
  font-size: 14px;
  color:var(--gray);
  text-align: center;
}

.mb-50{
  margin-bottom: 50px;
}

.pb-50{
  padding-bottom: 50px!important;
}

.sottotitolo{
  font-size: 24px;
  font-weight: 400;
}

.text-white *,
.text-white {
  color: #fff !important;
}

.mt-140{
  margin-top: 140px;
}

.pt-140{
  padding-top: 140px;
}

.pb-140{
  padding-bottom: 140px!important;
}

.my-140{
  margin-top: 140px;
  margin-bottom: 140px;
}
.mt-140{
  margin-top: 140px;
}
.mb-140{
  margin-bottom: 140px;
}

.mb-70{
  margin-bottom: 70px;
}

.pb-70{
  padding-bottom: 70px;
}

.bg-gray{
  background-color: #F5F5F5;
}

.bg-red{
  background-color: var(--main-color);
  padding:27px 0;
}

.bg-red * {
  color:#fff;
}

.titolosezione{
  text-align: center;
}
.data{
  color: var(--main-color);
}
.pinbox {
  border: 2px solid var(--main-color);
  padding: 0.2em 1.5em;
  color: var(--main-color);
  display: inline-block;
  margin-bottom: 1em;
  font-size: 0.9em;
}
.pinbox i{
  color: var(--main-color);
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.btn-std{
  padding: 10px 20px;
  background-color: var(--main-color);
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--main-color);
}
.btn-std i{
  color: var(--white);
  margin-right: 10px;
}

.btn-std:hover,
.btn-std:hover i{
  color: var(--main-color);
  background-color: var(--white);
}

.btn-inv{
  padding: 10px 20px;
  background-color: var(--white);
  color: var(--gray);
  text-decoration: none;
}
.btn-inv:hover{
  color: var(--main-color)!important;
}

.link-std{
  color: var(--main-color)!important;
  text-decoration: none;
  font-family: "Poppins";
}
.link-std i{
  color: var(--main-color)!important;
}
.link-std:hover{
  text-decoration: underline;
}

.vittorino{
  padding:200px 0;
  background-image: url(../img/vittorino-andreoli-desktop.png);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 1000px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.imm-evento{
  min-height:600px;
}

.imm-attivita{
  min-height:420px;
}

.imm-evento,
.imm-attivita{
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


.prefooter {
  background-image: url(../img/pre-footer.jpg);
  min-height: 250px;
  background-size: cover;
	background-position: center;
  height: 10px;
}
.prefooter > a{
  text-decoration: none;
}

.footerbb{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
  font-size: 24px;
}
.footerbb *{
  color: #fff;
}
.footerbb p{
  font-family: "Poppins";
}

.cont-centrato{
  margin:0 auto;
  display: inline-block;
}

.accordion-header,
.accordion-header button{
  font-size: 24px!important;
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius:0;
  border-top-right-radius:0;
}

.accordion-button:focus {
  z-index: 3;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(173, 63, 94,.25);
}

.accordion-button:not(.collapsed){
  color: var(--main-color)!important;
  background-color: #fff;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23AD3F5E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.ar169{
  aspect-ratio: 16/9;
}

.video{
  background-image: url(../img/video.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.blocchibianchi .container{
  background-color: var(--white);
}

.accordion-item {
  border: 1px solid #E3E3E3;
}
.accordion-button:not(.collapsed) {
  box-shadow: inset 0 -1px 0 #E3E3E3;
}

.sponsorgrid{
  grid-template-columns: 1fr 1fr 1fr 1fr ;
  gap:8px;
}

.footerlink{
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  color:var(--gray);
}

.pp *:not(:before){
  font-family: "Poppins";
}

.ins-btn-box{
  display: flex;
  justify-content: end;
}

.amafestival{
  padding:100px 0;
}

footer .link-social{
  margin-top: 10px;
  display: inline-block;
}
footer .link-social:not(:last-child){
  margin-right: 10px;
}

.ama-header{
  background-color: #fff;
}
.ama-header nav{
  display: flex;
  align-items: center;
}

.ama-header .logo-ama,
.ama-header .btn-std{
  display: inline-block;
  height: fit-content;
}

.menulink{
  display: flex;
  height: 100%;
  align-content: center;
  font-family: "Poppins";
  color: var(--gray);
  text-decoration: none;
  padding: 30px;
  border-bottom: 2px solid transparent;
  text-align: center;
}
.menulink:hover{
  color: var(--gray);
  border-color: var(--main-color);
}

.main-hero{
  display: flex;
  min-height: 875px;
  background-image: url(../img/header-desk.jpg);
  /*background-position: right;*/
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  align-items: end;
  padding: 90px 0;
}

.datievento {
/*	text-shadow: 2px 2px 6px rgba(0,0,0,0.49); */
	color: var(--main-color);
}

.datievento h1 {
	color: var(--main-color);
	font-weight: 700;
	font-size: 56px;
}

.datievento p {
	color: #000;
	font-size: 24px;
}


.navbar-toggler {
  box-shadow: none!important;
}

.vittorino-mobile{display: none;}

.immfsline{
  background-image: url(../img/storia-desk-1.jpg);
  min-height:600px;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
  .display-mobile{
    display:none;
  }
  .floating-wa{
    display: none;
  }
	

}
@media (max-width: 767px) {
  html{
    max-width: 100vw;
    overflow-x: hidden;
  }

  body{
    font-size: 16px;
  }

  h1,h2{
    font-size: 24px;
    font-weight: 500;
  }
  
  h3{
    font-size: 22px;
    font-weight: 500;
  }
	
  .text-center-mobile{
    text-align: center;
  }
	
  #contatti .info {
    padding-top: 60px;
    margin-top: 0;
  }
  #download .container {
    padding-top: 60px;
    margin-top: 0;
    padding-bottom: 10px!important;
  }
  .mb-140 {
    margin-bottom: 60px;
  }

  .sottotitolo{
    font-size: 18px;
    font-weight: 400;
  }

  .display-desktop{
    display:none;
  }
  .display-mobile{
    display:block;
  }

  .burger{
    font-size:30px;
    color: #737373;
  }
  .menulink{
    padding: 15px;
    text-align: center;
  }

  .main-hero{
    min-height: 600px;
    background-image: url(../img/header-mobile.jpg);
    padding: 40px 0;
  }

  .amafestival{
    padding:60px 0;
  }

  .vittorino {
    padding: 0;
    background-image: none;
    min-height: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--black);
  }

  .vittorino-mobile{
    display: block;
  }
  .vittorino-mobile img{
    width: 100%;
  }

  .testo{
    padding: 15px;
  }

  .titolosezione{
    margin-top:60px;
    margin-bottom: 25px;
  }

  .imm-evento{
    display: none;
  }

  .singolo-evento-programma{
    margin-bottom: 0;
    border-bottom: 1px solid #e3e3e3;
  }

  .testo > div {
    margin: 5px !important;
    padding: 5px !important;
  }

	  .datievento h1 {
	font-size: 38px;
  }

.datievento p {
	color: #000;
	font-size: 24px;
}
  /*#attivita{
    padding-bottom: 60px!important;
  }*/
  #attivita .titolosezione{
    padding-top:60px;
    margin-top: 0;
    text-align: left;
	  padding-left: 25px;
  }

  .singola-attivita{
    margin-bottom: 0!important;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 3px var(--gray)3a;
  }

  .singola-attivita .immagine{
    order:1;
  }
  .singola-attivita .testo{
    order:2;
  }
  .singola-attivita .immagine .imm-attivita{
    min-height: 235px!important;
  }

  .info{
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .ar169{
    aspect-ratio: 1/1;
  }

  .accordion{
    margin:0 -15px;
  }

  .accordion-header, .accordion-header button {
    font-size: 18px !important;
  }

  .prefooter {
    min-height: 160px;
  }

  .footerbb {
    font-size: 16px;
  }
  
  .sponsor{
    margin-top: 60px;
    margin-bottom: 60px;
  }
  .info h2,
  .sponsor h2{
    margin-bottom: 25px;
    text-align: left;
  }
  .sponsorgrid {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  .primofoot{
    display: flex;
    flex-wrap: wrap;
  }
  .primofoot .col-6 {
    padding: 0 15px;
  }
  .secondofoot{
    padding: 20px 0;
  }
  .secondofoot .txt{
    margin-bottom: 20px;
    text-align: center;
  }
  .secondofoot .ins-btn-box{
    justify-content: center;
  }

  footer.py-5{
    padding-top: 0!important;
    padding-bottom: 30px!important;
  }

  footer h5,
  footer h5.accordion-header button,
  footer h5.accordion-header {
    font-size: 14px!important;
    font-weight: 600;
  }
  footer h5.accordion-header button{
    padding: 15px;
  }
  footer .accordion-body {
    padding: 15px;
  }
  footer .accordion-body ul li {
    margin: 0 -10px;
    padding: 10px;
  }
  footer .accordion-body ul li:last-child {
    border-bottom: 0;
  }
  .contatti-accordion{
    margin-bottom: 10px;
  }
  footer .link-social img{
    width: 34px;
    height: auto;
  }
  footer .logo-ama-footer-cont{
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: end;
  }
  footer .logo-ama-footer{
    height: 60px;
  }

  footer .bottom-footer{
    margin-top: 60px;
    font-size: 10px;
  }
  footer .bottom-footer a{
    font-size: 10px;
  }

  .pinbox{
    margin-bottom: 25px;
  }

  .floating-wa{
    position: fixed;
    bottom: 7%;
  }
  .immfsline{
    background-image: url(../img/storia-mob-1.jpg);
    min-height: 0px;
    aspect-ratio: 8/6;
  }
}

footer a{
  color:var(--gray)!important;
}
footer a:hover{
  color:var(--main-color)!important;
}

.iubenda-banner-content *{
  color: #fff!important;
}
.iub-p *{
  font-family: -apple-system,sans-serif !important;
}

.mapholder{
  display: flex;
}

.mapholder>iframe{
  max-width: 100%;
  width: 100%;
  min-height: 100%;
}

.campiform input,
.campiform textarea{
  max-width: 100%;
  width: 100%;
  padding: 10px;
  /*border: 1px solid var(--gray);*/
  border: 0;
  border-radius: 10px;
}

.flexcapo{
  flex-wrap: wrap;
}
.gap-5{
  padding: 5px;
}
.gap-5:nth-child(2n-1){padding-left:0;}
.gap-5:nth-child(2n){padding-right:0;}

li.hide{display: none!important;}

.form-box{
  display: flex;
  flex-wrap: wrap;
}

.form-box > *{padding: 5px; text-align: center;}



section[id]:before{
  content: '';
  display: block;
  position: absolute;
  width: 0;
  height: 5em;
  margin-top: -5em;
}

.equipegrid{
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.single-equip {
  align-items: center;
}

.iconautente{
  font-size: 2em;
  padding: 0 10px;
  height: 1em;
  fill: var(--gray);
}

.dl-link {
  text-decoration: none;
}

.dl-link img{
  padding-bottom: 15px;
}
.dl-link p{
  font-size: 0.9em;
  font-family:"Poppins"!important;
  padding: 0 0.4em;
}

.dl-link p span{
  display: inline-block;
  padding-top: 5px;
  font-family:"Poppins"!important;
}
.dl-link p span,
.dl-link p span *{
  color: var(--main-color) !important;
}


.dl-link:hover p span,
.dl-link:hover p span *{
  text-decoration: underline;
}

@media (max-width: 767px) {
  .single-equip {
    width: 300px;
    margin: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .equipegrid{
    grid-template-columns: 1fr;
    gap: 0px;
  }
}