/* #region PADDING */
.p-xs {
    padding: 5px;
}

.p-sm {
    padding: 15px;
}

.p-md {
    padding: 25px;
}

.p-lg {
    padding: 35px;
}

.pt-xs {
    padding-top: 5px;
}

.pt-sm {
    padding-top: 15px;
}

.pt-md {
    padding-top: 25px;
}

.pt-lg {
    padding-top: 35px;
}

.pr-xs {
    padding-right: 5px;
}

.pr-sm {
    padding-right: 15px;
}

.pr-md {
    padding-right: 25px;
}

.pr-lg {
    padding-right: 35px;
}

.pb-xs {
    padding-bottom: 5px;
}

.pb-sm {
    padding-bottom: 15px;
}

.pb-md {
    padding-bottom: 25px;
}

.pb-lg {
    padding-bottom: 35px;
}

.pl-xs {
    padding-left: 5px;
}

.pl-sm {
    padding-left: 15px;
}

.pl-md {
    padding-left: 25px;
}

.pl-lg {
    padding-left: 35px;
}

.pl-5px {
    padding-left: 5px !important;
}

.p-0 {
    padding: 0;
}

.pt-0 {
    padding-top: 0;
}

.pr-0 {
    padding-right: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.pl-0 {
    padding-left: 0;
}

/* #endregion PADDING */
/* #region MARGIN */
.m-xs {
    margin: 5px;
}

.m-sm {
    margin: 15px;
}

.m-md {
    margin: 25px;
}

.m-lg {
    margin: 40px;
}

.mt-xs {
    margin-top: 5px;
}

.mt-sm {
    margin-top: 15px;
}

.mt-md {
    margin-top: 25px;
}

.mt-lg {
    margin-top: 40px;
}

.mr-xs {
    margin-right: 5px;
}

.mr-sm {
    margin-right: 15px;
}

.mr-md {
    margin-right: 25px;
}

.mr-lg {
    margin-right: 40px;
}

.mb-xs {
    margin-bottom: 5px;
}

.mb-sm {
    margin-bottom: 15px;
}

.mb-md {
    margin-bottom: 25px;
}

.mb-lg {
    margin-bottom: 40px;
}

.ml-xs {
    margin-left: 5px;
}

.ml-sm {
    margin-left: 15px;
}

.ml-md {
    margin-left: 25px;
}

.ml-lg {
    margin-left: 40px;
}

.m-0 {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mr-0 {
    margin-right: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.ml-0 {
    margin-left: 0;
}

.mt-26 {
    margin-top: 26px;
}

/* #endregion MARGIN */

.is-white-space-nowrap {
    white-space: nowrap;
}

.is-flex {
    display: flex;
}

.max-w-170 {
    max-width: 170px;
}

.max-w-300 {
    max-width: 300px;
}

.max-w-400 {
    max-width: 400px;
}

.w-100 {
    width: 100%;
}

.modal {
    overflow-y: auto;
}

.w-preview-container tr[data-time-id] {
    background-color: lightgray;
}

.form-control[disabled], fieldset[disabled] .form-control {
    cursor: default !important;
}

.for-preferences .preference {
    float: left;
    margin-left: 10px;
    font-size: 14px;
    margin-bottom: 20px;
}

    .for-preferences .preference .multiselectcustom, .for-preferences .preference .select-container {
        float: left;
        margin-left: 10px;
        border: 1px solid #E4E4E4;
        padding: 10px 18px;
    }

    .for-preferences .preference .estimate-filter {
        float: left;
    }

    .for-preferences .preference .check-visible {
        margin-top: 12px;
        margin-left: 11px;
        float: left;
        cursor: pointer
    }

        .for-preferences .preference .check-visible span {
            margin-left: 4px;
            font-weight: bold;
        }

    .for-preferences .preference .multiselect-container > li {
        color: black !important;
    }

.custom-tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00434d;
    color: white;
    height: 200px;
    width: 180px;
    border-radius: 7px;
    padding: 10px;
    text-align: left;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 1500;
    cursor: unset;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.47);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.47);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.47);
}

    .custom-tooltip::-webkit-scrollbar {
        display: none;
    }

    .custom-tooltip .time {
        width: 100%;
        padding-bottom: 5px;
        padding-left: 10px;
        border-bottom: 1px solid white;
    }

        .custom-tooltip .time:last-child {
            border-bottom: none;
        }

    .custom-tooltip h4 {
        margin: 0;
        margin-bottom: 10px;
        text-transform: none;
    }

.custom-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #00434d;
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
}

.navbar-brand {
    padding: 15px 10px;
}

.nav > li > a {
    position: relative;
    display: block;
    padding: 10px 7px;
}

.w-t-builder-table.progrmmazione {
    margin-right: 18px;
}

.w-t-builder-table.breaktable .w-t-builder-table-buttons, .w-t-builder-table.programmazione .w-t-builder-table-buttons {
    background-color: #5cb85c;
}

/*.w-t-save-card .tempo-prev-container .tempo-preventivato.col-sm-6 {
    width: 50% !important;
}*/


.w-t-save-card .tempo-prev-container .tempo-preventivato.col-sm-6 {
    width: 100% !important;
}


.w-t-save-card .template-buttons .tempo-preventivato.col-sm-6 {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.w-t-save-card .tempo-preventivato .info-button {
    padding: 1px 8px;
    background-color: #0d6ecf;
    border-radius: 38px;
    color: white;
    position: relative;
    cursor: pointer;
}

#add-time .signature-img-container {
    max-width: 40%;
    margin-left: auto;
    height: 100px;
    position: relative;
}

#add-time .signature {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
}

/*#add-time .signature {
    resize: none;
    min-height: 100px
}*/

input#Cadenza {
    display: inline-block;
}

.cadence-frequency {
    width: 209px !important;
}

.input-error {
    color: red;
}

body {
    font-family: 'Open Sans', sans-serif;
    padding-top: 75px;
}

.page {
    /*padding: 0 20px;*/
}

.mode-label {
    position: absolute;
    width: auto;
    white-space: nowrap;
    top: 51px;
    color: #fff;
    background: #000;
    left: -2px;
    padding-right: 5px;
}

.navbar {
    height: 75px;
    background: #0092A7;
    border-radius: 0;
    border: 0;
}

    .navbar .container-fluid {
        height: 75px;
    }

    .navbar ul.nav {
        padding: 13px 2px;
    }

        .navbar ul.nav > li > a {
            font-size: 18px;
            text-transform: uppercase;
            color: white;
            font-weight: 600;
        }

    .navbar .navbar-brand {
        padding-top: 0;
    }

        .navbar .navbar-brand img {
            height: 75px;
        }

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > li > a:focus, .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    background-color: unset;
    color: white;
}

.navbar-nav > li > .dropdown-menu {
    border: none;
    border-radius: 0;
}

.navbar-default .navbar-nav > li {
    position: relative;
}

.navbar-default .navbar-nav.menu > .active > a:before, .navbar-default .navbar-nav.menu > li > a:hover:before {
    content: '';
    position: absolute;
    width: 92%;
    height: 3px;
    background: white;
    bottom: 4px;
}

.nav.navbar-nav .open > .dropdown-menu {
    display: none;
}

.nav.navbar-nav li:hover > .dropdown-menu {
    display: block;
}

    .nav.navbar-nav li:hover > .dropdown-menu > li > a {
        width: 100%;
    }


.navbar-nav.navbar-right {
    margin-right: 0px !important;
}

    .navbar-nav.navbar-right > *:first-child {
        border-left: 1px solid white;
    }

    .navbar-nav.navbar-right .hello {
        padding: 0 20px;
    }

        .navbar-nav.navbar-right .hello .dropdown-menu {
            margin-right: 70px;
        }

        .navbar-nav.navbar-right .hello a {
            text-transform: capitalize;
            font-weight: normal;
            float: left;
        }

        .navbar-nav.navbar-right .hello .text {
            margin-right: 15px;
        }

        .navbar-nav.navbar-right .hello .logo {
        }

    .navbar-nav.navbar-right .logo {
        width: 40px;
        height: 40px;
        color: #0092A7;
        background: white;
        font-size: 18px;
        font-weight: 900;
        text-align: center;
        vertical-align: middle;
        display: table-cell;
        top: 4px;
        position: relative;
        float: right;
        padding: 10px 0;
    }

[data-notifications="0"] {
    display: none;
}

.notification:after {
    content: attr(data-notifications);
    position: absolute;
    top: 0px;
    right: -3px;
    width: 19px;
    height: 19px;
    font-size: 14px;
    font-weight: 900;
    color: white;
    background: #FF5700;
    text-align: center;
    border-radius: 5px;
}

h1 {
    font-size: 25px;
    color: #0092A7;
    font-weight: bold;
}

/*.btn{
    font-size: 16px;
    padding: 12px 20px;
    border: none;
    border-radius: unset;
    font-weight: 600;
    background: #e8e8e8;
}*/
.btn a {
    color: black;
}

.calendar-filters .filter-button.btn.switch-mode {
    background-color: white;
    padding: 10px !important;
    color: black;
}

    .calendar-filters .filter-button.btn.switch-mode:hover {
        background-color: white;
        color: black;
    }

    .calendar-filters .filter-button.btn.switch-mode.active {
        background-color: black;
        color: white;
    }

        .calendar-filters .filter-button.btn.switch-mode.active:hover {
            background-color: black;
            color: white;
        }

        .calendar-filters .filter-button.btn.switch-mode.active .edit {
            display: none;
        }

    .calendar-filters .filter-button.btn.switch-mode:not(.active) .visual {
        display: none;
    }

.btn.btn-primary {
    background: #0092A7;
}

    .btn.btn-primary a {
        color: white;
    }

.btn.btn-warning {
    background: #ec971f;
}

    .btn.btn-warning a {
        color: white;
    }

.btn.btn-danger {
    background: #c9302c;
}

.btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.btn.btn-danger a {
    color: white;
}

.btn.btn-default, .btn.btn-default:hover {
    background: white;
    border: 1px solid #e8e8e8;
}

    .btn.btn-default a {
        color: black;
    }

.btn a:hover {
    text-decoration: none;
}

.times-table-container tr[data-timeid].selected {
    background-color: #e0cb8b;
}

.valsecchi-input-container {
    height: 42px;
    vertical-align: middle;
    display: table-cell;
    float: left;
    margin-left: 10px;
    border: 1px solid #E4E4E4;
    padding: 10px 18px;
    font-size: 14px;
}

    .valsecchi-input-container.error {
        border: 1px solid #f00000;
    }

.search, .fixed-table-toolbar .search {
    position: relative;
    font-family: 'Open Sans', sans-serif;
    height: 42px;
    vertical-align: middle;
    display: table-cell;
    float: left;
    margin-left: 10px;
    border: 1px solid #E4E4E4;
    padding: 10px;
    padding-left: 40px;
    padding-right: 30px;
    font-size: 14px;
    line-height: 1 !important;
}

    .search:before {
        font-family: "Ionicons";
        content: "\f2f5";
        position: absolute;
        left: 9px;
        top: 9px;
        font-size: 22px;
    }

    .search.with-text .x:after {
        font-family: "Ionicons";
        content: "\f12a";
        position: absolute;
        right: 10px;
        top: 14px;
        font-size: 14px;
    }

    .search > input[type=text] {
        padding: 0px;
        border: none;
        font-size: 14px;
        height: 20px;
        box-shadow: none;
    }

        .search > input[type=text]:active, .search > input[type=text]:focus {
            outline: none;
        }

.datepicker-container.search, .datepicker-container-modal.search {
    position: relative;
    padding-left: 35px;
    padding-right: 5px;
}

    .datepicker-container.search:before, .datepicker-container-modal.search:before {
        content: "\f117";
        top: 11px;
        font-size: 18px;
    }

#toast-container.toast-top-center > div, #toast-container.toast-bottom-center > div {
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: fixed;
    top: 50%;
    left: 50%;
    padding: 20px;
    text-align: center;
    background-image: none !important;
}

#toast-container {
    z-index: 10000000 !important;
}

    #toast-container.toast-top-center-switch-mode > div {
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        transform: translateX(-50%);
        position: fixed;
        top: 35px;
        left: 50%;
        padding: 20px;
        text-align: center;
        background-image: none !important;
    }

.calendar-filters.task-list .tools-right .select-container, .calendar-filters.task-list .tools-right .search {
    margin-bottom: 10px;
}

.modal.custom-modal {
    /*display: block;
    -webkit-transform: translate(0%, -50%) !important;
    -moz-transform: translate(0%, -50%) !important;
    -ms-transform: translate(0%, -50%) !important;
    -o-transform: translate(0%, -50%) !important;
    transform: translate(0%, -50%) !important;
    top: 50%;
    height: 100%;*/
}

.custom-modal .modal-dialog {
    /*    display: block;
    -webkit-transform: translate(-50%, -50%) !important;
    -moz-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    -o-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
    top: 50%;
    left: 50%;*/
}

.activity-name {
    color: #0092A7;
    font-weight: bold;
    font-size: 19px;
    margin-top: 6px;
    margin-bottom: 5px;
}

.custom-modal .modal-header {
    padding-bottom: 0;
    border-bottom: none;
}

.custom-modal .modal-footer {
    border-top: none;
}

.custom-modal .modal-title {
    font-weight: bold;
    font-size: 28px;
    color: #0092A7;
}

.custom-modal .modal-header p {
    color: #2D2D2D;
}

.modal.custom-modal .valsecchi-input-container {
    width: 200px;
    /*margin: 5px 0;*/
    margin: 0;
    float: none;
}

    .modal.custom-modal .valsecchi-input-container.priority {
        width: 150px;
        transform: translateY(4px);
    }

    .modal.custom-modal .valsecchi-input-container.select-container {
        padding: 0;
    }

    .modal.custom-modal .valsecchi-input-container select {
        padding: 9px 18px;
        width: 100%;
        max-width: 100%;
        border: none;
    }

.valsecchi-input-container.check {
    cursor: pointer;
}

    .valsecchi-input-container.check input[type=checkbox] {
        pointer-events: none;
    }

.custom-modal .modal-body input[type=checkbox] {
    float: left;
    margin-right: 4px;
}

.custom-modal .modal-body .mt-sm {
    margin-top: 15px;
}

.col-sm-2-5 {
    width: 20%;
}

.print-btn {
    position: fixed;
    top: 50%;
    right: 0;
    padding: 2px;
    font-size: 17px;
    color: black;
    background-color: white;
    border: 1px solid black;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
}

    .print-btn:hover {
        color: black;
    }

#print-form .field-validation-error {
    color: red;
}

.bootstrap-table .max-w-130 {
    max-width: 130px;
}

    .bootstrap-table .max-w-130 .inner-th {
        white-space: unset;
    }

.estimate-cost {
    width: 100%;
    margin-top: 5px;
}

    .estimate-cost .operation {
        display: inline-block;
    }

    .estimate-cost .box {
        display: inline-block;
        background-color: #d9edf7;
        padding: 10px;
        max-width: 300px;
        vertical-align: middle;
        height: 74px;
        border-radius: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
    }


        .estimate-cost .box .number-container p {
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
            max-width: 100%;
        }

        .estimate-cost .box.small {
            max-width: 190px;
        }

        .estimate-cost .box.total .number-container {
            width: 100%;
            font-weight: bold;
        }

        .estimate-cost .box.total {
            max-width: 170px;
        }

        .estimate-cost .box.smaller {
            max-width: 168px;
        }

            .estimate-cost .box.smaller p {
                width: 20%;
            }

            .estimate-cost .box.smaller .input-container {
                width: 58%;
                float: right;
            }

        .estimate-cost .box.medium {
            max-width: 230px;
        }

        .estimate-cost .box.small p {
            font-size: 15px;
        }


    .estimate-cost span {
        display: inline-block;
        font-size: 31px;
        font-weight: bold;
        color: #0092af;
        margin: 0 5px;
        vertical-align: middle;
    }

    .estimate-cost p {
        margin-bottom: 0px;
    }

    .estimate-cost .box p {
        color: #59a4b3;
        display: inline-block;
        /* max-width: 88px; */
        font-size: 14px;
        width: 50%;
        float: left;
    }

    .estimate-cost .input-container {
        display: inline-block;
        float: left;
        width: 50%;
    }

        .estimate-cost .input-container input.form-control {
            max-width: 114px;
            color: #0092af;
            font-size: 20px;
            padding: 3px;
        }

    .estimate-cost .number-container {
        display: inline-block;
        width: 50%;
        float: left;
        text-overflow: ellipsis;
        overflow: hidden;
        margin-top: 8px;
    }

        .estimate-cost .number-container p {
            width: unset !important;
            float: right !important;
            font-size: 25px;
        }


    .estimate-cost .submit-k {
        float: right;
        display: inline-block;
        vertical-align: middle;
        margin-left: 5px;
        margin-top: 5px;
    }

    .estimate-cost .estimated-round {
        text-align: left;
    }

        .estimate-cost .estimated-round p {
            float: right;
            display: inline-block;
            vertical-align: middle
        }

            .estimate-cost .estimated-round p:last-child {
                transform: translate(-4px, 5px);
            }



.estimated-round input[name='total'] {
    display: inline-block;
    width: 86px;
    height: 23px;
    color: grey;
    padding: 4px;
}

.estimated-round .k {
    display: inline-block;
}

.estimate-cost .estimated-round {
    display: none;
}

.estimate-cost.calculated .estimated-round {
    display: block;
}

@media(max-width: 1200px) {
    /*    .navbar ul.nav > li > a {
        padding: 15px 5px;
        font-size: 15px;
    }*/
    .navbar-default .navbar-nav.menu > .active > a:before, .navbar-default .navbar-nav.menu > li > a:hover:before {
        width: calc(100% - 20px);
    }

    .navbar-default .navbar-nav.menu > .active > a:before, .navbar-default .navbar-nav.menu > li > a:hover:before {
        width: calc(100% - 10px);
    }
}

@media(max-width: 1400px) {

    .navbar-nav.navbar-right .hello .text {
        display: none;
    }
}





.valsecchi-task-list, .valsecchi-ticket-list {
    margin-top: 20px;
}

    .valsecchi-task-list .border-bottom-none, .valsecchi-ticket-list .border-bottom-none {
        border-bottom: none;
    }

    .valsecchi-task-list tbody, .valsecchi-ticket-list tbody {
        border: 1px solid #E4E4E4;
    }

    .valsecchi-task-list thead th, .valsecchi-ticket-list thead th {
        font-size: 14px;
        line-height: 18px;
        text-align: left;
        font-weight: bold;
        color: #808080;
    }

    .valsecchi-task-list td, .valsecchi-ticket-list td {
        vertical-align: middle !important;
    }

        .valsecchi-task-list td.td-ticket, .valsecchi-ticket-list td.td-ticket {
            padding: 10px 5px 0px 20px;
        }

        .valsecchi-task-list td.td-state {
            /*padding: 10px 5px 0px 10px;*/
        }

            .valsecchi-task-list td.td-state .state-date, .valsecchi-ticket-list td.td-state .state-date {
                font-size: 14px;
            }

    .valsecchi-task-list .order-info, .valsecchi-ticket-list .order-info {
        margin-bottom: 0;
    }

.td-state .order-info {
    margin-bottom: 0;
    padding: 6px 2px;
    text-align: center;
}

.valsecchi-task-list .background-green, .valsecchi-ticket-list .background-green {
    background: #7CDB00;
}

.valsecchi-task-list .background-yellow, .valsecchi-ticket-list .background-yellow {
    background: #F1E103;
}

.valsecchi-task-list .background-red, .valsecchi-ticket-list .background-red {
    background-color: #ff4533;
}

.valsecchi-task-list .background-orange, .valsecchi-ticket-list .background-orange {
    background: #ff9900;
}

.valsecchi-task-list .background-pink, .valsecchi-ticket-list .background-pink {
    background: #FF75E8;
}

.valsecchi-task-list .order-client, .valsecchi-ticket-list .order-client {
    color: #808080;
    font-size: 13px;
    line-height: 18px;
}

.valsecchi-task-list td.img-container, .valsecchi-ticket-list td.img-container {
    padding-left: 25px;
}

.valsecchi-task-list .img-dimension, .valsecchi-ticket-list .img-dimension {
    max-width: 25px;
}



.valsecchi-task-list .name {
    padding-left: 31px;
}

.valsecchi-task-list .tool-tip-note.error {
    position: relative;
    width: 20px;
    background: #ccc;
    text-align: center;
    font-size: 12px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transform: translateY(-2px);
}



.valsecchi-ticket-list td.td-state-button {
    text-align: center;
    position: relative;
}

.valsecchi-ticket-list .dropdown-menu {
    min-width: 133px;
    top: 90%;
}



.btn-primary.active, .btn-primary:active, .open > .dropdown-toggle.btn-primary, .btn-primary.active.focus, .btn-primary.active:focus,
.btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover {
    background: #0092A7;
}


.calendar-container .calendar-table.body .calendar-cell.user .logo, .resource-logo {
    width: 20px;
    height: 20px;
    font-weight: 900;
    font-size: 10px;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    padding: 3px 0;
    float: left;
    margin-right: 12px;
}

    /*    .calendar-container .calendar-table.body .calendar-cell.user .logo.manutentore, .resource-logo.manutentore {
        background: #7CDB00;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.operaio, .resource-logo.operaio {
        background: #00CBFF;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.aiutante, .resource-logo.aiutante {
        background: #B191FF;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.artigiano, .resource-logo.artigiano {
        background: #FF7700;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.artigiano, .resource-logo.artigiano {
        background: #FF7700;
    }*/


    .calendar-container .calendar-table.body .calendar-cell.user .logo.manutentore, .resource-logo.manutentore {
        background-color: #7CDB00;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.operaio, .resource-logo.operaio {
        background-color: #00CBFF;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.aiutante, .resource-logo.aiutante {
        background-color: #B191FF;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.artigiano, .resource-logo.artigiano {
        background-color: #FF7700;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.tecnico, .resource-logo.tecnico {
        background-color: #1cd266;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.commerciale, .resource-logo.commerciale {
        background-color: #9258ff;
    }

    .calendar-container .calendar-table.body .calendar-cell.user .logo.amministratore, .resource-logo.amministratore {
        background-color: #ff4242;
    }


    .calendar-container .calendar-table.body .calendar-cell.user .logo.magazziniere, .resource-logo.magazziniere {
        /*background-color: #ffe31b;*/
        background-color: #f2c07d;
    }


    .calendar-container .calendar-table.body .calendar-cell.user .logo.elettricista, .resource-logo.elettricista {
        background-color: #ffe31b;
    }




#calendar.not-admin .calendar-table .calendar-cell.user, #calendar.not-admin .calendar-table.header .calendar-cell.user {
    /*width: 0px !important;*/
    overflow: hidden;
    padding: 0;
}

.datepicker-container input, .datepicker-container-modal input {
    width: 80px;
}

.form-input-container > input[type=text] {
    padding: 0px;
    border: none;
    font-size: 14px;
    width: 100%;
}

#create-ticket .form-control {
    font-family: 'Open Sans', sans-serif !important;
}

#create-activity label, #create-ticket label:not([for='img-chooser']):not([for='doc-chooser']) {
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 0;
}

.form-control {
    width: 100%;
    margin: 5px 0;
    height: 42px;
    vertical-align: middle;
    /* display: table-cell; */
    float: none;
    /* margin-left: 10px; */
    border: 1px solid #E4E4E4;
    padding: 10px 18px;
    font-size: 14px;
}

.select-maintenance {
    float: none;
    width: 110px;
    display: inline-block;
    margin: 0 10px;
    padding: 9px 18px;
    height: 39px;
}


.date-picker-control {
    position: relative;
}

    .date-picker-control input {
        padding-left: 40px;
    }

    .date-picker-control:before {
        content: "\f117";
        top: 9px;
        font-size: 18px;
        font-family: "Ionicons";
        position: absolute;
        left: 9px;
    }

.select-container > select {
    border: none;
    cursor: pointer;
}


.date-picker-control > input {
    width: 180px;
}


.bootstrap-table .fixed-table-toolbar .search {
    margin-left: 0;
    padding: 5px 20px 5px 34px;
}

.position-relative {
    position: relative;
}

#Tollerance {
    width: 57px;
}

.tollerance-container #Tollerance::-webkit-input-placeholder {
    color: transparent;
}

.tollerance-container #Tollerance:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: transparent;
}

.tollerance-container #Tollerance::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: transparent;
}

.tollerance-container #Tollerance:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: transparent;
}


#task-list > thead > tr > th, #statistics-list > thead > tr > th {
    position: relative;
    background: white;
    z-index: 999;
}

/*.navbar-fixed-top, .navbar-fixed-bottom{
    z-index: 999999;
}*/


.calendar-toolbar.task-list.fixed {
    /*width: 464px;*/
    width: 45%;
    z-index: 1028;
}

    .calendar-toolbar.task-list.fixed:first-child {
        margin-left: 0;
    }

.calendar-filters.task-list .tools-right {
    float: left;
}

    .calendar-filters.task-list .tools-right.fixed {
        /*width: calc(100% - 460px);*/
        width: 55%;
        z-index: 1029;
    }

.calendar-filters.task-list.statistics-list .tools-right.fixed {
    width: 100%;
}

.calendar-filters.for-preferences .select-activity-calendar {
    width: 219px;
}

.task-list .search .dropdown-menu > ul > li {
    padding: 4px 16px;
    cursor: pointer;
}

.task-list .datepicker-container.search, .datepicker-container-modal.search {
    padding-right: 20px;
}


@media (max-width:1299px) {
    .calendar-toolbar.task-list.fixed {
        width: 100%;
        margin: 0;
    }

    .calendar-toolbar.task-list .date {
        width: calc(100% - 190px) !important;
        font-size: 22px;
    }

    .calendar-filters.task-list .tools-right.fixed {
        width: 100%;
        top: 125px;
    }

    .calendar-filters.task-list.statistics-list .tools-right.fixed {
        width: 100%;
        top: 75px;
    }
}

#activity-bulk-moving .activity-counter {
    width: unset !important;
    display: inline-block !important;
    max-width: 40px !important;
    padding: 6px 10px !important;
    height: unset !important;
}


#activity-bulk-moving[data-mode='edit'] [data-mode='delete'] {
    display: none !important;
}

#activity-bulk-moving[data-mode='delete'] [data-mode='edit'] {
    display: none !important;
}

#activity-bulk-moving .error {
    font-size: 13px;
    color: red;
    font-weight: normal;
}



.employees-container {
    display: none;
}

    .employees-container > ul > li {
        padding: 8px 16px;
        margin: 2px 0;
        border-radius: 5px;
    }

        .employees-container > ul > li:not(.no-employee):hover {
            background-color: #f0f0f0;
        }

    .search.with-text .employees-container, input:focus + .employees-container, .employees-container:hover {
        display: block;
    }

#task-list [data-order], #statistics-list [data-order] {
    cursor: pointer;
}

#task-list .ordering[data-order]:after, #statistics-list .ordering[data-order]:after {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-top: 4px solid \9;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    position: absolute;
    content: "";
    top: 16px;
    margin-left: 5px;
}

#task-list .ordering.desc[data-order]:after, #statistics-list .ordering.desc[data-order]:after {
    border-bottom: 4px dashed;
    border-bottom: 4px solid \9;
    border-top: none;
}

.calendar-filters.task-list .select-container .dropdown-menu {
    left: 0;
    right: unset;
}

.dropdown-primary {
    background: #0092A7;
    color: #fff;
}

    .dropdown-primary .dropdown-menu {
        background: #fff;
        color: #000;
    }

.actionButton {
    position: relative;
}


.checkbox-container {
    cursor: pointer;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

    .checkbox-container * {
        pointer-events: none;
    }

.maintenance-marker-list {
    background-color: #0092a7;
    display: inline-block;
    color: #fff;
    padding: 1px 4.5px;
    border-radius: 50%;
    vertical-align: sub;
    font-size: 13px;
    width: 22px;
    height: 22px;
}

.is-maintenance-true {
    position: relative;
    padding-left: 22px !important;
}

    .is-maintenance-true:before {
        position: absolute;
        content: "M";
        background-color: #0092A7;
        color: #fff;
        border: 1px solid #fff;
        border-radius: 50%;
        padding: 1px 2px;
        top: 0;
        left: 1px;
        font-size: 8px;
        visibility: hidden;
    }

.with-notes-warning::after {
    /*position: absolute;
    content: "\f071";
    background-color: #fff;
    color: #f6cc28;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 1px;
    top: 15px;
    left: 1px;
    font-size: 9px;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome 5 Free";*/
    /*visibility:hidden;*/
}

.template-buttons .btn:hover {
    border: none;
}

.custom-open > .dropdown-menu {
    display: block;
}

#preview-template .extraordinary {
    padding: 4px;
}

    #preview-template .extraordinary > label {
        cursor: pointer;
    }

#preview-template select {
    padding: 4px 6px;
}

#preview-template .compile-sheet-container {
    display: inline-block;
    float: left;
}


#preview-template .compile-sheet-switcher {
    /*float: right;*/
    text-align: left;
}

    #preview-template .compile-sheet-switcher .switch {
        font-size: 22px;
        color: #0092A7 !important;
        margin-left: 5px;
        margin-right: 5px;
        text-decoration: none !important;
    }

    #preview-template .compile-sheet-switcher .switch.prev {
        margin-left: 0px !important;
    }

#preview-template .compile-sheet-counter {
    color: #a4a4a4;
    font-size: 12px;
    text-align: right;
}

[data-isassenza="true"][title="infortunio"], .commission[data-name="infortunio"] {
    background: #8E0606 !important;
}

[data-isassenza="true"][title="malattia"], .commission[data-name="malattia"] {
    background: #C40000 !important;
}

[data-isassenza="true"][title="festività"], .commission[data-name="festività"] {
    background: #E60000 !important;
}

[data-isassenza="true"][title="permesso retribuito"], .commission[data-name="permesso retribuito"] {
    background: #E34E00 !important;
}

[data-isassenza="true"][title="ferie"], .commission[data-name="ferie"] {
    background: #E36A00 !important;
}

[data-isassenza="true"][title="corso apprendista"], .commission[data-name="corso apprendista"] {
    background: #E39700 !important;
}

[data-isassenza="true"][title="congedo"], .commission[data-name="congedo"] {
    background: #E3C500 !important;
}

#task-list tr td:not(.click-no-edit) {
    cursor: pointer;
}

.btn.back-button {
    margin-top: 15px;
}

#preview-template .modal-header {
    background-color: #0092a7;
    color: #fff;
}

    #preview-template .modal-header h4 {
        font-weight: bold;
    }

    #preview-template .modal-header button.close {
        color: #fff;
        opacity: 0.8;
    }

        #preview-template .modal-header button.close:hover {
            opacity: 1;
        }

.activity-date, .activity-employee {
    cursor: pointer;
}

.capitalize {
    text-transform: capitalize;
}

[data-select] .search {
    float: none;
}

.search-places {
    width: calc(100% - 200px);
    margin-left: 100px;
    position: absolute;
    z-index: 2;
    padding: 2px 8px;
}

.sp-container {
    z-index: 1;
}

.multiselectcustom .btn {
    border: none !important;
    padding: 0 !important;
}

.multiselectcustom .multiselect-selected-text {
    font-size: 14px;
    font-weight: normal;
    line-height: normal;
    vertical-align: text-top;
}

.commission-type {
    background-color: #fff !important;
    color: #000 !important;
}

    .commission-type > div {
        background-color: #fff !important;
        color: #000 !important;
    }

body .search.search-commission-modal .dropdown-menu.commissions-select > ul > li, .commissions-select > ul > li.commission-type {
    padding-left: 30px !important;
}

.commission-type {
    background-size: 22px 22px !important;
    background-repeat: no-repeat;
    background-position: 0px 7px;
}

.tipoattivita-commissions {
    background-size: auto;
    background-repeat: no-repeat;
    height: 22px;
    width: 22px;
    display: block;
    position: relative;
}

.list-commission-type {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: auto;
    margin: auto;
}

.activity-state-dafare {
    background-image: url('../images/da-fare.png');
}

.activity-state-fatto {
    background-image: url('../images/fatto.png');
}

.activity-state-scaduto {
    background-image: url('../images/scaduto.png');
}

.comm-type-prev {
    background-image: url('../images/attivita/preventivazione.png?v=2');
}

.comm-type-prog {
    background-image: url('../images/attivita/progettazione.png?v=2');
}

.comm-type-inst {
    /*background-image: url('../images/attivita/installazione.png?v=2');*/
    background-image: url('../images/attivita/installazione.svg?v=3');
}

.comm-type-man {
    background-image: url('../images/attivita/manutenzione.png?v=2');
}

.comm-type-comm {
    background-image: url('../images/attivita/gestione-commessa.png?v=2');
}

.comm-type-amm {
    background-image: url('../images/attivita/amministrazione.png?v=2');
}

.comm-type-ass {
    background-image: url('../images/attivita/gestione-assenze.png?v=2');
}

.comm-type-commerc {
    background-image: url('../images/attivita/commerciale.png?v=2');
}

.comm-type-form {
    background-image: url('../images/attivita/formazione.png?v=2');
}



.calendar-cell .comm-type-prev {
    background-image: url('../images/attivita/preventivazione-white.png?v=2');
}

.calendar-cell .comm-type-prog {
    background-image: url('../images/attivita/progettazione-white.png?v=2');
}

.calendar-cell .comm-type-inst {
    /*background-image: url('../images/attivita/installazione-white.png?v=2');*/
    background-image: url('../images/attivita/installazione-white.svg?v=3');
}

.calendar-cell .comm-type-man {
    background-image: url('../images/attivita/manutenzione-white.png?v=2');
}

.calendar-cell .comm-type-comm {
    background-image: url('../images/attivita/gestione-commessa-white.png?v=2');
}

.calendar-cell .comm-type-amm {
    background-image: url('../images/attivita/amministrazione-white.png?v=2');
}

.calendar-cell .comm-type-ass {
    background-image: url('../images/attivita/gestione-assenze-white.png?v=2');
}

.calendar-cell .comm-type-commerc {
    background-image: url('../images/attivita/commerciale-white.png?v=2');
}

.calendar-cell .comm-type-form {
    background-image: url('../images/attivita/formazione-white.png?v=2');
}

.calendar-cell .icons-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 19px;
    background-color: rgba(255, 255, 255, 0.3);
}

.calendar-cell .with-notes-warning .icons-container {
    background-image: url('../images/attivita/info-white.png?v=1');
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center 18px;
}

#commissions-container .commission-type > div {
    background: none !important;
}

.dropdown-commission {
    width: 300px;
}

.view-scheda-intervento {
    font-size: 20px;
}

.notes-modal-trigger {
    font-size: 20px;
}

.multiselectcustom .caret {
    vertical-align: super;
}

ul.errors {
    color: #c9302c;
}

.form-margin-column {
    margin-bottom: 20px;
}

.form-search {
    position: relative;
}

    .form-search input {
        padding-left: 30px;
    }

    .form-search:before {
        font-family: "Ionicons";
        content: "\f2f5";
        position: absolute;
        left: 9px;
        top: 9px;
        font-size: 22px;
    }


.input-100px input {
    width: 100px;
}

li.active-hovered {
    background-color: rgb(234, 234, 234) !important;
}

#repeat-ever select.form-control, #repeat-ever input[type="number"].form-control {
    display: inline-block;
    width: 140px;
    margin-right: 10px;
}

#repeat-ever input[type="number"].form-control {
    width: 80px;
}

.table-templates-in-estimate-creation {
    height: 400px;
}

    .table-templates-in-estimate-creation .td-check {
        width: 50px;
    }

    .table-templates-in-estimate-creation td:not(.td-check) {
        cursor: pointer;
    }

.help-block.field-validation-error span {
    color: red !important;
}

#loader-ajax {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.30);
    top: 0;
    left: 0;
    z-index: 9999999;
}

    #loader-ajax img {
        position: absolute;
        left: 50%;
        top: 50%;
        -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%);
        -webkit-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }

#edit-ticket .notes-area, #create-ticket .notes-area {
    height: 122px;
    resize: none;
}

.modal-dialog .date-title {
    margin-right: 14px;
}

.modal-dialog #DatePriority-error {
    float: right;
    margin-top: -10px;
    position: absolute;
    bottom: -9px;
    right: 15px;
    color: red;
}

.documents-container {
    width: 100%;
}

    .documents-container .documents-section {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        position: relative;
    }

        .documents-container .documents-section .document {
            width: 70px;
            height: 70px;
            margin-right: 5px;
            margin-top: 5px;
            border: 1px solid lightgrey;
            position: relative;
        }

            .documents-container .documents-section .document label {
                width: 100%;
                height: 100%;
            }

        .documents-container .documents-section .chooser {
            width: 100%;
            height: 100%;
            font-size: 23px;
            padding: 18px;
        }

        .documents-container .documents-section .documents-type {
            position: absolute !important;
            top: 50%;
            transform: translateY(-50%);
            left: -85px;
            font-weight: 600;
            margin: 0 !important;
            text-align: right
        }

        .documents-container .documents-section .remove-btn {
            position: absolute;
            top: 0;
            right: 0;
            padding: 2px 5px;
            color: white;
            font-weight: 600;
            background-color: red;
            cursor: pointer;
            z-index: 100;
        }

        .documents-container .documents-section .document .fa-file {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 50px;
        }

        .documents-container .documents-section .document .doc-type {
            position: absolute;
            color: white;
            font-size: 15px;
            font-weight: bold;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            pointer-events: none;
        }


.loader-page-container {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    background: #00000059;
    z-index: 9990;
}

    .loader-page-container img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

#leave-tool textarea {
    resize: none;
    width: 50%;
    height: 200px;
}

#leave-tool input[type='text'] {
    width: 50%;
    left: 50%;
    transform: translateX(50%);
}

#leave-tool .response-buttons button {
    opacity: 0.5;
}

    #leave-tool .response-buttons button.active {
        opacity: 1;
    }

.tool-sheet {
    padding-top: 95px;
}

    .tool-sheet .container {
        width: 768px;
    }

.tool-registry {
    margin-top: 20px;
}

    .tool-registry h1 {
        margin-top: 0;
    }

.buttons-sheet {
}

    .buttons-sheet .btn {
        width: 100%;
        padding: 20px;
        margin-bottom: 20px;
        border: none;
    }

        .buttons-sheet .btn.blocked {
            background-color: #717171;
            color: #ccc;
            opacity: 0.3;
        }

p.views-histories {
    margin-top: 20px;
    font-size: 20px;
}

@media (max-width:768px) {
    #leave-tool textarea {
        width: 100%;
    }

    .tool-sheet .container {
        width: 100%;
    }

    .navbar-nav.navbar-right .hello .logo {
        display: none;
    }

    .nav.navbar-nav .open > .dropdown-menu {
        display: block !important;
    }

    .navbar-nav.navbar-right .hello {
        height: auto !important;
    }

    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #fff;
    }

    nav .navbar-right {
        display: block !important;
    }

    nav .navbar-nav.navbar-right .hello .dropdown-toggle {
        display: block !important;
    }


}

#save-maintenance {
    position: relative;
}

button .button-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 32px;
}

button.is-loading span {
    visibility: hidden;
}

button.is-loading .button-loader {
    display: block !important;
}

.toast-top-right-save-maintenance .toast-success {
    background-color: #51a35173 !important;
}

    .toast-top-right-save-maintenance .toast-success div {
        color: white !important;
    }

#statistics-list .tipology-container-parent {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

    #statistics-list .tipology-container-parent > span {
        margin-right: 5px;
    }

#statistics-list .tipology-container [class^='comm-tipology'] {
    height: unset !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.tipology-container [class^='comm-tipology'] {
    width: 100%;
    display: flex;
    height: 22px;
    position: relative;
}

        .tipology-container [class^='comm-tipology'] > label {
            width: 30px;
            height: 10px;
        }

        .tipology-container [class^='comm-tipology'] > label:empty {
            display: block;
            margin-bottom:0 !important;
        }


        .tipology-container [class^='comm-tipology'] > label:first-child {
            margin-right: 5px;
        }

    .tipology-container [class^='comm-tipology'] > .electric {
        background-color: #ffe300;
    }

    .tipology-container [class^='comm-tipology'] > .mechanic {
        background-color: #9bcfeb;
    }

    .tipology-container .comm-tipology-electric .mechanic {
        display: none !important;
    }

    .tipology-container .comm-tipology-mechanic .electric {
        display: none !important;
    }

.tipology-container .comm-tipology-none .mechanic {
    display: none !important;
}

.tipology-container .comm-tipology-none .electric {
    display: none !important;
}


#toolbar .filter-select2 .select2-container--default .select2-selection--single {
    border: 1px solid #E4E4E4;
    height: 42px;
    margin-top: 5px;
}

    #toolbar .filter-select2 .select2-container--default .select2-selection__rendered {
        margin-top: 4px;
    }

    #toolbar .filter-select2 .select2-container--default .select2-selection__arrow {
        height: 100%;
    }