:root{
    --primary-color: #007BFF;
}
.thumbs-cafi {
    background: var(--primary-color);
    padding-top: 14px;
    border-radius: 100%;
    color: #fff;
    font-size: 0.9em;
    text-align: center;
    width: 40px;
    height: 40px;
}
a {
    color: var(--primary-color);
    text-decoratoin: none;
}
.text-cafi{
    color: var(--primary-color);
}
.bg-cafi{
    background: var(--primary-color);
    color: #fff;
}
.bg-cafi-50{
    background: rgba(239, 142, 1, 0.25);
}
.btn.btn-cafi-blue {background: var(--primary-color); border-color: var(--primary-color); color: #ffffff}
.btn.btn-cafi-blue:hover, .btn.btn-cafi-blue:focus {background: #ffffff; border-color: var(--primary-color); color: var(--primary-color)}
.hide{
    display: none;
}
.show{
    display: block;
}
.title-bc{
    position: fixed;
    top: 65px;
    left: 254px;
    width: 90%;
    padding: 20px 2rem;
    background: #f5f7fa;
    z-index: 2;
}
.content{
    padding-top: 200px;
}
.end-5 {
    right: 5%!important;
}
.end-10 {
    right: 10%!important;
}
.bottom-10 {
    bottom: 10%!important;
}
label.form-label.required:after {
    content: ' *';
    color: red;
    font-size: 1.3em;
}
.page-link.active, .active>.page-link {
    color: var(--primary-color);
    background-color: transparent;
    border: 1px solid var(--primary-color);
}
.page-link:hover {
    color: var(--primary-color);
}
.setting-toggle {
    top: auto;
    bottom: 150px;
}
.setting-toggle-2 {
    right: -20px;
    top: auto;
    bottom: 300px;
}
.w-10 {
    width: 10% !important;
}
.w-15 {
    width: 15% !important;
}
#settings-offcanvas{
    overflow-y: auto;
}
.opacity-primario{
    position: absolute;
    top: 23px;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
}
#btn-delete{
    position: absolute;
    top: 20px;
    left: 5px;
    background: red;
    color: white;
    padding: 4px 5px;
    border-radius: 100%;
    line-height: 1;
    font-size: 10px;
    cursor: pointer;
}
#operazione-riuscita{
    padding-right: 60px !important;
}
.end-0{
    padding-right:0px!important;
}
.form-message{
    font-size: 0.75em;
    line-height: 1;
    padding-top: 5px;
}
.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link.active,
.navbar-vertical .nav-item-wrapper:has(.active) .dropdown-indicator.label-1.collapsed .nav-link-text,
.navbar-vertical .nav-item-wrapper:has(.active) .dropdown-indicator.label-1.collapsed .nav-link-icon {
    color: var(--primary-color);
}
.utenti_f3565d{
    color:#f3565d!important;
}
.utenti_bbb{
    color:#bbb!important;
}
.choices .choices__list {
    z-index: 2;
}

.text-blue{
    color: #0000ff !important;
}
.background-modal{
    background: rgba(0, 0, 0, 0.5);
}

.filemanager-icon{
    color: #525b75 !important;
}
.filemanager-icon:hover{
    color: var(--primary-color) !important;
}

.ticket-close{
    color: #ddd !important;
}
.tickets-number {
    position: absolute;
    top: 10px;
    right: 0;
}

/* Stile del loader che copre tutta la pagina */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Sfondo semitrasparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Assicurati che il loader sia sopra tutto */
    visibility: hidden; /* Di default nascosto */
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
}

/* Spinner semplice */
.spinner {
    border: 8px solid #f3f3f3; /* Bordo esterno chiaro */
    border-top: 8px solid var(--primary-color); /* Bordo superiore colorato */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite; /* Animazione rotatoria */
}

/* Animazione dello spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Mostra il loader */
.loader.active {
    visibility: visible;
    opacity: 1;
}
.tox .tox-tbtn {
    width: auto !important;
    max-width: 70px;
}
.ticket-collapse img{
    max-width: 100%;
}
.in-verifica {
    color: #c7c7c7 !important;
}

.table-sm>:not(caption)>*>* {
    padding: .4rem .4rem;
}
.remove-btn {
    position: absolute;
    right: 3px;
    top: 3px;
    width: auto;
    background: var(--primary-color);
    padding: 4px;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 5px;
    line-height: 1;
    cursor: pointer;
    color: #fff;
}

#tableExample a.clicked {
    color: purple !important;
}

.course-card{
    border: 0px;
    /* background-color: #EBF4FF ; */
    border-radius: 10px;
    padding: 10px;
    box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
}

.bg-warning-lighter {
    background-color: rgb(255 245 225) !important;
}

.bg-success-lighter {
    background-color: rgba(235 255 230) !important;
}
