@charset "utf-8";
/* FONT */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');


/* VARIABILI */
:root {
  --background: #F8F9FA;
  --text: #1E1E1E;
  --primary: #84C9F0;
  --secondary: #EB5959;
}

body,
html {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background-color: var(--background);
  font-size: 17px;
}

a {
  color: var(--text);
}

h1,
h2,
h3 {
  font-weight: 700;
}

::selection {
  color: var(--text);
  background: var(--primary);
}

.nav-link,
.navbar a {
  color: white;
}

.navbar.border-bottom {
  border-bottom: 1px solid white !important;
}

.navbar-collapse {
  flex-grow: 0 !important;
}

.navbar .nav-link.active {
  border-bottom: 1px solid var(--secondary);
}

.dropdown-item.active, .dropdown-item:active {
  color: var(--text);
  text-decoration: none;
  background-color: var(--primary);
}

.footer {
  background-color: var(--text);
  color: white !important;
}

.newsletter-footer .btn-dark:hover {
  background-color: white !important;
}

.footer ul:first-child {
  font-weight: 700;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
    color: rgba(255, 255, 255, 0.75);
}

.footer li .current-menu-item {
  border-bottom: 1px solid var(--secondary) ;
}

.footer ul {
  display: flex;
  flex-direction: row;
}



.footer ul li {
  padding: 4px;
}


.footer li ul {
  display: flex;
  flex-direction: column;
  list-style: square;
  font-weight: 400;
}


.footer #menu-item-53, .footer #menu-item-381, .footer #menu-item-581  {
  max-width: 50%;
}

.footer #menu-item-53 ul, .footer #menu-item-381 ul, .footer #menu-item-581 ul {
  display: block;
  column-count: 2;

}

@media (max-width: 992px) {
  .footer ul {
    flex-direction: column;
  }

  .footer #menu-item-53, .footer #menu-item-381, .footer #menu-item-581 {
    max-width: 100%;
  }
}

.newsletter-footer {
  background-color: var(--primary);
}

.loghi-footer {
  background-color: white;
}

#mc_embed_signup_scroll {
  padding-top: 15px;
}

#mce-EMAIL {
  padding: 10px 80px 10px 20px;
  border: none;
  border-radius: 40px;
}

#mc-embedded-subscribe {
  background-color: var(--text);
  color: white;
  font-weight: 500;
  border: none;
  padding: 10px 20px;
  border-radius: 40px;
  margin-left: -40px;
}

#single-eventi.hero-detail,
#single-luoghi.hero-detail {
  color: white;
  /*background-image: url(../img/san-nicolao-header.jpg);*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

}

#archive-luoghi.hero-detail {
  color: white;
  background-image: url(../img/luoghi-container.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#archive-eventi.hero-detail {
  color: white;
  background-image: url(../img/luoghi-container.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#front-page.hero-detail {
  color: white;
  background-image: url(../img/sfondo-home.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  max-height: calc(100dvh - 250px);
}

#search-page.hero-detail {
  color: white;
  background-image: url(../img/hero-search.jpg);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  max-height: calc(100dvh - 70px);
}

.hero-detail {
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


#front-page .hero-opacity {
  height: calc(100dvh - 250px);
  width: auto;
  position: relative;
}

#front-page .cit {
  font-size: 2em;
  font-style: italic;
  font-weight: 500;
  line-height: 100%;
}

#front-page .bi-arrow-down-short {
  font-size: 6em;
  color: white;
}

.hero-opacity {
  background: rgba(30, 30, 30, 0.5);
  /*mix-blend-mode: multiply;*/
}

#front-page .img-fluid {
  min-width: 70%;
}

/*.ticket {
  position: relative;
  border: 2px solid white;
  background: black;
  color: white;
  text-transform: uppercase;
  text-align: center;
  display: inline-block;
  padding: 1em 2em;
}
.ticket:before,
.ticket:after{
  height:90px;
  width:45px;
  content: '';
  position: absolute;
  top: 0.9em;
  top: calc(0.9em - 1px);
  height: 1.2em;
  width: 0.6em;
  border: 2px solid white;
}
.ticket:before {
  left: -2px;
  border-radius: 0 1em 1em 0;
  border-left-color: black;
}
.ticket:after {
  right: -2px;
  border-radius: 1em 0 0 1em;
  border-right-color: black;
}*/

.ticket-top,
.ticket-bottom {
  background-color: white;
  color: var(--text);
  height: 15px;
}

.ticket {
  background-color: white;
  color: var(--text);
  position: relative;
  text-align: center;
  margin: 0px 15px;
  height: 30px;
}

.ticket:before,
.ticket:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 10px solid transparent;
  border-top-color: #fff;
  border-right-color: #fff;
  border-radius: 100%;
  pointer-events: none;
}

.ticket:before {
  left: -15px;
}

.ticket:after {
  transform: translate(-50%, -50%) rotate(225deg);
  right: -65px;
}

.ticket-container {
  max-width: 260px;
  min-width: 230px;
  filter: drop-shadow(2px 2px 0px var(--text)) drop-shadow(2px 2px 0px var(--secondary));
  font-weight: 700;
}

.ticket-container a {
  text-decoration: none;
  color: var(--text);
}

.ticket-container:hover {
  filter: drop-shadow(2px 2px 0px var(--text));
}

.ticket-container:hover .ticket,
.ticket-container:hover .ticket-top,
.ticket-container:hover .ticket-bottom {
  background-color: var(--primary);
}

.ticket-container:hover .ticket:before,
.ticket-container:hover .ticket:after {
  border-top-color: var(--primary);
  border-right-color: var(--primary);
}

.mostra .card {
  border-radius: 1.2em;
  border: 3px solid var(--text);
  background: white;
}

.mostra .card img {
  min-height: 200px;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 1em;
  border-bottom-left-radius: 1em;
}

@media (max-width: 768px) {
  .mostra .card img {
    border-bottom-left-radius: 0;
    border-top-right-radius: 1em;
  }
}

.mostra .card hr {
  border: 1px solid var(--text);
  opacity: 1;
}

.mostra .card-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.bi-square-fill {
  color: var(--secondary);
  font-size: 16px;
  vertical-align: 3px;
}

.btn {
  border-radius: 30px;
}

.btn-primary {
  --bs-btn-color: var(--text);
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: white;
  --bs-btn-hover-bg: var(--text);
  --bs-btn-hover-border-color: var(--text);
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
}

.btn-dark {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--text);
  --bs-btn-border-color: var(--text);
  --bs-btn-hover-color: var(--text);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-focus-shadow-rgb: 66, 70, 73;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #4d5154;
  --bs-btn-active-border-color: #373b3e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #212529;
  --bs-btn-disabled-border-color: #212529;
  filter: drop-shadow(2px 2px 0px var(--text)) drop-shadow(2px 2px 0px var(--secondary));
}

.btn-dark:hover {
  filter: drop-shadow(2px 2px 0px var(--text));
}

.evento .card {
  border-radius: 1em;
  border: 3px solid var(--secondary);
  background: white;
}

.evento .card-text {
  min-height: 76px;
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .evento .card-text {
    min-height: 102px;
}
  }

.evento .card-title {
  font-weight: 700;
  text-transform: uppercase;
  min-height: 24px;
}

.evento.dueRighe .card-title {
    min-height: 51px !important;
}

.evento .card img {
  min-height: 195px;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 0.8em;
  border-top-right-radius: 0.8em;
  aspect-ratio: 16/9;
}

.evento hr {
  border: 1px solid var(--text);
  opacity: 1;
}

.informazioni .ticket-top,
.informazioni .ticket,
.informazioni .ticket-bottom {
  background-color: var(--text);
  color: white;
}

.informazioni .ticket-container a {
  background-color: var(--text);
  color: white;
}

.informazioni .ticket-container:hover a {
  background-color: var(--primary) !important;
  color: var(--text);
}

.informazioni .ticket:before,
.informazioni .ticket:after {
  border-top-color: var(--text);
  border-right-color: var(--text);
}

.luogo .card-title {
  font-weight: 700;
  background-color: rgba(30, 30, 30, 0.8);
  padding: 10px 15px;
  left: 0;
  margin-bottom: 0;
  align-content: center;
  color: white;
  width: 100%;
  min-height: 68px;
}

.luogo .card-title .nome-luogo {
  width: calc(100% - 50px);
}

.luogo .card-title .text-end {
  width: 46px;
}

.mappa img {
max-height: 515px;
margin-bottom: 12px;
}

.mappa {
  text-align: center;
}

/* SEARCH FORM */
#searchForm {
  width: 250px;
  display: inline-block;
  margin-bottom: 0;
}

#searchForm input[type=text] {
  box-sizing: border-box;
  border: none;
  border-radius: 20px;
  background-color: transparent;
  background-image: url('data: image/svg+xml; utf8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23fff" class="bi bi-search" viewBox="0 0 16 16" ><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" /></svg>');
  background-position: 4px 4px;
  padding: 2px 10px 2px 25px;
  background-repeat: no-repeat;
  width: 90px;
  transition: all 0.4s ease-in-out;
  color: #fff;
  outline: none;
}

#searchForm input[type=text]::placeholder,
#searchForm input[type=text]::-webkit-input-placeholder {
  opacity: 1;
  color: #fff
}

#searchForm input[type=text]:focus {
  width: 100%;
  outline: none;
  background-color: #fff;
  color: var(--text);
  padding: 2px 10px 2px 10px;
}

#searchForm input[type=text]:focus::placeholder,
#searchForm input[type=text]:focus::-webkit-input-placeholder {
  color: var(--text);
}


#search {
  width: 70%;
  margin: 0 auto;
  display: inline;
  border-radius: 40px;
  min-height: 50px;
}

@media (max-width: 768px) {
  #search {
    width: 98%;
  }
}

.form-ricerca .btn-ricerca {
  margin-left: -107px;
  min-height: 46px;
  font-weight: 700;
  min-width: 100px;
  vertical-align: 0;
}


h1.icona:before, .icona:before {
  content: url(../img/square-fill.svg);
  height: 16px;
  width: 16px;
  display: inline-block;
  vertical-align: 5px;
  margin-right: 5px;
}

.freccia-home {
  position: absolute;
  bottom: 0;
  left: calc(50% - 48px);
}

.logo-home {
  margin-top: calc(50dvh - 260px);
}

.wp-post-image {
  width: auto !important; /* or probably 100% in case of a grid */
  height: auto !important; 
}


.hidden>a{
  display: none;
}

.hidden li a{
  text-decoration: none;
}

.hidden li {
  list-style: none;
  font-weight: 700;
  text-decoration: none;
}

#menu-legal-menu-ita, #menu-legal-menu-en{
  display: inline-block;
  font-weight: 400 !important;
}