﻿/* Bootstrap Validation Summary Override */
/* Bootstrap Validation Summary Override */
.swal2-container{
    z-index:9999 !important;
}

#emailModal {
    z-index:1500;
}

.modal-backdrop {
    z-index: 1400 !important;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1rem;
}

.alert.validation-summary-errors {
    margin-bottom: 1rem;
}

.col-0 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 4.166665%;
    flex: 0 0 4.166665%;
    max-width: 4.166665%;
    width: 4.166665%;
}

.col-1 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 8.33333%;
    flex: 0 0 8.33333%;
    max-width: 8.33333%;
    width: 8.33333%;
}

.col-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 16.66666%;
    flex: 0 0 16.66666%;
    max-width: 16.66666%;
    width: 16.66666%;
}

.dataTables_empty {
    font-size: 1.5rem !important;
}

/* Reference classes, no implementation */
.base,
.needs-validation,
.flex-start,
.text-faded,
.app-container-demo,
.lang-js,
.lang-csharp,
.has-tooltip,
.has-popover {
}

/* Keeps analyzers happy */
.js-waves-off,
.js-waves-on,
.js-get-date,
.js-collapse,
.js-modal-settings,
.js-filter-message,
.js-buttons,
.js-icon-class,
.js-icon-copy,
.js-bg-color,
.js-bg-gradient,
.js-bg-gradient-demo,
.js-bg-target {
}

/* Small word wrap correction */
section > ol > li {
    word-break: break-all;
}

code {
    border: 1px solid silver;
    padding: 0.03rem 0.2rem !important;
}

pre.prettyprint {
    border-radius: 0.2rem;
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
}

.documentation h2 {
    color: var(--primary);
}

.documentation th:first-child,
.documentation th:nth-child(3) {
    width: 16%;
}

.documentation blockquote {
    margin-left: 1rem;
    padding: 1rem 1rem 0.01rem 1rem;
    font-weight: 400;
    border-radius: 0 4px 4px 0;
    background: #edf2f9;
    border-left: 3px solid var(--primary);
}

    .documentation blockquote.info {
        background: #edf2f9;
        border-left: 3px solid var(--info);
    }

    .documentation blockquote.warning {
        background: #fff4db;
        border-left: 3px solid var(--warning);
    }

    .documentation blockquote.danger {
        background: #fadeeb;
        border-left: 3px solid var(--danger);
    }

/* Enter custom CSS rules for your application here */

#gridMezzoContainer .dx-selection.dx-row > td {
    background-color: #f99c00 !important;
}

#gridListinoContainer .dx-selection.dx-row > td {
    background-color: #f99c00 !important;
}

#gridAutomezziContainer .dx-selection.dx-row > td {
    background-color: #f99c00 !important;
}

/*Toggle al posto delle checkbox*/
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
} 

.calendar-danger {
    background: red;
    color: white;
}

.checkbox-disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
    accent-color: gray;
}

.pageTitle {
    font-size: 24px; 
    color:black
}
.newItemBtn {
    border: 1px solid; 
    border-color: #CACACA;
}

/* Nasconde del tutto la barra blu di Pace.js */
body .pace,
body .pace.pace-active,
body .pace.pace-inactive,
body .pace .pace-progress,
body .pace .pace-activity {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}


.textarea-mezzo {
    height: 100% !important;
    display: block;

}


.select-readonly {
    background-color: #e9ecef;
    color: #6c757d;
    border-color: #ced4da;
    pointer-events: none;
}

.checkbox-readonly {
    cursor: not-allowed;
}

    /* slider associato alla checkbox readonly */
    .checkbox-readonly + .slider {
        opacity: 0.6;
        cursor: not-allowed;
    }

.panel-readonly {
    pointer-events: none;
    opacity: 0.6;
}