﻿/*// In-doc specific colors
$indoc-background: #FFFFFF;
$indoc-foreground: #0F172A;
$indoc-card-bg: #FAFAFA;
$indoc-sidebar-bg: #F5F6F7;
$indoc-border: #E5E7EB;
$indoc-muted-foreground: #6B7280;

$brand-primary: #3B82F6;   // hsl(221, 83%, 53%) - In-doc Blue
$brand-success: #10B981;   // hsl(142, 76%, 36%) - In-doc Green
$brand-info:    #3B82F6;   // Same as primary
$brand-warning: #F59E0B;   // hsl(31, 92%, 55%) - In-doc Orange
$brand-danger:  #EF4444;   // hsl(0, 84%, 60%) - In-doc Red
*/
.txt-orange {
color: #F59E0B;
}
.txt-red {
    color: #EF4444;
}
.txt-green {
    color: #10B981;
}
.txt-blue {
    color: #3B82F6;
}
.txt-foreground {
    color:#0F172A;
}
.bg_gray {
    background-color:#FAFAFA;
}
.bg_grayLight {
    background-color: #f2f3f5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    color: #0F1729;
}
/*a {
    color: #337ab7;
}*/
td, th {
    font-size: 14px;
    color: #6B7280;
}
a:hover,
a:active,
a:focus {
    outline: none;
    text-decoration: none;
    color: #0F172A;
}
/*
 * Component: Small Box
 * --------------------
 */
.small-box {
    border-radius: 16px;
    position: relative;
    display: block;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px 0 rgba(67, 198, 219, 0.10), 0 1.5px 4px 0 rgba(33, 118, 174, 0.08);
    color: #0F172A;
    background: linear-gradient(135deg, #f6f8fa 0%, #eaf3f7 60%, #d2d6de 100%);
    transition: box-shadow 0.3s, transform 0.2s;
    border: 1px solid #e5e7eb;
}

    .small-box > .inner {
        padding: 28px 24px 24px 24px !important;
    }

    .small-box:hover {
        text-decoration: none;
        color: #2176ae;
        box-shadow: 0 8px 32px 0 rgba(33, 118, 174, 0.18), 0 2px 8px 0 rgba(67, 198, 219, 0.10);
        transform: translateY(-2px) scale(1.02);
    }

    .small-box .icon {
        transition: all 0.3s linear;
        position: absolute;
        top: 22px;
        right: 28px;
        z-index: 0;
        font-size: 36px;
        color: rgba(67, 198, 219, 0.25);
        filter: drop-shadow(0 2px 8px rgba(67, 198, 219, 0.10));
    }

    .small-box:hover .icon {
        font-size: 40px;
        color: #2176ae;
        filter: drop-shadow(0 4px 16px rgba(33, 118, 174, 0.15));
    }
/*fine small-box*/

.box.box-primary {
    border-top-color: #E5E7EB;
}
.bg-primary {
    background-color: #3B82F6;
}
/*
 * Component: Box
 * --------------
 */
.boxInDoc {
    position: relative;
    border-radius: 10px;
    background: #fafafa;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: solid 1px #E5E7EB;
}
.boxInDocEmpty {
    position: relative;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
}
.boxInDocWhite {
    position: relative;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: solid 1px #E5E7EB;
}
.txtSottoTitolo {
    color: #6B7280;
}
.txtSottoTitolo16 {
    color: #6B7280;
    font-size: 16px !important;
    font-weight: 500;
}
.txtSottoTitolo14 {
    color: #6B7280;
    font-size: 14px !important;
    font-weight: 500;
}
.form-control {
    border-radius: 6px;
}
.font-medium {
    font-weight: 600;
}
.spacePVociForm {
    padding: 8px;
    padding-left: 0px;
    padding-top:20px;
}
.spacePVociFormEdit {
    padding: 8px;
    padding-left: 0px;
    padding-top: 0px;
}
.btn {
    border-radius: 5px;
}
.btn-primary {
    color: #fff;
    background-color: #3B82F6;
    border-color: #3B82F6;
}
.btn-primary:focus,
.btn-primary.focus {
    color: #fff;
    background-color: #3B82F6;
    border-color: #122b40;
}

.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.badgeInDoc {
    display: inline-block;
    min-width: 10px;
    padding: 5px 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #0F172A;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #E8EAED;
    border-radius: 5px;
}
.badgeInDocBig {
    display: inline-block;
    min-width: 10px;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #0F172A;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #E8EAED;
    border-radius: 5px;
}

.badgeInDocLight {
    display: inline-block;
    min-width: 10px;
    padding: 5px 9px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #0F172A;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: none;
    border-radius: 5px;
    border: solid 1px #E5E7EB;
}
.badgeInDocSmall {
    display: inline-block;
    min-width: 10px;
    padding: 5px 6px;
    font-size: 12px;
    line-height: 1;
    font-weight: normal;
    color: #0F172A;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #E8EAED;
    border-radius: 3px;
}
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td,
.table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding:12px;
}
.txtLight {
    color: #6B7280;
}
.iconIN {
    color: #1d4eda;
    background-color: #E7EEFA;
    border: 1px solid #bfdbfe;
}
.iconLKP {
    background: rgba(234,179,8,0.1);
    color: #a16207;
    border: 1px solid #fef08a;
}
.iconPAG {
    background: rgba(34,197,94,0.1);
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.iconLKD {
    background: rgba(99,102,241,0.1);
    color: #3730a3;
    border: 1px solid #c7d2fe;
}
.iconDR {
    background: rgba(16,185,129,0.1);
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.iconAD {
    background: #FAFAFA;
    color: #737270;
    border: 1px solid #dedddb;
}
.iconANN {
    background: rgba(239,68,68,0.1);
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.iconNAD {
    background: rgba(239,68,68,0.1);
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.iconAAD {
    background: rgba(239,68,68,0.1);
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.txt12 {
    font-size: 12px;
}
.modal-content {
    border-radius: 10px;
}
.badge-pf {
    background-color: #e3f2fd;
    color: #1565c0;
}
.badge-di {
    background-color: #fff3e0;
    color: #e65100;
}
.badge-sp {
    background-color: #e8f5e9;
    color: #2e7d32;
}
.badge-sc {
    background-color: #f3e5f5;
    color: #7b1fa2;
}
.bgTestata {
    background: #fafafa;
}
.cssSelectedTipoDoc {
    border: solid 1px #000
}
.bg-blue {
    background-color: #3B82F6 !important;
}
.stile-importo {
    font-size: 20px;
    font-weight: 600;
    color: #2463eb;
}
.small-box-doc {
    border-radius: 10px;
    position: relative;
    display: block;
    margin-bottom: 5px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #0F172A;
    background-color: #f2f3f5;
}
.titoloBlu {
    font-size: 18px;
    font-weight: 600;
    color: #0570de;
}
.fontBrains {
    font-family: 'Brains', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.border-icon {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 40px !important;
    border-radius: 50%;
    text-align: center;
    padding-top: 18px !important;
    font-weight:lighter;
}
.telerik-radio-group-error {
    border: 1px solid red;
    background-color: #ffe6e6; /* Colore di sfondo per evidenziare l'errore */
    border-radius: 4px;
    padding: 5px;
}
.k-card-body-sf {
    background: #f7f9fb;
}
.colorTileTotPra {
    color: #0f1729;
}
.colorTileInLav {
    color: #0f1729;
}
.colorTileInLav {
    color: #f69023;
}
.colorTileCompl {
    color: #16a249;
}
.colorTileCanc {
    color: #ef4344;
}
.vertical-menu, .sidebar, .main-sidebar {
    background: linear-gradient(180deg, #f6f8fa 0%, #eaf3f7 30%, #d2d6de 100%);
    /* Per coprire tutta l'altezza */
    min-height: 100vh;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}


  
.btn-gradient-primary {
    background: linear-gradient(180deg, #3B82F6 0%, #2563eb 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    padding: 10px 0;
    font-size: 16px;
    letter-spacing: 0.2px;
}

.btn-gradient-primary:hover,
.btn-gradient-primary:focus {
    background: linear-gradient(180deg, #2563eb 0%, #3B82F6 100%);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
    transform: translateY(-1px) scale(1.01);
    text-decoration: none;
}
.btn-gradient-default {
    background: linear-gradient(180deg, #f4f4f4 0%, #d2d6de 100%);
    color: #0F172A !important;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(210, 214, 222, 0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    padding: 10px 0;
    font-size: 16px;
    letter-spacing: 0.2px;
}

.btn-gradient-default:hover,
.btn-gradient-default:focus {
    background: linear-gradient(180deg, #e5e7eb 0%, #bfc4cd 100%);
    color: #2176ae !important;
    box-shadow: 0 4px 16px rgba(210, 214, 222, 0.12);
    transform: translateY(-1px) scale(1.01);
    text-decoration: none;
}
.boxInDocGradient {
    position: relative;
    border-radius: 10px;
    background: linear-gradient(180deg, #f6f8fa 0%, #eaf3f7 30%, #d2d6de 100%);
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: solid 1px #E5E7EB;
}

.treeview-menu > li > a {
    padding: 8px 8px 8px 15px !important;
    margin: 3px;
}

.sidebar-menu > li.menu-open > a {
    background-color: #dbeaf2 !important;
    border-radius: 8px;
}

.skin-light .sidebar-menu .treeview-menu > li.active > a, .skin-black .sidebar-menu .treeview-menu > li > a:hover {
    background-color: #dbeaf2 !important;
    color: #0F172A;
    border-radius: 8px;
}

.sidebar-menu li > a:hover {
    background-color: #dbeaf2 !important;
    color: #0F172A;
    border-radius: 8px;
}

.boxInDocHover {
    position: relative;
    border-radius: 10px;
    background: #fafafa;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: solid 1px #E5E7EB;
}

.boxInDocHover:hover {
        text-decoration: none;
        color: #2176ae;
        box-shadow: 0 8px 32px 0 rgba(33, 118, 174, 0.18), 0 2px 8px 0 rgba(67, 198, 219, 0.10);
        transform: translateY(-2px) scale(1.00);
    }
.boxInDocInfo {
    position: relative;
    border-radius: 10px;
    background: #eff6ff;
    color: #354bb2;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: solid 1px #d6e8fe;
}
.boxInDocWarning {
    position: relative;
    border-radius: 10px;
    background: rgba(234,179,8,0.1);
    color: #a16207;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #fef08a;
}
.boxInDocError {
    position: relative;
    border-radius: 10px;
    background: rgba(239,68,68,0.1);
    color: #b91c1c;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #fecaca;
}
.boxInDocSuccess {
    position: relative;
    border-radius: 10px;
    background: rgba(16,185,129,0.1);
    color: #065f46;
    margin-bottom: 20px;
    padding: 20px;
    padding-top: 5px;
    width: 100%;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    border: 1px solid #a7f3d0;
}

.vertical-menu,
.main-sidebar {
    background: linear-gradient(180deg, #f6f8fa 0%, #eaf3f7 30%, #d2d6de 100%);
    background-repeat: no-repeat;
}

.main-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 230px;
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

    .main-sidebar .sidebar {
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
    }

.sidebar-mini.sidebar-collapse .main-sidebar {
    overflow: visible;
}

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar {
        overflow-x: visible;
        overflow-y: visible;
    }

.sidebar-mini.sidebar-collapse .sidebar-menu {
    overflow: visible;
}
 
.tree-node-text {
    display: inline-block;
    width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}