﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {

}

.l-15{
    left:15px!important;
}
.input-group-text {
    padding: 7px 12px !important;
}

.input-append .add-on, .input-prepend .add-on {
    height: 41px;
    padding: 10px 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    background-color: #eee;
    border: 1px solid #ccc;
}
.fc-content{
    white-space:initial!important;
}
.btn-card-intervento:hover {
    text-decoration: none !important;
    background-color: #e9ecef;
    
}
.btn-card-intervento:focus {
    text-decoration: none !important;
}
.btn-card-intervento {
    padding: 20px !important;
    margin-bottom:0px!important;
}
.card-header-intervento {
    padding: 0px !important;
}

.uppy-Dashboard-inner {
    height:180px !important;
}
.uppy-Dashboard-files {
    height: 200px!important;
    overflow-y: scroll!important;
}
.uppy-Dashboard-progressindicators{
    display:none;
}
.picker-dialog {
    width: 250px;
    margin: auto;
    position: absolute;
}
.btn-elimina-foto {
    background-color: #bd2130;
    color: #fff !important;
    text-align: center;
    padding: 3px;
    width: 100%;
    margin-top: 3px;
}
.img-foto-intervento {
    width: 100%;
    height: 80px;
    object-fit: cover;
}
.icon-lens {
    position: absolute;
    left: 42%;
    top: 20%;
    font-size: 30px;
    color: #fff;
    text-shadow:2px 2px #000;
}
.i-checks>label{
    font-size:18px!important;
}




/* TIMELINE CSS. */
.timeline {
    position: relative;
    padding: 20px 0 20px;
    list-style: none;
}

    .timeline:before {
        content: " ";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 3px;
        margin-left: -1.5px;
        background-color: #eeeeee;
    }

    .timeline > li {
        position: relative;
        margin-bottom: 20px;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            float: left;
            position: relative;
            width: 46%;
            padding: 20px;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.175);
            box-shadow: 0 1px 6px rgba(0,0,0,0.175);
        }

            .timeline > li > .timeline-panel:before {
                content: " ";
                display: inline-block;
                position: absolute;
                top: 26px;
                right: -15px;
                border-top: 15px solid transparent;
                border-right: 0 solid #ccc;
                border-bottom: 15px solid transparent;
                border-left: 15px solid #ccc;
            }

            .timeline > li > .timeline-panel:after {
                content: " ";
                display: inline-block;
                position: absolute;
                top: 27px;
                right: -14px;
                border-top: 14px solid transparent;
                border-right: 0 solid #fff;
                border-bottom: 14px solid transparent;
                border-left: 14px solid #fff;
            }

        .timeline > li > .timeline-badge.destra {
            background-color: #33b35a !important;
        }
        .timeline > li > .timeline-badge.sinistra {
            background-color: #dc3545 !important;
        }

.timeline > li > .timeline-panel {
    float: left;
    position: relative;
    width: 46% !important;
    padding: 20px;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.175);
    box-shadow: 0 1px 6px rgba(0,0,0,0.175);
}
    

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

    .timeline-body > p + p {
        margin-top: 5px;
    }

ul.timeline > li > .timeline-panel {
    width: calc(100% - 90px);
    width: -moz-calc(100% - 90px);
    width: -webkit-calc(100% - 90px);
}

ul.timeline > li > .timeline-badge {
    /*top: 16px;
    left: 15px;
    margin-left: 0;*/
}

ul.timeline > li > .timeline-panel {
    float: right;
}

    ul.timeline > li > .timeline-panel:before {
        right: auto;
        left: -15px;
        border-right-width: 15px;
        border-left-width: 0;
    }

    ul.timeline > li > .timeline-panel:after {
        right: auto;
        left: -14px;
        border-right-width: 14px;
        border-left-width: 0;
    }

}

.timeline {
    position: relative;
    padding: 20px 0 20px;
    list-style: none;
}

    .timeline:before {
        content: " ";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 3px;
        margin-left: -1.5px;
        background-color: #eeeeee;
    }

    .timeline > li {
        position: relative;
        margin-bottom: 20px;
    }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li:before,
        .timeline > li:after {
            content: " ";
            display: table;
        }

        .timeline > li:after {
            clear: both;
        }

        .timeline > li > .timeline-panel {
            float: left;
            position: relative;
            width: 46%;
            padding: 10px 15px;
            border: 1px solid #d4d4d4;
            border-radius: 2px;
            -webkit-box-shadow: 0 1px 6px rgba(0,0,0,0.175);
            box-shadow: 0 1px 6px rgba(0,0,0,0.175);
        }

            .timeline > li > .timeline-panel:before {
                content: " ";
                display: inline-block;
                position: absolute;
                top: 26px;
                right: -15px;
                border-top: 15px solid transparent;
                border-right: 0 solid #ccc;
                border-bottom: 15px solid transparent;
                border-left: 15px solid #ccc;
            }

            .timeline > li > .timeline-panel:after {
                content: " ";
                display: inline-block;
                position: absolute;
                top: 27px;
                right: -14px;
                border-top: 14px solid transparent;
                border-right: 0 solid #fff;
                border-bottom: 14px solid transparent;
                border-left: 14px solid #fff;
            }

        .timeline > li > .timeline-badge {
            z-index: 100;
            position: absolute;
            top: 32px;
            left: 51.5%;
            width: 20px;
            height: 20px;
            margin-left: -25px;
            border-radius: 50% 50% 50% 50%;
            text-align: center;
            font-size: 1.4em;
            line-height: 50px;
            color: #fff;
            background-color: #999999;
        }

        .timeline > li.timeline-left > .timeline-panel {
            float: left;
        }

            .timeline > li.timeline-left > .timeline-panel:before {
                right: -15px;
                left:auto;
                border-right-width: 15px;
                border-left-width: 0;
                border-top: 15px solid transparent;
                border-right: 0px solid #ccc !important;
                border-bottom: 15px solid transparent;
                border-left: 15px solid #ccc;
            }

            .timeline > li.timeline-left > .timeline-panel:after {
                border-left-width: 14px;
                border-right-width: 0;
                left: auto;
                right: -14px;
                border-right-width: 14px;
                border-left-width: 0;
                border-top: 14px solid transparent;
                border-right: 0px solid #fff;
                border-bottom: 14px solid transparent;
                border-left: 15px solid #fff;
            }

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

    .timeline-body > p + p {
        margin-top: 5px;
    }
.btn-margin{
    margin-bottom:3px!important;
}
.btnSelezControllo:focus, .btnSelezControllo:active, .btnSelezControllo:visited {
    background-color: #2b954b!important;
    border-color: #288b46!important;
}




/* Custom checkbox button */
::selection {
    color: var(--white);
    background-color: #3367d1;
}

::-moz-selection {
    color: var(--white);
    background-color: #3367d1;
}

mark {
    /*color: var(--white);
    background-color: var(--black);*/
}

.section {
    position: relative;
    width: 100%;
    display: block;
    text-align: center;
    margin: 0 auto;
}

.over-hide {
    overflow: hidden;
}

.z-bigger {
    z-index: 100 !important;
}


.background-color {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:#ccc;
    z-index: 1;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.checkbox:checked ~ .background-color {
    background-color: var(--white);
}


/*[type="checkbox"]:checked,
[type="checkbox"]:not(:checked),*/
/*[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    visibility: hidden;
}*/

.checkbox:checked + label,
.checkbox:not(:checked) + label {
    position: relative;
    width: 70px;
    display: inline-block;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    margin: 17px 0;
    margin-top: 100px;
    height: 6px;
    border-radius: 4px;
    background-image: linear-gradient(298deg, var(--red), var(--yellow));
    z-index: 100 !important;
}

    .checkbox:checked + label:before,
    .checkbox:not(:checked) + label:before {
        position: absolute;
        font-family: 'unicons';
        cursor: pointer;
        top: -17px;
        z-index: 2;
        font-size: 20px;
        line-height: 40px;
        text-align: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        -webkit-transition: all 300ms linear;
        transition: all 300ms linear;
    }

    .checkbox:not(:checked) + label:before {
        content: '\eac1';
        left: 0;
        color: var(--grey);
        background-color: var(--dark-light);
        box-shadow: 0 4px 4px rgba(0,0,0,0.15), 0 0 0 1px rgba(26,53,71,0.07);
    }

    .checkbox:checked + label:before {
        content: '\eb8f';
        left: 30px;
        color: var(--yellow);
        background-color: var(--dark-blue);
        box-shadow: 0 4px 4px rgba(26,53,71,0.25), 0 0 0 1px rgba(26,53,71,0.07);
    }

.checkbox:checked ~ .section .container .row .col-12 p {
    color: var(--dark-blue);
}


.checkbox-tools:checked + label,
.checkbox-tools:not(:checked) + label {
    position: relative;
    display: inline-block;
    padding: 20px;
    width: 110px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1px;
    margin: 0 auto;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    color:#666;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

.checkbox-tools:not(:checked) + label {
    background-color: var(--dark-light);
    box-shadow: 0 2px 4px 0 #ced4da;
}

.checkbox-tools:checked + label {
    background-color: #33b35a;
    color:#fff!important;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-tools:not(:checked) + label:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-tools:checked + label::before,
.checkbox-tools:not(:checked) + label::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-image: linear-gradient(298deg, var(--red), var(--yellow));
    z-index: -1;
}

.checkbox-tools:checked + label .uil,
.checkbox-tools:not(:checked) + label .uil {
    font-size: 24px;
    line-height: 24px;
    display: block;
    padding-bottom: 10px;
}

.checkbox:checked ~ .section .container .row .col-12 .checkbox-tools:not(:checked) + label {
    background-color: var(--light);
    color: var(--dark-blue);
    box-shadow: 0 1x 4px 0 rgba(0, 0, 0, 0.05);
}

.checkbox-budget:checked + label,
.checkbox-budget:not(:checked) + label {
    position: relative;
    display: inline-block;
    padding: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 260px;
    font-size: 52px;
    line-height: 52px;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0 auto;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
    -webkit-text-stroke: 1px var(--white);
    text-stroke: 1px var(--white);
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    color: transparent;
}

.checkbox-budget:not(:checked) + label {
    background-color: var(--dark-light);
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

.checkbox-budget:checked + label {
    background-color: transparent;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-budget:not(:checked) + label:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-budget:checked + label::before,
.checkbox-budget:not(:checked) + label::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background-image: linear-gradient(138deg, var(--red), var(--yellow));
    z-index: -1;
}

.checkbox-budget:checked + label span,
.checkbox-budget:not(:checked) + label span {
    position: relative;
    display: block;
}

    .checkbox-budget:checked + label span::before,
    .checkbox-budget:not(:checked) + label span::before {
        position: absolute;
        content: attr(data-hover);
        top: 0;
        left: 0;
        width: 100%;
        overflow: hidden;
        -webkit-text-stroke: transparent;
        text-stroke: transparent;
        -webkit-text-fill-color: var(--white);
        text-fill-color: var(--white);
        color: var(--white);
        -webkit-transition: max-height 0.3s;
        -moz-transition: max-height 0.3s;
        transition: max-height 0.3s;
    }

    .checkbox-budget:not(:checked) + label span::before {
        max-height: 0;
    }

    .checkbox-budget:checked + label span::before {
        max-height: 100%;
    }

.checkbox:checked ~ .section .container .row .col-xl-10 .checkbox-budget:not(:checked) + label {
    background-color: var(--light);
    -webkit-text-stroke: 1px var(--dark-blue);
    text-stroke: 1px var(--dark-blue);
    box-shadow: 0 1x 4px 0 rgba(0, 0, 0, 0.05);
}

.checkbox-booking:checked + label,
.checkbox-booking:not(:checked) + label {
    position: relative;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
    text-align: center;
    padding: 0;
    padding: 6px 25px;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 1px;
    margin: 0 auto;
    margin-left: 6px;
    margin-right: 6px;
    margin-bottom: 16px;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    color: var(--white);
    text-transform: uppercase;
    background-color: var(--dark-light);
    -webkit-transition: all 300ms linear;
    transition: all 300ms linear;
}

    .checkbox-booking:not(:checked) + label::before {
        box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    }

    .checkbox-booking:checked + label::before {
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    }

    .checkbox-booking:not(:checked) + label:hover::before {
        box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    }

    .checkbox-booking:checked + label::before,
    .checkbox-booking:not(:checked) + label::before {
        position: absolute;
        content: '';
        top: -2px;
        left: -2px;
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        border-radius: 4px;
        z-index: -2;
        background-image: linear-gradient(138deg, var(--red), var(--yellow));
        -webkit-transition: all 300ms linear;
        transition: all 300ms linear;
    }

    .checkbox-booking:not(:checked) + label::before {
        top: -1px;
        left: -1px;
        width: calc(100% + 2px);
        height: calc(100% + 2px);
    }

    .checkbox-booking:checked + label::after,
    .checkbox-booking:not(:checked) + label::after {
        position: absolute;
        content: '';
        top: -2px;
        left: -2px;
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        border-radius: 4px;
        z-index: -2;
        background-color: var(--dark-light);
        -webkit-transition: all 300ms linear;
        transition: all 300ms linear;
    }

    .checkbox-booking:checked + label::after {
        opacity: 0;
    }

    .checkbox-booking:checked + label .uil,
    .checkbox-booking:not(:checked) + label .uil {
        font-size: 20px;
    }

    .checkbox-booking:checked + label .text,
    .checkbox-booking:not(:checked) + label .text {
        position: relative;
        display: inline-block;
        -webkit-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    .checkbox-booking:checked + label .text {
        opacity: 0.6;
    }

        .checkbox-booking:checked + label .text::after,
        .checkbox-booking:not(:checked) + label .text::after {
            position: absolute;
            content: '';
            width: 0;
            left: 0;
            top: 50%;
            margin-top: -1px;
            height: 2px;
            background-image: linear-gradient(138deg, var(--red), var(--yellow));
            z-index: 1;
            -webkit-transition: all 300ms linear;
            transition: all 300ms linear;
        }

    .checkbox-booking:not(:checked) + label .text::after {
        width: 0;
    }

    .checkbox-booking:checked + label .text::after {
        width: 100%;
    }

.checkbox:checked ~ .section .container .row .col-12 .checkbox-booking:not(:checked) + label,
.checkbox:checked ~ .section .container .row .col-12 .checkbox-booking:checked + label {
    background-color: var(--light);
    color: var(--dark-blue);
}

    .checkbox:checked ~ .section .container .row .col-12 .checkbox-booking:checked + label::after,
    .checkbox:checked ~ .section .container .row .col-12 .checkbox-booking:not(:checked) + label::after {
        background-color: var(--light);
    }




.link-to-page {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 20000;
    cursor: pointer;
    width: 50px;
}

    .link-to-page img {
        width: 100%;
        height: auto;
        display: block;
    }
.btn-orange {
    background-color: #f25f07;
    border-color: #f25f07;
    font-size: 12px;
    font-weight: bold;
    padding: 3px;
}
.btn-invia-report {
    font-size: 12px;
    font-weight: bold;
    padding: 3px;
}