/* Regole inserita per evitare lo "scroll" della pagina intera */
html {
    margin:0;
    overflow: hidden;
    height: 100%;
}

.scrolla {
    height: 100%;
    overflow: auto;
}
/* Regole CSS per smartTable, in particolare per avere l'header fisso */

table.table.table-striped {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 200px; /* this can vary */
}

table.table.table-striped * {
    box-sizing: inherit;
    -moz-box-sizing: inherit;
}

.table.table-striped thead {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.table.table-striped tbody {
    overflow-y: scroll;
    display: inline-block;
}

.table.table-striped thead > tr, .table.table-striped tbody > tr, .table.table-striped tfoot > tr {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.table.table-striped thead, .table.table-striped tfoot {
    flex-shrink: 0;
}

.table.table-striped th, .table.table-striped tbody td {
    width: 20%; /* this can vary */
    overflow-x: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.table.table-striped tfoot {
    display: inline-block;
}

.table.table-striped tfoot td {
    width: 100%;
    display: inline-block;
}

.table td a:hover{
    color:#1c84c6;
}

.table ul.pagination{
    margin-bottom: 0px;
}

.ibox-content.tabella {    
    margin-bottom: 0px!important;
    padding-bottom: 1px!important;
}

.st-sort-ascent:before{
    content: '\25B2';
}

.st-sort-descent:before{
    content: '\25BC';
}

.selezionato{
    border: 1px solid #f8ac59
}
.disabilitato{    
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
}
.disabilitato a{
    pointer-events: none;
}

.table.table-striped tbody > tr.st-selected{
    background-color: #ddf4e9;
}

.table.table-striped tbody > tr.selected{
    background-color: #d8f4f4;
}

.table > thead > tr > th.ord{
    cursor: pointer; 
}

.table>tbody+tbody {
    border-top: none;
}

.table .denaro, .denaro{
    text-align: right;
}

.denaro {
    text-align: right;
    float:right;
}

.divisore{
    border-right: 1px solid #e7eaec;
}

.table .az{
    background-color: aliceblue;
}
.table .gr{
    background-color: #f2fff0;
}
.table .or{
    background-color: #fff1f0;
}

.table th, .table td {
    padding: 8px;
}

.table > thead > tr > th {
	padding: 8px;
}

.checkbox-grande {
    width: 20px;
    height: 20px;
    margin: 0px;
    padding: 0px;
}

go-back{
    height: 22px;
}

carica-immagine{
    margin: -5px;
}

li.uib-typeahead-match.active a{
    background-color: #e5e9f2;
}

[uib-typeahead-popup].dropdown-menu{
    overflow: scroll;
    max-height: 200px;
}

/* PERFECT SCROLLBAR */

/*
 * Container style
 */
.ps {
  overflow: hidden !important;
  overflow-anchor: none;
  -ms-overflow-style: none;
  touch-action: auto;
  -ms-touch-action: auto;
}

/*
 * Scrollbar rail styles
 */
.ps__rail-x {
  display: none;
  opacity: 0;
  transition: background-color .2s linear, opacity .2s linear;
  -webkit-transition: background-color .2s linear, opacity .2s linear;
  height: 15px;
  /* there must be 'bottom' or 'top' for ps__rail-x */
  bottom: 0px;
  /* please don't change 'position' */
  position: absolute;
}

.ps__rail-y {
  display: none;
  opacity: 0;
  transition: background-color .2s linear, opacity .2s linear;
  -webkit-transition: background-color .2s linear, opacity .2s linear;
  width: 15px;
  /* there must be 'right' or 'left' for ps__rail-y */
  right: 0;
  /* please don't change 'position' */
  position: absolute;
}

.ps--active-x > .ps__rail-x,
.ps--active-y > .ps__rail-y {
  display: block;
  background-color: transparent;
}

.ps:hover > .ps__rail-x,
.ps:hover > .ps__rail-y,
.ps--focus > .ps__rail-x,
.ps--focus > .ps__rail-y,
.ps--scrolling-x > .ps__rail-x,
.ps--scrolling-y > .ps__rail-y {
  opacity: 0.6;
}

.ps .ps__rail-x:hover,
.ps .ps__rail-y:hover,
.ps .ps__rail-x:focus,
.ps .ps__rail-y:focus,
.ps .ps__rail-x.ps--clicking,
.ps .ps__rail-y.ps--clicking {
  background-color: #eee;
  opacity: 0.9;
}

/*
 * Scrollbar thumb styles
 */
.ps__thumb-x {
  background-color: #aaa;
  border-radius: 6px;
  transition: background-color .2s linear, height .2s ease-in-out;
  -webkit-transition: background-color .2s linear, height .2s ease-in-out;
  height: 6px;
  /* there must be 'bottom' for ps__thumb-x */
  bottom: 2px;
  /* please don't change 'position' */
  position: absolute;
}

.ps__thumb-y {
  background-color: #aaa;
  border-radius: 6px;
  transition: background-color .2s linear, width .2s ease-in-out;
  -webkit-transition: background-color .2s linear, width .2s ease-in-out;
  width: 6px;
  /* there must be 'right' for ps__thumb-y */
  right: 2px;
  /* please don't change 'position' */
  position: absolute;
}

.ps__rail-x:hover > .ps__thumb-x,
.ps__rail-x:focus > .ps__thumb-x,
.ps__rail-x.ps--clicking .ps__thumb-x {
  background-color: #999;
  height: 11px;
}

.ps__rail-y:hover > .ps__thumb-y,
.ps__rail-y:focus > .ps__thumb-y,
.ps__rail-y.ps--clicking .ps__thumb-y {
  background-color: #999;
  width: 11px;
}

/* MS supports */
@supports (-ms-overflow-style: none) {
  .ps {
    overflow: auto !important;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .ps {
    overflow: auto !important;
  }
}

.drop-box {
    background: #F8F8F8;
    border: 5px dashed #DDD;
    width: 100%;
    height: 265px;
    text-align: center;
}

.nav-item.divieto{
  cursor: not-allowed;
}

.side-prodotti .sidebar-nav .nav-link {
    padding: 6px 10px;
}

.side-prodotti .sidebar-nav .nav {    
    margin-left: 19px;
    margin-top: 5px;
}

.side-prodotti .sidebar-nav .nav-item + .nav-item {
    margin-top: 0px; 
}

tr.espandi td{
    white-space: normal;
    overflow-x: visible;
    display: block;
}

tr.bg-gray-300{
    background-color: #cdd4e0!important;
}

.develop{
    background: #ed5565;
    color: white;
}

.develop h6, .develop span{
    color:white;
}

/* Angular UI-Tree */



.angular-ui-tree-handle {
    background: #f8faff;
    border: 1px solid #dae2ea;
    color: #7c9eb2;
    padding: 10px 10px;
}

.angular-ui-tree-handle:hover {
    color: #438eb9;
    background: #f4f6f7;
    border-color: #dce2e8;
}

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 2px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

tr.angular-ui-tree-empty {
    height:100px
}

.group-title {
    background-color: #687074 !important;
    color: #FFF !important;
}


/* --- Tree --- */
.tree-node {
    border: 1px solid #dae2ea;
    background: #f8faff;
    color: #7c9eb2;
}

.nodrop {
    background-color: #f2dede;
}

.tree-node-content {
    margin: 10px;
}
.tree-handle {
    padding: 10px;
    background: #428bca;
    color: #FFF;
    margin-right: 10px;
}

.angular-ui-tree-handle:hover {
}

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 2px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.tree-node.selected{
    outline: 3px solid #ed5565;

}

.hidden {
    display: none!important;
    visibility: hidden!important;
}

.side-prodotti .sidebar-nav .nav-link.nopad{
    padding-right: 0px;
    padding-bottom: 4px;
    padding-top: 4px;
    padding-left: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.sidebar-nav .nav-item .nav.nopad{
    padding-left: 0px;
    margin-left: 7px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.sidebar-nav .nav-item.showing .nav{
    display: block;
}

.sidebar-nav .nav-item.notshowing .nav{
    display: none;
}

.side-prodotti .sidebar-nav .nav-link {
    padding-left: 0px;
}

.nopad .sidebar-nav .nav-link.with-sub::after{
    content: '';
    position: inherit;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #8392a5;
    border-bottom: 1.5px solid #8392a5;
    display: inline-block;
    transform: rotate(45deg);
    margin-top: 4px;
    margin-left: auto;
    align-self: center;
    /* margin-top: 0px; */
    /* margin-bottom: 1px; */
    margin-right: 10px;
    right: 0;
    text-align: right;
    float: right;
}

.sidebar-nav .nav a {    
    padding-left: 5px;
    padding-top: 5px;
}

.sidebar-nav .nav a.active::before {
    left: -10px;
    width: 1px;
    height: 100%;
}

.sidebar-nav .nav a.active.with-sub::before {
    background-color: #fff;
}

/* ANGULAR MULTISELECT TREE */ 

.tree-control .tree-input{
    width:100%
}

.tree-control .tree-view{
    min-width:248px;
}


