:root {
  --blue-pre: #095bcc;
  --blue-top: #006ee6;
  --blue-divider: #1b87ff;
  --white: #fff;
  --text: #0a1f44;
  --divider: #d9d9d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--text);
  background: transparent;
}

/* divider_sidebar */
.divider_sidebar {
  position: absolute;
  border: 1px solid rgba(217, 217, 217, 1);
  width: 40px;
  height: 2900px;
  border-top: none;
  border-bottom: none;
  border-left: none;
  z-index: -1;
}

hr {
  border: 1px solid rgba(217, 217, 217, 1);
  margin-top: 1px;
  margin-bottom: 1px;
  margin-left: 40px;
}

.text_verso {
  font-family: "Nunito", sans-serif;
  color: var(--text);
  text-decoration: none !important;
  font-weight: 300 !important;
}

.format_content {
  margin-left: 192px;
}
.progetta {
  margin-top: 127.5px;
  margin-bottom: 127.5px;
  width: 523px;
}

.h6 {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 32px;
  line-height: 26px;
  color: #202124;
}

.box_search_grey {
  position: relative;
  background: #095bcc0f;
  width: 100%;
  gap: 32px;
  border-radius: 8px;
  padding: 24px 24px;
  box-sizing: border-box;
}

.h4_box_search {
  margin: 0;
  font-weight: 600;
  font-size: 26px;
  line-height: 34px;
  letter-spacing: 1px;
  color: #202124;
}

.search-input {
  background-image: url("../componentSvg/search_icon.svg");
  font-family: "Nunito", sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 1px;
  background-repeat: no-repeat;
  background-position: 16px center;
  margin-top: 16px;
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 148, 148, 1);
  padding-left: 48px;
  padding-right: 48px;
  width: 100%;
}

.h3_v1 {
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: 1px;
  vertical-align: middle;
}

.box_frame {
  position: relative;
  background: #ffffff;
  width: 743px;
  height: auto;
  gap: 32px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 26px 24px;
  padding-right: 16px;
  box-sizing: border-box;
}

.h5_v1 {
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 1px;
  vertical-align: middle;
  margin-bottom: 26px !important;
}

.box_child {
  padding-left: 19.5px;
  display: flex;
  background: #f7f7f7;
  width: 703px;
  height: 56px;
  border-radius: 8px;
  padding-top: 24px;
  padding-bottom: 24px;
  box-sizing: border-box;
  margin-top: 12px;
}

.list_par {
  margin-left: 11.5px;
  display: flex;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: underline;
  text-decoration-style: solid;
  color: #006ee6;
  align-items: center;
}

.grid_content_and_index {
  display: grid;
  grid-template-columns: 3fr 1fr; /* contenuto + sidebar */
  gap: 40px;
}

.col-1 {
  width: 70%;
  float: left; /* Affianca la colonna a sinistra */
}

.icon_doc {
  margin-top: -7px;
  background-image: url("../componentSvg/icon_doc.svg");
  background-repeat: no-repeat;
  width: 17px;
  height: 17px;
}

/* inizio parte nuova */
.margin_bottom_40 {
  margin-bottom: 40px;
}

.sidebar_v1 {
  padding-left: 20px;
  align-self: start;
  position: sticky;
  top: 40px;
  max-height: calc(100vh - 100px);
  margin-top: 40px;
}

.sidebar_v1 h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.sidebar_v1 ul {
  list-style: none;
  margin: 0;
}

.sidebar_v1 li {
  margin-bottom: 8px;
}

.sidebar_v1 a {
  text-decoration: none;
  color: #0070f3;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 1px;
  margin-bottom: 0px;
  margin-top: 5px;
}

.nav-list {
  list-style: none;
  padding-left: 15px;
  margin: 0;
  position: relative;
}

.nav-list li {
  margin: 0 0 15px 0;
  position: relative;
  padding-left: 20px;
}
.nav-list::before {
  content: "";
  position: absolute;
  top: 15px; /* parte dal centro del primo bullet */
  bottom: 15px; /* finisce al centro dell’ultimo bullet */
  width: 2px;
  background: #ddd;
}

.nav-list li::before {
  content: "";
  width: 15px;
  height: 15px;
  background-color: #0070f3;
  border-radius: 50%;
  position: absolute;
  left: -6px;
  top: 6px;
}

.nav-list a {
  font-weight: 300;
  color: #0070f3;
  text-decoration: none;
  transition: font-weight 0.2s, color 0.2s;
}

.nav-list a.active {
  font-weight: 800;
  color: #0070f3;
}

.margin_top_16_box {
  margin-top: 16px;
}

.accordion details {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 12px;
  padding: 0;
  background-color: #fff;
  overflow: hidden;
}

.m_top_26 {
  margin-top: 26px !important;
}

.accordion summary {
  font-weight: 600;
  font-size: 22px;
  list-style: none;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 30px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::marker {
  display: none;
}

.arrow-icon {
  margin-top: 16px;
  margin-right: 0;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  background-image: url("../componentSvg/arrow_details.svg");
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  transition: transform 0.3s ease;
}

details[open] .arrow-icon {
  transform: translateY(-50%) rotate(180deg);
}

/* fine parte nuova */

h1 {
  font-weight: 600;
  font-size: 40px;
  letter-spacing: 1px;
  margin: 40px 0 0;
}
.p_par {
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 8px;
  margin-bottom: 0;
  line-height: 28px;
  color: #202124;
}
.p_tab {
  border-bottom: 1px solid #006ee6;
  height: 72px;
  gap: 32px;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 8px;
  line-height: 28px;
  color: #202124;
}
.p_tab_blue {
  gap: 32px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 8px;
  line-height: 28px;
  color: #006ee6;
}

.top40 {
  margin-top: 40px;
}

.on_row {
  display: flex;
}
.pre-header {
  background: var(--blue-pre);
  height: 32px;
  padding: 4px 40px;
  display: flex;
  align-items: center;
}

.pre-header-group {
  width: 251.4884px;
  height: 27px;
  padding-left: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mef-logo {
  width: 23.4884px;
  height: 21px;
  display: block;
}

.pre-header-text {
  color: var(--white);
  font-size: 13.5px;
  letter-spacing: 0.75px;
  line-height: 21px;
}

.top-header {
  background: var(--blue-top);
  height: 72px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
}

.top-header__row {
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.args-logo {
  width: 160.8px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.top-header__cta {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.icon-16 {
  width: 16px;
  height: 16px;
  display: inline-block;
}

/* box_divider */
.box_divider {
  display: flex;
}

/* breadcrumb */
.breadcrumb {
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 60px;
}
.breadcrumb .slash {
  color: #006ee6;
}
.breadcrumb a {
  color: #006ee6;
  text-decoration: underline;
  font-weight: 600;
}
.home-icon img {
  margin-left: 44px;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
}
.sidebar-icon {
  width: 32px;
  height: 32px;
  display: flex;
  margin-left: 24px;
  margin-top: 16px;
  position: absolute;
}

/* img pattern */
.pattern-bg {
  display: block;
  margin-left: auto;
  margin-right: 0;
}
.btn-acc {
  font-size: 18px;
  width: 160px;
  height: 40px;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-top);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 16px;
  font-weight: 500;
}

.btn-acc:hover {
  filter: brightness(0.96);
}

.btn-reg {
  font-size: 18px;
  width: 160px;
  height: 40px;
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 16px;
  border: 1px solid var(--white);
  font-weight: 500;
}

.btn-ass {
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  line-height: 28px;
  font-weight: 500;
}

.divider {
  height: 1px;
  width: 100%;
  background: var(--blue-divider);
}

.subheader {
  background: var(--blue-top);
  height: 48px;
  display: flex;
  align-items: center;
}

.subheader__row {
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.tb {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 24px;
}

.tb__label {
  display: inline-block;
}

.w-150 {
  width: 150px;
}

.w-171 {
  width: 171px;
}

.w-129 {
  width: 129px;
}

.w-78 {
  width: 78px;
}

.tb__icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tb__icon--right {
  margin-left: 4px;
}

.icon-chev {
  width: 18.1837px;
  height: 10px;
  display: block;
}

.underline {
  text-decoration: underline;
}

.tb-search {
  margin-left: auto;
}
.img-bg-container {
  position: relative;
  margin-right: auto;
}
.pattern-bg-1 {
  z-index: 0;
  position: absolute;
  right: 0;
  margin-top: 19px;
}

.back_bar {
  align-items: center;
  margin-left: 29px;
  line-height: 24px;
  gap: 8px;
}

.btn-bck {
  font-size: 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-top);
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  font-weight: 500;
}

.share {
  margin-left: auto;
  align-items: center;
}
.btn-share {
  margin-left: 0;
  font-size: 18px;
  border-radius: 8px;
  color: var(--blue-top);
  display: flex;
  justify-content: right;
  text-decoration: none !important;
  font-weight: 500;
}

.tabbar {
  display: flex;
  gap: 32px;
  border-bottom: 2px solid #e0e0e0;
}

.tab {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 1px;
  color: #555;
  cursor: pointer;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tab.active {
  color: #006ee6;
  font-weight: 700;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab:hover {
  color: #006ee6;
}

.tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  transition: background 0.3s;
}

.tab.active::after {
  background: #006ee6;
}

.p_strong {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 28px;
}

/* text p light */
.p_grey_light {
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 16px;
  line-height: 28px;
  color: #6e7379;
}
.p_grey_light_16 {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 1px;
  margin-top: 8px;
  line-height: 28px;
  color: #6e7379;
}

.p_grey_light_16_v2 {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 1px;
  margin-top: 8px;
  line-height: 24px;
  color: #6e7379;
}
.h2_v1 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 600;
  font-size: 32px;
  line-height: 42px;
  letter-spacing: 1px;
}
.h5_v2 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: 1px;
  color: #202124;
}

.p_16 {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 28px;
  color: #6e7379;
}

.p_18 {
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 28px;
  color: #6e7379;
}
.p_18_b {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 28px;
  color: #202124;
}
/* footer */
.site-footer {
  background: #006ee6;
}
.footer-inner {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 16px 40px;
}
.footer-mini {
  width: 31.9568px;
  height: 32px;
  display: block;
}
.footer-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  line-height: 28px;
}
.footer-external {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* subfooter */
.subfooter {
  background: #fff;
}
.subfooter-inner {
  height: 50.3183px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 40px;
}
.rgs-brand {
  display: flex;
  align-items: center;
  gap: 6.16px;
  padding: 6.16px 0;
}
.rgs-mef {
  width: 24.111px;
  height: 21.557px;
  display: block;
}
.rgs-brand-text {
  color: #003897;
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: 13.86px;
  line-height: 21.56px;
  letter-spacing: 0.77px;
}

/* help badge */
.help-fab {
  background-image: url("../componentSvg/Interrogativo.svg");
  position: fixed;
  right: 24px;
  bottom: 24px;
  min-width: 80px;
  min-height: 80px;
  border-radius: 100px;
  background: #e6f9f8;
  border: 1px solid #038984;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
}
.help-fab img {
  max-width: 64px;
  max-height: 64px;
  display: inline-block;
}

@media (max-width: 900px) {
  .top-header__row,
  .subheader__row {
    padding: 0 16px;
  }
}

/* CSS Michele */
.template-hub-linee-guida-progetta__top-side {
  display: flex;
  align-items: center;
}

.template-hub-linee-guida-progetta__top-pharagraph {
  max-width: 523px;
}

.sticky {
  background-color: white;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.margin-t-40 {
  margin-top: 40px;
}

.margin-t-24 {
  margin-top: 24px;
}

.margin-t-16 {
  margin-top: 16px;
}

.margin-t-8 {
  margin-top: 8px;
}

.margin-b-0 {
  margin-bottom: 0px;
}

.margin-b-16 {
  margin-bottom: 16px;
}

.margin-b-12 {
  margin-bottom: 12px;
}
.margin-b-40 {
  margin-bottom: 40px;
}
.margin-b-120 {
  margin-bottom: 120px;
}
.verso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 2;
  align-items: center;
}
.title-section {
  margin-top: 40px;
  margin-bottom: 16px;
}


.tab-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100vw;
  background-color: #d9d9d9;
  z-index: -1;
}

@media (max-width: 768px) {
  .verso-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .verso-grid-left,
  .verso-grid-right img {
    height: auto;
    width: 100%;
  }

  .verso-grid-right {
    margin-top: 16px;
  }

  .title-section {
    margin-top: 24px;
  }
}
@media (max-width: 766px) {
  .grid_content_and_index {
    display: inline;
  }
  .sidebar_v1 {
    display: none;
  }
}

.tab-bar {
  position: relative;
}

.tab-bar::before {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 335px;
  width: 48vw;
  height: 61px;
  z-index: -1;
}

.tab-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 77vw;
  background-color: #d9d9d9;
  z-index: -1;
}
