﻿/* eliminare pallini modulo storia // eliminato l'html
section.mod.m22 .splide__pagination {
    display: none;
}
 */
/* /eliminare pallini modulo storia */

/* ESG statistiche */

.esg-page .circle-progress strong {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    color: var(--bs-primary);
}

.esg-page .circle-progress {
    width: 220px;
    margin: 6px 6px 20px;
    display: inline-block;
    position: relative;
    text-align: center;
    line-height: 1.2;
}


.cnt__subtitle p:last-child {
    margin-bottom: 0px;
}

.cnt__subtitle {
    color: #22317F;
}

.cnt__subtitle--uppercase {
    font-family: var(--gotham);
    font-weight: 600;
    font-size: 1.375rem;
    text-transform: uppercase;
    color: var(--bs-primary);
}


.mod-04 .cnt__subtitle--uppercase {
    color: #323943;
}

.kpi--white {
    color: var(--bs-white);
}

.bg-lavander {
    background-color: rgba(34, 47, 127, 0.7);
}

.kpi__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 3rem 5rem;
    -moz-column-gap: 5rem;
    column-gap: 5rem;
    row-gap: 5rem;
}

.kpi__article {
    text-align: center;
}

.kpi__number,
.kpi__ext {
    font-family: "Prata";
    font-size: 4.5rem;
    letter-spacing: -0.15px;
}

.kpi__title,
.kpi__body {
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    max-width: 19rem;
}

.kpi--white {
    color: var(--bs-white);
}

.number__wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto;
}

.kpi__cat {
    font-weight: 900;
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    color: var(--bs-white);
}

.kpi__article {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* /ESG statistiche */

/* Accordion documentazione-esg
article.doc {
    padding: 5px;
}

.int-folder{
  margin: 0 20px 20px;

} */
/* /Accordion documentazione-esg */

/* Fondo dati strutturati */
@media (min-width: 48rem) {
    dl {
        display: grid;
        grid-template-columns: 100%;
        /* singola colonna */
    }

    dt,
    dd {
        grid-column: 1;
    }
}

/*
@media (min-width: 48rem) {
    dd {
        padding-left: 0.75rem !important;
    }
}
*/
/* /Fondo dati strutturati*/

/* Spazio accordion doc governance-sgr */
.mod+.accordion-doc {
    margin-top: var(--sp2-h);
}

/* /Spazio accordion doc governance-sgr */

/* Riga colorata legenda mappa */
.m09 [class^=line]::before {
    content: "";
    display: block;
    height: 0.4rem;
    width: 2rem;
    background: var(--dot-color, var(--bs-primary));
    position: absolute;
    inset: 0.5lh auto auto 0;
    transform: translateY(-50%);
}

.line-red {
    --dot-color: red;
    position: relative;
    padding-left: 2.5rem;
}



/* /Riga colorata legenda mappa */

/* hover su titolo modulo "claim"*/
@media (min-width: 80rem) {

    .m03 .h3:is(:hover) span:not([class]),
    .m19 .mod__title:is(:hover) span:not([class]) {
        background-color: rgba(var(--bs-primary-rgb), 0.7);
        color: var(--bs-white)
    }
}

@media (min-width: 80rem) {

    .m03 .h3 span:not([class]),
    .m19 .mod__title span:not([class]) {
        transition: all 0.2s ease;
        background: var(--span-bg, trasparent)
    }
}

/* /hover su titolo modulo "claim"*/

/*doughnut chart*/
.m13 .label-content .line {
    display: none;
}

.m13 .label-content .text {
    max-width: 100px;
    align-items: center;
    text-align: center;
    min-width: 130px
}


/* modal-energy */
.modal-energy {
    background-color: rgba(53, 63, 115, 255);
    display: none;
    inset: 0;
    position: fixed;
    z-index: 1000;
}

.energy-mb {
    align-items: center;
    color: var(--bs-white);
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    font-size: 1.125rem;
    inset: 0;
    justify-content: center;
    padding: 2rem;
    position: fixed;
    text-align: center;
    z-index: 1000;
}

.energy-mb>* {
    max-width: min(100%, 560px);
}

.energy-mb .h2 {
    font-size: 42px;
    /* 1rem; */
    font-weight: 600;
    margin: 2rem 0 1.25rem 0;
    /*text-transform: uppercase;*/
    color: #ffff;
}

.energy-mb-logo {
    height: auto;
    max-width: min(100%, 350px);
    width: auto;
}

/*.energy-mb-ico {
  display: flex;
  justify-content: center;
  margin: 0 auto 2rem;
}*/
.energy-mb-ico img {
    height: auto;
    width: 141px;
}

.energy-mb-svg,
.energy-mb-ico {
    display: flex;
    justify-content: center;
    align-items: center;
}

.energy-mb-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.energy-mb .mb-text {
    font-size: 22px;
}

/* /modal-energy */

/* modulo 08 legenda */

@media (min-width: 1024px) {
    .m09 ul:has([class^=dot]) li:has(.line-red) {
        padding-left: 0;
    }
}

/* /modulo 08 legenda */


/* testo footer hp*/

.footer__section {
    display: none;

}


.hp .footer__section {
    display: block !important;
}

.hp .footer__section,
.service__ul {
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.py-20 {
    padding-top: 20px;
    padding-bottom: 20px;
}

.pb-2,
.py-2 {
    padding-bottom: 8px !important;
}

.text-right {
    text-align: right !important;
}

/* /testo footer hp */


/* modulo 03 allineamento testo sinistra in mobile
@media (max-width: 768px) {
    .m03 .h3 {
        text-align: left;
    }
}
*/
/* / modulo 03 allineamento testo sinistra in mobile */

/* ridimensionamento logo partecipata mobile */
@media (max-width: 600px) {
    .logo-partecipata {
        width: 200px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }
}

/* /ridimensionamento logo partecipata mobile*/


/* Dimensione testo mobile btn modulo tabs */
@media (max-width: 1024px) {
    .m08 .nav-tabs-cnt .nav-link {
        font-size: 14px;
        /* font più piccolo su schermi piccoli */
    }
}

/* /Dimensione testo mobile btn modulo tabs*/

@media (max-width: 768px) {
    .single-dot-list {
        height: 4rem
    }
}



@media (max-width: 768px) {
    .m10 :where(.s01, .s02) .str__article {
        height: 17rem;
    }
}



/* modulo popup hp */

.m20__popup__body span {
    display: initial !Important;
}

/* Variante sopra il pallino */
.m20 .cll__body.above {
    inset: auto auto calc(100% + 2rem) 50%;
    transform: translateX(-50%);
}

/* Variante sotto il pallino */
.m20 .cll__body.below {
    inset: calc(100% + 2rem) auto auto 50%;
    transform: translateX(-50%);
}

.m20 .cll__body.left-top {
    inset: auto calc(100% + 1rem) calc(100% + 1rem) auto;
}

/* A sinistra in basso */
.m20 .cll__body.left-bottom {
    inset: calc(100% + 1rem) calc(100% + 1rem) auto auto;
}

/* A destra in alto */
.m20 .cll__body.right-top {
    inset: auto auto calc(100% + 1rem) calc(100% + 1rem);
}

/* A destra in basso */
.m20 .cll__body.right-bottom {
    inset: calc(100% + 1rem) auto auto calc(100% + 1rem);
}


/* /modulo popup hp */

/* evidenziazione testo con tag span */
.m03 .h3:is(:hover) span:not([class]),
.m19 .mod__title:is(:hover) span:not([class]),
.m01 .mod__title:is(:hover) span:not([class]) {
    background: linear-gradient(to top,
        rgba(var(--bs-primary-rgb), 0.7) 85%,
        transparent 10%) !important;
}

/* /evidenziazione testo con tag span */

/* rimuovere logo f2i da pdf */
.s04 .str__figure.nologo::after {
    display: none;
}

/* /rimuovere logo f2i da pdf*/

/* troncare titoli in mobile */
@media (max-width: 768px) {
    h1.cnt__title {
        word-break: break-word;
    }
}

/* /troncare titoli in mobile */

hr.nomargin {
    margin: 0 !important
}

.custom-title {
    color: var(--bs-primary);
    font-weight: bold;
}

ul:has(> li.li-img-1),
ul:has(> li.li-img-2) {
    padding-left: 0;
}

.li-img-1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background-image: url(/static/upload/ico/icona1.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.li-img-2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background-image: url(/static/upload/ico/icona2.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

li.li-img-1,
li.li-img-2 {
    list-style: none;
    position: relative;
    padding-left: 6rem;
}

li.li-img-1+li.li-img-2 {
    margin-top: 1.2rem
}

/*governance*/
@media (max-width: 768px) {

    .splide__track:has(#gov_1) .nav-link {
        text-align: center;
        height: 100%;
        display: flex;
    }

    #gov_1 {
        display: flex;
    }

    .splide__track:has(#gov_1) {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #gov_1 {
        display: flex;
        gap: 1rem;
    }
}


#gov_1 {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#gov_1::-webkit-scrollbar {
    display: none;
}

@media (min-width:992px) {

    .splide__track:has(#gov_1) {
        /* justify-items: anchor-center; */
        justify-items: center;
    }
}

@media (min-width:48rem) {

    .splide__track:has(#gov_1) .nav-link {
        white-space: normal;
        text-align: center;
        height: 100%;
        padding: 0.75rem 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /*
    #gov_1 {
        display: flex;
        width: 100%;
        justify-content: space-between;
        margin-right: 20px !important;
    }
    */

}

/*
.intnv-splide .splide__list {
    align-items: center;
}
*/

/* /governance */

.list-no-style {
    list-style: none;
}


/* TABS */
@media (min-width: 1024px) {
    .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
    }

    .nav-tabs .nav-item {
        flex-shrink: 0;
    }

    .nav-tabs .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        /*height: 100%;*/
    }

    .m08 .nav-tabs .nav-link:focus {
        outline: none;
        box-shadow: none;
    }
}


@media (max-width: 768px) {

    .nav-tabs-cnt:has(.nav-tabs .nav-item: nth-child(3)) {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-tabs-cnt:has(.nav-tabs .nav-item:nth-child(3))::-webkit-scrollbar {
        display: none;
    }

    .nav-tabs-cnt:has(.nav-tabs .nav-item:nth-child(3)) .nav-tabs {
        display: flex;
        flex-wrap: nowrap !important;
        white-space: nowrap;
    }

    .nav-tabs-cnt:has(.nav-tabs .nav-item:nth-child(3)) .nav-tabs .nav-item {
        flex: 0 0 auto;
    }

    .nav-tabs-cnt:has(.nav-tabs .nav-item:nth-child(3)) .nav-tabs .nav-item {
        white-space: nowrap;
    }
}


/* /TABS */

.m22 .splide__list {
    --progress-bar-end-rgb: color-mix(in srgb, var(--bs-primary) var(--progress, 0), #7B96C1 calc(100% - var(--progress, 0)));

}

.m22 .splide__list:after {
    background: linear-gradient(to left, var(--bs-primary), #7B96C1);

}

.m22 .splide__list:before {
    background-color: #7b96c1;
}

@media (min-width: 80rem) {
    .nav-tabs .nav-link {
        --bs-nav-link-padding-y: .875rem;
    }
}


.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}


/* HP - mobile - splide*/
@media (max-width: 768px) {
    .sp03 .splide__slide a {
        overflow: hidden text-overflow: ellipsis;
    }
}


@media (max-width: 768px) {
    .sp03 .splide__track {}

    .sp03 .splide__slide {
        flex: 0 0 36%;

    }
}

/* /HP - mobile - splide */

/*TABLIST GOVERNANCE*/
.tablist {
    display: flex;
    gap: .2rem;
}

.tablist .nav-link {
    margin-right: 0;
}

#gov_1 .splide__slide {
    width: fit-content;
    max-width: 8rem;
    flex: 0 0 auto;
}

/*/TABLIST GOVERNANCE*/



/* /intnv investimenti */


.intnv-splide .nav-link:is(:focus-visible) {
    --intnv-a-border-color: var(--bs-primary);
}



.spyscroll-observed {
    scroll-margin-top: 120px;
}

@media (min-width: 48rem) {
    :is(.m06, .m12) .mod__grid {
        grid-template-rows: var(--m06-grid-rows, 1rem auto auto auto) !important;
    }
}

/*20250926*/

/*@media (min-width:62rem) and (max-width: 80rem) {*/
/*@media (min-width:992px) and (max-width: 1279px) {*/
@media (min-width:992px) {
    .m17 .splide__slide {
        width: auto;
        flex: 0 0 auto;
    }
}


:where(.s04,.s05,.s07) .str__figure:before {
    background-color: transparent;
}

.team_figure {
    width: fit-content!important;
    justify-self: anchor-center!important;
}


@media (min-width: 80rem) {
    .m04 dt {
        --h-fs:2rem;
    }
}

@media (min-width: 62rem) {
    .m05 .mod__body{
        line-height: 2;
    }
  
  .logo-bottom {
    max-width: 15%;
  }
}


.fondo-f2i h3.str__title > small,
.modal--fondo .modal-title small{
    font-size: 1.3rem;
}

.modal--fondo .modal-title small {
    display: block;
}

.fondo-f2i .str__a:not([href]):is(:focus,:focus-visible,:hover) .str__title, .str__a:not([href])[role=button]{
    text-decoration: none;
    cursor: text
}

/**/
@media (min-width: 62rem) {
  .row:has(> .col-lg-9):not(:has(> .col-lg-3)) .m04__box--status {
    position: relative;
    z-index: 1;
  }

  .row:has(> .col-lg-9):not(:has(> .col-lg-3)) .m04__box--status::after {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    height: 100%;
    width: 50vw;
    background: var(--bs-gray-100);
    z-index: -1;
  }
}


.popup-link {
    position: absolute;
    display: block;
    cursor: pointer;
    background-color:transparent;
    z-index: 10;
    width: 160px;   
    height: 60px; 
}


@media (max-width: 47.98rem) {
    .m09 ul:has([class^=dot]) {
        -moz-column-count: 1;
        column-count: 1;
    }
}

.btn-bg-gray {
    background-color: var(--bs-gray-100);
}
