html {
    font-size: 14px;
}

#nav {
    width: 270px;
    float: left;
}

.header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Input di ricerca */
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

@media (min-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .header-left h1 {
        font-size: 2rem;
        font-weight: bold;
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-wrapper::before {
        content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%23FFFFFF" viewBox="0 0 24 24"><circle cx="11" cy="11" r="8"/><path d="m21 21-4.35-4.35"/></svg>');
        position: absolute;
        left: 0.75rem;
        width: 1rem;
        height: 1rem;
        pointer-events: none;
    }

.filter-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2rem;
    background: rgba(48, 50, 74, 0.5);
    border: 1px solid #4A4C60;
    border-radius: calc(8px - 2px);
    color: #E8E9EC;
    font-size: 0.9rem;
}

    .filter-input::placeholder {
        color: #9CA0AC;
    }

    .filter-input:focus {
        outline: none;
        border-color: #8B5CF6;
        box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
    }

.back-btn {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.3s;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #3A3B5A;
    color: white;
}

    .back-btn:hover {
        background-color: #4B4C6A;
    }

.entity-count {
    color: #9CA3AF;
    font-size: 14px;
}

.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: #9CA3AF;
}

#button {
    background-color: #30324A;
    border-color: black;
    border-width: 3px;
    color: white;
    font-size: 21px;
    padding-right: 25%;
    padding-left: 25%;
}

    #button:hover {
        background-color: red;
    }

.btn-primary[b-0z0u7dcgct] {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

button.accept-policy[b-0z0u7dcgct] {
    font-size: 1rem;
    line-height: inherit;
}

label {
    color: white;
    font-weight: bold;
    display: block;
    float: left;
    padding-top: 10px;
}

.btn-close {
    background-color: red;
}

hr {
    color: black;
}

li {
    color: white;
}

#tabpage {
    border: 2px solid;
    border-color: black;
    padding-bottom: 10px;
}

#navbar {
    background-color: #242029;
}

.dropdown-menu {
    background-color: #242029;
}

.dropdown-item {
    color: white;
}

    .dropdown-item:hover {
        background-color: black;
    }

    .dropdown-item:active {
        background-color: blue;
    }

.form-label {
    color: black;
}

#modal {
    background-color: #30324A;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

    .checkbox-container input[type="checkbox"] {
        order: 1;
    }

    .checkbox-container label {
        order: 2;
        margin-left: 10px;
        margin-bottom: 10px;
    }

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

#chart_wrap {
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}

#chart_div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

html {
    position: relative;
    min-height: 100%;
}

.features {
    width: 100%;
    display: block;
    /*text-align: center;*/
}

    .features img {
        width: 220px;
        margin: 10px;
    }

body {
    background-color: #30324A !important;
    /*margin-bottom: 60px;*/
}

.preference {
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin: .5rem;
}

textarea {
    font-size: .8rem;
    letter-spacing: 1px;
}

textarea {
    padding: 10px;
    width: 100%;
    max-width: 100%;
    line-height: 1.5;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 1px #999;
}

#galeria {
    display: flex;
}

    #galeria img {
        width: 130px;
        height: 130px;
        border-radius: 10px;
        box-shadow: 0 0 8px rgba(0,0,0,0.2);
        opacity: 100%;
    }

table {
    width: 100%;
}

/*th {
    border: 1px solid #c3c3c3;
    color: white;*/
/*text-align: center;*/
/*}*/

/*thead {
    background-color: black;
}

tbody {
    background-color: white;
}*/

/*td {
    background-color: black;
}*/

thead {
    background-color: #f5f5f5;
}

th {
    color: black;
    text-align: center;
    font-size: 13px;
}

tbody {
    background-color: transparent;
    color: white;
}

td {
    text-align: center;
    vertical-align: middle;
}

.field-validation-error {
    color: red;
}

.validation-summary-errors ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-bottom: 1em;
}

.validation-summary-errors li {
    color: darkred;
    border-left: 3px solid;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: rgb(255,0,0,0.05);
    margin-bottom: 2px;
}
/* Media Query per il No More Tables */

@media only screen and (max-width: 767px) {
    /* Forza la tabella a non comportarsi come una normale tabella */

    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

        /* Nasconde le intestazioni della tabella */

        #no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    #no-more-tables tr {
        border: 1px solid #FF0000;
    }

    #no-more-tables td {
        /* Inserisce il comportamento come una riga */

        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

        #no-more-tables td:before {
            /* Inserisce il comportamento come un'intestazione di tabella */

            position: absolute;
            /* I valori top/left agiscono come padding */

            top: 0;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
        }

        /* Aggiunge l'etichetta ai dati della tabella */

        #no-more-tables td:before {
            content: attr(data-title);
        }

    .field-validation-error {
        color: red;
    }
}

#griglia > li {
    border: 2px solid #333333;
    display: inline-block;
    margin: 10px;
    background-color: #abe2ff;
}

#griglia {
    padding: 0;
    margin: 0;
}









a.navbar-brand[b-0z0u7dcgct] {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

a[b-0z0u7dcgct] {
    color: #0077cc;
}

.btn-primary[b-0z0u7dcgct] {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active[b-0z0u7dcgct], .nav-pills .show > .nav-link[b-0z0u7dcgct] {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top[b-0z0u7dcgct] {
    border-top: 1px solid #e5e5e5;
}

.border-bottom[b-0z0u7dcgct] {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow[b-0z0u7dcgct] {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-0z0u7dcgct] {
    font-size: 1rem;
    line-height: inherit;
}

.footer[b-0z0u7dcgct] {
    position: static;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px;
    text-align: center
}

.tab-wrap {
    transition: 0.3s box-shadow ease;
    border-radius: 6px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    list-style: none;
    background-color: #fff;
    margin: 40px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

    .tab-wrap:hover {
        box-shadow: 0 12px 23px rgba(0, 0, 0, 0.23), 0 10px 10px rgba(0, 0, 0, 0.19);
    }

.tab {
    display: none;
}

    .tab:checked:nth-of-type(1) ~ .tab__content:nth-of-type(1) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:checked:nth-of-type(2) ~ .tab__content:nth-of-type(2) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:checked:nth-of-type(3) ~ .tab__content:nth-of-type(3) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:checked:nth-of-type(4) ~ .tab__content:nth-of-type(4) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:checked:nth-of-type(5) ~ .tab__content:nth-of-type(5) {
        opacity: 1;
        transition: 0.5s opacity ease-in, 0.8s transform ease;
        position: relative;
        top: 0;
        z-index: 100;
        transform: translateY(0px);
        text-shadow: 0 0 0;
    }

    .tab:first-of-type:not(:last-of-type) + label {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }

    .tab:not(:first-of-type):not(:last-of-type) + label {
        border-radius: 0;
    }

    .tab:last-of-type:not(:first-of-type) + label {
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .tab:checked + label {
        background-color: #fff;
        box-shadow: 0 -1px 0 #fff inset;
        cursor: default;
    }

        .tab:checked + label:hover {
            box-shadow: 0 -1px 0 #fff inset;
            background-color: #fff;
        }

    .tab + label {
        box-shadow: 0 -1px 0 #eee inset;
        border-radius: 6px 6px 0 0;
        cursor: pointer;
        display: block;
        text-decoration: none;
        color: #333;
        flex-grow: 3;
        text-align: center;
        background-color: #f2f2f2;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        transition: 0.3s background-color ease, 0.3s box-shadow ease;
        height: 50px;
        box-sizing: border-box;
        padding: 15px;
    }

        .tab + label:hover {
            background-color: #f9f9f9;
            box-shadow: 0 1px 0 #f4f4f4 inset;
        }

.tab__content {
    padding: 10px 25px;
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: -1;
    opacity: 0;
    left: 0;
    transform: translateY(-3px);
    border-radius: 6px;
}

/*.container > *:not(.tab-wrap) {
    padding: 0 80px;
}*/

h1,
h2 {
    margin: 0;
    color: white;
    /*text-align: center;*/
    font-weight: 400;
}

h2 {
    font-size: 1em;
    margin-bottom: 30px;
}

h3 {
    font-weight: 400;
    color: white;
}

p {
    line-height: 1.6;
    margin-bottom: 20px;
    color: white;
}

.pc-tab > input,
.pc-tab section > div {
    display: none;
}

#tabAnagraficaCliente:checked ~ section .tabAnagraficaCliente,
#tabInfoCommerciali:checked ~ section .tabInfoCommerciali,
#tabSedi:checked ~ section .tabSedi,
#tabPosizioni:checked ~ section .tabPosizioni,
#tabArticoliPreferitiCliente:checked ~ section .tabArticoliPreferitiCliente,
#tabContrattiCliente:checked ~ section .tabContrattiCliente,
#tabManutenzioneCliente:checked ~ section .tabManutenzioneCliente,
#tabAnnotazioniCliente:checked ~ section .tabAnnotazioniCliente,
#tabAnagraficaFornitore:checked ~ section .tabAnagraficaFornitore,
#tabListinoFornitore:checked ~ section .tabListinoFornitore,
#tabArticoliPreferitiFornitore:checked ~ section .tabArticoliPreferitiFornitore,
#tabAnnotazioniFornitore:checked ~ section .tabAnnotazioniFornitore,
#tabParametri:checked ~ section .tabParametri,
#tabAttivazioni:checked ~ section .tabAttivazioni,
#tabProgettiCollegati:checked ~ section .tabProgettiCollegati,
#tabPacchettiNuget:checked ~ section .tabPacchettiNuget {
    display: block;
}

#tabAnagraficaCliente:checked ~ nav .tabAnagraficaCliente,
#tabInfoCommerciali:checked ~ nav .tabInfoCommerciali,
#tabSedi:checked ~ nav .tabSedi,
#tabPosizioni:checked ~ nav .tabPosizioni,
#tabArticoliPreferitiCliente:checked ~ nav .tabArticoliPreferitiCliente,
#tabContrattiCliente:checked ~ nav .tabContrattiCliente,
#tabManutenzioneCliente:checked ~ nav .tabManutenzioneCliente,
#tabAnnotazioniCliente:checked ~ nav .tabAnnotazioniCliente,
#tabAnagraficaFornitore:checked ~ nav .tabAnagraficaFornitore,
#tabListinoFornitore:checked ~ nav .tabListinoFornitore,
#tabArticoliPreferitiFornitore:checked ~ nav .tabArticoliPreferitiFornitore,
#tabAnnotazioniFornitore:checked ~ nav .tabAnnotazioniFornitore,
#tabParametri:checked ~ nav .tabParametri,
#tabAttivazioni:checked ~ nav .tabAttivazioni,
#tabProgettiCollegati:checked ~ nav .tabProgettiCollegati,
#tabPacchettiNuget:checked ~ nav .tabPacchettiNuget {
    color: red;
}

/* Visual Styles */
*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.pc-tab {
    width: 100%;
    margin: 0 auto;
}

    .pc-tab ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .pc-tab ul li label {
            float: left;
            padding: 15px 25px;
            border: 1px solid #ddd;
            border-bottom: 0;
            background: #eeeeee;
            color: #444;
            cursor: pointer;
        }

            .pc-tab ul li label:hover {
                background: #dddddd;
            }

            .pc-tab ul li label:active {
                background: #ffffff;
            }

        .pc-tab ul li:not(:last-child) label {
            border-right-width: 0;
        }

    .pc-tab section {
        clear: both;
    }

#tabAnagraficaCliente:checked ~ nav .tabAnagraficaCliente label,
#tabInfoCommerciali:checked ~ nav .tabInfoCommerciali label,
#tabSedi:checked ~ nav .tabSedi label,
#tabPosizioni:checked ~ nav .tabPosizioni label,
#tabArticoliPreferitiCliente:checked ~ nav .tabArticoliPreferitiCliente label,
#tabContrattiCliente:checked ~ nav .tabContrattiCliente label,
#tabManutenzioneCliente:checked ~ nav .tabManutenzioneCliente label,
#tabAnnotazioniCliente:checked ~ nav .tabAnnotazioniCliente label,
#tabAnagraficaFornitore:checked ~ nav .tabAnagraficaFornitore label,
#tabListinoFornitore:checked ~ nav .tabListinoFornitore label,
#tabArticoliPreferitiFornitore:checked ~ nav .tabArticoliPreferitiFornitore label,
#tabAnnotazioniFornitore:checked ~ nav .tabAnnotazioniFornitore label,
#tabParametri:checked ~ nav .tabParametri label,
#tabAttivazioni:checked ~ nav .tabAttivazioni label,
#tabProgettiCollegati:checked ~ nav .tabProgettiCollegati label,
#tabPacchettiNuget:checked ~ nav .tabPacchettiNuget label {
    background: white;
    color: #111;
    position: relative;
}

    #tabAnagraficaCliente:checked ~ nav .tabAnagraficaCliente label:after,
    #tabInfoCommerciali:checked ~ nav .tabInfoCommerciali label:after,
    #tabSedi:checked ~ nav .tabSedi label:after,
    #tabPosizioni:checked ~ nav .tabPosizioni label:after,
    #tabArticoliPreferitiCliente:checked ~ nav .tabArticoliPreferitiCliente label:after,
    #tabContrattiCliente:checked ~ nav .tabContrattiCliente label:after,
    #tabManutenzioneCliente:checked ~ nav .tabManutenzioneCliente label:after,
    #tabAnnotazioniCliente:checked ~ nav .tabAnnotazioniCliente label:after,
    #tabAnagraficaFornitore:checked ~ nav .tabAnagraficaFornitore label:after,
    #tabListinoFornitore:checked ~ nav .tabListinoFornitore label:after,
    #tabArticoliPreferitiFornitore:checked ~ nav .tabArticoliPreferitiFornitore label:after,
    #tabAnnotazioniFornitore:checked ~ nav .tabAnnotazioniFornitore label:after,
    #tabParametri:checked ~ nav .tabParametri label:after
    #tabAttivazioni:checked ~ nav .tabAttivazioni label:after,
    #tabProgettiCollegati:checked ~ nav .tabProgettiCollegati label:after,
    #tabPacchettiNuget:checked ~ nav .tabPacchettiNuget label:after {
        content: "";
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #ffffff;
        left: 0;
        bottom: -1px;
    }

.text-center {
    text-align: center;
}
