html{
  max-width: 2000px!important;
}

body{
  font-size: 18px;
}

*{
  font-family: Georgia;
  color: #3a3a3a;
}
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 #c6c6c6;
  padding: 10px;
}


section[id]:not(#attivita){
	/*margin-top: -100px; */
	
}
section[id]:not(#attivita):before{
  display: block;
  content:"";
  padding-top: 100px;
  height: 0;
}

.bottom-footer,
.bottom-footer *{
  font-size: 14px;
  color:#3a3a3a;
  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;
}

.mb-70{
  margin-bottom: 70px;
}

.pb-70{
  padding-bottom: 70px;
}

.bg-gray{
  background-color: #F5F5F5;
}

.bg-red{
  background-color: #AD3F5E;
  padding:27px 0;
}

.bg-red * {
  color:#fff;
}

.titolosezione{
  text-align: center;
}
.data{
  color: #AD3F5E;
}
.pinbox {
  border: 2px solid #AD3F5E;
  padding: 0.2em 1.5em;
  color: #AD3F5E;
  display: inline-block;
  margin-bottom: 1em;
  font-size: 0.9em;
}
.pinbox i{
  color: #AD3F5E;
}

.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: #AD3F5E;
  color: #ffffff;
  text-decoration: none;
  border: 2px solid #AD3F5E;
}
.btn-std i{
  color: #ffffff;
  margin-right: 10px;
}

.btn-std:hover,
.btn-std:hover i{
  color: #AD3F5E;
  background-color: #ffffff;
}

.btn-inv{
  padding: 10px 20px;
  background-color: #ffffff;
  color: #3a3a3a;
  text-decoration: none;
}
.btn-inv:hover{
  color: #AD3F5E!important;
}

.link-std{
  color: #AD3F5E!important;
  text-decoration: none;
  font-family: "Poppins";
  display: inline-block;
}
.link-std i{
  color: #AD3F5E!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;
}

.arearistoro{
  padding:100px 0;
  background-image: url(../img/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 600px;
  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: #AD3F5E!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: #ffffff;
}

.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 1fr 1fr 1fr 1fr;
  gap:20px;
}

.footerlink{
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  color:#3a3a3a;
}

.pp *:not(:before){
  font-family: "Poppins";
}

.ins-btn-box{
  display: flex;
  justify-content: end;
}

.amafestival{
  padding:100px 0;
}

#programma.pb-100{
  padding-bottom:100px;
}

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: #3a3a3a;
  text-decoration: none;
  padding: 30px;
  border-bottom: 2px solid transparent;
  text-align: center;
}
.menulink:hover{
  color: #3a3a3a;
  border-color: #AD3F5E;
}

.main-hero{
  display: flex;
  min-height: 875px;
  background-image: url(../img/ama_desktop.jpg);
  background-position: right;
  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: #fff!important;
}




.navbar-toggler {
  box-shadow: none!important;
}

.no-desktop{display: none;}

.vittorino-mobile{display: none;}

.modalcontentcustom{}

@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;
  }

  .no-mobile{display: none;}
  .no-desktop{display: block;}

  .contatappe .row{flex-direction: column;}
  .contatappe .sep-tappa {text-align: center;}
  .contatappe .sep-tappa img{transform: rotate(90deg);margin: 20px auto;}

  .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/ama-mobile.jpg);
    padding: 40px 0;
  }

  .amafestival{
    padding:60px 0;
  }

  #programma.pb-100{
    padding-bottom:60px;
  }

  .vittorino {
    padding: 0;
    background-image: none;
    min-height: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #000000;
  }

  .arearistoro{
    padding: 0;
    background-image: none;
    min-height: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 60px;
  }
  .arearistoro .testo {
    padding-left: 25px;
    padding-right: 25px;
  }
  .arearistoro .text-white *:not(.link-std){
    color: #3a3a3a!important;
  }

  .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;
  }

  #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 #3a3a3a3a;
  }

  .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%;
  }
  .img-sector{order:0;}
  .txt-sector{order:1;}

  .container-attivita{
    overflow-x: scroll;
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
  }
}

footer a{
  color:#3a3a3a!important;
}
footer a:hover{
  color:#AD3F5E!important;
}

.iubenda-banner-content *{
  color: #fff!important;
}
.iub-p *{
  font-family: -apple-system,sans-serif !important;
}

.sing-tappa{
  display: flex;
  align-items: center;
  /*justify-content: center;*/
  justify-content: flex-start;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  text-align: center;
  background-color: #F5F5F5;
}

@media screen and (min-width: 768px){
  .sing-tappa{
    aspect-ratio: 1/1;
  }
}

.tappa-txt{
  margin-top: 20px;
}
.tappa-txt p{
  margin-bottom: 0;
}

.sep-tappa{
  display: flex;
}

.modalcontentcustom .modal-header {
  border: 0 !important;
}

.modal .close {
  border: 1px solid #000;
  width: 2em;
  height: 2em;
  display: block;
  line-height: 1em;
  text-transform: uppercase;
  vertical-align: middle;
  border-radius: 50%;
  font-weight: bold;
  position: absolute;
  right: -1em;
  top: -1em;
}

.modalcontentcustom .modal-content {
  background: transparent;
  border: 0;
}

.btn-phan{
  background-color: transparent!important;
  border-color: #fff!important;
}

.btn-phan:hover{
  background-color: #AD3F5E!important;
  border-color: #fff!important;
}

.dataprogramma{
  border-bottom: 1px solid #000;
  font-weight: bold;
  padding-bottom: 25px;
  grid-column-start: 1;
  grid-column-end:3;
}
.programmadescrizone{
  grid-column-start: 1;
  grid-column-end:3;
}

.programmagrid{
}
.programmagrid > div{
  border-bottom:1px solid #777;
  display: grid;
  grid-template-columns: 1fr 7fr;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 15px;
}

.programmainfo{
  display: grid;
  align-items: center;
  grid-template-columns: 2fr 3fr;
}
.programmainfo > div,
.programmagrid > div > div{
  padding: 3px 10px;
}

.ospite-box{
  padding: 20px;
  background-color: #F5F5F5;
}

.modal-header{
  border-bottom: 0;
}

@media screen and (max-width: 767px){
  .programmagrid > div{
    padding: 0;
    padding-bottom: 25px;
  }
  .programmagrid > div{
    grid-template-columns: 1fr;
  }
  .programmainfo{
    display: block;
  }
  .dataprogramma,
  .programmadescrizone{
    grid-column-end:1;
  }
  .arearistoro .text-white .link-std,
  .arearistoro .text-white .link-std *{color: #AD3F5E !important;}
}

.postilla{
  margin-bottom: 0;
  font-size: 0.7em;
}

.close * {
  font-size: 1.7em;
}


.singoloospite {
display: flex;
flex-direction: column;
}

.ospite-box {
flex-grow: 9;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.gdpr-banner-content *,
#gdpr-settings-modal *{
    font-family: "Poppins"!important;
}