﻿.user-no-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    flex-shrink: 0;
    color: white;
}

.user-no-avatar-sm {
    height: 1.5rem;
    width: 1.5rem;
    margin-right: 1rem;
}

.nav-fixed #layoutSidenav #layoutSidenav_nav .sidenav .sidenav-menu {
    overflow-y: auto !important;
}

/*.dt-buttons {
    display: none;
}*/

.table-hover tr {
    cursor: pointer;
}

.invoice.invoice-sm .table tbody tr td {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

th {
    white-space: nowrap;
}

/* COMBOBOX */
.ui-helper-hidden-accessible {
    display: none;
}

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1100 !important;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    text-align: left;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    max-height: 200px;
    overflow-y: auto;
}

    .ui-autocomplete > li > div {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        line-height: 1.42857143;
        color: #333333;
        white-space: nowrap;
    }

.ui-state-hover,
.ui-state-active,
.ui-state-focus {
    text-decoration: none;
    color: #262626;
    background-color: #f5f5f5;
    cursor: pointer;
}
/* ------- */

/* ---------------- MULTISELECT --------------------------*/
.bootstrap-select > .btn {
    display: block;
}

.bootstrap-select > .btn-light {
    background-color: #FFFFFF;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: 70%;
}

.bootstrap-select > .dropdown-toggle.bs-placeholder, .bootstrap-select > .dropdown-toggle.bs-placeholder:hover, .bootstrap-select > .dropdown-toggle.bs-placeholder:focus, .bootstrap-select > .dropdown-toggle.bs-placeholder:active {
    border: 1px solid #c5ccd6;
}
/* ------- */


.textarea-lg {
    min-height: calc(5.5em + 1rem + 2px);
}

/* ---------------- TreeView --------------------------*/

.table-customdatatable{
    width:auto;
}

.table tbody tr.distintaRow {
    background-color: lightsteelblue;
}

.table tbody tr.producibleRow {
    background-color: #e8fcee;
}

.table tbody tr.notProducibleRow {
    background-color: #fcf9e8;
}

.table tbody tr.allreadyProducedRow {
    background-color: #e8fcfb;
}

.table tbody tr.producibleSubRow {
    background-color: #e4f7e9;
}

.table tbody tr.changedRow {
    border-top: 2px solid;
}

.producibile {
    font-size: 1.6rem;
    color: green;
}

#ComponentTree tbody tr td input {
    max-width: 50%;
    min-width: 80px;
}

    #ComponentTree tbody tr td input.show {
        display: inline-block;
    }

    #ComponentTree tbody tr td input.hide {
        display: none;
    }

    #ComponentTree tbody tr td input.maxwidth {
        max-width: 100%;
    }

/*------------------------------*/

.tooltipImage{
    width:100%;
    max-width:200px;
    max-height:200px;
    border:1px solid #fff;
}

.searchresult{

}
    .searchresult .searchelement {
        cursor: pointer;
        border: 1px solid #e0e5ec;
        border-radius: 4px;
    }

/*------------------------------*/

.site_notification {
    position: absolute;
    width: 95%;
    min-height: 50px;
    text-align: center;
    bottom: 0px;
    left: 0px;
    z-index: 2000;
    background: #fff;
    border: 1px solid #000;
    border-radius: 5px;
    margin: 10px 2%;
    color: #fff;
    padding: 10px 0;
}

    .site_notification .text {
        color: #fff;
    }

.apiSuccess {
    background: green;
}

.apiError {
    background: orange;
}


/*------------------------------*/

.autocomplete:focus, .autocompleteRow:focus {
    background-color: lightyellow;
}

.autocomplete {
    border-color: #000;
    background-image: url(/img/storage.png);
    background-size:20px;
    background-repeat:no-repeat;
    background-position: 97% center;
    
}

#PreviewModal .article-img {
    max-width: 100%;
    max-height: 400px;
    margin: 10px 0;
}

/*----------------------------------*/

.transition {
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
}

#prodImage {
    -webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -ms-transition: all .4s ease-in-out;
}



/*Personalizzazioni colori interfaccia*/

a {
    color: #2a7e89;
}
.bg-primary {
    background-color: #2a7e89 !important;
}
/*Testata*/
.bg-gradient-primary-to-secondary {
    background-color: #9dd9e1;
    background-image: linear-gradient(135deg, #8ad2db 0%, #2a7e89 100%);
}

.page-header.page-header-dark .page-header-subtitle {
    color: #657779;
}
/*End Testata*/


/*Pulsanti*/
.btn-primary {
    background-color: #2a7e89;
    border-color: #2a7e89;
}
    .btn-primary:hover {
        background-color: #266e78;
        border-color: #266e78;
    }

.btn-outline-primary {
    border-color: #2a7e89;
    color: #2a7e89;
}
    .btn-outline-primary:hover {
        color: #fff;
        background-color: #266e78;
        border-color: #266e78;
    }
.btn-link {
    color: #2a7e89;
}

.btn-primary.disabled, .btn-primary:disabled {
    background-color: #9dd9e1;
    border-color: #9dd9e1;
}


.btn-info {
    color: #fff;
    background-color: #8bf1ff;
    border-color: #8bf1ff;
}

.btn-green-soft {

    background-color: #a3c9ce;
    border-color: #a3c9ce;
}

.page-item.active .page-link {
    background-color: #2a7e89;
    border-color: #2a7e89;
}
/*End Pulsanti*/

/*Wizzard*/
.nav-pills .nav-link.active, .nav-pills .show > .nav-link, .bg-primary {
    background-color: #2a7e89;
}

.nav-wizard .nav-link .wizard-step-text .wizard-step-text-name{
    color: #2a7e89;
}
.nav-wizard .nav-link .wizard-step-icon {
    background-color: #2a7e89;
}
.nav-wizard .nav-link.active .wizard-step-icon {
    color: #2a7e89;
}
.card:not([class*="bg-"]) .card-header {
    color: #2a7e89;
}

/*End Wizzard*/

/*Menu*/
.sidenav-light .sidenav-menu .nav-link.active, .sidenav-light .sidenav-menu .nav-link.active .nav-link-icon {
    color: #2a7e89;
}

.sidenav-light .sidenav-menu .nav-link:hover {
    color: #2a7e89;
}


.sidenav .sidenav-menu .nav .sidenav-menu-heading {
    padding: 1rem 0.75rem 0.5rem
}
.sidenav .sidenav-menu .nav .nav-link {
    padding: 0.5rem 0.45rem;
    justify-content: space-between;
}

.sidenav .sidenav-menu .nav .nav-link .nav-link-icon {
    padding-right: 0.2rem;
}
.nav .nav-link .nav-link-icon, .sidenav-menu .nav-link .nav-link-icon {
    margin-right: 0.2rem;
}

/*---------------------------*/
/*Tabelle*/

.datatable table.dataTable thead, .datatable table.dataTable tfoot, .text-primary {
    color: #2a7e89 !important;
}

.table.dataTable > tbody > tr > td:first-child{
    text-align: center;
}

    .table.dataTable > tbody > tr > td:first-child > a {
        font-weight:bold;
        padding: 2px;
    }

#ElencoArticoli {
    resize: both;
    overflow: auto;
}

#ElencoArticoli .cella_quantita {
    display: flex;
    flex-wrap: wrap;
}

    #ElencoArticoli .cella_quantita span {
        width:40%;
    }
    #ElencoArticoli .cella_quantita input {
        width: 60%;
    }
#ElencoArticoli td:nth-child(1) {
    min-width: 6em;
}
#ElencoArticoli td:nth-child(2) {
    min-width: 15em;
}
#ElencoArticoli td:nth-child(3) {
    min-width: 20em;
}

/*End Tabelle*/


/*Menu */

#navGESTIONEGestione .sidenav-menu-nested {
    border-left-color: #EF476F;
}
#navLink_GESTIONE .nav-link-icon {
    color: #EF476F;
}

#navMAGAZZINOMagazzino .sidenav-menu-nested {
    border-left-color: #FFD166;
}
#navLink_MAGAZZINO .nav-link-icon {
    color: #FFD166;
}

#navCRMCrm .sidenav-menu-nested {
    border-left-color: #06D6A0;
}
#navLink_CRM .nav-link-icon {
    color: #06D6A0;
}

#navCONTABILITAContabilità .sidenav-menu-nested {
    border-left-color: #118AB2;
}
#navLink_CONTABILITA .nav-link-icon {
    color: #118AB2;
}

#navANAGRAFICHEAnagrafiche .sidenav-menu-nested {
    border-left-color: #073B4C;
}
#navLink_ANAGRAFICHE .nav-link-icon {
    color: #073B4C;
}

#navREPORTReporteGrafici .sidenav-menu-nested, #navREPORTReport .sidenav-menu-nested, #navREPORTGrafici .sidenav-menu-nested {
    border-left-color: #65010c;
}
#navLink_REPORT .nav-link-icon {
    color: #65010c;
}

#navCUSTOMcustom .sidenav-menu-nested {
    border-left-color: #8a84e2;
}
#navLink_CUSTOM .nav-link-icon {
    color: #8a84e2;
}
