@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: Verdana, Helvetica;
    
    font-size: small;
    font-family: Verdana, Helvetica;
}

.page-green {
    background-color: #D3E8C7;
}

h1:focus {
    outline: none;
}

.btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.generic_button {
    height: 25px;
    text-align: center;
    background-color: #006633;
    font-size: 12px;
    color: white;
    padding-right: 4px;
    padding-left: 4px;
    margin: 2px;
    font-weight: 600;
    vertical-align: middle;
    border: ridge 3px #AFD599;
}

    .generic_button:hover {
        height: 25px;
        text-align: center;
        background-color: #fff;
        font-size: 12px;
        color: #006633;
        padding-right: 4px;
        padding-left: 4px;
        margin: 2px;
        font-weight: 600;
        vertical-align: middle;
    }

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg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NTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.top-row-header {
    background-color: #3D723c;
    color: white;
    line-height: 30px;
    text-align: center;
    font-size: large;
    font-weight: bold;
}

.row-header {
    background-color: #AFD599;
    color: white;
    line-height: 20px;
    text-align: center;
    font-family: Verdana, Helvetica;
    font-size: medium;
    font-weight: bold;
}

.nav_menu_left {
    height: 100%;
    text-align: center;
    width: 270px;
    vertical-align: top;
}

.nav_menu_right {
    height: 100%;
    text-align: center;
    width: 270px;
    vertical-align: top;
}

.center {
    height: 100%;
    text-align: center;
    vertical-align: top;
    margin-top: 20px;
    position: relative;
}

.menu_laterale {
    width: 260px;
    border: 1px solid #000000;
    color: white;
    text-align: center;
    margin-top: 20px;
}

.menu_button {
    height: 25px;
    text-align: center;
    background-color: #006633;
    font-size: small;
    color: white;
    padding: 1px;
    margin: 2px;
    width: 250px;
    font-weight: 600;
    vertical-align: middle;
    border: ridge 3px #AFD599;
}

    .menu_button:hover {
        height: 25px;
        text-align: center;
        background-color: #fff;
        font-size: small;
        color: #006633;
        padding: 1px;
        margin: 2px;
        width: 250px;
        font-weight: 600;
        vertical-align: middle;
    }

.header_menu {
    height: 30px;
    text-align: center;
    background-color: #AFD599;
    font-size: medium;
    color: white;
    width: 100%;
    font-weight: bold;
    vertical-align: middle;
}

a:link, a:visited, a:active {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.linkdownload, .linkdownload:link, .linkdownload:active, .linkdownload:visited {
    color: #000;
    font-weight: bold;
    font-size: small;
    text-decoration: underline;
    cursor: pointer;
    padding: 1px;
}

    .linkdownload:hover  {
        color: #006633;
    }

.link_aggiorna {
    color: #000;
    font-weight: bold;
    font-size: small;
    cursor: pointer;
    padding: 1px;
    text-decoration: none;
}

    .link_aggiorna:hover {
        color: #006633;
    }

.menu_container a:hover {
    text-decoration: underline;
    color: #009933;
}

.item_menu {
    margin-right: 5px;
    display: inline-block;
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.menu_container {
    text-align: center;
    width: 100%;
}

.containerBody {
    text-align: center;
    width: 100%;
}

.periodo {
    height: 20px;
    text-align: center;
    background-color: #fff;
    font-size: small;
    color: black;
    width: 100%;
    vertical-align: middle;
    padding: 1px;
}

.table {
    border: 3px solid white;
    font-size: small;
}

.table_header {
    background-color: #3D723c;
    color: white;
    line-height: 14px;
    /* min-height: 7px;
    max-height: 12px;*/
    text-align: center;
    font-size: small;
    font-weight: bold;
    vertical-align: middle;
}

.table_footer {
    background-color: #3D723c;
    color: white;
    line-height: 7px;
    text-align: left;
    font-size: small;
    font-weight: bold;
}

.table_header a {
    color: white;
    text-decoration: underline !important;
    font-weight: bold;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.table_footer a {
    color: white;
    text-decoration: underline !important;
    font-weight: bold;
    font-size: 12px;
    text-decoration: underline;
    margin-left: 4px;
    cursor: pointer;
}

.table_tr {
    color: black;
    text-align: center;
    font-size: small;
    font-weight: normal;
    /*line-height: 7px;*/
    min-height: 7px;
    max-height: 14px;
    vertical-align: middle;
}

.table_tr_contact {
    background-color: #3D723c !important;
    text-align: center;
    font-size: small;
    font-weight: bold;
    line-height: 10px;
}

    .table_tr_contact a {
        cursor: pointer;
        color: white !important;
    }

.table tbody tr:nth-child(even) {
    background-color: #DDFFDD;
}

.table .tableRicezioni a {
    color: #000;
    font-weight: bold;
    font-size: small;
    cursor: pointer;
    padding: 1px;
    text-decoration: none;
}

    .table .tableRicezioni a:hover {
        color: #006633;
    }

.rowElaborazioniNoDelega {
    background-color: #dddddd !important;
}
/*.tableElaborazioni tbody tr:nth-child(even) {
    background-color: #dddddd !important;
}
.tableElaborazioni tbody tr:nth-child(odd) {
    background-color: #eeeeee !important;
}*/
.ricezione_selected {
    background-color: #ff6633 !important;
}

.table-errori {
    color: black;
    font-size: small !important;
    font-weight: normal !important;
}

    .table-errori td:first-child {
        background-color: transparent !important;
        color: black !important;
        font-weight: normal !important;
        border: 0px !important;
        font-size: small !important;
    }

.errore_bloccante {
    background-color: red !important;
    color: white !important;
    font-weight: bold;
}

    .errore_bloccante td:first-child {
        color: white !important;
        font-weight: bold !important;
    }

.table tbody tr:nth-child(odd) {
    background-color: #CCFFCC;
}

.table th {
    border: 1px solid white;
}

.table td {
    border: 1px solid white;
}

.table_filters td:first-child {
    background-color: #AFD599;
    color: #389933;
    font-weight: bold;
    border: 3px solid #D3E8C7;
    font-size: 14px;    
}

.table_filters td:nth-child(4) {
    background-color: #AFD599;
    color: #389933;
    font-weight: bold;
    border: 3px solid #D3E8C7;
    font-size: 14px;
}

.table_filters .cell_validation {
    display: flex;
    flex-direction: column;
    align-items: start;
}

    .table_filters .cell_validation span {
        background: red;
        color: white;
    }

    .green_cell {
        background-color: #AFD599;
        color: #389933;
        font-weight: bold;
        border: 3px solid #D3E8C7;
        font-size: 14px;
    }

.row_button td {
    background-color: #D3E8C7 !important;
}

.numrecord {
    color: black;
    font-size: small;
    font-weight: normal;
    line-height: 7px;
    text-align: center;
}

.textbox {
    height: 20px;
    font-size: 13px;
    width: 400px;
    border: 3px double;
    border-color: #D3E8C7;
}

.textbox_small {
    height: 20px;
    font-size: 12px;
    width: 200px;
    border: 3px double;
    border-color: #D3E8C7;
}

.textboxFull {
    height: 20px;
    font-size: 13px;
}

.imgClickable {
    cursor: pointer;
}

.select {
    height: 20px;
    font-size: 13px;
}

.login_box {
    width: 650px;
    text-align: center;
    background-color: #d3E8C7;
    border: 1px solid;
    border-color: #006633;
}

.login_box_int {
    margin-left: 150px;
    width: 350px;
    text-align: center;
    background-color: #d3E8C7;
    border: 1px solid;
    border-color: #006633;
}

.header_dett_art34 {
    background-color: #3D723c !important;
    text-align: center !important;
    color: white !important;
}
#uniqueID.table_legenda {
    color: black;
    font-size: small;
    font-weight: normal !important;
    width: 410px;
}
#uniqueID.table_legenda_leg {
    background-color: #3d723c !important;
    color: white;
}
#uniqueID.table_legenda_nc {
    background-color: #eeeeee !important;
    color: black;
}
#uniqueID.table_legenda_ins {
    background-color: #ddffdd !important;
    color: black;
}
#uniqueID.table_legenda_var {
    background-color: #ffff66 !important;
    color: black;
}
#uniqueID.table_legenda_canc {
    background-color: #ddbbaa !important;
    color: black;
}
#uniqueID.table_legenda_mix {
    background-color: #88dddd !important;
    color: black;
}

#uniqueID.table_legenda_leg {
    background-color: #3d723c !important;
    color: white;
}
.table_legenda {
    color: black;
    font-size: small;
    font-weight: normal !important;

}
.table_legenda_nc {
    background-color: #eeeeee !important;
    color: black;
    padding: 2px;
}

.table_legenda_leg {
    background-color: #3d723c !important;
    color: white;
    padding:2px;
}
.table_legenda_ins {
    background-color: #ddffdd !important;
    color: black;
    padding: 2px;
}

.table_legenda_var {
    background-color: #ffff66 !important;
    color: black;
    padding: 2px;
}

.table_legenda_canc {
    background-color: #ddbbaa !important;
    color: black;
    padding: 2px;
}

.table_legenda_mix {
    background-color: #88dddd !important;
    color: black;
    padding: 2px;
}

.filter-item {
    flex: 1 1 calc(100% / var(--columns));
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    align-items: center;
}

.filter-item.full {
    flex: 1 1 100%;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    align-items: center;
}

    .filter-item label {
        margin-right: 10px;
        width: 150px;
        background-color: #AFD599;
        color: #009933;
        font-weight: bold;
        text-align: left;
    }

@media (max-width: 1152px) {
    .nav_menu_left {
        height: 100%;
        text-align: center;
        width: 200px;
        vertical-align: top;
    }

    .nav_menu_right {
        height: 100%;
        text-align: center;
        width: 200px;
        vertical-align: top;
    }

    .menu_laterale {
        width: 190px;
        border: 1px solid #000000;
        color: white;
        text-align: center;
        margin-top: 20px;
    }

    .menu_button {
        height: 28px;
        text-align: center;
        background-color: #006633;
        font-size: small;
        color: white;
        padding: 1px;
        margin: 2px;
        width: 180px;
        font-weight: 600;
        vertical-align: middle;
    }

        .menu_button:hover {
            height: 28px;
            text-align: center;
            background-color: #fff;
            font-size: small;
            color: #006633;
            padding: 1px;
            margin: 2px;
            width: 180px;
            font-weight: 600;
            vertical-align: middle;
        }
}

@media (max-width: 800px) {
    .nav_menu_left {
        height: 100%;
        text-align: center;
        width: 140px;
        vertical-align: top;
    }

    .nav_menu_right {
        height: 100%;
        text-align: center;
        width: 140px;
        vertical-align: top;
    }

    .menu_laterale {
        width: 130px;
        border: 1px solid #000000;
        color: white;
        text-align: center;
        margin-top: 20px;
    }

    .menu_button {
        min-height: 45px;
        text-align: center;
        background-color: #006633;
        font-size: small;
        color: white;
        padding: 1px;
        margin: 1px;
        width: 120px;
        font-weight: 500;
        vertical-align: middle;
    }

        .menu_button:hover {
            min-height: 45px;
            text-align: center;
            background-color: #fff;
            font-size: small;
            color: #006633;
            padding: 1px;
            margin: 1px;
            width: 120px;
            font-weight: 500;
            vertical-align: middle;
        }

    .center {
        height: 100%;
        width: 400px;
        text-align: center;
        vertical-align: top;
        margin-top: 20px;
    }
}

/*.page-report {
    display: flex;
    flex-direction: row;
}

.menu-buttons {
    display: flex;
    flex-direction: column;
}*/

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease-out;
    display: block !important;
}

.toast.info {
    background-color: #007bff;
}

.toast.success {
    background-color: #28a745;
}

.toast.warning {
    background-color: #ffc107;
    color: #212529;
}

.toast.error {
    background-color: #dc3545;
}

.toast .close {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    margin-left: 10px;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
    justify-content: center;
    align-items: center;
}

.loading-content {
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.progress {
    margin-top: 10px;
    height: 20px;
}
