.background-manutenzioni{
    background-color: #006400;
}
.background-installazioni{
    background-color: #4169E1;
}
.background-default{
    background-color: #003366;
}

.login-body,
.login-body #wrapper{
    min-height: 100vh;
}

.navbar > img{
    max-height: 100%;
}

#dettaglio_scadenza ul#allegati{
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#dettaglio_scadenza ul#allegati li i{
    margin-right: 5px;
}

#riepilogo_scadenza{
    display: block;
    margin-bottom: 15px;
}
.elimina_allegato{
    padding: 4px;
}
.elimina_allegato:hover{
    cursor: pointer;
}
.allegato_eliminato{
    text-decoration: line-through;
}

.navbar h3{
    margin: auto;
    margin-left: 15px;
}

.form-check input[type="checkbox"]{
    width: auto;
    height: 24px;
    display: block;
    float: left;
    margin-right: 10px;
}
.form-check.hasCheckbox{
    padding: 0;
    margin-bottom: 10px;
}

table .table_label {
    font-weight: bold;
}

#firmaModal canvas{
    border:1px solid #ccc;
    float: left;
    margin-right: 2px;
}

@media (max-width: 991px) {
    .col-chiamata > .btn-container{
        flex-direction: column;
    }
}

ul.typeahead.dropdown-menu{
    max-height: 250px;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
}

.col-descrizione{
    max-width: 400px;
}
.table-light, .table-light>td, .table-light>th,
.table-danger, .table-danger>td, .table-danger>th,
.table-warning, .table-warning>td, .table-warning>th{
    color: #333;
    vertical-align: middle;
}

.background-modifica{
    background-color: rgba(246, 194, 62, .1);
}

.table-tecnici tr th,
.table-tecnici tr td{
    width: 20%;
}
.table-tecnici tr th:first-child,
.table-tecnici tr td:first-child{
    width: 40%;
}
@media (max-width: 991px) {
    .table-tecnici tr th,
    .table-tecnici tr td,
    .table-tecnici tr th:first-child,
    .table-tecnici tr td:first-child{
        width: auto;
        padding-left: 0;
        padding-right: 0;
    }
}

.table-tecnici .input_qta_nl{
    display: none;
}

#dataTable .table-danger td.hasTime{
    background-color: red;
    color: #fff;
}
#dataTable .table-warning td.hasTime{
    background-color: yellow;
}

tr.rapp_annullato td{
    text-decoration: line-through;
}

.rapp-btn-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (max-width: 767px) {
    .rapp-btn-container{
        display: block;
    }
    .rapp-btn-container button{
        margin-bottom: 10px;
    }
}

#dettaglio_rapportino input[name$="countdown"],
#scheda_rapportino input[name$="countdown"]{
    border: 0 none;
    background-color: transparent;
    text-align: right;
    margin-right: 3px;
}
#dettaglio_rapportino input[name$="countdown"]:focus,
#scheda_rapportino input[name$="countdown"]:focus{
    outline: none;
}

.btn-circle.btn-xs, .btn-group-xs>.btn-circle.btn {
    height: 1.3rem;
    width: 1.3rem;
    padding: 0;
    font-size: .65rem;
}

.libro-presenze table tr:last-of-type{
    background-color: #f2f2f2;
}
.libro-presenze table tr td{
    vertical-align: middle;
}
.libro-presenze table tr td button{
    margin-left: 20px;
}
.libro-presenze table .qta{
    width: 100px;
}
.libro-presenze table.final{
    font-size: 1.2rem;
}
@media (min-width: 768px){
    #accordionSidebar{
        position: sticky;
        top: 0;
        left: 0;
        height: 100vh;
        right: -17px; /* Increase/Decrease this value for cross-browser compatibility */
        overflow-x: hidden;
        overflow-y: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    #accordionSidebar::-webkit-scrollbar{
        display: none;
    }

    #accordionSidebar .sidebar-brand .sidebar-brand-icon{
        display: none;
    }
    #accordionSidebar.toggled .sidebar-brand .sidebar-brand-icon{
        display: block;
    }
}

.table-btns{
    display: flex;
    gap: .2rem;
    justify-content: flex-end;
}