/* =========================
   BASE
========================= */

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  touch-action: pan-x pan-y;
  background-color: #f5f7fa !important;
  font-family: "DM Sans", sans-serif; !important;
}


body section:last-of-type {
  min-height: auto !important;
  place-items: inherit;
  justify-content: inherit !important;
}

a {
  text-decoration: none !important;
}

/* =========================
   FORM - Contact Form 7
========================= */

.wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-form [type="submit"],
.wpcf7-form button {
  padding: 15px 40px;
  color: #151515 !important;
  background-color: #fff;
  border: 1px solid #fff !important;
}

.wpcf7-form [type="submit"]:hover,
.wpcf7-form button:hover {
  color: #fff !important;
  background-color: #151515;
  border: 1px solid #fff !important;
}

.wpcf7-form [type="submit"]:focus,
.wpcf7-form button:focus {
  outline: none !important;
}

.main-form .row {
  display: flex;
  flex-wrap: wrap;
}

.col-md-6 {
  width: 49% !important;
}

.col-md-6:nth-child(odd) {
  margin-right: 1% !important;
}

.col-md-6:nth-child(even) {
  margin-left: 1% !important;
}

.col-md-12 {
  width: 100% !important;
}

.wpcf7-form label {
  width: 100% !important;
  margin-bottom: 15px;
  color: #fff;
}

input[type="number"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input[type="search"],
select {
  display: block;
  width: 100%;
  height: 50px;
  padding: 5px 15px;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #151515;
  background-color: #f6f6f6 !important;
  border: 0;
  border-radius: 0;
  outline: transparent;
}

textarea {
  width: 100%;
  color: #151515;
  padding: 15px;
  background-color: #f3f3f3;
  border: 0;
  border-radius: 0;
  outline: transparent;
}

input[type="checkbox"] {
  accent-color: #fff;
}
.wpcf7 form.sent .wpcf7-response-output {
    color: #fff;
}
/* =========================
   BREAKDANCE / UI
========================= */
.breakdance-menu{
    --link-padding-right: 10px !important;
}
  .bde-loop-item{
      padding: 0 !important;
  }




.component-event-provincia {
  position: relative;
}

/* Il link principale diventa un overlay invisibile sull'intera card */
.component-event-provincia > a.oxy-container-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Il pulsante "Leggi tutto" e la categoria rimangono cliccabili sopra */
.component-event-provincia .pulsante-content,
.component-event-provincia .container-tipology-category {
  position: relative;
  z-index: 3;
}





.province-wrap {
  display: flex !important;
  gap: 0 !important;
  align-items: flex-start;
}

/* SIDEBAR - desktop */
.province-sidebar {
  width: 15%;
  flex-shrink: 0;
  padding-right: 25px;
  margin-top: 75px;
}

.prov-tab-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  border-left: 3px solid transparent;
  font-size: 14px;
  cursor: pointer;
  color: inherit;
  transition: background .15s;
}

.prov-tab-btn:hover {
  background: rgba(0,0,0,0.04);
}

.prov-tab-btn.active {
  border-left-color: #F24D5D;
  font-weight: 600;
}

/* DROPDOWN - mobile */
.province-select {
  display: none;
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  background: var(--color-background-primary, #fff);
  color: inherit;
  margin-bottom: 16px;
  cursor: pointer;
}

/* PANELS */
.province-content > div {
  display: none;
}

.province-content > div.active {
  display: block;
}
.province-content{
    width: 85% !important;
}


/* =========================
   RESPONSIVE
========================= */

@media (min-width: 1921px) and (max-width: 3200px) {
  
}

@media (max-width: 1500px) {
  
}

@media (max-width: 1200px) {
  
element.style {
}


@media (max-width: 1023px) {
  .bde-post-loop-62-103 .swiper-pagination-progressbar{
      bottom: -10px !important;
  }
}

@media (max-width: 976px) {
  
}

@media (max-width: 767px) {
  .col-md-6 {
    width: 100% !important;
  }
  .col-md-6:nth-child(even) {
    margin-left: 0 !important;
  }
  .province-wrap {
    flex-direction: column !important;
  }

  .province-sidebar {
    display: none;
  }

  .province-select {
    display: block;
    margin-bottom: 50px;
  }

  .province-content {
    width: 100%;
  }
  .province-content{
    width: 100% !important;
}

}

@media (max-width: 576px) {
  
}