
.webexpo-sessions-app {
    position: relative;
}

.webexpo-sessions-inner {
    position: relative;
}

/* Make charts container fill available space and center them */
.charts-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    /*flex-wrap: wrap;*/
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    position: relative;
}

/* Canvas styling */
.charts-container canvas {
    flex: 1 1 300px;
    width: 100% !important;
    height: auto !important;
    background-color: var(--webx-system);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    
}

/* Filter bar at the top */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.filters label {
    margin-right: 0.25rem;
    font-weight: 600;
    color: #ccc;
}

.filters select {
    background-color: #2c2c2c;
    color: #fff;
    border: 1px solid #555;
    border-radius: 4px;
    padding: 4px 8px;
}




/* --- FLOATING PANELS --- */


.webexpo-sessions-app.ratio_1.focus_on_tags .charts-container .chart-container {
    margin-top: 2em;
}

.ratio_1 .floating-breakout-container {
    aspect-ratio: 1;
    margin: 0;
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 12em 8em 8em;
    
    img.avatar {
        padding: 0 !important;
        min-width: 70px;
        min-height: 70px;

    }



}

.ratio_1 .line-skill {
    max-width: 350px;
}

.ratio_1 .line-0 {
    font-size: 30px;
    margin-top: -0.7em !important;
    margin-left: -0.7em !important;
}

.ratio_16_9 .floating-breakout-container {
    aspect-ratio: 16/9;
}

.floating-breakout-container {
    position: absolute;
    width: 100%;
    left: 0px;
    gap: 10em;
    top: 0;
    display: flex;
    align-items: center;
    padding-bottom: 100px;
    justify-content: space-evenly;
    pointer-events: none;
}

.floating-breakout-container.count-2 {
    display: flex;
    justify-content: space-between;
    padding-right: 6em;
    padding-left: 6em;
}

.hovered-summary {
    position: absolute;
    top: 370px;
    left: 260px;
}

/* Each panel is absolutely positioned. */
.floating-session-panel {
    position: relative;
    width: 265px;
    background-color: var(--webx-section-bg);
    color: var(--webx-system-contrast);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease-out;
    z-index: 999;
    height: fit-content;
    pointer-events: all;
    margin-top: -5em;
    
    /* ensure it's above the charts */
}

.count-3 .floating-session-panel:nth-of-type(1){
    margin-top: 27%;
}
.count-3 .floating-session-panel:nth-of-type(3) {
    margin-top: 17%;
}

.count-2 .floating-session-panel:nth-of-type(1){
    margin-top: 27%;
}
.count-2 .floating-session-panel:nth-of-type(2) {
    margin-top: 17%;
}


.talk-title {
    font-size: 1.4em;
    font-family: 'Oxanium';
}

.talk-by {
    font-size: 1.2em;
    font-family: 'Oxanium';
}

.tags-list {
/*    display: flex;
    align-items: flex-end; */
}

.tags-list ul {}

.tags-list li {
    margin-left: 0 !important;
    background-color: var(--webx-brand-1-100);
    color: var(--webx-system);
    font-size: 0.8em;
    display: inline-block;
    padding: 0 1em 0 .5em;
    margin-right: .5em;
    clip-path: polygon(0 0, calc(100% - 0.5em) 0, 100% 50%, calc(100% - 0.5em) 100%, 0 100%)
}

.avatar-title-row img {
    float: left;
    margin-top: 5px;
    width: 50px;
    height: 50px; 
    margin-right:5px;

    

}



/* Example styling for the panel header/body */
.panel-header {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.panel-body {
    font-size: 0.9rem;
    padding-top:.5em !important;
}

/* Carousel ring (example styling) */
.carousel-ring {
    z-index: 999;
}

.carousel-inner {
    min-width: 200px;
    min-height: 100px;
    background: #333;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.carousel-slide {
    margin-bottom: 1rem;
}


th.title {
    width: 50%;
}

th.skills {
    width: 40%;
}

th {
    text-align: left;
}

td.skills {
    display: flex;
    flex-wrap: wrap;
}

td.skills span {
    background-color: darkslategrey;
    border-radius: 5px;
    margin: 2px;
    padding: 2px 4px;
}

.entry-content tbody tr:last-child td {
    /* need to reset existing styles */
    text-align: left !important;
    font-weight: normal !important;
}

.chart-overlay {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    position: absolute;
    z-index: 100;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 2em 1em;
    /* need to allow for the mouse events to pass through */

    /* debugging - to do - use this in production */
    /* 
    pointer-events: none; 
    */

}






.chart-overlay .main-summary {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5em 0.5em 0em 0.5em;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.chart-overlay .hover-summary {
    font-size: 1.2em;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5em 1em;
    border-radius: 4px;
    margin-top: 0.25em;
    height: auto;
}




.session-type {
    margin-left: 0 !important;

    color: var(--webexpo-DM-system);
    font-size: 20px;
    display: inline-block;
    padding: 0 1em 0 .5em;
    margin-right: .5em;
    clip-path: polygon(0 0, calc(100% - 0.5em) 0, 100% 50%, calc(100% - 0.5em) 100%, 0 100%);
    clear: both;
    font-family: 'Oxanium';
}

.main-summary,
.multi-focus-summary {


    .session-count {
        text-align: center;
        font-weight: bold;
        font-size: 5em;
        font-family: Ladislav-Bold;
        line-height: 90px;
        margin-left: 50px;
        /* clear: both; */
    }

    .session-copy-1 {
        font-family: cursive;
        font-style: italic;
        font-size: 40px;
        margin-left: -8%;
        margin-top: -24px;
        /* left: 43px; */
        /* position: relative; */
        /* bottom: 8px; */
    }

    .session-count:after {

        display: block;
        font-family: 'Oxanium';
        font-size: 26px;
        rotate: 270deg;
        float: right;
        margin-left: 0px;
        line-height: 0px;
        top: 50px;
        position: relative;
    }

    .session-copy-2 {
        font-family: Ladislav-Bold;
        font-size: 2.5em;
        display: flex;
        flex-direction: column;
        line-height: 53px;
    }

    .session-copy-2:after {
        font-size: 1.8em;

        clear: both;
    }

    .session-copy-0 {
        rotate: -90deg;
        font-size: 24px;
        margin-left: -37px;
        margin-top: 20px;
        line-height: 0;
        padding: 0;
        font-family: 'oxanium';
    }

    .line-1 {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
        width: 100%;
        justify-content: center;

    }

    .line-3 {
        font-family: Ladislav-Bold;
        display: flex;
        font-size: 50px;
        flex-direction: column;
        align-items: center;
        line-height: 36px;
        margin-top: -13px;
        width: 100%;

    }

    .session-copy-year {
        font-size: 25px;
        margin-left: 28px;
        margin-top: -5px;
    }

    .session-copy-3 {
        font-family: cursive;
        rotate: -90deg;
        margin-right: -20px;
        font-size: 20px;
        margin-top: 18px;
    }

    .line-4 {
        display: flex;
        align-items: center;
        flex-direction: row;
        width: 100%;
        justify-content: center;
    }

    .session-copy-duration {
        font-size: 80px;
        font-family: Ladislav-Bold;
        line-height: 70px;
    }

    .line-2 {
        display: flex;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .session-copy-4 {
        font-family: 'Oxanium';
        text-align: center;
        width: 100%;
        margin-top: -10px;
        padding-bottom: 10px;
        font-size: 32px;
    }
}


.hover-summary.skill-summary {
    height: fit-content;
    padding-bottom: 2.5em;
    ;

    .line-0 {
        font-family: 'Oxanium';
        line-height: 1;
        padding: 0.3em;
        background-color: var(--webexpo-DM-brand-1-50);
        width: fit-content;
        color: black;
        position: relative;
        z-index: 100;
        margin-left: -1em;
        margin-top: -1em;
        font-size: 2em;
        display: none;
    }

    .line-skill {
        font-family: Ladislav-Bold;
        font-size: 60px;
        text-align: center;
        line-height: 60px;
        padding: 5px 10px 15px;
        background-color: var(--glow-color);
        position: relative;
        z-index: 10;
        max-width: 400px;
        /*margin-top: -10px;*/
    }

    .line-1 {
        font-family: cursive;
        line-height: 10px;
        rotate: 0deg;
        text-align: center;
        padding-top: 10px;
        margin-left: 70px;
    }

    .line-2 {
        font-family: Ladislav-BOld;
        font-size: 70px;
        text-align: center;
        line-height: 70px;
        padding-left: .25em;
        padding-right: .25em;
    }

    .single-row {
        display: flex;
        justify-content: center;
        width: 100%;
        align-items: center;

        margin-top: 10px;
    }

    .line-3 {
        font-family: cursive;
        float: left;
    }

    .line-quant {
        font-family: Ladislav-bold;
        font-size: 110px;
        line-height: 40px;
        float: left;
    }

    .line-4 {
        text-align: left;
        font-size: 30px;
        font-family: 'Oxanium';
        font-weight: bold;

    }

    .line-5 {
        display: none;
    }
}

.custom_small.wp-block-webexpo-blocks-button.is-style-button-outline.size_xsmall {
    padding: 5px 10px;
}

.custom_small.wp-block-webexpo-blocks-button.is-style-button-outline.size_xsmall a::before {
    padding-right: 5px;
}

.custom_small {
    display: none;
}


.chart-container {
    position: relative;
}

.chart-container:before {
    content: ",";
    font-family: "webexpo24";
    font-size: 760px;
    color: var(--glow-color-blue);
    position: fixed;
    left: 10%;
    width: 100%;
    rotate: 284deg;
    opacity: 0.03;
    text-align: center;
    top: 0%;
    scale: 5;
    pointer-events: none;
}

.chart-container .tags {}

.multi-focus-summary {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--webx-void-100);
    padding: 1em;
    border-radius: 4px;
    margin-bottom: 1em;
    transform-origin: top left;
}


.skill-summary {
    transform-origin: top right;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--webx-void-100);
    /*padding: 1em;*/
    border-radius: 4px;
    margin-bottom: 1em;
}



.chart-overlay {
    margin-top: 60px;
    display: flex;
    justify-content: flex-end;
}




.sessions-badge {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.sessions-badge .session-number {
    text-align: center;
    font-weight: bold;
    font-size: 150px;
    font-family: Ladislav-Bold;
    line-height: 100px;
    margin-left: 50px;
}

.sessions-badge .session-label {

    rotate: -90deg;
    font-size: 30px;
    margin-left: -50px;
    top: 10px;
    position: relative;
    padding: 0;
    font-family: 'oxanium';

}

.equals {
    text-align: center;
    font-size: 80px;
    font-family: Ladislav-Bold;
    line-height: 0.75;
}

.sessions-hours {
    text-align: center;
    font-family: Ladislav-Bold;
    font-weight: bold;
    font-size: 100px;
    line-height: 70px;

}

.of-what {
    text-align: center;
    font-family: 'Oxanium';
    font-size: 30px;
    font-style: italic;
}

.flex.col.flex-col.gap-2 {
    margin-bottom: 1em;
}



.slider-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

input[type="range"] {
    width: 100px;
    appearance: none;
    height: 4px;
    /* background: linear-gradient(90deg, var(--webexpo-DM-brand-1-100), var(--glow-color)); */
    background: linear-gradient(90deg, var(--webx-brand-1-0), var(--webx-brand-1-100));
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    height: 12px;
    width: 12px;
    background: #fff;
    border: 2px solid #10b981;
    border-radius: 50%;
    cursor: pointer;
}

.slider-value {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #10b981;
    color: white;
    font-size: 0.8rem;
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
}

.specialised {
    right: 20px;
    height: 30px;
    padding: inherit;
    margin-top: 5px;
    /* position: absolute; */
    /* color: black; */
}
.specialisedNum{
    width: 25px;
    display: block;
}

.specialised .specialised-label,
.specialised input {
    margin-right: 5px;
}

.tags {
    display: flex;
    align-items: flex-start;
}




.session{
    width: 32%;
    background-color: var(--webx-void-90);
    border: solid var(--webx-ice-75) 2px;
    border-radius: 5px;
}
.session-card {
    height:100%;
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sessions-table {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 10px;
    row-gap: 1em;
    margin-top: 1em;
}

.session-avatar {
    max-width: 25%;
}

.session-presenter {
    display: flex;
    gap: .5em;
    font-family: 'Oxanium';
    font-weight: bold;
    font-size: 22px;
    margin-top: .5em;
}

.session-presenter .session-avatar {
    width: 33%;
}

.session-presenter .title-copy {
    width: 66%;
}

.floating-breakout-container .my-program {
    padding-top: .5em;
}
.my-program {
    float: right;
}
.sessionFav {
    width: 40px;
    aspect-ratio: 1;
    float: right;
    position: relative;
    z-index: 9;
    margin-right: -10px;
    margin-top: -5px;
}

.sessionFav > input {
    display: none;
}
.sessionFav > input:checked + span {
    background-image: url("/wp-content/plugins/webexpo-blocks/src/calendar/star_checked.svg");
    opacity: 0.8;
}
.sessionFav > input + span {
    background-image: url("/wp-content/plugins/webexpo-blocks/src/calendar/star_unchecked.svg");
    opacity: 0.6;
}
.sessionFav > input + span:hover {
    opacity: 1;
}
.sessionFav input + span {
    background-size: contain;
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-repeat: no-repeat;
}


.session-presenter-name {
    font-size: 18px;
}

.session-tags {
    opacity: 1;
    position: relative;
    /* background-color: aliceblue; */
    display: block;
    padding: 2px;
    color: black;
    height: auto;
    margin: 2px;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-start;
}

.session-tags span {
    background: white;
    padding: 0px 5px;
    break-after: avoid;
}

.sessions-table {}

.session-details {
    display: flex;
    justify-content: space-between;
    border: solid 1px rgba(255, 255, 255, .2);
    margin-left: -1em;
    margin-right: -1em;
}

.time {
    width: 100%;
}

.date {
    width: 100%;
}

.duration {
    width: 100%;
}

.heading {
    color: var(--webx-ice-100);
    text-align: center;
    background: var(--webx-void-100);
    font-weight: bold;
}

.value {
    background: var(--webx-void-80);
    text-align: center;
    padding: .5em 0.25em;
}

.date .value {
    border: solid 1px rgba(255, 255, 255, .2);
    border-top: none;
    border-bottom: none;
}


.multi-focus-selector{
    position: sticky;
    top: 80px;
    z-index: 1000;
    background-color: var(--webx-system);
}
.noobInfo{
    font-family: 'Ladislav-Bold';
}


/* css for mobile only, i.e. up to 720 pixels */

.specialised {
    
    position: absolute;
    color: var(--webx-void-100);
}
/* add a media query for screens up to 720 pixels */
input[type="range"] {
    background: linear-gradient(90deg, var(--webx-system), var(--webx-brand-1-100));
}


.scroll-down-indicator {
    position: sticky;
    bottom: -120px;
    z-index: 1000;
    opacity: 0;
    
}
.scroll-down-indicator.show{
    opacity: 1;
    animation: scrollDownInviteAnimation 2s forwards;
    
}
@keyframes scrollDownInviteAnimation {
    0% {
        bottom: -120px;
    }
    100% {
        bottom: 20px;
    }
}


.scroll-down-indicator button.icon-angle-double-down {
    background: var(--webx-system);
    font-size: 2.5em;
    width: 1.5em;
    aspect-ratio: 1;
    
    border-radius: 20px;
    border-color: var(--glow-color-pink);
    border-style: solid;
    border-width: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    color: var(--webx-system-contrast-75);
}
.scroll-down-indicator button.icon-angle-double-down:before{
    transition: all 0.5s ease-in-out;
}
.scroll-down-indicator button.icon-angle-double-down:before{
    margin-top: 5px;
}
.scroll-down-indicator button.icon-angle-double-down:hover{
    color: var(--glow-color-pink);
}

/* Rotating down */
.scroll-down-indicator button.icon-angle-double-down.rotate:before {
    transform: scaleY(-1);
    margin-top: -5px;
}

.scroller {
    --scrollbar-color-thumb: hotpink;
    --scrollbar-color-track: blue;
    --scrollbar-width: thin;
    --scrollbar-width-legacy: 10px;
}

/* Modern browsers with `scrollbar-*` support */
@supports (scrollbar-width: auto) {
    .scroller {
        scrollbar-color: var(--scrollbar-color-thumb) var(--scrollbar-color-track);
        scrollbar-width: var(--scrollbar-width);
    }
}

/* Legacy browsers with `::-webkit-scrollbar-*` support */
@supports selector(::-webkit-scrollbar) {
    .scroller::-webkit-scrollbar-thumb {
        background: var(--scrollbar-color-thumb);
    }
    .scroller::-webkit-scrollbar-track {
        background: var(--scrollbar-color-track);
    }
    .scroller::-webkit-scrollbar {
        max-width: var(--scrollbar-width-legacy);
        max-height: var(--scrollbar-width-legacy);
    }
}
@media (max-width:960px) {

    .floating-breakout-container{
        display: none;
    }
    .multi-focus-selector{
        top: 50px;
        z-index: 10;
        
    }
    

    .multi-focus-summary {
        width: 100%;
        height: 100%;
        scale: .6;
        background-color: rgba(0, 0, 0, 0) !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    
    .multi-focus-summary {
        transform-origin: center center;
    }
    .multi-focus-summary .flex.col.flex-col.gap-2 {
        margin-top: -20%;
    }
    .specialised .specialised-label{
        font-size: 14px;
    }

    .sessions-table {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        column-gap: 10px;
        row-gap: 1em;
        margin-top: 1em;
    }

    .session{
        width: 100%;
    }


}