$spaceamounts: (5, 10, 15, 20, 25, 30, 35, 40, 60);
/*$sides: (top, bottom, left, right);*/
$sides: (top); //Per iniziare

$placeholder-color: #aaa;

@each $space in $spaceamounts {
    @each $side in $sides {
        .app-margin-#{$side}-#{$space} {
            margin-#{$side}: #{$space}px !important;
        }
    }
}

@media (min-width: 1280px) {
    .modal-xl {
        max-width: 1024px;
    }
}

@media (min-width: 1600px) {
    .modal-xxl {
        max-width: 1280px;
    }
}

@media (min-width: 1800px) {
    .modal-feminist {
        max-width: 1366px;
    }
}

.es-table {
    padding: 15px;
    background-color: white;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
}

.app-btn-search {
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
}

.ngx-contextmenu .dropdown-menu {
    border-radius: 5px !important;
}

.simple-tab-content {
    background-color: white;
}

.simple-tab-selected {
    background-color: white;
}

.es-card {
    padding: 15px;
    background-color: white;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
}

.p-overlay.p-component {
    z-index: 999999999 !important;
}

.modal-header {
    cursor: pointer !important;
}

::-ms-reveal {
    display: none;
}

.app-fill {
    width: 100%;
    height: 100%;
}

.app-flex-left{
    margin-right: auto;
}

.lastfix {
    margin-bottom: -.500rem;
}

.app-inline-wrapped {
    display: inline !important;
}

.app-inline-wrapped::after {
    content: "\A";
    white-space: pre;
}

.app-mat-form-slider {
    margin-top: -10px;
    width: 100%;
    padding: 0;
}

.app-updevery-input {
    width: 30px;
    display: inline;
    padding: 1px;
    height: 20px;
}

.mv-input {
    padding-left: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    width: 100px;
    height: 30px;

    &:focus {
        box-shadow: none !important;
    }
}

.input-group-addon {
    background-color: #eceeef;
    border: 1px solid rgba(0,0,0,0.15);
}

.app-flex-row {
    flex-direction: row;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.app-white-button {
    background-color: #fff;
    border-color: #ccc;
}

.app-bigplus {
    text-align: center;
    font-size: 95px;
    color: #ccc;
    font-weight: 200;
    cursor: pointer;

    :hover {
        background-color: #eee;
    }
}

.app-wrap {
    white-space: pre-wrap;
    word-break: break-word;
}

.app-min-height-145 {
    min-height: 145px;
}

.tooltip {
    pointer-events: auto !important;
    -webkit-user-select: none !important; /* webkit (safari, chrome) browsers */
    -moz-user-select: none !important; /* mozilla browsers */
    -khtml-user-select: none !important; /* webkit (konqueror) browsers */
    -ms-user-select: none !important; /* IE10+ */
    cursor: default !important;
}

.ace_gutter-cell.ace_breakpoint {
    border-radius: 20px 0px 0px 20px;
    /* Change the color of the breakpoint if you want */
    box-shadow: 0px 0px 1px 1px red inset;
}

.tab-body {
    padding: 15px;
    border: 1px solid #bbb;
    width: 100%;
}

.tab-header-page {
    border-bottom: 20px solid #bbb;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    cursor: pointer;
    height: 0;
    text-align: center;
}

.tab-selected {
    border-bottom: 20px solid #bbb;
    font-weight: bold;
}

.tab-unselected {
    border-bottom: 20px solid #ddd;
}

.app-bullet {
    font-weight: bold;
    font-size: 25px;
    line-height: 0;
    vertical-align: sub;
}

.app-input-password {
    width: calc(100% - 30px) !important;
    display: inline-block !important;
    margin-right: 10px !important;
}

.swal2-container {
    z-index: 9999999999999 !important;
}

.app-margin-bottom-min-10 {
    margin-bottom: -10px;
}

.app-margin-bottom-min-15 {
    margin-bottom: -15px;
}

.input-group-addon-color {
    background-color: #eceeef !important;
}

.no-bg-img {
    background-image: none !important;
    padding-right: 0 !important;
}

//Placeholder
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: $placeholder-color !important;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: $placeholder-color !important;
    opacity: 1 !important;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: $placeholder-color !important;
    opacity: 1 !important;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: $placeholder-color !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: $placeholder-color !important;
}

::placeholder { /* Most modern browsers support this now. */
    color: $placeholder-color !important;
}

/*  Piccolo fix performance ngx chart: https://github.com/swimlane/ngx-charts/issues/562  */
ngx-charts-advanced-pie-chart,
ngx-charts-number-card,
ngx-charts-bar-vertical,
ngx-charts-bar-horizontal,
ngx-charts-tree-map,
ngx-charts-charts {
    display: block;
    min-height: 1px;
}

//Override col colore fisico. Tenendo il modificatore di alpha rischia che con le sticky scazzi il colore
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(242, 242, 242);
}

.app-flip-y {
    -moz-transform: scale(1, -1);
    -webkit-transform: scale(1, -1);
    -o-transform: scale(1, -1);
    -ms-transform: scale(1, -1);
    transform: scale(1, -1);
}

.app-flip-x {
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
}

.app-std-border-right {
    border-right: 2px solid #ccc;
}

.app-std-border-left {
    border-left: 2px solid #ccc;
}

.dropdown-menu > li > a:empty {
    padding: 0;
}

.app-caret-none {
    color: transparent !important;
    text-shadow: 0 0 0 black !important;

    &:focus {
        outline: none;
    }
}

.app-break-words {
    word-break: break-all;
}

.app-simple-border {
    border: 1px solid #eceeef
}

.scrolling-box-600 {
    max-height: 600px;
    overflow-x: hidden;
    overflow-y: auto;
}

.list-area{
    position: relative !important;
}

.scrolling-box {
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

.app-ace-higlight {
    background: rgba(255, 50, 50, 0.2);
    position: absolute;
}

.ace_editor, .ace_editor div {
    font-family: monospace
}

.fixed-sm-border {
    border-width: 1px;
    border-radius: 0;
}

.app-dashed-box {
    border: 2px dashed #ccc;
    padding: 10px;
}

.app-small-dashed-box {
    border: 1px dashed #ccc;
    padding: 7px;
    font-size: small;
}

.app-empty-char {
    position: absolute;
    top: 45%;
    left: 33%;
    font-size: 18px;
    font-style: italic;
}

.app-textbox-stringyfied {
    border: 0;
    background-color: white;
    color: black;
    font-weight: bold;
}

//Con z-index -1 sparirebbe, con z-index 1 apparirebbe sopra eventuali popup (tipo quello dello user collegato)
.app-sticky-last-column {
    right: 0;
    position: sticky;
    z-index: 0;
    background-color: white;
}

.app-sticky-last-column-alt {
    right: 0;
    position: sticky;
    z-index: 0;
    background-color: rgb(242, 242, 242);
}

.app-sticky-divider {
    width: 100%;
    height: 1px;
    z-index: 999;
    background-color: #eee;
}

.app-sticky-first-column {
    left: -1px;
    z-index: 999;
    position: sticky;
    background-color: #ccc;
}

.app-dropdown-stringyfied {
    color: black !important;
    padding: 0;
    height: 20px !important;
    background-color: white !important;
    border: 0;
    font-weight: bold;
    outline: 0 !important;
    background: white;
    opacity: 1 !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
}

.app-dropdown-stringyfied::-ms-expand {
    display: none !important;
}

.background-danger {
    background-color: darksalmon;
}

.checking-field, .checking-combo {
    box-shadow: unset !important;
}

.app-border-none {
    border: none;
}

.app-padding-leftonly-15 {
    padding-left: 15px !important;
    padding-bottom: 0px !important;
    padding-right: 0px !important;
    padding-top: 0px !important;
}

.app-width-auto {
    width: auto;
}

.app-line-through {
    text-decoration: line-through;
}

.app-margin-auto {
    margin: auto;
}

.app-upper-right-remove {
    position: absolute;
    right: 10px;
    font-size: 25px;
    top: 5px;
}

.app-inline-block {
    display: inline-block;
}

.swal2-success {
    border-color: #2d922d !important;
    color: #2d922d !important;
}

.swal2-info {
    border-color: #248dad !important;
    color: #248dad !important;
}

.swal2-warning {
    border-color: #f79a17 !important;
    color: #f79a17 !important;
}

.swal2-danger {
    border-color: #bf1725 !important;
    color: #bf1725 !important;
}

.app-slash {
    font-size: 30px;
    line-height: 1;
    margin-top: 2px;
    text-align: center;
}

.table-mh-435 {
    min-height: 435px;
}

.table-b0 th, .table-b0 td {
    border-top: none !important;
    border-left: none !important;
}

.table-b0 {
    border: 0px;
}

.table-b0 th {
    border-bottom: none !important;
}

.table-b0:last-child {
    border: none !important;
}

//Jobs**** (da spostare prima o poi nel punto giusto)
.job-step-number {
    position: absolute;
    right: 10px;
    font-size: 16px;
    top: 2px;
    font-weight: bold;
}

//Fine jobs

.dropdown-menu:before {
    display: none;
}

.app-table-dotted-menu {
    padding: 0 !important;
    padding-bottom: 2px !important;
    color: #999;
}

.app-rtl {
    direction: rtl;
}
/*.app-dots:after {
    content: '\2807';
    font-size: 10px;
}*/

.app-border-1 {
    border: 1px solid rgba(0, 0, 0, 0.15) !important
}

.app-no-selection {
    -webkit-user-select: none; /* webkit (safari, chrome) browsers */
    -moz-user-select: none; /* mozilla browsers */
    -khtml-user-select: none; /* webkit (konqueror) browsers */
    -ms-user-select: none; /* IE10+ */
}

.wizard-step-container {
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 10px;
}

.app-right-border {
    border-right: 2px solid #ccc;
}

.app-mtu-fixed-height {
    height: 302px;
}

.app-mtu-fixed-height-wrapper {
    height: 204px;
    overflow: auto;
}

.app-upper-right-close {
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 20px;
}

.toast-message {
    white-space: pre-wrap;
}

.app-overflow-auto {
    overflow: auto;
}

.app-no-border {
    border: none !important;
}

.app-contextmenu {
    background-color: white;
    border: 1px solid;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
}

.app-contextmenu-item {
    margin-left: -30px;
    margin-right: -30px;
    cursor: pointer;

    > span {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 3px;
        padding-bottom: 3px;
    }
}

.app-contextmenu-item:hover {
    background-color: #ddd;
}

.app-lh-0 {
    line-height: 0;
}

.app-lh-05 {
    line-height: 0.5;
}

.app-lh-1 {
    line-height: 1;
}

.app-lh-2 {
    line-height: 2;
}

.app-lh-2-important {
    line-height: 2 !important;
}

.app-lh-22 {
    line-height: 2.2;
}

.app-display-block {
    display: block !important;
}

.app-input-inline-icon {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 2px;
    right: 20px;
}

.app-bordered-box {
    border: 1px solid #ccc;
}

.app-mr-auto {
    margin-right: auto;
}

.app-mrd-infobox-small {
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
}

.app-mrd-infobox {
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    margin-top: -5px;
    float: left;
}

.app-mrd-infobox-editmode {
    margin-bottom: -20px;
    margin-top: -6px;
}

.app-whitespace-prewrap {
    white-space: pre-wrap;
}

.app-white-selectable {
    background-color: white;
}

.app-white-selected {
    background-color: #ddd !important;
}

.app-bb-box {
    border-bottom: 2px solid #ddd;
}

.app-white-selectable:hover {
    background-color: #ddd;
}

.app-placeholder {
    color: $placeholder-color;
}

.app-placeholder-dark {
    color: #777;
}

//Override del fatto che bootstrap nasconde la scrollbar quando si apre una dialog
.modal-open {
    overflow: inherit;
    padding-right: 0 !important;
}

//Fix di quel cazzo di multiselect
.dropdown-menu a:hover {
    color: black !important;
    background-color: #f5f5f5;
}

.dropdown-menu span:hover {
    color: black !important;
    background-color: transparent;
}

.dropdown-item a:hover {
    color: black !important;
    background-color: transparent;
}

.dropdown-item empty {
    color: black !important;
    background-color: #f5f5f5;
}
//Fine fix multiselect

.app-history-box {
    max-height: 775px;
    overflow-x: hidden;
    overflow-y: auto;
}

.app-date-width {
    width: 100px;
}

.app-input-width {
    width: 100px;
}

.load-more-btn {
    width: 100%;
    margin-top: 10px;
    background-color: ButtonFace;
}

.app-max-width-100 {
    max-width: 100px;
}

.app-search-buttons {
    /*Questo per metterlo sotto*/
    /*margin-top:10px;
    margin-left: 15px;*/
    /*Questo per metterlo a destra di fianco al search*/
    position: absolute;
    top: 55px;
    right: 20px;
}

.app-left-0 {
    left: 0;
}

.app-left-4 {
    left: 4px;
}

.app-left-10 {
    left: 10px;
}

.app-bottom-0 {
    bottom: 0;
}

.app-bottom-10 {
    bottom: 10px;
}

.app-right-0 {
    right: 0;
}

.app-right-10 {
    right: 10px !important;
}

.app-right-20 {
    right: 20px;
}

.app-right-25 {
    right: 25px;
}

.app-right-50 {
    right: 50px;
}

.app-top-2 {
    top: 2px;
}

.app-top-5 {
    top: 5px;
}

.app-top-10 {
    top: 10px;
}

.app-top-20 {
    top: 20px;
}

.app-top-40 {
    top: 20px;
}

.m-t-min-1 {
    margin-top: -1px;
}

.m-t-min-2 {
    margin-top: -2px;
}

.m-t-min-3 {
    margin-top: -3px;
}

.m-t-min-5 {
    margin-top: -5px;
}

.m-t-min-6 {
    margin-top: -6px;
}

.m-t-min-10 {
    margin-top: -10px;
}

.m-b-min-1 {
    margin-bottom: -1px;
}

.m-b-min-2 {
    margin-bottom: -2px;
}

.m-b-min-3 {
    margin-bottom: -3px;
}

.m-b-min-5 {
    margin-bottom: -5px;
}

.m-b-min-6 {
    margin-bottom: -6px;
}

.m-b-min-10 {
    margin-bottom: -10px;
}

.app-uppercase {
    text-transform: uppercase;
}

.app-col-sm-10-with-addon {
    width: calc(83.33333% - 56px) !important;
}

/*i commenti negli scss possono essere messi solo con char utf8 lol (niente accenti ecc)*/
/*
* sticky column             0
* Introjs                   9999998
* Timeline                  9999999
* Modal                     99999998
* Roba sopra la modal       99999999
* Swal container            9999999999999
*/

.app-bring-to-front {
    z-index: 9999999 !important;
}

.modal {
    z-index: 99999998 !important;
}

.app-bring-to-front-strong {
    z-index: 99999999 !important;
}

.guppy_help {
    z-index: 99999999 !important;
}

bs-dropdown-container {
    z-index: 99999999 !important;
}

.app-bold {
    font-weight: bold;
}

.app-float-left {
    float: left;
}

.app-float-right {
    float: right;
}

.app-no-resize {
    resize: none;
}

.app-table-no-border {
    border-top: none !important;
}

.app-upper-left-indicator {
    position: absolute;
    top: 2px;
    right: 5px;
}

.app-dialog-button {
    margin-bottom: 19px;
    margin-top: 1px;
    font-size: 25px;
}

.app-z-index-0 {
    z-index: 0 !important;
}

.app-col-divide:after {
    width: 0px;
    content: "-";
    display: block;
    position: absolute;
    top: 10px;
    bottom: 0;
    right: 2px;
    font-weight: bold;
}

.app-widgets-expanded {
    padding-right: 20px !important;
    padding-top: 10px !important;
    padding-bottom: 0px !important;
}

.app-widget-head-expanded {
    padding: 0;
    padding-left: 20px;
}

.app-upper-right-trash {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    z-index: 99;
}

.app-absolute {
    position: absolute;
}

.app-relative {
    position: relative;
}

.app-box-ricarico {
    width: 250px;
    position: absolute;
    bottom: 35px;
}

.app-box-ricarico-edit {
    width: 250px;
    position: absolute;
    bottom: 21px;
}

.app-input-ricarico {
    display: inline;
    margin-left: 2px;
    width: 20%;
}

.app-no-overflow {
    overflow: hidden;
}

.app-overflow-visible {
    overflow: visible;
}

.app-limited-block {
    max-height: 350px;
    overflow: auto;
}

.app-refresh-button {
    position: absolute;
    top: 10px;
}

.app-float-right {
    float: right !important;
}

.app-intable-input {
    padding: 2px 5px 2px 5px;
}

.app-intable-select {
    padding: 2px 5px 2px 5px;
    height: 23px !important;
}

.app-option-placeholder {
    color: $placeholder-color !important;
}

.app-option-placeholder option {
    color: black !important;
}

.app-lightgrey {
    color: #666;
}

.app-bg-lightgrey {
    background-color: #ddd !important;
}

.app-width-1000 {
    width: 1000px !important;
}

.app-width-100 {
    width: 100px !important;
}

.app-width-10 {
    width: 10px !important;
}

.app-width-20 {
    width: 20px !important;
}

.app-width-30 {
    width: 30px !important;
}

.app-width-40 {
    width: 40px !important;
}

.app-width-50 {
    width: 50px !important;
}

.app-width-60 {
    width: 60px !important;
}

.app-width-70 {
    width: 70px !important;
}

.app-width-80 {
    width: 80px !important;
}

.app-width-90 {
    width: 90px !important;
}

.app-width-100 {
    width: 100px !important;
}

.app-width-110 {
    width: 110px !important;
}

.app-width-120 {
    width: 120px !important;
}

.app-width-130 {
    width: 130px !important;
}

.app-width-180 {
    width: 180px !important;
}

.app-width-435 {
    width: 435px !important;
}

.app-height-350 {
    height: 350px;
}

.app-height-250 {
    height: 250px;
}

.app-height-275 {
    height: 275px;
}

.app-height-300 {
    height: 300px;
}

.app-height-380 {
    height: 380px;
}

.app-height-370 {
    height: 370px;
}

.app-max-height-370 {
    max-height: 370px;
}

.app-height-400 {
    height: 400px;
}

.app-height-425 {
    height: 400px;
}

.app-height-450 {
    height: 450px;
}

.app-height-560 {
    height: 560px;
}

.app-sm2-minus-5 {
    float: left;
    width: calc(16.66667% - 5px) !important;
}

.app-sm10-plus-5 {
    float: left;
    width: calc(83.33333% + 5px) !important;
}

.app-deadline-todo {
    background-color: lightskyblue !important;
}

.app-deadline-done {
    background-color: lightgreen !important;
}

.app-font-size-12 {
    font-size: 12px !important;
}

.app-font-size-14 {
    font-size: 14px !important;
}

.app-font-size-15 {
    font-size: 15px !important;
}

.app-font-size-16 {
    font-size: 16px !important;
}

.app-font-size-17 {
    font-size: 17px !important;
}

.app-font-size-18 {
    font-size: 18px !important;
}

.app-font-size-20 {
    font-size: 20px !important;
}

.app-font-size-22 {
    font-size: 22px !important;
}

.app-font-size-25 {
    font-size: 25px !important;
}

.app-font-size-59 {
    font-size: 59px !important;
}

.app-selected {
    background-color: lightsteelblue;
}

.app-aff-90 {
    color: darkgreen;
}

.app-aff-80 {
    color: green;
}

.app-aff-70 {
    color: lightgreen;
}

.app-aff-60 {
    color: mediumseagreen;
}

.app-aff-50 {
    color: darkorange;
}

.app-aff-40 {
    color: red;
}

.app-bg-aff-90 {
    background-color: darkgreen;
}

.app-bg-aff-80 {
    background-color: green;
}

.app-bg-aff-70 {
    background-color: lightgreen;
}

.app-bg-aff-60 {
    background-color: mediumseagreen;
}

.app-bg-aff-50 {
    background-color: darkorange;
}

.app-bg-aff-40 {
    background-color: red;
}

.app-scarico-materiale-body {
    max-height: 500px;
    overflow: auto;
    overflow-x: hidden;
}

.app-max-height-550 {
    max-height: 550px;
}

.app-max-height-300 {
    max-height: 300px;
}

.app-success-row {
    background-color: #389c90 !important;
}

.app-danger-row {
    background-color: #9c3838 !important;
}

.app-info-row {
    background-color: #388b9c !important;
}

.app-active-readonly {
    color: #555 !important;
    background-color: white !important;
}

.app-reading-info {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 20px;
}

.app-loading-over {
    display: none;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: rgba(0,0,0,0.5) none repeat;
}

.app-loading-over-internal {
    color: white;
    position: absolute;
    top: calc(48%);
    left: calc(45%);
    font-size: 15px;
}

.app-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.loader-img {
    position: absolute;
    width: 140px;
    top: calc(35%);
    left: calc(50% - 70px);
}

.app-timepicker-success {
    padding-right: 1.75rem;
    background-repeat: no-repeat;
    background-position: center right 0.625rem;
    background-size: 1.25rem 1.25rem;
    border-color: $success-color;
    background-image: $az-form-icon-success;
}

.app-success-row-link {
    color: ivory !important;
}

.dropdown-item:hover {
    color: white !important;
}

.app-fixed-height-700 {
    height: 700px;
    overflow: auto;
    overflow-x: hidden;
}

.app-fixed-height-610 {
    height: 610px;
    overflow: auto;
    overflow-x: hidden;
}

.app-fixed-height-685 {
    height: 685px;
    overflow: auto;
    overflow-x: hidden;
}

.app-arrow {
    height: 15px;
    width: 100%;
    text-align: center;
}

.app-visible {
    display: block !important;
}

.app-scheduling-symbol {
    position: absolute;
    right: 15px;
    font-size: 2.15em;
    z-index: 100;
}

.app-arrow:hover {
    background-color: lightgray;
}

.app-calendar-box {
    width: calc(100% - 380px);
    padding-left: 10px;
    float: right;
}

.app-deadline-box-container {
    width: 380px;
    height: 100%;
    float: left;
}

.app-deadline-box {
    padding: 0px;
    padding-left: 3px;
    padding-right: 3px;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    border-style: solid;
    border-color: lightgray;
    border-width: 2px;
    position: relative;
}

.app-input-icon {
    position: absolute;
    color: dimgrey;
    top: 11px;
    left: 5px;
    z-index: 999;
}

.app-input-icon:hover {
    color: dimgrey;
}

.app-text-center {
    text-align: center;
}

.app-text-right {
    text-align: right;
}

.app-text-left {
    text-align: left;
}

.app-fe-sm-v {
    position: relative;
    top: 0px;
    width: 1px;
    left: 5px;
    font-size: 8px;
    font-weight: bold;
    color: black;
    text-shadow: 0px 0px 0.2px black;
}

.app-fe-v {
    position: relative;
    top: -10px;
    left: 145px;
    width: 1px;
    font-size: 11px;
    font-weight: bold;
    color: #fffac2;
    text-shadow: 0px 0px 1px #fffbcc;
}

.app-card-function-button {
    padding: 0.5rem 1.25rem;
    border-bottom: solid 2px #D9D9D9;
}

.app-modal-function-button {
    padding: 8px 15px;
    border-bottom: solid 1px #D9D9D9;
}

.app-no-bg-img {
    background-image: none !important;
}

.app-widget-head-button {
    font-size: 1.15rem;
    margin-top: -2px;
    margin-bottom: -5px;
    margin-left: 10px;
}

.app-line-separator {
    height: 3px;
    background: rgb(237,237,237);
    border-bottom: 1px solid rgb(237,237,237);
    margin-bottom: 10px;
}

.app-small-line-separator {
    height: 2px;
    background: #ccc;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
    margin-top: 5px;
}

.app-link {
    color: #0275d8 !important;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.app-link:hover {
    color: #23527c !important;
    cursor: pointer;
    text-decoration: underline !important;
}

.app-link-nocol {
    cursor: pointer;
    text-decoration: none;
}

.app-link-nocol:hover {
    text-decoration: underline;
}

.app-btn-widget {
    position: absolute;
    margin: 0;
    top: 3.5px;
    background-color: rgb(65,75,80);
    cursor: pointer;
}

.app-btn-widget-spacer {
    visibility: hidden;
    height: 1px;
}

.app-btn-widget:hover {
    background-color: rgb(105,115,120);
}

.app-inline {
    display: inline;
}

.app-btn-search {
    width: 40.85px;
    height: 38px;
}

.app-fa-cell-fix {
    display: table-cell;
}

.app-display-none {
    display: none;
}

.app-border-radius-5 {
    border-radius: 5px !important;
}

.app-no-padding {
    padding: 0 !important;
}

.app-padding-5 {
    padding: 5px !important;
}

.app-padding-2 {
    padding: 2px !important;
}

.app-padding-3 {
    padding: 3px !important;
}

.app-padding-10 {
    padding: 10px !important;
}

.app-padding-15 {
    padding: 15px !important;
}

.app-padding-left-0 {
    padding-left: 0px !important;
}

.app-padding-left-5 {
    padding-left: 5px !important;
}

.app-padding-left-10 {
    padding-left: 10px !important;
}

.app-padding-left-15 {
    padding-left: 15px !important;
}

.app-padding-left-20 {
    padding-left: 20px !important;
}

.app-padding-left-25 {
    padding-left: 25px !important;
}

.app-padding-left-30 {
    padding-left: 30px !important;
}

.app-padding-left-35 {
    padding-left: 35px !important;
}

.app-padding-left-40 {
    padding-left: 40px !important;
}

.app-padding-left-45 {
    padding-left: 45px !important;
}

.app-padding-right-0 {
    padding-right: 0px !important;
}

.app-padding-right-5 {
    padding-right: 5px !important;
}

.app-padding-right-10 {
    padding-right: 10px !important;
}

.app-padding-right-15 {
    padding-right: 15px !important;
}

.app-margin-0 {
    margin: 0px !important;
}

.app-margin-right-min-10 {
    margin-right: -10px !important;
}

.app-margin-left-min-2 {
    margin-left: -2px;
}

.app-margin-left-min-5 {
    margin-left: -5px;
}

.app-margin-left-min-10 {
    margin-left: -10px !important;
}

.app-margin-right-min-20 {
    margin-right: -20px !important;
}

.app-margin-left-0 {
    margin-left: 0 !important;
}

.app-margin-left-5 {
    margin-left: 5px !important;
}

.app-margin-left-6 {
    margin-left: 6px !important;
}

.app-margin-left-15 {
    margin-left: 15px !important;
}

.app-margin-left-25 {
    margin-left: 25px !important;
}

.app-margin-right-10 {
    margin-right: 10px !important;
}

.app-margin-right-15 {
    margin-right: 15px !important;
}

.app-margin-right-20 {
    margin-right: 20px !important;
}

.app-margin-right-25 {
    margin-right: 25px !important;
}

.app-margin-right-5 {
    margin-right: 5px !important;
}

.app-margin-top-min-10 {
    margin-top: -10px !important;
}

.app-margin-top-min-15 {
    margin-top: -15px !important;
}

.app-margin-left-10 {
    margin-left: 10px !important;
}

.app-margin-bottom-0 {
    margin-bottom: 0px !important;
}

.app-margin-bottom-2 {
    margin-bottom: 2px !important;
}

.app-margin-bottom-5 {
    margin-bottom: 5px !important;
}

.app-margin-bottom-10 {
    margin-bottom: 10px !important;
}

.app-margin-bottom-14 {
    margin-bottom: 14px !important;
}

.app-margin-bottom-15 {
    margin-bottom: 15px !important;
}

.app-margin-bottom-20 {
    margin-bottom: 20px !important;
}

.app-margin-bottom-25 {
    margin-bottom: 25px !important;
}

.app-margin-bottom-30 {
    margin-bottom: 30px !important;
}

.app-border-radius-10 {
    border-radius: 10px;
}

.app-no-margin {
    margin: 0 !important;
}

.app-no-row-margin {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.app-white-text {
    color: white !important;
}

.app-black-text {
    color: #242424 !important;
}

.app-pointer {
    cursor: pointer;
}

.app-not-allowed {
    cursor: not-allowed;
}

.app-hidden-view {
    visibility: hidden !important;
}

.app-afterline-button {
    margin-top: 5px;
    color: white;
    background-color: inherit;
    border-width: 2px;
    border-color: white;
    font-weight: bold;
    margin-bottom: -5px;
}

.app-afterline-button-black {
    color: black;
    background-color: inherit;
    border-width: 2px;
    border-color: black;
    font-weight: bold;
    margin-bottom: 5px;
}
// ****Margin Top****
.m-t-min-2 {
    margin-top: -2px;
}

.m-t-1 {
    margin-top: 1px;
}

.m-t-2 {
    margin-top: 2px;
}

.m-t-3 {
    margin-top: 3px;
}

.m-t-4 {
    margin-top: 4px;
}

.m-t-5 {
    margin-top: 5px;
}

.m-t-6 {
    margin-top: 6px;
}

.m-t-7 {
    margin-top: 7px;
}

.m-t-8 {
    margin-top: 8px;
}

.m-t-9 {
    margin-top: 9px;
}

.m-t-10 {
    margin-top: 10px;
}

.m-t-15 {
    margin-top: 15px;
}

.m-t-30 {
    margin-top: 30px;
}

.f-s-25 {
    font-size: 25px;
}
// ****PULLLEFT****
.app-pullleft-1 {
    margin-right: 1px;
}

.app-pullleft-2 {
    margin-right: 2px;
}

.app-pullleft-3 {
    margin-right: 3px;
}

.app-pullleft-4 {
    margin-right: 4px;
}

.app-pullleft-5 {
    margin-right: 5px;
}

.app-pullleft-6 {
    margin-right: 6px;
}

.app-pullleft-7 {
    margin-right: 7px;
}

.app-pullleft-8 {
    margin-right: 8px;
}

.app-pullleft-9 {
    margin-right: 9px;
}

.app-pullleft-10 {
    margin-right: 10px;
}

.app-pullleft-15 {
    margin-right: 15px;
}

// ****PULLRIGHT****
.app-pullright-1 {
    margin-left: 1px;
}

.app-pullright-2 {
    margin-left: 2px;
}

.app-pullright-3 {
    margin-left: 3px;
}

.app-pullright-4 {
    margin-left: 4px;
}

.app-pullright-5 {
    margin-left: 5px;
}

.app-pullright-6 {
    margin-left: 6px;
}

.app-pullright-7 {
    margin-left: 7px;
}

.app-pullright-8 {
    margin-left: 8px;
}

.app-pullright-9 {
    margin-left: 9px;
}

.app-pullright-10 {
    margin-left: 10px;
}

.app-pullright-15 {
    margin-left: 15px;
}

// ****PULLUP****
.app-pullup-1 {
    margin-bottom: 1px;
}

.app-pullup-2 {
    margin-bottom: 2px;
}

.app-pullup-3 {
    margin-bottom: 3px;
}

.app-pullup-4 {
    margin-bottom: 4px;
}

.app-pullup-5 {
    margin-bottom: 5px;
}

.app-pullup-6 {
    margin-bottom: 6px;
}

.app-pullup-7 {
    margin-bottom: 7px;
}

.app-pullup-8 {
    margin-bottom: 8px;
}

.app-pullup-9 {
    margin-bottom: 9px;
}

.app-pullup-10 {
    margin-bottom: 10px;
}

.app-pullup-15 {
    margin-bottom: 15px;
}
// ****TABLES****

.app-one-clm-width {
    width: 100%;
}

.app-two-clm-width {
    width: 50%;
}

.app-three-clm-width {
    width: 33.333%;
}

.app-four-clm-width {
    width: 25%;
}

.app-five-clm-width {
    width: 20%;
}

.app-six-clm-width {
    width: 16.666%;
}

.app-col-12 {
    width: 100%;
}

.app-col-11 {
    width: 91.66666667%;
}

.app-col-10 {
    width: 83.33333333%;
}

.app-col-9 {
    width: 75%;
}

.app-col-8 {
    width: 66.66666667%;
}

.app-col-7 {
    width: 58.33333333%;
}

.app-col-6 {
    width: 50%;
}

.app-col-5 {
    width: 41.66666667%;
}

.app-col-4 {
    width: 33.33333333%;
}

.app-col-3 {
    width: 25%;
}

.app-col-2 {
    width: 16.66666667%;
}

.app-col-1 {
    width: 8.33333333%;
}

// ****PADDINGS****
.app-padding-bottom-0 {
    padding-bottom: 0px !important;
}

.app-padding-bottom-5 {
    padding-bottom: 5px;
}

.app-padding-bottom-10 {
    padding-bottom: 10px;
}

.app-padding-top-0 {
    padding-top: 0 !important;
}

.app-padding-top-3 {
    padding-top: 3px !important;
}

.app-padding-top-8 {
    padding-top: 8px !important;
}

.app-padding-top-5 {
    padding-top: 5px !important;
}

.app-padding-top-10 {
    padding-top: 10px !important;
}

.app-padding-top-13 {
    padding-top: 13px !important;
}

.app-padding-top-15 {
    padding-top: 15px !important;
}

.app-padding-top-16 {
    padding-top: 16px !important;
}

// ****MARGINS****
.app-mb-0 {
    margin-bottom: 0;
}

.file-upload {
    .file-upload-btn {
        position: absolute;
        width: 100%;
        height: 35px;
        z-index: 9;
        opacity: 0;
    }

    .delete-file {
        position: absolute;
        right: 50px;
        top: 8px;
        font-size: 16px;
        opacity: .8;
        cursor: pointer;
        z-index: 99;
        visibility: hidden;
    }

    &:hover .delete-file {
        visibility: visible;
    }
}

.app-right-15 {
    right: 15px;
}

.app-top-0 {
    top: 0;
}

.app-top-10 {
    top: 10px;
}

.app-fs-30 {
    font-size: 30px;
}

.app-fs-16 {
    font-size: 16px;
}

.app-fs-20 {
    font-size: 20px;
}

.app-fs-23 {
    font-size: 23px;
}

.app-fs-24 {
    font-size: 24px;
}

.app-fs-18 {
    font-size: 18px;
}

.app-fs-14 {
    font-size: 14px;
}

.app-fs-12 {
    font-size: 12px;
}

.selectable-timeline {
    height: 20px;
    display: flex;
}

.timeline-element-selected {
    cursor: pointer;
    text-decoration: underline;
    font-weight: bold;
}

.timeline-element-unselected {
    cursor: pointer;
    /*text-decoration: underline;*/
    font-style: italic;
}

.timeline-arrow {
    width: 15px;
}

.timeline-element-container {
    width: calc(100% - 37px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: flex;
}

.app-checkbox-label {
    margin-left: 5px;
    margin-top: -1px;
}

.app-nowrap {
    white-space: nowrap;
}

.app-min-height-365 {
    min-height: 365px;
}

.app-min-width-std-395 {
    min-width: 395px;
}

.app-min-width-std-110 {
    min-width: 110px;
}

.app-min-width-std-150 {
    min-width: 150px;
}

.app-min-width-std-220 {
    min-width: 220px;
}

.app-min-width-std-120 {
    min-width: 120px;
}

.app-min-width-std-70 {
    min-width: 70px;
}

.app-ltab-border {
    border-left: 2px solid #bbb;
}

.app-rtab-border {
    border-right: 2px solid #bbb;
}

.app-col-min {
    width: 1px;
}

.app-filter-wrapper {
    margin-top: 20px;
    padding-left: 0px !important;
}

.app-first-filter-line{
    margin-top: -20px;
}
//
// Dropdown menus
// --------------------------------------------------
// Dropdown arrow/caret
.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
}

// The dropdown wrapper (div)
.dropup,
.dropdown {
    position: relative;
}

// Prevent the focus on the dropdown toggle when closing dropdowns
.dropdown-toggle:focus {
    outline: 0;
}

// The dropdown menu (ul)
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: none; // none by default, but block on "open" of the menu
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0; // override default ul
    list-style: none;
    text-align: left; // Ensures proper alignment if parent has it changed (e.g., modal footer)
    border: 1px solid #CCC;
    background-clip: padding-box;
    // Aligns the dropdown menu to right
    //
    // Deprecated as of 3.1.0 in favor of `.dropdown-menu-[dir]`
    &.pull-right {
        right: 0;
        left: auto;
    }
    // Links within the dropdown menu
    > li > a {
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: normal;
        white-space: nowrap; // prevent links from randomly breaking onto new lines
    }
}

// Hover/Focus state
.dropdown-menu > li > a {
    &:hover,
    &:focus {
        text-decoration: none;
    }
}

// Active state
.dropdown-menu > .active > a {
    &,
    &:hover,
    &:focus {
        text-decoration: none;
        outline: 0;
    }
}

// Disabled state
//
// Gray out text and ensure the hover/focus state remains gray

.dropdown-menu > .disabled > a {
    &,
    &:hover,
    &:focus {
    }
    // Nuke hover/focus effects
    &:hover,
    &:focus {
        text-decoration: none;
        background-color: transparent;
        background-image: none; // Remove CSS gradient
    }
}

// Open state for the dropdown
.open {
    // Show the menu
    > .dropdown-menu {
        display: block;
    }
    // Remove the outline when :focus is triggered
    > a {
        outline: 0;
    }
}

// Menu positioning
//
// Add extra class to `.dropdown-menu` to flip the alignment of the dropdown
// menu with the parent.
// Ngx bootstrap fa schifo e mette valori a cazzo ad ogni cazzo di update...
.dropdown-menu-right-user {
    left: -250px;
    right: 0;
    top: -2px;
    width: 242px;
}

.dropdown-menu-right {
    left: auto; // Reset the default from `.dropdown-menu`
    right: 0;
}
// With v3, we enabled auto-flipping if you have a dropdown within a right
// aligned nav component. To enable the undoing of that, we provide an override
// to restore the default dropdown menu alignment.
//
// This is only for left-aligning a dropdown menu within a `.navbar-right` or
// `.pull-right` nav component.
.dropdown-menu-left {
    left: 0;
    right: auto;
}

// Dropdown section headers
.dropdown-header {
    display: block;
    padding: 3px 20px;
    white-space: nowrap; // as with > li > a
}

// Backdrop to catch body clicks on mobile, etc.
.dropdown-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

// Right aligned dropdowns
.pull-right > .dropdown-menu {
    right: 0;
    left: auto;
}

// Allow for dropdowns to go bottom up (aka, dropup-menu)
//
// Just add .dropup after the standard .dropdown class and you're set, bro.

.dropup,
.navbar-fixed-bottom .dropdown {
    // Reverse the caret
    .caret {
        border-top: 0;
        content: "";
    }
    // Different positioning for bottom up menu
    .dropdown-menu {
        top: auto;
        bottom: 100%;
        margin-bottom: 2px;
    }
}


//** App global search **

.app-search-background {
    z-index: 9999; // Numero esageratissimo perchè il PACE continuava a sovrapporsi, normalmente basterebbe 1029
    margin-top: 60px;
    padding: 0px;
    background-color: rgba(0, 0, 0, 0.3);
    width: 100vw;
    height: calc(100vh - 60px);
}

.app-search-result-box {
    height: calc(100% - 35px);
    overflow: hidden;
    margin: 20px;
}

.app-search-card {
    margin-top: 2px;
    margin-bottom: 10px; 
    padding: 15px;
    background-color: #fff;
    box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px, rgba(6, 24, 44, 0.65) 0px 4px 6px -1px, rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
    //box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

/* Questi erano spariti per qualche motivo... */
.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.es-card {
    padding: 15px;
    background-color: white;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
}