﻿
.feather {
    width: 16px;
    height: 16px;
}

body {
    background-color: #FFFFFC;
}
/*
 * Sidebar
 */
.sidebar {
    position: fixed;
    top: 0;
    color: white !important;
    background: #2f3c48 !important;
    /* rtl:raw:
  right: 0;
  */
    bottom: 0;
    /* rtl:remove */
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 48px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
    .sidebar {
        top: 5rem;
    }
}

.sidebar-sticky {
    height: calc(100vh - 48px);
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
    font-weight: 500;
    color: white;
}

    .sidebar .nav-link .feather {
        margin-right: 4px;
        color: #727272;
    }

    .sidebar .nav-link.active {
        color: #2470dc;
    }

        .sidebar .nav-link:hover .feather,
        .sidebar .nav-link.active .feather {
            color: inherit;
        }

.sidebar-heading {
    font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}
tyle >
.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 {
    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;
}


/*.table-custom {
    background-color: white;
    color: #2f3c48;
    border: 1px solid #2f3c48;
}

.table-custom th {
    background-color: #dd3333 !IMPORTANT;
    color:white !important;
    border: 1px solid #2f3c48;
}

.table-custom td {
    border: 1px solid #2f3c48;
}

.table-custom thead th {
    border-bottom: 2px solid #2f3c48;
}

.table-custom tbody tr:hover {
    background-color: #d4d9de;
}

table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:after, table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before {
    opacity: 0.5 !important;
}*/

.dl-custom {
    background-color: white;
    color: #2f3c48;
    padding: 20px;
    border-radius: 8px;
}

.dl-custom dt {
    font-weight: bold;
    margin-top: 10px;
}

.dl-custom dd {
    margin-left: 0;
    margin-bottom: 10px;
}

.multi-select-container {
    max-width: 400px;
    margin: 50px auto;
}

.multi-select-dropdown {
    width: 100%;
}

.multi-select-dropdown .dropdown-menu {
    width: 100%;
}

.multi-select-dropdown .dropdown-item.active {
    background-color: #dd3333;
    color: whitesmoke;
}

.multi-select-dropdown .dropdown-item:hover {
    background-color: #dd3333;
    color: whitesmoke;
}

.multi-select-dropdown .dropdown-toggle::after {
    margin-left: 0.5rem;
}

.multi-select-selected {
    display: inline-block;
    margin-right: 5px;
    background-color: #dd3333;
    color: whitesmoke;
    padding: 2px 10px;
    border-radius: 20px;
}

.multi-select-selected .remove {
    margin-left: 10px;
    cursor: pointer;
}

.form-signin {
    max-width: 330px;
    padding: 15px;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}



.fc .fc-button-primary {
    background-color: #2f3c48;
    border-color: #2f3c48;
}

.fc .fc-button-primary:hover {
    background-color: #2f3c48;
    border-color: #2f3c48;
}

.fc .fc-event {
    /*background-color: #dd3333;
    border-color: #dd3333;*/
}

.fc-v-event {
    background: none !important;
    border: none !important;
}


.fc .fc-daygrid-day.fc-day-today {
    background-color: #2f3c48;
    color: white;
}



.fc .fc-timegrid-slot {
    font-size: 14px;
}

.layout {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}


/* Stepper Navigation */
/* Stepper Navigation */
.stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    list-style-type: none;
    padding: 0;
}

.step {
    position: relative;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

    .step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -50%;
        transform: translateY(-50%);
        height: 2px;
        width: 100%;
        background-color: #ddd;
        z-index: -1;
    }

    .step.completed:not(:last-child)::after, .step.active:not(:last-child)::after {
        background-color: #007bff;
    }

    .step:first-child::before {
        display: none;
    }

    .step.completed .step-icon, .step.active .step-icon {
        background-color: #007bff;
        color: #fff;
    }

    .step .step-icon {
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        border-radius: 50%;
        background-color: #ddd;
        color: #fff;
        font-weight: bold;
        position: relative;
        z-index: 1;
    }

/* Stepper Content */
.step-layout {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.table-striped > tbody > tr:nth-child(odd) > * {
    background-color: #f0f0f5; /* Colore di sfondo per le righe dispari */
    color: #333; /* Colore del testo per le righe dispari */
}

.table-striped > tbody > tr:nth-child(even) > * {
    background-color: white; /* Colore di sfondo per le righe pari */
    color: #333; /* Colore del testo per le righe pari */
}


#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Utilizzo di Flexbox */
    align-items: center; /* Allineamento verticale */
    justify-content: center; /* Allineamento orizzontale */
    z-index: 9999;
}
/* Spinner */
.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.4em solid #fff;
    border-top: 0.4em solid #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
/* Animazione dello spinner */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media (max-width: 768px) { /* Adjust based on your mobile breakpoint */


    .offcanvas.full-screen-mobile {
        width: 100% !important;
        max-width: 100% !important;
        height: 100vh;
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before {
        content: "\▶ ⋯" !important; /* Unicode for down arrow */
        border: none !important;
        font-size: 1em;
        color: #212529 !important; /* Desired color for icon */
    }

    table.dataTable.dtr-inline.collapsed > tbody > tr.dtr-expanded > td.dtr-control:before {
        content: "\▼ ⋯" !important; /* Unicode for down arrow */
        border: none !important;
        font-size: 1em;
        color: #212529 !important; /* Desired color for icon */
    }
}

.multi-select-container .dropdown-menu {
    max-height: 200px; /* Set the maximum height */
    overflow-y: auto; /* Add scrollbar if content exceeds max-height */
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    list-style: none;
}

#calendar {
    height: 100vh; /* Full viewport height */
}

/* Optional: Adjust font sizes for better readability */
.fc-timeGrid-event {
    font-size: 0.85em;
}

.fc-col-header-cell {
    font-size: 1em;
}

.agenda-container {
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevent vertical scrolling */
}