
body[data-layout=horizontal] .page-content {
    padding-bottom: 0 !important;
}

.main-content .container-fluid {
    height: calc(100vh - 190px) !important;
}

[x-cloak] {
    display: none !important;
}

.highlight {
    background-color: yellow;
}

/*Day Selector CSS*/


.event-box {
    display: flex;
    flex-grow: 1;
    margin-top: 20px;
}

.event-title {
    color: white;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 32px;
    line-height: 32px;
}

.event-subtitle {
    color: white;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    padding: 0;
}


.day-header {
    display: flex;
    background-color: #7697ff;
    padding: 4px;
    border-radius: 6px;
    align-items: center;
    position: relative;
}

.day-header-content {
    cursor: pointer;
}

.day-header-text {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    margin-left: 10px;
    margin-top: 4px;
}

.day-icon {
    margin-left: 8px;
    color: #fff;
    font-size: 1.2rem;
}

.day-dropdown {
    border: 1px solid #ddd;
    max-height: 300px;
    overflow-y: auto;
    top: 100%;
    left: 0;
    min-width: 260px;
    z-index: 1000;
}

.day-item {
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    color: #333;
}

.day-item:hover {
    background-color: #f1f1f1;
}

.day-item.selected {
    background-color: #007bff;
    color: white;
    font-weight: 500;
}


/*Program Page*/

body[data-layout=horizontal] .page-content {
    padding-bottom: 0 !important;
}

.main-content .container-fluid {
    height: calc(100vh - 190px) !important;
}


.program-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.header-time {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    padding: 2px 8px;
    color: #333;
    background: #9fb5fb;
    border-radius: 4px;
    margin-bottom: 4px;
}


.sessions-container {
    flex: 1 1 auto;
    overflow-y: auto;
    margin-top: 10px
}

.hour-sessions-container {
    margin-bottom: 10px;
}


.spinner {
    margin-top: -2px;
    margin-left: 4px;
    animation: rotate 1s linear infinite;

}

.path {
    stroke: #999;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}


/*Session Card CSS*/

.session-card {
    display: flex;
    flex-shrink: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
}

.session-bar {
    width: 8px;
    min-width: 8px;
    max-width: 8px;
    background-color: #007bff; /* oppure dinamico */
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.session-data {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    font-family: "Roboto", sans-serif;
    padding: 8px;
    user-select: none;
}

.session-info {
    cursor: pointer;
}


.session-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.session-room-time {
    color: #5a84ff;
    font-size: 14px;
}

.session-chairs {
    /*margin-top: 4px;*/
    color: #777;
    font-size: 14px;
    line-height: 1.3;
}

.session-speeches-count {
    color: #777;
    font-size: 14px;
    margin-top: 2px;
}

.session-no-speeches {
    color: #F77;
    font-size: 14px;
    margin-top: 2px;
}

.session-speeches-separator {
    border-top: 2px solid #ccc;
    margin-top: 4px;

}

.session-speeches-container {
    padding-top: 6px;
}

.session-loading {
    margin-top: 2px;
    color: #777;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/*Speech Card CSS*/

.speech-container {
    display: flex;
    flex-direction: row;
    background: #d2d9fd;
    border-radius: 4px;
    margin: 0 4px 4px 4px;
    align-items: center;
}

.speech-avatar {
    padding: 8px;
}

.speech-avatar-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.speech-avatar-initials {

    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    user-select: none;
    flex-shrink: 0;
    color: #333;
    background: #bcbcbc;
}

.speech-info {
    padding: 8px 8px 8px 4px;
    display: flex;
    flex-direction: column;
}

.speech-title {

    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;

}

.speech-speakers {
    color: #555;
    font-size: 13px;
    line-height: 1.2;
    margin-top: 2px;
}

.btn-play-tiny {
    margin: 4px 0 0 0;

    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    line-height: 1;
    border-radius: 4px;
    background-color: #0d6efd;
    border: none;
    width: 60px;

}

.btn-play-tiny:hover,
.btn-play-tiny:focus,
.btn-play-tiny:active {
    background-color: #0d6efd;
    color: white;
    box-shadow: none;
    text-decoration: none;
}


/* Tablet: da 768px in su */
@media (max-width: 984px) {

    .main-content .container-fluid {
        height: calc(100dvh - 100px) !important;
    }


    .program-container {
        margin-top: -15px;

    }

    .day-header-text {

        font-size: 16px;

    }

    .header-time {
        font-size: 14px;
    }

    .session-title {
        font-size: 14px;
    }

    .session-room-time {
        font-size: 12px;
    }

    .session-chairs {
        font-size: 11px;
    }

    .session-speeches-count {
        font-size: 12px;
    }

    .session-loading {
        font-size: 12px;
    }

    .speech-avatar-img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        object-fit: cover;
    }

    .speech-title {
        font-size: 13px;

    }

    .speech-speakers {
        font-size: 12px;
    }

    .event-box {
        margin-top: 4px;
    }

    .event-title {
        font-size: 20px;
        line-height: 20px;
    }

    .event-subtitle {
        font-weight: 400;
        font-size: 10px;
    }


}


/*Glance Page*/


.glance-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/*.days-selector {*/
/*    flex: 0 0 auto;*/
/*    background: #f1f1f1;*/
/*    border-bottom: 1px solid #ccc;*/
/*    padding: 1rem;*/
/*    overflow-x: auto;*/
/*}*/

/*.day-button {*/
/*    padding: 0.5rem 1rem;*/
/*    border-radius: 8px;*/
/*    border: 1px solid #ccc;*/
/*    cursor: pointer;*/
/*    user-select: none;*/
/*}*/

/*.header-time {*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 10;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    font-weight: 600;*/
/*    font-size: 16px;*/
/*    padding: 2px 8px;*/
/*    color: #333;*/
/*    background: #9fb5fb;*/
/*    border-radius: 4px;*/
/*    margin-bottom: 4px;*/
/*}*/


.glance-sessions-container {
    flex: 1 1 auto;
    overflow-y: auto;
    margin-top: 10px

}


/*.session-card {*/
/*    font-family: "Roboto", sans-serif;*/
/*    margin-bottom: 5px;*/
/*    padding: 8px;*/
/*    border: 1px solid #ddd;*/
/*    border-radius: 8px;*/
/*    background-color: #fff;*/
/*    user-select: none;*/
/*}*/

/*.session-info {*/
/*    cursor: pointer;*/
/*}*/

.grid-sinottico {
    display: grid;
    grid-auto-rows: auto;
    gap: 0 2px;
    background-color: #eee;
}

.cell {
    padding: 4px;
    font-size: 0.8rem;
    background-color: white;
    overflow: hidden;
    word-break: break-word;
}


.cell.sala {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    position: sticky;
    color: #fff;
    top: 0;
    z-index: 10;

    border-bottom: 1px solid #777;
}

.col-bg {
    z-index: 1;
}


.cell {
    z-index: 2; /* assicura che le celle sessione siano sopra */
}


.cell.sessione {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    padding: 4px;
    margin: 4px;
    cursor: pointer;
}

.cell-session-header,
.cell-session-footer {
    font-family: "Roboto", sans-serif;
    font-size: 10px;
    font-weight: 800;
    color: #999;
}

.cell-session-body {
    flex: 1;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    padding: 4px;

}

.cell-session-title {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    line-height: 1.1;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* numero massimo di righe */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/*!* Tablet: da 768px in su *!*/
/*@media (max-width: 984px) {*/

/*    .main-content .container-fluid {*/
/*        height: calc(100dvh - 100px) !important;*/
/*    }*/

/*    .program-container {*/
/*        margin-top: -15px;*/

/*    }*/

/*    .grid-sinottico {*/
/*    !*{{--grid-template-columns: repeat(({{ count($rooms) }}, minmax(40px, 1fr)) !important;--}}*!*/


/*    }*/


/*    .day-header-text {*/

/*        font-size: 16px;*/

/*    }*/

/*    .header-time {*/
/*        font-size: 14px;*/
/*    }*/


/*    .cell.sala {*/

/*        font-size: 10px;*/

/*    }*/

/*    .cell.sessione {*/

/*        max-height: 100px;*/

/*    }*/

/*    .session-title {*/
/*        font-size: 11px;*/

/*        display: -webkit-box;*/
/*        -webkit-line-clamp: 4; !* numero massimo di righe *!*/
/*        -webkit-box-orient: vertical;*/
/*        overflow: hidden;*/
/*        text-overflow: ellipsis;*/

/*    }*/


/*}*/


/*Speakers Chair CSS*/

.speakers-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.speakers-chairs-container {
    flex: 1 1 auto;
    overflow-y: auto;
    margin-top: 10px
}

.speakers-initial {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    padding: 2px 8px;
    color: #333;
    background: #9fb5fb;
    border-radius: 4px;
    margin-bottom: 4px;
}

.person-block-wrapper {

    background: #d2d9fd;
    border-radius: 4px;
    margin: 4px 0;
    padding: 10px 10px;
}

.person-container {
    display: flex;
    flex-direction: row;

    align-items: center;
    cursor: pointer;
}


.speakers-name {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #444;
    margin-top: 4px;
}

.speakers-summary {
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    color: #555;
    margin-top: -2px;
}


.person-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #d6d6d6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.person-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.person-initials-avatar {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.person-initials-text {
    font-size: 16px;
}

.speakers-speaker-detail-header {
    background-color: #007bff;
    margin: 18px 0 4px 0;
    color: white;
    padding: 4px 12px;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 16px;
    border-radius: 4px;
}

/*Search CSS*/
.search-results-container
{
    flex: 1 1 auto;
    overflow-y: auto;
    margin-top: 10px
}

.search-input
{
    font-family: "Roboto", sans-serif;
    font-size: 16px;

}

.search-header {
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 20px;
}


.search-helper {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    margin-bottom:8px;
}


/* Tablet: da 768px in su */
@media (max-width: 984px) {

    .person-avatar {
        width: 42px;
        height: 42px;
    }

    .speakers-name {
        font-size: 14px;
    }

    .speakers-summary {
        font-size: 12px;
    }
    .speakers-speaker-detail-header {
        font-size: 12px;

    }

    .search-header {
        font-size: 18px;
    }

    .search-helper {
        font-size: 11px;
    }
}


/*Dashboard CSS*/

.dashboard-session-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.session-room-time {
    color: #7c7c7c;
    font-size: 13px;
}

.dashboard-session-total
{

    font-family: "Roboto", sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin:10px 20px 10px 10px;
}

.dashboard-header
{
    background-color: #dbe4ff;
    padding: 8px 10px;

}

.dashboard-title
{
    color: #3c6aff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.dashboard-description
{
    color: #3c6aff;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

/* Tablet: da 768px in su */
@media (max-width: 984px) {

    .dashboard-session-title {
        font-size: 12px;
    }

    .session-room-time {
        font-size: 11px;
    }

    .dashboard-session-total
    {
        font-size: 16px;
    }

    .dashboard-title
    {
        font-size: 16px;

    }

    .dashboard-description
    {

        font-size: 12px;

    }

}



/*Common CSS*/

.exec-time {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    color: #666;
    margin: 6px 0;
}


.room-color-1 {
    background-color: #2975b6;
}

.room-color-2 {
    background-color: #ae791a;
}

.room-color-3 {
    background-color: #ae791a;
}


.room-color-4 {
    background-color: #ff9b06;
}

.room-color-5 {
    background-color: #FF8D05;
}

.room-color-6 {
    background-color: #FF7F04;
}

.room-color-7 {
    background-color: #FF7103;
}

.room-color-8 {
    background-color: #FF6302;
}

.room-color-9 {
    background-color: #FF5501;
}

.room-color-10 {
    background-color: #FF4700;
}

.room-color-11 {
    background-color: #FF6000;
}

.room-color-12 {
    background-color: #9681a7;
}

.room-color-13 {
    background-color: #c07caa;
}

.room-color-14 {
    background-color: #5c90c4;
}

.room-color-15 {
    background-color: #9eab84;
}

.room-color-16 {
    background-color: #c48c6e;
}

.room-color-dim-1 {
    background-color: rgba(41, 117, 182, 0.2);
}

/* #2975b6 */
.room-color-dim-2 {
    background-color: rgba(174, 121, 26, 0.2);
}

/* #ae791a */
.room-color-dim-3 {
    background-color: rgba(174, 121, 26, 0.2);
}

/* #ae791a */
.room-color-dim-4 {
    background-color: rgba(255, 155, 6, 0.2);
}

/* #ff9b06 */
.room-color-dim-5 {
    background-color: rgba(255, 141, 5, 0.2);
}

/* #FF8D05 */
.room-color-dim-6 {
    background-color: rgba(255, 127, 4, 0.2);
}

/* #FF7F04 */
.room-color-dim-7 {
    background-color: rgba(255, 113, 3, 0.2);
}

/* #FF7103 */
.room-color-dim-8 {
    background-color: rgba(255, 99, 2, 0.2);
}

/* #FF6302 */
.room-color-dim-9 {
    background-color: rgba(255, 85, 1, 0.2);
}

/* #FF5501 */
.room-color-dim-10 {
    background-color: rgba(255, 71, 0, 0.2);
}

/* #FF4700 */
.room-color-dim-11 {
    background-color: rgba(255, 96, 0, 0.2);
}

/* #FF6000 */
.room-color-dim-12 {
    background-color: rgba(150, 129, 167, 0.2);
}

/* #9681a7 */
.room-color-dim-13 {
    background-color: rgba(192, 124, 170, 0.2);
}

/* #c07caa */
.room-color-dim-14 {
    background-color: rgba(92, 144, 196, 0.2);
}

/* #5c90c4 */
.room-color-dim-15 {
    background-color: rgba(158, 171, 132, 0.2);
}

/* #9eab84 */
.room-color-dim-16 {
    background-color: rgba(196, 140, 110, 0.2);
}

/* #c48c6e */
