/**
 * ezaccordions - indice dei contenuti nel front office.
 */

.ezacc {
  margin: 0 0 1.5rem;
  border: 1px solid #00057b;
  border-radius: 3px;
  background: #fff;
  color: #000;
}

.ezacc-head {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  background: #fff;
  color: #00057b;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.ezacc-head:hover,
.ezacc-head:focus {
  background: #00057b;
  color: #fff;
}

/* Con la testata bianca serve una riga di stacco dall'elenco. */
.ezacc.ezacc-open .ezacc-head {
  border-bottom: 1px solid #00057b;
}

.ezacc-title {
  flex: 1 1 auto;
}

/* Il piu' e il meno stanno a sinistra, prima del titolo, e prendono il colore
   della testata. */
.ezacc-icon {
  flex: 0 0 auto;
  width: 1em;
  margin-right: 0.6rem;
  font-size: 1.15em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.ezacc-icon::before {
  content: "\002B";
}

.ezacc.ezacc-open .ezacc-icon::before {
  content: "\2212";
}

.ezacc-body {
  display: none;
  padding: 0.75rem 1rem;
}

.ezacc.ezacc-open .ezacc-body {
  display: block;
}

.ezacc-list,
.ezacc-sublist {
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.ezacc-sublist {
  margin-left: 1.25rem;
}

.ezacc-item {
  margin: 0;
  padding: 0;
}

.ezacc-link {
  display: block;
  padding: 0.25rem 0;
  color: #000;
  font-size: 0.95rem;
  text-decoration: none;
}

.ezacc-link:hover,
.ezacc-link:focus {
  color: #ff603c;
  text-decoration: underline;
}

.ezacc-link.ezacc-active {
  font-weight: 700;
  color: #00057b;
}

.ezacc-number {
  display: inline-block;
  min-width: 2.2em;
  font-weight: 700;
}

.ezacc-level-2 > .ezacc-text {
  font-weight: 600;
}

@media (max-width: 767px) {
  .ezacc-body {
    padding: 0.5rem 0.75rem;
  }

  .ezacc-link {
    padding: 0.4rem 0;
  }
}
