input.number{ text-align: right; }

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    text-align: right;
    -moz-appearance:textfield;
}


.avatar i{
    border: 1px solid white;
}

.avatar-line .avatar{
    margin-right: 5px;
}

.avatar-line .user-name{
    display: inline-block;
    margin-bottom: 0.6rem;
}


.file-repeater .file{
    margin-top: 7px;
    margin-bottom: 0px;
}



.capo{
    word-break: break-word !important;
    white-space: normal !important;
    min-width: 200px;
}
.capo p{
    margin-bottom: 0px;
}



.ck-editor__editable_inline {
    min-height: 250px;
}


#avatar.filepond--root {
    height: 190px !important;
    width: 190px !important;
}




/* Fix Backdrop Select2 */
.select2-dropdown {
    z-index: 9999 !important;
}

/* Rimozione freccetta dropdown */
.no-after::after, .no-before::before {
    display: none !important;
}



/* ====== FIX TEMPUS DOMINUS ====== */
.table-sm td, .table-sm th {
    padding: 0.75rem 1rem !important;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    width: 24.5rem !important;
}

.bootstrap-datetimepicker-widget table td {
    width: 0px !important;
}


/* Label per campi obbligatori */
.form-group.required > label:after{
    content:" *";
    color:red;
}


/* ====== EFFETTO BLINK ====== */
.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}
@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}
@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}



.card-shadow,
.card {
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 3px, rgba(0, 0, 0, 0.24) 0px 1px 2px;
}

/* ====== GESTIONE ICONE GRANDI NELLE CARDS ====== */
.card.card-header-icon{
    margin-top: 30px;
}
.card-header-icon .card-header{
    text-align: right;
}
.card-header-icon .card-icon {
    border-radius: 3px;
    padding: 10px;
    margin-top: -40px;
    /* margin-right: 15px; */
    position: absolute;
    float: left;
display: block;

    -webkit-box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.14);
    -moz-box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.14);
    box-shadow: 0px 4px 20px 0px rgba(0,0,0,0.14);
}
    .card-header-icon .card-icon i {
        font-size: 36px;
        line-height: 56px;
        width: 56px;
        height: 56px;
        text-align: center;
    }

.card-header .comandi {
    position: absolute;
    right: 1.25rem;
    margin-top: 5px;
}
.card-header .title{
    padding: 0 90px 0px 90px;
}

.card .card-header{
    margin-bottom: 20px;
}



/* ====== CARDS STATISTICHE ====== */
.card-statistics {
    padding: 20px;
    background-clip: padding-box;
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid rgba(183,183,183,.125);
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.05);
    border-radius: .27rem;
}
.card-statistics i.header {
    font-size: 80px;
    /* margin-top: 20px; */
}
.card-statistics h1.counter{
    font-size: 2.5rem;
}



/* ====== RIMOZIONE BORDI SIZE ====== */
@media (max-width: 575.98px) {
    .border-xs-left-none {
        border-left: none !important; }
    .border-xs-right-none {
        border-right: none !important; }
    .border-xs-top-none {
        border-top: none !important; }
    .border-xs-bottom-none {
        border-bottom: none !important; }
}

@media (max-width: 767.98px) {
    .border-sm-left-none {
        border-left: none !important; }
    .border-sm-right-none {
        border-right: none !important; }
    .border-sm-top-none {
        border-top: none !important; }
    .border-sm-bottom-none {
        border-bottom: none !important; }
}

@media (max-width: 991.98px) {
    .border-md-left-none {
        border-left: none !important; }
    .border-md-right-none {
        border-right: none !important; }
    .border-md-top-none {
        border-top: none !important; }
    .border-md-bottom-none {
        border-bottom: none !important; }
}

@media (max-width: 1199.98px) {
    .border-lg-left-none {
        border-left: none !important; }
    .border-lg-right-none {
        border-right: none !important; }
    .border-lg-top-none {
        border-top: none !important; }
    .border-lg-bottom-none {
        border-bottom: none !important; }
}

.border-xl-left-none {
    border-left: none !important; }

.border-xl-right-none {
    border-right: none !important; }

.border-xl-top-none {
    border-top: none !important; }

.border-xl-bottom-none {
    border-bottom: none !important; }



/* ====== PERSONALIZZAZIONI BOOTSTRAP ====== */
a{ text-decoration: none !important; }
.card-header, .card-footer{ background-color: white !important; }
.btn{ padding: .75rem 1rem !important; }
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { color: #373A3C; }
.form-control{ height: auto; padding: .75rem 1rem; }


.header-navbar .navbar-container ul.nav li a.nav-link{
    padding: 1.4rem 1rem;
}

.select2-dropdown{ border-color: #d4d4d4 !important; }





/* Animazione caricamento tazza caffe*/
.cup{
    height: 140px;
    width: 180px;
    border: 6px solid white;
    top: 40%;
    left: 40%;
    border-radius: 0px 0px 70px 70px;
    background:url("../img/coffee_loading.png");
    box-shadow: 0px 0px 0px 6px #efb54a;
    background-repeat: repeat-x;
    background-position: 0px 140px;
    animation: fill 8s infinite;
}
.cup-handle{
    height: 70px;
    width: 40px;
    background-color: transparent;
    border: 6px solid #efb54a;
    position: relative;
    left: 174px;
    top: 2px;
    border-radius: 0px 25px 80px 0px;
}
@keyframes fill {
    0%{ background-position: 0px 140px }
    /*
    20%{ background-position: -450px 100px }
    40%{ background-position: -900px 50px }
    */
    70%{ background-position: -1350px -40px }
    100%{ background-position: 0px 140px }
}



hr.dashed {
    border-top: 2px dashed #999;
}

hr.dotted {
    border-top: 2px dotted #999;
}

hr.solid {
    border-top: 2px solid #999;
}


hr.hr-text {
    position: relative;
    border: none;
    height: 1px;
    background: #999;
}

hr.hr-text::before {
    content: attr(data-content);
    display: inline-block;
    background: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    color: #999;
    border-radius: 30rem;
    padding: 0.2rem 2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* ====== TABELLE CON HEADER STICKY ====== */
.table-sticky-header {
    max-height: calc(100vh - 250px);
    overflow-y: auto;
}

.table-sticky-header table {
    border-collapse: separate;
    border-spacing: 0;
}

.table-sticky-header thead {
    position: sticky;
    top: 0;
    z-index: 100;
}

.table-sticky-header thead th {
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.table-sticky-header tbody td {
    border: 1px solid #e3ebf3 !important;
}
