/*
Theme Name: Divi Child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Tema child per Divi
Author: Elegant Themes
Author URI: https://www.elegantthemes.com
Template: Divi
Version: 1.0.1
Text Domain: divi-child
*/

/* ================================================== */
/* =============== MENU HEADER ====================== */
/* ================================================== */

.dl-menu-style ul.et-menu > li > a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding-bottom: 5px;
  color: white;
  font-size: 16px !important;
  transition: color 0.3s ease;
}

.et_pb_sticky .dl-menu-style ul.et-menu > li > a {
  font-size: 14px !important;
}

.dl-menu-style ul.et-menu > li > a:before {
  position: absolute;
  content: '';
  display: block;
  z-index: -1;
  background: white;
  width: 0;
  height: 5px;
  bottom: 0;
  border-radius: 5px;
  left: 50%;
  transition: 0.4s cubic-bezier(0.25, 0.1, 0, 2.02), background 0.3s ease;
}

.dl-menu-style ul.et-menu > li > a:hover:before,
.dl-menu-style ul.et-menu > li.current-menu-item > a:before {
  width: 105%;
  left: -2.5%;
}

.et_mobile_menu li a {
  color: #ffffff !important;
}

.et_mobile_menu li {
  border-bottom: 1px solid #ddd;
}

.dl-menu-style ul.et-menu > li.menu-account > a:hover:after,
.dl-menu-style ul.et-menu > li.menu-account.current-menu-item > a:after {
  color: white;
}
/* ================================================== */
/* ======= MENU HEADER LOGIN/LOGOUT/ACCEDI ========== */
/* ================================================== */
/* Logout nascosto se NON loggato */
body:not(.logged-in) .eam-logout-menu-item{
display:none!important;
}

/* Account nascosto se NON loggato */
body:not(.logged-in) .eam-account-menu-item{
display:none!important;
}

/* Login nascosto se loggato */
body.logged-in .eam-login-menu-item{
display:none!important;
}

/* ================================================== */
/* =======   AREA UTENTI DATI AZIENDALI    ========== */
/* ================================================== */
.eam-btn,
button.eam-btn,
a.eam-btn{
display:inline-block;
border:0;
border-radius:10px;
padding:13px 28px;
font-family:'FrutigerLTStd-BlackCn', sans-serif;
font-size:20px;
line-height:1.2;
text-decoration:none!important;
cursor:pointer;
transition:all .25s ease;
}

.eam-btn-primary{
background:#e31e24;
color:#fff!important;
}

.eam-btn-primary:hover,
.eam-btn-primary:focus{
background:#f28c00;
color:#fff!important;
}

.eam-btn-secondary{
background:#e31e24;
color:#fff!important;
}

.eam-btn-secondary:hover,
.eam-btn-secondary:focus{
background:#f28c00;
color:#fff!important;
}
/* ================================================== */
/* ======= AREA UTENTI FORM DATI AZIENDALI ========== */
/* ================================================== */

.eam-profile-edit-form{
background:#ffffff;
border:1px solid #e5e5e5;
border-radius:18px;
box-shadow:0 12px 35px rgba(0,0,0,.08);
padding:36px;
width:100%;
max-width:90%;
}

.eam-profile-edit-grid{
display:grid;
grid-template-columns:49% 49%;
justify-content:space-between;
gap:24px;
}

.eam-profile-edit-field{
display:flex;
flex-direction:column;
}

.eam-profile-edit-field--full{
grid-column:1 / -1;
}

.eam-profile-edit-form label{
font-family:'FrutigerLTStd-Bold', Helvetica, Arial, sans-serif;
font-size:16px;
color:#333333;
margin-bottom:8px;
}

.eam-profile-edit-form input{
width:100%;
height:52px;
padding:0 16px;
border:1px solid #d8d8d8;
border-radius:10px;
background:#fafafa;
font-size:16px;
color:#333333;
transition:border-color .25s ease, box-shadow .25s ease;
}

.eam-profile-edit-form input:focus{
outline:none;
border-color:#e31e24;
box-shadow:0 0 0 4px rgba(227,30,36,.12);
background:#ffffff;
}

.eam-profile-edit-actions{
margin-top:28px;
display:flex;
gap:14px;
flex-wrap:wrap;
}
/* ================================================== */
/* =======   AREA UTENTI DATI CONSENSI    ========== */
/* ================================================== */
.eam-consents-edit-form{
background:#fff;
border:1px solid #e5e5e5;
border-radius:18px;
box-shadow:0 12px 35px rgba(0,0,0,.08);
padding:36px;
max-width:760px;
}

.eam-consent-item{
background:#fafafa;
border:1px solid #e1e1e1;
border-radius:14px;
padding:22px 24px;
margin-bottom:22px;
}

.eam-consent-item__title{
font-size:18px;
font-weight:700;
color:#333;
}

.eam-consent-warning,
.eam-onboarding-status,
.eam-user-onboarding-notice{
background:#fff8e8;
border:1px solid #f0c35a;
border-radius:14px;
padding:24px 28px;
color:#5f4b1e;
line-height:1.7;
}

.eam-consent-warning strong,
.eam-onboarding-status strong,
.eam-user-onboarding-notice strong{
color:#b35a00;
font-size:22px;
}
/* ================================================== */
/* ===== AREA UTENTI RESPONSIVE ===================== */
/* ================================================== */

@media (max-width: 767px) {

  .eam-profile-edit-grid{
    display:grid;
    grid-template-columns:100%;
  }

  .eam-profile-edit-form,
  .eam-consents-edit-form{
    padding:24px;
  }

  .eam-btn,
  button.eam-btn,
  a.eam-btn{
    width:100%;
    text-align:center;
    margin-bottom:10px;
  }

}
/* ================================================== */
/* =============== TABELLA GENERICA ================= */
/* ================================================== */

.conf-table-style {
  width: 100%;
}

.conf-table-style table {
  border-collapse: collapse;
  text-align: left;
  vertical-align: middle;
  border: 1px solid black;
  font-family: 'FrutigerLTStd-Roman', Helvetica, Arial, Lucida, sans-serif;
}

.conf-table-style th,
.conf-table-style td {
  border: 1px solid black;
  padding: 10px;
}

.conf-table-style caption {
  font-weight: bold;
  font-size: 24px;
  text-align: left;
  color: #333;
  margin-bottom: 16px;
}

.conf-table-style thead {
  background-color: #333;
  color: white;
}

.conf-table-style tbody tr:nth-child(odd) {
  background-color: #fff;
}

.conf-table-style tbody tr:nth-child(even) {
  background-color: #eee;
}

@media (max-width: 1024px) {
  .conf-table-style {
    font-size: 8px;
  }
}


/* ================================================== */
/* =============== COLONNE MOBILE =================== */
/* ================================================== */

@media all and (max-width: 767px) {
  html .et-db .two-col-mob .et_pb_column {
    width: 47.25% !important;
  }

  html .et-db .two-col-mob .et_pb_column:nth-last-child(-n+2) {
    margin-bottom: 0;
  }

  html .et-db .two-col-mob .et_pb_column:not(:nth-child(2n)) {
    margin-right: 5.5% !important;
  }

  html .et-db .three-col-mob .et_pb_column {
    width: 29.6667% !important;
  }

  html .et-db .three-col-mob .et_pb_column:nth-last-child(-n+3) {
    margin-bottom: 0;
  }

  html .et-db .three-col-mob .et_pb_column:not(:nth-child(3n)) {
    margin-right: 5.5% !important;
  }

  html .et-db .four-col-mob .et_pb_column {
    width: 20.875% !important;
  }

  html .et-db .four-col-mob .et_pb_column:nth-last-child(-n+4) {
    margin-bottom: 0;
  }

  html .et-db .four-col-mob .et_pb_column:not(:nth-child(4n)) {
    margin-right: 5.5% !important;
  }

  html .et-db .five-col-mob .et_pb_column {
    width: 15.6% !important;
  }

  html .et-db .five-col-mob .et_pb_column:nth-last-child(-n+5) {
    margin-bottom: 0;
  }

  html .et-db .five-col-mob .et_pb_column:not(:nth-child(5n)) {
    margin-right: 5.5% !important;
  }

  html .et-db .six-col-mob .et_pb_column {
    width: 12.083% !important;
  }

  html .et-db .six-col-mob .et_pb_column:nth-last-child(-n+6) {
    margin-bottom: 0;
  }

  html .et-db .six-col-mob .et_pb_column:not(:nth-child(6n)) {
    margin-right: 5.5% !important;
  }
}


/* ================================================== */
/* =============== COLONNE TABLET =================== */
/* ================================================== */

@media all and (min-width: 768px) and (max-width: 980px) {
  html .et-db .one-col-tab .et_pb_column {
    margin-right: 0 !important;
    width: 100% !important;
  }

  html .et-db .one-col-tab .et_pb_column:not(:last-child) {
    margin-bottom: 30px !important;
  }

  html .et-db .two-col-tab .et_pb_column {
    width: 47.25% !important;
  }

  html .et-db .two-col-tab .et_pb_column:nth-last-child(-n+2) {
    margin-bottom: 0;
  }

  html .et-db .two-col-tab .et_pb_column:not(:nth-child(2n)) {
    margin-right: 5.5% !important;
  }

  html .et-db .three-col-tab .et_pb_column {
    width: 29.6667% !important;
  }

  html .et-db .three-col-tab .et_pb_column:nth-last-child(-n+3) {
    margin-bottom: 0;
  }

  html .et-db .three-col-tab .et_pb_column:not(:nth-child(3n)) {
    margin-right: 5.5% !important;
  }

  html .et-db .four-col-tab .et_pb_column {
    width: 20.875% !important;
  }

  html .et-db .four-col-tab .et_pb_column:nth-last-child(-n+4) {
    margin-bottom: 0;
  }

  html .et-db .four-col-tab .et_pb_column:not(:nth-child(4n)) {
    margin-right: 5.5% !important;
  }

  html .et-db .five-col-tab .et_pb_column {
    width: 15.6% !important;
  }

  html .et-db .five-col-tab .et_pb_column:nth-last-child(-n+5) {
    margin-bottom: 0;
  }

  html .et-db .five-col-tab .et_pb_column:not(:nth-child(5n)) {
    margin-right: 5.5% !important;
  }

  html .et-db .six-col-tab .et_pb_column {
    width: 12.083% !important;
  }

  html .et-db .six-col-tab .et_pb_column:nth-last-child(-n+6) {
    margin-bottom: 0;
  }

  html .et-db .six-col-tab .et_pb_column:not(:nth-child(6n)) {
    margin-right: 5.5% !important;
  }
}


/* ================================================== */
/* =============== CAMPI SELECT PERSONALIZZATI ====== */
/* ================================================== */

.select-personal .et-db .et-l .et_pb_contact_field[data-filtertype="acfselectmulitple"]:after,
.et-db .et-l .et_pb_contact_field[data-filtertype="select"]:after,
.et-db .et-l .et_pb_contact_field .divi-acf-map-inline-radius-wrapper:after,
.et-db .et-l .et_pb_contact_select:after {
  border-top-color: transparent;
}


/* ================================================== */
/* =============== TABELLA CONFEZIONI =============== */
/* ================================================== */

.etafelt-confezioni-box {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
  border-radius: 0;
}

.etafelt-confezioni-table-wrap {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.conf-table-style {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  background: transparent;
}

.conf-table-style thead th {
  background: linear-gradient(90deg, #2c2c2c 0%, #3b3b3b 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  padding: 14px 12px;
  line-height: 1.2;
  border: 1px solid #1f1f1f;
}

.conf-table-style tbody td {
  color: #5a5a5a;
  font-size: 16px;
  line-height: 1.35;
  padding: 12px 10px;
  vertical-align: middle;
  border: 1px solid #7f7f7f;
  background: #f3f3f3;
  word-break: break-word;
}

.conf-table-style tbody tr:nth-child(even) td {
  background: #ffffff;
}

.conf-table-style tbody tr:nth-child(odd) td {
  background: #f3f3f3;
}

.conf-table-style th:nth-child(1),
.conf-table-style td:nth-child(1) {
  width: 26%;
}

.conf-table-style th:nth-child(2),
.conf-table-style td:nth-child(2) {
  width: 46%;
}

.conf-table-style th:nth-child(3),
.conf-table-style td:nth-child(3) {
  width: 28%;
}

.et_pb_module .etafelt-confezioni-box {
  margin-bottom: 0 !important;
}

@media (max-width: 980px) {
  .conf-table-style {
    min-width: 680px;
  }

  .conf-table-style thead th {
    font-size: 17px;
    padding: 13px 10px;
  }

  .conf-table-style tbody td {
    font-size: 16px;
    padding: 12px 10px;
  }
}

@media (max-width: 767px) {
  .conf-table-style {
    min-width: 640px;
  }

  .conf-table-style thead th {
    font-size: 16px;
    padding: 12px 10px;
  }

  .conf-table-style tbody td {
    font-size: 15px;
    padding: 11px 9px;
  }
}


/* ================================================== */
/* =============== MENU VERTICALE =================== */
/* ================================================== */

#page-container #et-boc .dl-v-menu .et_pb_menu_inner_container,
#page-container #et-boc .dl-v-menu .et_pb_menu__wrap,
#page-container #et-boc .dl-v-menu .et_pb_menu__menu,
#page-container #et-boc .dl-v-menu.et_pb_menu .et_pb_menu__menu > nav,
#page-container #et-boc .dl-v-menu.et_pb_menu .et_pb_menu__menu > nav > ul {
  display: block;
}

#page-container #et-boc .dl-v-menu .et_mobile_nav_menu {
  display: none;
}

#page-container #et-boc .dl-v-menu.et_pb_menu .et-menu {
  margin: 0;
}

#page-container #et-boc .dl-v-menu ul.sub-menu {
  position: relative;
  visibility: visible;
  opacity: 1;
  top: 0;
  left: 0;
  width: auto;
  border-top: none;
  box-shadow: none;
  display: none;
  transition: none;
  padding: 0;
  margin: 0 0 0 20px;
  border-radius: 0;
}

#page-container #et-boc .dl-v-menu ul.sub-menu li {
  padding: 0;
  margin-top: 8px;
}

#page-container #et-boc .dl-v-menu ul.sub-menu a {
  text-transform: none;
  width: 100%;
}

#page-container #et-boc .dl-v-menu li {
  display: block;
  padding: 0;
  position: relative;
}

#page-container #et-boc .dl-v-menu li a {
  line-height: initial;
  display: block;
  padding: 14px 20px;
  transition: all 0.3s ease-in-out;
  border-radius: 0;
  color: #ffffff !important;
  font-family: 'FrutigerLTStd-Bold', Helvetica, Arial, Lucida, sans-serif;
  text-transform: capitalize !important;
}

#page-container #et-boc .dl-v-menu li.current-menu-item a {
  opacity: 0.75;
}

#page-container #et-boc .dl-v-menu .menu-item-has-children > a:first-child:after {
  display: none;
}

#page-container #et-boc span.dl-sub-toggle {
  font-family: 'ETmodules';
  display: inline-block;
  position: absolute;
  top: 14px;
  right: 10px;
  line-height: 18px;
  text-align: center;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  background: #000;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  transform: scale(1.2);
  transition: 0.3s ease;
  cursor: pointer;
}

#page-container #et-boc span.dl-sub-toggle:hover {
  background: transparent;
}

#page-container #et-boc .toggled > span.dl-sub-toggle {
  transform: scale(1.2) rotate(180deg);
}

#page-container #et-boc .dl-v-menu a:hover {
  color: #fff !important;
}


/* ================================================== */
/* ===== COLORI VOCI PRINCIPALI MENU VERTICALE ===== */
/* ================================================== */

#page-container #et-boc .dl-v-menu li:nth-child(1) a {
  background: #8900bc;
}

#page-container #et-boc .dl-v-menu li:nth-child(2) a {
  background: #0000ff;
}

#page-container #et-boc .dl-v-menu li:nth-child(3) a {
  background: #89bcde;
}

#page-container #et-boc .dl-v-menu li:nth-child(4) a {
  background: #66bc42;
}

#page-container #et-boc .dl-v-menu li:nth-child(5) a {
  background: #ffef00;
  color: #000 !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(6) a {
  background: #ff6609;
}

#page-container #et-boc .dl-v-menu li:nth-child(7) a {
  background: #ff0900;
}


/* ================================================== */
/* ===== HOVER VOCI PRINCIPALI MENU VERTICALE ====== */
/* ================================================== */

#page-container #et-boc .dl-v-menu li:nth-child(1) a:hover {
  background: rgba(137, 0, 188, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(2) a:hover {
  background: rgba(0, 0, 255, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(3) a:hover {
  background: rgba(137, 188, 222, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(4) a:hover {
  background: rgba(102, 188, 66, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(5) a:hover {
  background: rgba(255, 239, 0, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(6) a:hover {
  background: rgba(255, 102, 9, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(7) a:hover {
  background: rgba(255, 9, 0, 0.5);
}


/* ================================================== */
/* ============= SUBMENU MENU VERTICALE ============ */
/* ================================================== */

#page-container #et-boc .dl-v-menu ul.sub-menu li a {
  padding: 5px;
  color: #000000 !important;
  background: transparent;
  font-family: 'FrutigerLTStd-Bold', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 400;
}

#page-container #et-boc ul.sub-menu {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(1) ul.sub-menu li a:hover {
  background: rgba(137, 0, 188, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(2) ul.sub-menu li a:hover {
  background: rgba(0, 0, 255, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(3) ul.sub-menu li a:hover {
  background: rgba(137, 188, 222, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(4) ul.sub-menu li a:hover {
  background: rgba(102, 188, 66, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(5) ul.sub-menu li a:hover {
  background: rgba(255, 239, 0, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(6) ul.sub-menu li a:hover {
  background: rgba(255, 102, 9, 0.5);
}

#page-container #et-boc .dl-v-menu li:nth-child(7) ul.sub-menu li a:hover {
  background: rgba(255, 9, 0, 0.5);
}

#page-container #et-boc .dl-v-menu ul.sub-menu li.sub-active a {
  background-color: rgba(0, 0, 0, 0.2) !important;
  opacity: 1 !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(1) ul.sub-menu li.sub-active a {
  background: rgba(137, 0, 188, 0.5) !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(2) ul.sub-menu li.sub-active a {
  background: rgba(0, 0, 255, 0.5) !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(3) ul.sub-menu li.sub-active a {
  background: rgba(137, 188, 222, 0.5) !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(4) ul.sub-menu li.sub-active a {
  background: rgba(102, 188, 66, 0.5) !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(5) ul.sub-menu li.sub-active a {
  background: rgba(255, 239, 0, 0.5) !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(6) ul.sub-menu li.sub-active a {
  background: rgba(255, 102, 9, 0.5) !important;
}

#page-container #et-boc .dl-v-menu li:nth-child(7) ul.sub-menu li.sub-active a {
  background: rgba(255, 9, 0, 0.5) !important;
}


/* ================================================== */
/* ===== MENU VERTICALE RESPONSIVE / MOBILE ======== */
/* ================================================== */

@media (max-width: 1024px) {
  #page-container #et-boc .dl-v-menu .et-menu-nav {
    display: block !important;
  }

  #page-container #et-boc .dl-v-menu ul.sub-menu {
    display: none !important;
    visibility: visible !important;
    position: relative;
  }

  #page-container #et-boc .dl-v-menu li.toggled ul.sub-menu {
    display: block !important;
  }

  #page-container #et-boc span.dl-sub-toggle {
    display: inline-block !important;
  }

  #page-container #et-boc .dl-v-menu .et_mobile_nav_menu {
    display: none !important;
    visibility: hidden !important;
  }
}

@media only screen and (max-width: 767px) {
  .dl-v-menu,
  .dl-v-menu.et_pb_menu_0 {
    display: block !important;
  }
}


/* ================================================== */
/* ===== PANNELLO LATERALE TROVA IL TUO PRODOTTO === */
/* ================================================== */

#slide-menu {
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 90%;
  max-width: 400px;
  background-color: #fff;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
  transition: left 0.3s ease-in-out;
  z-index: 9998;
  padding-top: 230px;
  padding-left: 45px;
  padding-right: 35px;
  padding-bottom: 0;
  overflow-y: auto;
  font-family: 'FrutigerLTStd-BlackCn', Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  box-sizing: border-box;
}

#slide-menu #divi-menu-container,
#slide-menu #menu-divi,
#slide-menu .dl-v-menu {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#slide-menu #menu-divi,
#slide-menu .dl-v-menu,
#slide-menu .et_pb_menu,
#slide-menu .et_pb_menu_0 {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
}

@media (min-width: 768px) {
  #slide-menu {
    width: 400px;
    max-width: 400px;
    left: -400px;
  }
}

@media (min-width: 1024px) {
  #slide-menu {
    width: 500px;
    max-width: 500px;
    left: -500px;
  }

  .et_mobile_nav_menu {
    display: none !important;
  }
}

@media only screen and (max-width: 1024px) {
  body #slide-menu #divi-menu-container {
    margin-top: 50px !important;
  }
}

@media only screen and (max-width: 767px) {
  body #slide-menu #divi-menu-container {
    margin-top: 80px !important;
  }
}


/* ================================================== */
/* ===== TAB LATERALE TROVA IL TUO PRODOTTO ========= */
/* ================================================== */

.floating-button {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #2c3e50;
  color: #fff;
  padding: 30px 10px 30px 5px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 18px;
  cursor: pointer;
  z-index: 9999;
  transition: background 0.3s;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.4), 2px 2px 10px rgba(0, 0, 0, 0.3);
  font-family: 'FrutigerLTStd-BlackCn', Helvetica, Arial, Lucida, sans-serif;
}

.floating-button:hover {
  background-color: #34495e;
}

#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  z-index: 9997;
}