.autofill {
    display: inline;
    padding: .05em .6em .05em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
    background: #98999abf;
    color:white!important;
}

.autofill:hover {
    background: #517e94;
    cursor: pointer;
    text-decoration: none;
}



.fa-rotate-45 {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.label-default {
    background-color: #777;
}

.label-primary {
    background-color: #337ab7;
}

.label-success {
    background-color: #5cb85c;
}

.label-danger {
    background-color: #d9534f;
}

a {
    color: #0571e4;
}
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #517e94;
    background-color: #517e94;
}

.counter {
    background: white;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 1rem;
}
.count-title {
    font-size: 40px;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.count-text {
    font-size: 1.5em;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
}

.fa-2x {
    margin: 0 auto;
    float: none;
    display: table;
    color: #4ad1e5;
}
.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #517e94;
    border-color: #517e94;
}

.bi {
    color: #517e94;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #517e94;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

@media (min-width: 576px) {
    .jumbotron {
        padding: 1.5rem 1rem;
        background-color: #e3e7ec;
    }
}

.jumbotron {
    margin-bottom: 0;
}

pre {
    margin-top: 0;
    margin-bottom: 1rem;
    overflow: auto;
    white-space: pre-wrap;
}

@media (min-width: 992px) {
    pre {
        font-size: 1em;
    }
}

.bg-desk {
    background-color: #0f436a!important;
}

.color-desk {
    color: #0f436a!important;
}

.btn-primary {
    color: #fff;
    background-color: #517e94;
    border-color: #517e94;
    border-radius: 20px;
}

.btn-secondary {
    border-radius: 20px;
}

.btn-primary-piccolo {
    margin-top:0px;
    background-color: #005491;
    margin-bottom:0px;
    border: 0px;
    cursor: pointer;
    padding: 1px 7px;
}


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: .7rem;
        padding-left: .7rem;
    }
}

.btn-link {
    color: #0f436a;
}

@media (max-width: 992px) {
    .no-cell {
        display: none;
    }
    .navbar-brand {
        width: 70%;
    }
}

@media (max-width: 992px) {
    .no-cell {
        display: none;
    }
}

.h5, h5 {
    font-weight: 400;
}

.h4, h4 {
    font-weight: 400;
}

.h3, h3 {
    font-weight: 400;
}

.h2, h2 {
    font-weight: 400;
}

.modal-dialog-scrollable .modal-content {
    border-radius: 20px;
}

.solo-print {
    display: none;
}

@media print
{
    form, .btn-secondary, .no-print
    {
        display: none !important;
    }
    .solo-print {
        display: inline!important;
    }
}

.btn-pagina {
    padding: 3px 15px;
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 1em;
}

.label-green {
    background-color: #5cb85c;
}

.label-red {
    background-color: #d9534f;
}

.label-orange {
    background-color: #ff9e15;
}

.label-yellow {
    background-color: #c8c203;
}

@media (max-width: 550px) {
    .maincontent {
        padding: 20px 0px;
    }
}

@media (max-width: 445px) {
    .spazio-bottom-telefono {
        margin-bottom: 20px;
    }
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    height: 25px;}
[class^="fa-"]:before, [class*=" fa-"]:before {
    color: #517e94;
}
table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
    bottom: .5em;
}
.table-striped>tbody>tr.oggi {
    background-color: #20c0ef26!important;
}
.table-striped tbody > tr:nth-child(odd) > td, .table-striped tbody > tr:nth-child(odd) > th {
    background-color: transparent;
}

@media (max-width: 550px) {
    .no-telefono {
        display:none;
    }
}

.card {
    border-radius: 1rem;
}