/**
 * ==================================================
 * FILE: etafelt-tabs-accordion.css
 * VERSIONE: 1.0.0
 * DATA: 2026-06-04
 * PROGETTO: ETAFELT
 * SCOPO:
 * Stili personalizzati per Tabs e Accordion standard Divi 5.
 * Sostituisce i plugin Divi Tabs Maker e Accordion Plus.
 * ==================================================
 */


/* ================================================== */
/* ===== FONT AWESOME LOCALE DIVI PER TABS ========== */
/* ================================================== */

@font-face {
  font-family: "FontAwesome";
  src: url("../../../Divi/core/admin/fonts/fontawesome/fa-solid-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* ================================================== */
/* ========== TABS COLORATI ETAFELT v5 ============== */
/* ================================================== */

.etafelt-tabs-colorati,
.etafelt-tabs-colorati.et_pb_tabs {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.etafelt-tabs-colorati .et_pb_tabs_controls {
  display: flex;
  width: 100%;
  border: none !important;
  background: transparent;
  margin: 0;
  padding: 0;
}

.etafelt-tabs-colorati .et_pb_tabs_controls li {
  flex: 1 1 0;
  height: 80px;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.etafelt-tabs-colorati .et_pb_tabs_controls li a {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 0 !important;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.etafelt-tabs-colorati .et_pb_tabs_controls li a::before {
  font-family: "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 26px;
  line-height: 1;
  color: #ffffff;
  display: block;
}

.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(1) { background: #8e24aa; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(2) { background: #0000ff; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(3) { background: #8ec3df; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(4) { background: #5dbb3f; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(5) { background: #ffea00; }

.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(1) a::before { content: "\f15b"; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(2) a::before { content: "\f05a"; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(3) a::before { content: "\f576"; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(4) a::before { content: "\f53f"; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(5) a::before { content: "\f466"; }

.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(5) a,
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(5) a::before {
  color: #000000 !important;
}

.etafelt-tabs-colorati .et_pb_tabs_controls li.et_pb_tab_active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid transparent;
  z-index: 10;
}

.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(1).et_pb_tab_active::after { border-top-color: #8e24aa; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(2).et_pb_tab_active::after { border-top-color: #0000ff; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(3).et_pb_tab_active::after { border-top-color: #8ec3df; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(4).et_pb_tab_active::after { border-top-color: #5dbb3f; }
.etafelt-tabs-colorati .et_pb_tabs_controls li:nth-child(5).et_pb_tab_active::after { border-top-color: #ffea00; }

.etafelt-tabs-colorati .et_pb_all_tabs {
  background: transparent !important;
  border: none !important;
  padding: 18px 0 0 0;
  margin: 0;
}

.etafelt-tabs-colorati .et_pb_tab {
  background: #ffffff !important;
  border: none !important;
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.etafelt-tabs-colorati .et_pb_tab h1,
.etafelt-tabs-colorati .et_pb_tab h2,
.etafelt-tabs-colorati .et_pb_tab h3 {
  margin-top: 0;
}

.etafelt-tabs-colorati .et_pb_tab p,
.etafelt-tabs-colorati .et_pb_tab li {
  color: #666666;
}

.etafelt-tabs-colorati .conf-table-style {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.etafelt-tabs-colorati .conf-table-style th {
  background: #2b2b2b;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  padding: 18px;
  text-align: center;
}

.etafelt-tabs-colorati .conf-table-style td {
  color: #555555;
  font-size: 18px;
  padding: 16px;
  border: 1px solid #cfcfcf;
}

.etafelt-tabs-colorati .conf-table-style tr:nth-child(odd) td {
  background: #f5f5f5;
}


/* ================================================== */
/* ======== ACCORDION COLORATO ETAFELT MOBILE ======= */
/* ================================================== */

.etafelt-accordion-colorato {
  border: none !important;
}

.etafelt-accordion-colorato .et_pb_toggle {
  border: none !important;
  margin-bottom: 8px !important;
  background: transparent !important;
}

.etafelt-accordion-colorato .et_pb_toggle_title {
  min-height: 66px;
  margin: 0 !important;
  padding: 16px 55px 16px 70px !important;
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  position: relative;
}

.etafelt-accordion-colorato .et_pb_toggle_title::before {
  font-family: "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 24px;
  line-height: 1;
  position: static !important;
  transform: translateY(5px) !important;
  margin-right: 16px;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center;
  opacity: 1 !important;
  visibility: visible !important;
}

.etafelt-accordion-colorato .et_pb_toggle:nth-child(1) .et_pb_toggle_title { background: #8e24aa; }
.etafelt-accordion-colorato .et_pb_toggle:nth-child(2) .et_pb_toggle_title { background: #0000ff; }
.etafelt-accordion-colorato .et_pb_toggle:nth-child(3) .et_pb_toggle_title { background: #8ec3df; }
.etafelt-accordion-colorato .et_pb_toggle:nth-child(4) .et_pb_toggle_title { background: #5dbb3f; }
.etafelt-accordion-colorato .et_pb_toggle:nth-child(5) .et_pb_toggle_title { background: #ffea00; color: #000000 !important; }

.etafelt-accordion-colorato .et_pb_toggle:nth-child(1) .et_pb_toggle_title::before { content: "\f15b"; }
.etafelt-accordion-colorato .et_pb_toggle:nth-child(2) .et_pb_toggle_title::before { content: "\f05a"; }
.etafelt-accordion-colorato .et_pb_toggle:nth-child(3) .et_pb_toggle_title::before { content: "\f576"; }
.etafelt-accordion-colorato .et_pb_toggle:nth-child(4) .et_pb_toggle_title::before { content: "\f53f"; }
.etafelt-accordion-colorato .et_pb_toggle:nth-child(5) .et_pb_toggle_title::before { content: "\f466"; color: #000000 !important; }

.etafelt-accordion-colorato .et_pb_toggle_title::after {
  font-family: "FontAwesome" !important;
  font-weight: 900 !important;
  font-size: 18px;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: block !important;
}

.etafelt-accordion-colorato .et_pb_toggle_close .et_pb_toggle_title::after {
  content: "\f078" !important;
  color: #ffffff !important;
}

.etafelt-accordion-colorato .et_pb_toggle_open .et_pb_toggle_title::after {
  content: "\f077" !important;
  color: #ffffff !important;
}

.etafelt-accordion-colorato .et_pb_toggle:nth-child(5) .et_pb_toggle_title::after {
  color: #000000 !important;
}

.etafelt-accordion-colorato .et_pb_toggle_open .et_pb_toggle_title {
  border-radius: 12px 12px 0 0;
}

.etafelt-accordion-colorato .et_pb_toggle_close .et_pb_toggle_title {
  border-radius: 12px;
}

.etafelt-accordion-colorato .et_pb_toggle_content {
  background: #ffffff !important;
  padding: 24px 28px !important;
  border: 1px solid #eeeeee;
  border-radius: 0 0 12px 12px;
  color: #666666;
}