﻿:root {
    --primary-color: #11101D;
    --secondary-color: #58199C;
    --not-active-color: #dddddd;
    --tertiary-color: #6481AA;
    --status-draft-color: #1ecbe1;
    --status-submited-color: #ebc014;
    --status-approved-color: #46b94d;
    --status-disposed-color: #2200ff;
    --status-rejected-color: #ff1b00;
    --status-closed-color: #4a0800;
    --status-approvingDate-color: rgb(88, 25, 156, 0.2);
    --status-riesame-color: #dc8e01;
    --status-validation-color: #00bb8d;
}

.internal-container {
    margin-top: 50px;
    margin-bottom: 50px;
}

.form-floating-height-button {
    height: calc(3.5rem + 2px);
}

.no-style-link {
    color: black;
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    background-color: #5c636a;
    border-color: #5c636a;
}

.error-card {
    margin: 40px;
}

.nav-content-border {
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.action-section {
    position: fixed;
    bottom: 0px;
    right: 25px;
    z-index: 15;
}

    .action-section button,
    .action-section a {
        position: relative;
        height: 60px;
        width: 60px;
        font-size: 2.2em;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #11101d;
        color: white;
        border-color: #11101d;
        transition: all 0.25s;
    }

    .action-section li:hover button {
        background-color: var(--secondary-color);
        color: white;
        border-color: var(--secondary-color);
    }

    .action-section li button::before {
        content: "";
        position: absolute;
        top: 0px;
        left: 0px;
        height: 100%;
        width: 100%;
        background-color: rgb(88, 25, 156, 0.2);
        border-radius: 50%;
        z-index: -1;
        transition: all 0.25s;
    }

    .action-section li:hover button::before {
        content: "";
        position: absolute;
        top: -8px;
        left: -8px;
        height: 100%;
        width: 100%;
        background-color: rgb(88, 25, 156, 0.2);
        border-radius: 50%;
        z-index: -1;
    }

    .action-section li button::after {
        content: "";
        position: absolute;
        bottom: 0px;
        right: 0px;
        height: 100%;
        width: 100%;
        background-color: rgb(88, 25, 156, 0.2);
        border-radius: 50%;
        z-index: -1;
        transition: all 0.25s;
    }

    .action-section li:hover button::after {
        content: "";
        position: absolute;
        bottom: -8px;
        right: -8px;
        height: 100%;
        width: 100%;
        background-color: rgb(88, 25, 156, 0.2);
        border-radius: 50%;
        z-index: -1;
    }

.custom-tooltip {
    --bs-tooltip-bg: #11101d;
}

.details-row {
    height: 18px;
    width: 100%;
    background-color: #ebecff;
    display: flex;
    justify-content: center;
    border: solid 1px #ebecff;
    border-end-end-radius: var(--bs-card-border-radius);
    border-end-start-radius: var(--bs-card-border-radius);
}

.muf-accordion-body {
    background-color: #ebecff;
    color: black;
}

.muf-state-indicator-border {
    position: absolute;
    height: 100%;
    width: 4px;
    top: 0px;
    left: 0px;
}

.scarico-state-indicator-border {
    position: absolute;
    height: 100%;
    width: 4px;
    top: 0px;
    left: 0px;
}

.scarico-state-indicator-border.Gestito {
    background-color: var(--status-approved-color);
}

.scarico-state-indicator-border.DaNonGestire {
    background-color: var(--status-closed-color);
}

.scarico-state-indicator-border.DaGestire {
    background-color: var(--status-draft-color);
}

.muf-state-indicator-border.InCreazione {
    background-color: var(--status-draft-color);
}

.muf-state-indicator-border.Inviata {
    background-color: var(--status-submited-color);
}

.muf-state-indicator-border.Approvata {
    background-color: var(--status-approved-color);
}

.muf-state-indicator-border.Conferita {
    background-color: var(--status-disposed-color);
}

.muf-state-indicator-border.Rifiutata {
    background-color: var(--status-rejected-color);
}

.muf-state-indicator-border.Chiusa {
    background-color: var(--status-draft-color);
}

.muf-state-indicator-border.DataInApprovazione {
    background-color: var(--status-approvingDate-color);
}

.muf-state-indicator-border.InRiesame {
    background-color: var(--status-approvingDate-color);
}

.muf-state-indicator-border.MufNonAvvenuta {
    background-color: var(--not-active-color);
}

.muf-state-indicator-badge {
    padding: 1px 5px;
}

.muf-state-indicator-badge.Gestito {
    background-color: var(--status-approved-color);
}

.muf-state-indicator-badge.DaNonGestire {
    background-color: var(--status-closed-color);
    color: white;
}

.muf-state-indicator-badge.DaGestire {
    background-color: var(--status-draft-color);
}

.muf-state-indicator-badge.InCreazione {
    background-color: var(--status-draft-color);
}

.muf-state-indicator-badge.Inviata {
    background-color: var(--status-submited-color);
}

.muf-state-indicator-badge.Approvata {
    background-color: var(--status-approved-color);
}

.muf-state-indicator-badge.Conferita {
    background-color: var(--status-disposed-color);
}

.muf-state-indicator-badge.Rifiutata {
    background-color: var(--status-rejected-color);
}

.muf-state-indicator-badge.Chiusa {
    background-color: var(--status-draft-color);
}

.muf-state-indicator-badge.DataInApprovazione {
    background-color: var(--status-approvingDate-color);
}

.muf-state-indicator-badge.InRiesame {
    background-color: var(--status-riesame-color);
}

.muf-state-indicator-badge.InValidazione {
    background-color: var(--status-validation-color);
}

.muf-state-indicator-badge.MufNonAvvenuta {
    background-color: var(--not-active-color);
}

.muf-sfondo {
    background-image: url(/images//sfondo-muf-item.png);
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}

.icon-header {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

@media screen and (max-width: 1400px) {
    .muf-sfondo {
        background-image: none;
        background-color: white;
    }
}

.custom-accordion {
    position: relative;
}

    .custom-accordion .accordion-header {
        z-index: 10;
    }

    .custom-accordion .accordion-header {
        transition: width 0.35s;
        width: 100%;
    }

    .custom-accordion:not(.no-action):hover .accordion-header {
        width: 95%;
    }

    .custom-accordion .show-action {
        height: 100%;
        background-color: red;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .custom-accordion .accordion-action {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 9;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 5%;
        background-color: var(--secondary-color);
    }

        .custom-accordion .accordion-action .action-button {
            border: 1px solid var(--primary-color);
            border-radius: 50%;
            height: 40px;
            width: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--primary-color);
            background-color: white;
        }

        .custom-accordion .accordion-action a,
        .custom-accordion .accordion-action form button {
            text-decoration: none;
            color: var(--secondary-color);
        }

.btn-primary {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-sm.btn-secondary {
    text-transform: none;
    padding: 0.30rem 0.80rem;
    font-size: 0.85rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.50rem 1rem;
    border-radius: 10rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.10rem;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-secondary:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary-color);
        border-radius: 10rem;
        z-index: -2;
    }

    .btn-secondary:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: var(--secondary-color);
        transition: all 0.3s;
        border-radius: 10rem;
        z-index: -1;
    }

    .btn-secondary:hover {
        color: #fff;
    }

        .btn-secondary:hover:before {
            width: 100%;
        }

.btn-back {
    display: inline-block;
    padding: 0.50rem 1rem;
    border-radius: 10rem;
    color: #0f0f0f;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.10rem;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
}

    .btn-back:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: none;
        border-radius: 10rem;
        z-index: -2;
    }

    .btn-back:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: var(--secondary-color);
        transition: all 0.3s;
        border-radius: 10rem;
        z-index: -1;
    }

    .btn-back:hover {
        color: #fff;
        text-decoration: underline;
    }

        .btn-back:hover:before {
            width: 100%;
        }

.btn-outline-secondary {
    display: inline-block;
    padding: 0.40rem 1rem;
    border-radius: 10rem;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.10rem;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-outline-secondary:after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--tertiary-color);
        border-radius: 10rem;
        z-index: -2;
    }

    .btn-outline-secondary:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: var(--secondary-color);
        transition: all 0.3s;
        border-radius: 10rem;
        z-index: -1;
    }

    .btn-outline-secondary:hover {
        color: #fff;
    }

        .btn-outline-secondary:hover:before {
            width: 100%;
        }

.validation-summary-errors ul {
    text-decoration: none;
    padding: 0;
    list-style-type: none;
}

.disposing-type-badge {
    font-size: 0.95rem;
    font-weight: lighter;
    border-radius: 0;
    background-color: var(--tertiary-color);
    color: white;
    padding: 1px 5px 1px 5px;
    position: absolute;
    top: 0;
    left: 0;
}

.gradient-card {
    background-color: #fafafa;
    color: var(--primary-color);
    position: relative;
    border: 1px solid var(--secondary-color);
}

    .gradient-card .card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 10px;
    }

.gradient-card-title {
    background: rgb(100,129,170);
    background: -moz-linear-gradient(315deg, rgba(100,129,170,1) 50%, rgba(17,16,29,1) 100%);
    background: -webkit-linear-gradient(315deg, rgba(100,129,170,1) 50%, rgba(17,16,29,1) 100%);
    background: linear-gradient(315deg, rgba(100,129,170,1) 50%, rgba(17,16,29,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6481aa",endColorstr="#11101d",GradientType=1);
    padding: 10px;
    margin: 0;
    text-transform: uppercase;
    position: absolute;
    top: -22px;
    left: 10px;
    color: white;
    border-radius: 10px;
    font-size: 1em;
}

.head-list-details {
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    padding: 10px;
    position: relative;
    background-color: white;
    color: var(--primary-color);
}

.btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
    font-weight: bolder;
}

    .btn-circle.btn-xl {
        width: 40px;
        height: 40px;
        padding: 10px 10px;
        border-radius: 35px;
        font-size: 14px;
        line-height: 1.33;
    }

.edit-button {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 1.2em;
    color: var(--primary-color);
    border-radius: 0.18rem;
    transition: all 0.5s;
}

.edit-button-2 {
    position: absolute;
    top: 5px;
    right: 60px;
    font-size: 1.2em;
    color: var(--primary-color);
    border-radius: 0.18rem;
    transition: all 0.5s;
}

.edit-button button {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.5s;
}

.edit-button-2 button {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.5s;
}

.edit-button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.edit-button-2:hover {
    background-color: var(--secondary-color);
    color: white;
}

.edit-button:hover button {
    color: white;
}

.edit-button-2:hover button {
    color: white;
}

.action-row {
    display: none;
}

    .action-row .action-button {
        border: 1px solid var(--primary-color);
        border-radius: 50%;
        height: 40px;
        width: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: var(--primary-color);
        background-color: white;
    }

    .action-row a,
    .action-row form button {
        text-decoration: none;
        color: var(--secondary-color);
    }

.ms-container {
    width: 100% !important;
}

.comuni-select-header {
    width: 100%;
    margin-top: 10px;
    background-color: #fafafa;
}

.comuni-select-search {
    width: 100%;
    margin-bottom: 10px;
    padding: 2px 10px 2px 10px;
    border-radius: 6px;
    border: 1px solid #dddddd;
}

@media screen and (max-width: 990px) {
    .custom-accordion:hover .accordion-header {
        width: 100%;
    }

    .custom-accordion .accordion-action {
        display: none;
    }

    .custom-accordion:not(.no-action):hover .accordion-header {
        width: 100%;
    }

    .action-row {
        display: block;
    }

    .modal-backdrop {
        display: none;
    }

    .card-body {
        overflow-x: auto;
    }
}
