.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #6A887C;
    --bs-btn-active-border-color: #6A887C;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}
.hide {
    display:none;
}
div.dt-container {
    margin-bottom: 3em;
}
.table-responsive {
    margin-bottom: 40px;
}
.logo {  
max-width:100%;
}
.navbar-brand {
    /*background-color: #a3cd44 !important;*/
}
.bg-easy {
    /*background-color: #212529 !important;*/
}
.nav-link {
    color: #6A887C;
}
.nav-link:hover {
    color: #a3cd44;
}
.sidebar-heading{
    cursor: pointer;
}
.sidebar-heading:hover {
    color: #a3cd44 !important;
}
.select-btn-int, .select-btn-doc, .select-btn{
    background:#a3cd44;
}
.select-voice {
    color:#a3cd44 !important;
    font-weight: bold;
}
.active-tab{
    color:#0000ff;
    text-decoration: underline;
    font-weight: 500;
}
.spinner-center {
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
body {
    font-size:13px;
}
#body-mess tr {
    cursor: pointer;
    font-size: 14px;
}
#body-mess tr:hover td{
    background-color: #CCCCCC !important;
}

#body-mess .active td {
    background-color: #CCCCCC !important;
}
@media (max-width: 445px) {
    .logo-container {
        width:100%;
        padding: 5px 0 !important;
    }
    .menu-button {
        text-align: center;
        padding:5px 0 10px 0;
        width: 100%;
    }
    #dashboard-grid .card-home {
        padding: 20px 10px !important;
    }
    .titleGroup {
        width: 90%;
        padding:10px 0 !important;
    }
    .titleGroup h6{
        margin:0 !important;
    }
    #dashboard-grid {
        margin-left: 0 !important;
        padding:0 20px;
    }
}
@media (max-width: 767px) {
    #butt-menu {
        display: none;
    }
    #sidebarMenuLabel{
        margin-left: 30px;
    }
}
@media (min-width: 768px) {
    .butt-menu-smart {
        display:none;
    }

}
@media (min-width: 500px) {
    header .menu-button {
        margin-right:5%;
    }
}
.popover {
    z-index: 1060;
}
.star-rating {
    font-size: 1, 5rem;
    /* Grandezza delle stelle */
    color: #ddd;
    /* Colore stelle non selezionate */
    cursor: pointer;
}

.star-rating .fa-star.filled {
    color: #f7d106;
    /* Colore stelle selezionate */
}

.star-rating .fa-star:hover {
    color: #f7d106;
    /* Colore stelle al passaggio del mouse */
}

.star-rating .active {
    color: #f7d106;
}

.folder {
    width: 150px;
    height: 100px;
    background-color: #f1c40f;
    border-radius: 5px;
    position: relative;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    cursor:pointer;
}

.folder:hover{
    background-color: hwb(48 2% 1%);
    color:#0000ff;
}
/* Parte superiore della cartella */
.folder::before {
    content: "";
    width: 70px;
    height: 20px;
    background-color: #f1c40f;
    border-radius: 5px 5px 0 0;
    position: absolute;
    top: -15px;
    left: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}
.over-view {
    cursor:pointer;
    font-weight: bold;
}
.over-view:hover {
    color:#476c62;
    text-decoration: underline;
}
.dragModal.modal-header {
    cursor: move;
}
.dataTable {
    font-size: 13px;
    /* Cambia il font per tutte le tabelle */
}

.message-modal {
    position: absolute;
    overflow: hidden;
    background: #FFFFFF;
    width: 73%;
    height: 96%;
    padding-top:10%;
}

.message-modal fieldset{
    width:50%;
    margin:auto;
    text-align: center;
}

.timbratura-button {
    width: 150px;
    height: 150px; 
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-timbra-in, .btn-sure {
    background-color: #4CAF50;
}
.btn-timbra-in:hover, 
.btn-sure:hover {
    background-color: #45a049;
}
.btn-timbra-out {
    background-color: #FF0000;
}
.btn-timbra-out:hover {
    background-color: #a80303;
}
.btn-pausa-in {
    background-color: #507af0;
}

.btn-pausa-in:hover {
    background-color: #3768ee;
}

.btn-pausa-out {
    background-color: #ff9100;
}

.btn-pausa-out:hover {
    background-color: #a86603;
}

.timbratura-button.disabled{
    cursor:auto;
    background-color: #aaa9a8;
}

.btn-annulla{
    width: 70px;
    height: 70px;
    font-size: 11px;
    background-color: #fa2e0a;
}

#calendar-container {
    /*width: 50%;*/
    margin: 10px auto;
    text-align: center;
    
}

#calendar-container table {
    width: 100%;
    border-collapse: collapse;
}

#calendar-container th,
#calendar-container td {
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
}

#calendar-container th {
    background-color: #f0f0f0;
}

 #calendar-container .holiday {
    background-color: #E2E3E5;
}

@media (min-width: 997px) {
    #calendar-container {
        display: none;
    }
    .rapp-mobile-view {
        display: none;
    }
    .yes-mobile-view {
        display: none !important;
    }
}
@media (max-width: 996px) {
    .col-lista-dektop{
        display: none;
    }
    .timbratura-button {
        width: 100px;
        height: 100px;
        font-size: 15px;
    }
    .no-mobile-view {
        display: none !important;
    }
}

.drop-area {
    /*width: 300px;
    height: 200px;*/
    border: 2px dashed #ccc;
    text-align: center;
    line-height: 200px;
    font-size: 16px;
    color: #aaa;
    margin: 20px;
}

.drop-area.dragover {
    border-color: #000;
    background-color: #f1f1f1;
    color: #000;
}

.text-justify {
    text-align: justify; 
    text-justify: inter-word;
}
.table-container {
    max-height: calc(100vh - 230px);
    /* Altezza massima dell'area scrollabile */
    overflow-y: auto;
    /* Abilita lo scroll verticale */
}

.table-container thead th {
    position: sticky;
    top: 0;
    z-index: 1020;
    /* Assicura che l'intestazione rimanga sopra il contenuto */
    background-color: #343a40;
    /* Colore di sfondo uguale a .table-dark */
    color: white;
    /* Colore del testo */
}
.modal-fullscreen .modal-dialog {
    width: 100vw !important;
    height: 100vh;
    margin: 0;
    padding: 0;
}

.modal-fullscreen .modal-content {
    width: 100% !important;
    height: 100%;
    border: none;
    border-radius: 0;
}

.modal-fullscreen {
    --bs-modal-width: 100%;
    padding: 0;
}
.custom-action-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100px;
    height: 100px;
    background-color: #f5f5f5;
    border: 2px solid #ccc;
    border-radius: 12px;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.custom-action-tile i {
    font-size: 24px;
    margin-bottom: 8px;
}

.custom-action-tile:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
    color: #000;
    border-color: #999;
}

.custom-actions-container {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tile-green {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.tile-success {
    background-color: #d4edda;
    border-color: #ffc107;
    color: #155724;
}

.tile-yellow {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

.tile-orange {
    background-color: rgb(248, 170, 52);
    border-color: rgb(255, 7, 7);
    color: #856404;
}

.tile-warning {
    background-color: rgb(248, 170, 52);
    border-color: rgb(255, 7, 7);
    color: #FF0000;
}

.tile-danger {
    background-color: rgb(248, 52, 52);
    border-color: rgb(255, 197, 7);
    color: #FFFFFF;
}

.tile-blue {
    background-color: #cce5ff;
    border-color: #007bff;
    color: #004085;
}

@media (max-width: 768px) {
    .custom-action-tile {
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: flex-start;
        gap: 10px;
        padding: 10px;
    }

    .custom-action-tile i {
        margin: 0;
    }
}

.filter-badge {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 5px 10px;
    margin: 3px;
    border-radius: 15px;
    font-size: 13px;
}

.filter-badge .remove-filter {
    margin-left: 8px;
    cursor: pointer;
}

.autocomplete-list {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 1050;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}


.autocomplete-item {
    padding: 8px 10px;
    cursor: pointer;
}

.autocomplete-item:hover {
    background-color: #f0f0f0;
}

.autocomplete-item.text-muted {
    color: #6c757d;
    /* grigio bootstrap */
}

@keyframes pulseAnimation {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulseAnimation 1s infinite;
}


@media (max-width: 768px) {
    .autocomplete-list {
        max-height: 150px;
    }
}

/* Toast warning personalizzato */
.toast.text-bg-warning {
    background-color: #fff3cd !important;
    /* giallo chiaro */
    color: #664d03 !important;
    /* testo marrone scuro */
    border-left: 6px solid #ffc107;
    /* bordo giallo vivo */
}

.toast.text-bg-warning .btn-close {
    filter: invert(30%) sepia(80%) saturate(400%) hue-rotate(10deg);
}