/*
html {
    overflow: scroll;
    overflow-x: hidden;
}
*/

/* optional: show position indicator in red
::-webkit-scrollbar-thumb {
    background: #FF0000;
}
*/
.main-wrapper {
    -ms-overflow-style: none;  // IE 10+
overflow: -moz-scrollbars-none;  // Firefox
}
.main-wrapper::-webkit-scrollbar {
    display: none;  // Safari and Chrome
}

.table thead th {font-weight: 600;}
.bold {font-weight: bold;}

.border-light { border-color: #ced4da !important;}

.btn-block + .btn-block {
    margin-top: inherit;
}

.modal-xxl {
    max-width: 90%;
}

.mpTicketList .datiAssistenza p {
    padding: 0;
    margin: 0;
}

/* scrollToTopBtn */
.nav-scroll {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #3a4651; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 5px 10px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 14px; /* Increase font size */
    color: #ffffff !important;
    text-decoration: none!important;
}
.nav-scroll:hover {
    background-color: #85CE36 ; /* Add a dark-grey background on hover */
}

#navScrollBottom {
    bottom: 5px; /* Place the button at the bottom of the page */
    right: 5px; /* Place the button 30px from the right */
}

#navScrollTop {
    display: block;
    top: 60px; /* Place the button at the bottom of the page */
    right: 5px; /* Place the button 30px from the right */
}


#incassiTecnico .header-block {width: 100%;}
#incassiTecnico .title a {text-decoration: none;}
#incassiTecnico .title.pull-left {
    padding-left: 10px;
}
#incassiTecnico .title.pull-right {
    padding-right: 10px;
}

.rating-up {
    color: #ffcc00;
}
.rating-down {
    color: #FB494D;
}

.rating .rating-up,
.rating .rating-down {
     margin-right: 0.25rem;
}

.badge-disabled {
    background-color: white;
    color: #4f5f6f;
    border: 1px solid #4f5f6f;
    text-decoration-color: #FB494D;
    text-decoration-style: wavy;
    text-decoration-line: line-through;
    /*text-decoration: line-through;*/
}

.list-item.selected {
    background-color: #007bff;
    color: #020723;
    color: #0DFFFD;
}
.list-item.selected a.color-normal{
    color: #020723 !important;
    color: #0DFFFD !important;
}

.list-item.selected .tipo-intervento {
    border-color: #0DFFFD !important;
}
.font-1rem {
    font-size: 1rem;
}

.font-0825rem { font-size: 0.825rem;}
.font-09rem { font-size: 0.9rem;}

figure.selected figcaption {
    font-weight: bold;
    color: #007bff;
}

.no-wrap { white-space: nowrap;}

.form-control {
    color: #000000;
    font-weight: 600;
}

#backToAnagraficaSearch {
    cursor: pointer;
}

.highlight {
    background-color: #76D4F5;
}
.highlight2 {
    background-color: #FE7A0E;
}


.app-font-weight-normal {
    font-weight: initial;
}

fieldset {
    border: 1px solid #ced4da;
    padding-left: 1rem;

}

fieldset > legend {
    width:inherit; /* Or auto */
    padding:0 10px; /* To give a bit of padding on the left and right */
    border-bottom:none;
}




.header .header-block-nav #headerDateSelect.profile-dropdown-menu a {

    padding: 5px 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion .btn.btn-link {
    color: #85CE36;
}

#search-tecnico-result {
    max-height: 710px;
    overflow-y: scroll;
}

#search-tecnico-result.v2 {
    max-height: 610px;
    overflow-y: scroll;
}

#search-anagrfica-result a {
    text-decoration: none;
}
#search-tecnico-result.v2 h5 {
    font-weight: bold;
}

#search-tecnico-result.v2 a {
    text-decoration: none;
    color: #4f5f6f;
}
#search-tecnico-result.v2 a:hover {
    color: #4f5f6f;
}

#search-tecnico-result.v2 a.active,
#search-tecnico-result.v2 a.active .text-success,
#search-tecnico-result.v2 a.active .text-muted {
    color: #ffffff !important;
}

#search-tecnico-result.v2 > .list-group-item.disabled {
    background-color: #dc3545;
    color: white;
}

.app-w-60px {
    width: 35px;
}

.list-group-item.active a {
    color: #fff;
}
.list-group-item.active a:hover {
    color: #fff;
    text-decoration: underline;
}



.ico {
    width: 35px;
    height: 35px;
}

.fasciaOrariaDaySelector,
.select-fasciaOraria li,
.app-switch-checkbox, .btn-sort {cursor: pointer;}

.btn-sort.active .svg-inline--fa {
    color: #85CE36;
}

a.no-underline {
    text-decoration: none !important;
}
.color-normal {
    color: #4f5f6f !important;
}

::-webkit-scrollbar {
    width: 20px;
    height: 7px;
}

.bgcolor-gray {
    background-color: #EFF3F6;
}

.card.card-secondary > .card-header {
    /*background-color: #fafafa;*/
    background-color: #e5e5e5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

#mpTicketHistoryModal .card .card-header {
    background-color: initial;
    padding: 12px 20px;
    min-height: initial;
}
#mpTicketHistoryModal .card-body{
    padding-top: 0px;
}

dl.compact dd {
    margin-bottom: .1rem;

}


.elenco-appuntamenti table .top-row td {
    border-bottom-width: 0;
}
.elenco-appuntamenti table .bottom-row td {
    border-top-width: 0;
}

.elenco-appuntamenti .recall {
    color: #7e8e9f;
}

#accordion .btn.btn-link {
    color: initial;
}
#accordion .btn.btn-link:hover {
    color: initial;
}

.location-tecnico-title {
    background-color: white;

}
.disabled .location-tecnico-title{
    background-color: initial;
    color: initial;
    text-decoration: line-through;
}
.active .location-tecnico-title{
    background-color: initial;
    color: #ffffff;
}

.tr-user-stato-disabled h5,
.text-line-through {
    text-decoration: line-through;
}

.location-tecnico.tr-stato-reclamo {
    background-color: #f0f3f6;
    color: initial;
}

.all-error-dsp  .alert-secondary {
    background-color: #f1f3f6!important;
    color: #333e48;
    width: 98% !important;
}
.all-error-dsp  .alert-secondary a {
    color: black !important;
}
.all-error-dsp  .alert-secondary a:hover {
    color: #dc3545 !important;
}

.all-error-dsp .row {
    color: initial !important;
}

.all-error-dsp .row a {
    color: #4f5f6f !important;
}

/* -------- tr stato intervento -------- */

span.stato {
    display: inline-block;
    margin-left: 0.4em;
    padding: 0 8px;
}

.stato-intervento li.list-group-item {
    background-color: initial;

}

.tr-user-stato-disabled {
    background-color: #dee2e6;
}

.tr-stato-in-lavorazione {
    background-color: #ff00b2;
    color: #ffffff;
}

.tr-stato-da-spostare {
background-color: #fcff0f;
}

.tr-stato-annullato {
    background-color: #FB494D;
    color: #ffffff;
}

.tr-stato-chiuso {
    background-color: #8CDE33;
    color: #ffffff;
}

.tr-stato-attesa-ricambio {
    color: #ffffff;
    background-color: #FE7A0E;
}

.tr-stato-pronta {
    color: #ffffff;
    background-color: #FFBFCB;
}

.tr-stato-in-sospeso {
    color: #ffffff;
    background-color: #52BCD3;
}
.tr-stato-reclamo {
    background-color: #7867A7;
    color: #ffffff;
}
.tr-stato-preventivo {
    background-color: #007bff;
    color: #ffffff;
}
.tr-stato-ricambio-da-ordinare {
    background-color: #ffcc00;
    color: #ffffff;
}

.tr-stato-incasso-insoluto {
    background-color: #673ab7 !important;
    color: #ffffff !important;
}

.tr-stato-ricambio-da-ordinare a.color-normal,
.tr-stato-preventivo a.color-normal,
.tr-stato-annullato a.color-normal,
.tr-stato-in-lavorazione a.color-normal,
.tr-stato-chiuso a.color-normal,
.tr-stato-reclamo a.color-normal,
.tr-stato-attesa-ricambio a.color-normal,
.tr-stato-in-sospeso a.color-normal,
.tr-stato-pronta a.color-normal,
.tr-stato-incasso-insoluto a.color-normal {
    color: #ffffff !important;
}

.tr-stato-da-spostare a.color-normal{
    color: #4f5f6f !important;
}

.tipo-intervento {
    padding: 1px 7px;
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-radius: 5px;
    border-color: #4f5f6f;
}

.tr-stato-ricambio-da-ordinare .tipo-intervento,
.tr-stato-preventivo .tipo-intervento,
.tr-stato-in-lavorazione .tipo-intervento,
.tr-stato-annullato .tipo-intervento,
.tr-stato-chiuso .tipo-intervento,
.tr-stato-reclamo .tipo-intervento,
.tr-stato-attesa-ricambio .tipo-intervento,
.tr-stato-in-sospeso .tipo-intervento{
    border-color: #ffffff !important;
}

.tipo-intervento-preventivo {
    color: #ffffff;
    background-color: #007bff;
}
.tipo-intervento-stesso-difetto {
    color: #ffffff;
    background-color: #FE7A0E;
}
.tipo-intervento-ritorno-materiale {
    color: #ffffff;
    background-color: #52BCD3;

}
.tipo-intervento-ritiro {
    color: #ffffff;
    background-color: #8CDE33;
}

.tipo-intervento-rimborso {
    color: #ffffff;
    background-color: #FB494D;
}

.stato-inoltro-laboratorio {
    font-weight: 700;
}

.stato-inoltro-magazzino {
    font-weight: 700;
}

.padding-top-0 {padding-top: 0px !important;}
.padding-bottom-0 {padding-bottom: 0px !important;}

.padding-top-20 {padding-top: 20px !important;}
.padding-bottom-20 {padding-bottom: 20px !important;}

.padding-top-30 {padding-top: 30px !important;}
.padding-bottom-30 {padding-bottom: 30px !important;}

.padding-top-40 {padding-top: 40px !important;}
.padding-bottom-40 {padding-bottom: 40px !important;}

.padding-top-60 {padding-top: 60px !important;}
.padding-bottom-60 {padding-bottom: 60px !important;}

.padding-top-80 {padding-top: 80px;}
.padding-bottom-80 {padding-bottom: 80px;}

.padding-top-130 {padding-top: 130px !important;}

.padding-top-160 {padding-top: 160px !important;}

.margin-top-0 {margin-top: 0px !important;}
.margin-top-5 {margin-top: 5px !important;}
.margin-top-10 {margin-top: 10px !important;}
.margin-top-20 {margin-top: 20px !important;}
.margin-top-30 {margin-top: 30px !important;}
.margin-top-40 {margin-top: 40px !important;}
.margin-top-50 {margin-top: 50px !important;}
.margin-bottom-50 {margin-bottom: 50px !important;}
.margin-bottom-30 {margin-bottom: 30px !important;}
.margin-bottom-20 {margin-bottom: 20px !important;}
.margin-bottom-10 {margin-bottom: 10px !important;}
.margin-bottom-5 {margin-bottom: 5px !important;}
.margin-bottom-0 {margin-bottom: 0px !important;}

.bt-1-light {border-top: 1px solid #d7dde4;}
.bb-1-light {border-bottom: 1px solid #d7dde4;}



.map-marker-label {
    /*border: 1px solid #FFFFFF;*/
    border-radius: 4px;
    background: #ffffff;
    text-align: center;
    font-size: 0.75rem;
    color: #FFFFFF;
    width: auto;
    text-transform: uppercase;
    padding: 6px 7px;
}

.map-marker-arrow-down {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #f00;
    margin: auto;
}


#preventiviContainer .rowPreventivo .causale,
#preventiviContainer .rowPreventivo .importo {
    cursor: pointer;
}

#preventiviContainer .editing,
#preventiviContainer .rowPreventivo:hover {
    background-color: rgba(0, 0, 0, 0.125);
}

.copy-text {cursor: grab; padding: 0.25rem 0.50rem; }
.copy-text:hover {background-color: #ffc107; color: black;}


.sidebar-header a,
a .brand { text-decoration: none!important;}

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* ----------- XL  -----------
@media (max-width: 1199.98px) {
    .sidebar {
        position: fixed;
        left: -240px;
    } }
*/
/* ----------- PRINT  ----------- */
@media print {
    body {
        zoom: .8
    }

    body {
        overflow: visible !important;
    }
}



