html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header_2 {
  position: relative;
  width: 100%;
  flex: 1 0 auto;
  min-height: 0;
  padding-top: 135px;
  padding-bottom: 40px;
  background-color: #EAEAEA;
  overflow: visible;
  box-sizing: border-box;
}

.header_3 {
  position: fixed;
  top: 53px;
  left: 0;
  width: 100%;
  z-index: 500;
  background-color: white;
}

.header_ul {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 10px 0 0 0;
  display: flex;
  justify-content: center;
  list-style-type: none;
  background-color: white;
  border-bottom: 2px solid rgba(204, 204, 204, var(--border-opacity, 1));
  z-index: 500;
}

.header_ul li {
  position: relative;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 0;
  z-index: 1;
}


.header_ul li.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background-color: #EAEAEA;
}

.header_ul li.active {
  position: relative;
  background-color: #EAEAEA;
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
  z-index: 2;
}

.header_1_li, .header_2_li, .header_3_li, .header_4_li {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: orange;
  background-color: white;
  border: none;
}


.header_1_li.active,
.header_2_li.active,
.header_3_li.active,
.header_4_li.active {
  color: #6C89C6;
  border: 2px solid #ccc;
  border-bottom: 2px solid #EAEAEA !important;
  background-color: #EAEAEA;
  border-radius: 5px 5px 0 0;
  position: relative;
  box-shadow: none;
}

.contenuto_schede_wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 0;
}

.contenuto_scheda {
  display: none;
  position: relative;
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  padding: 10px 0 0 0;
  text-align: center;
  min-height: 200px;
  background-color: transparent;
  overflow: visible;
  z-index: 1;
}

.contenuto_scheda.attiva {
  display: block;
}

footer {
  position: relative;
  z-index: 20;
  background: #f5f5f5;
  padding: 20px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0;
}

body.sfide_login_guard_open {
  overflow: hidden;
}

.sfide_login_guard_overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 35, 58, 0.60);
}

.sfide_login_guard_modal {
  width: min(430px, 100%);
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.sfide_login_guard_header {
  background-color: #6C89C6;
  padding: 14px 16px;
}

.sfide_login_guard_title {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 14px;
  color: orange;
}

.sfide_login_guard_body {
  padding: 18px 16px 12px 16px;
  background: white;
}

.sfide_login_guard_text {
  margin: 0 0 12px 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 12px;
  line-height: 1.6;
  color: #6C89C6;
  text-align: left;
}

.sfide_login_guard_text:last-child {
  margin-bottom: 0;
}

.sfide_login_guard_actions {
  padding: 0 16px 16px 16px;
}

.sfide_login_guard_button {
  width: 100%;
  border-radius: 8px;
  background-color: #6C89C6;
  color: white;
  font-weight: bold;
  font-size: 11px;
  cursor: pointer;
  border: none;
  padding: 12px 14px;
  transition: all 0.2s ease;
}

.sfide_login_guard_button:hover {
  background-color: orange;
}