body {
    /* layout */
    margin: 0px;

    /* cosmetic */
    background-color: #FEF9FA;
}

/* TODO:    jkjkThis isn't always used on desktop, so
we should prob rename. */
.paloma-desktop-view {
    display: flex;
    /* height: 100vh; */
    height: 100%;
    flex-direction: row;
}

/* @media screen and (min-width: 1024px) { */
@media all and (min-width: 1024px) {
    header button.hamburger {
        display: none;
    }

    header div.streak-header {
        display: none;
    }
}

/* @media screen and (max-width: 1024px) { */


.paloma-global-sidebar-area {
    /* layout */
    width: 120px;

    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    /* cosmetic */

    transition: width 250ms ease-out;
}

/* another possibility is to have the text fade inafter the transition is over */

.paloma-global-sidebar {
    display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 10px;
        padding-bottom: 10px;
    width: calc(100% - 30px);
    height: calc(100dvh - 40px);
    overflow: auto;
    background: #FFFFFF;
    box-shadow: 0px -2px 10px rgba(158, 158, 158, 0.15);
    border-radius: 17px;
    overflow: hidden;
    }

    .paloma-global-sidebar-icon .nav-link{
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        font-size: 18px;
        font-weight: 600;
    }
    
    .paloma-global-sidebar-area.expanded {
        
        width: 400px;

        /* transition: width 250ms ease-out; */
        /* i can really slow down the animation to see what is happening */
        /* transition: width 250ms ease-out; */
    }

    .paloma-global-sidebar-area.mobile-expanded {
        display:block;
        width: 100%;
        /* transition: width 250ms ease-out; */
        transition: width 250ms ease-out;
    }

    .paloma-global-sidebar-area.mobile-expanded  .paloma-global-sidebar{
        /* display:block; */
        width: 100%;
        height: 100dvh;
        /* transition: width 250ms ease-out; */
        /* transition: width 250ms ease-out; */
    }

    .paloma-main-content.mobile-expanded {
        display:none;
    }

    .paloma-global-sidebar-area.expanded .paloma-global-sidebar{
        /* align-items: flex-start; */
        /* padding-left:10px; */
    }
    
    .paloma-global-sidebar-area.expanded .paloma-global-sidebar .paloma-global-sidebar-icon .long-name{
        /* text addition messes with it a bit */
        /* display:inline-block; */
        visibility: visible;
        width:auto;
        height:auto;
        display:flex;
    }
    #expand-menu-button button{
        border:none;
        background-color: white;
        color:none;
    }


    .paloma-global-sidebar .paloma-global-sidebar-icon .long-name{
        /* Do not show the long names of the sidebar when it is in small form. */

        display:flex;
        visibility:hidden;

        padding-left: 5px;
        height:0px;
        width: 0px;

        text-wrap: nowrap;
        text-overflow: clip;
    }



.paloma-global-sidebar li {
    list-style: none;
}

/* Rectangle 297 */
.mt {
    /* smelly -- ideally we don't use any margins */
    margin-top: 8px;
}

.mtb {
    margin-top: 8px;
    margin-bottom: 8px;
}

.mb {
    /* smelly -- ideally we don't use any margins */
    margin-bottom: 8px;
}

.paloma-global-sidebar-divider {
    width: calc(100% - 20px);
    /* width: 63px; */
    height: 0px;

    /* Stroke */
    border: 1px solid #DAE4ED;
}


.paloma-global-sidebar-spacer {
    flex-grow: 1;

}

.paloma-global-sidebar-icon {

    display: flex;
    justify-content: flex-start;
    align-items: center;

    padding-left: 13px;
    width: calc(100% - 30px);

    height: 49px;
    border-radius: 33px;

    overflow:hidden;
    flex-wrap: nowrap;

}

.paloma-global-sidebar-icon:hover {

    color: 0.80;
    opacity: 0.80;
    cursor: pointer;

}

.paloma-global-sidebar-icon.active {
    background: #FFEEF1;
}

.paloma-main-content {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    height: 100%;
    height: 100dvh;
    overflow-y: auto;
}
.inner-main{
    height:100%;
}

main {
    overflow-y: auto;
    padding: 0px 20px;
    height: 100%;
} 

header {
    flex-shrink: 0;
    display: flex;
    background-color: #FEF9FA;
    padding: 0.5em;
    align-items: center;
    justify-content: space-between;
}

header div.logo {
    margin: auto;
}

footer {
    /* Navigation */
    flex-shrink: 0;

    position: sticky;
    /* add css variable for nav width */
    bottom: 0;

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 14px 16px;
    gap: 16px;


    /* cosmetic */
    border-radius: 24px 24px 0px 0px;
    background: #FFF;
    box-shadow: 0px -2px 10px 0px rgba(158, 158, 158, 0.15);

    height: auto;
    /* 120px for sidebar area */
    /* 80px for median style */
    /* 100% in this context is the whole page */
    /* 200px for total */
    --sidebar-area-width: 120px;
    --main-length: calc(100% - 200px);
    width: var(--main-length); 
    transition: width 250ms ease-in;
}

footer.sidebar-expanded {

    /* --sidebar-area-width: 400px;
    --main-length: calc(100% - 480px);
    --footer-shoulder: 80px;
    --footer-length: calc(var(--main-length));
    --footer-shoulder-half: var(--footer-shoulder) / 2;

    left: calc(var(--sidebar-area-width) +  var(--footer-shoulder-half));
    width:var(--footer-length);  */
    /* transition: width 250ms ease-out; */
}

.paloma-main-content-area {
    flex-grow: 1;
    overflow-y: scroll;

}


.settings_main_header{
    font-size:40px;
}


.settings_menus{
    border-style: solid;
    border-radius: 15px;
    padding: 10px;
    background:  #FFFFFF;
    border-color:  #FFFFFF;
    margin: 15px 0px ;
    box-shadow: 0px -2px 10px rgba(158, 158, 158, 0.15);
}

.conf_dropdown{
    border-style: none;
    border-radius: 26px;
    padding: 5px 10px;
    background:  #FFFFFF;
    border-color:  #DAE4ED;
    margin: 0px 10px 10px 0px;
    box-shadow: 0px -2px 10px rgba(158, 158, 158, 0.15);
    color: #344563;

    /* https://stackoverflow.com/questions/65120873/how-to-add-padding-to-the-default-arrow-in-a-select-dropdown-list */
    border-right: 16px solid transparent;
    outline:1px solid;
}

.conf_dropdown:hover{
    background-color: #DAE4ED;
}

.conf_dropdown:focus{
    outline:2px solid #F4A484;
}

.selected_item{
    color:pink;
}

td:has(.conference-button, .conference-completed){
    text-align: center;
}

.conference-button{
    display:block;
    border-radius: 20px;
    border: 1px solid #DAE4ED;
    background-color: #ffffff;
    text-decoration: none;
    padding: 0px 20px;
    color: var(--bs-table-color);

}

.conference-link {
    color: var(--bs-table-color);
}

.conference-link:hover{
    color: #F4A484;
}

.conference-button:hover{
    background-color: #DAE4ED;
}

.conference-needsplan{
    display:block;
    border-radius: 20px;
    border: 1px solid #FFEA2A;
    background-color: #FFFACC;
    padding: 0px 20px;
    color: var(--bs-table-color);
    text-align: center;
}

.conference-completed{
    display:block;
    border-radius: 20px;
    border: 1px solid #3DFF39;
    background-color: #C7FFD7;
    padding: 0px 20px;
    color: var(--bs-table-color);
    text-align: center;

}

.conference-scheduled{
    display:block;
    border-radius: 20px;
    border: 1px solid #FFA632;
    background-color: #FFE4C0;
    padding: 0px 20px;
    color: var(--bs-table-color);
    text-align: center;
}


/* put media queries near the end? */

@media all and (max-width: 1024px) {
    footer {
        left: 0;
    }
    /* mobile layouts */
    body div.paloma-global-sidebar-area {
        display: none;
    }

    /* START RESPONSIVE TABLES */
    .responsive > thead th {
        display: none;
    }
    .responsive > tbody td,
    .responsive > tbody th {
        display: block;
    }

    /* START --- my addition that might be sus */
    .table-responsive-lg{
        display:flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        
    }

    table.responsive {
        width: calc(100% - 40px);
    }

    .responsive > tbody td *{
        display: inline-block;
    }
    /* END --- my addition that might be sus */


    .responsive > tbody > tr:nth-child(even) td,
    .responsive > tbody > tr:nth-child(even) th {
        background-color: #eee;
    }
    [row-header] {
        position: relative;
        /* width: 50%;*/
        vertical-align: middle;
    }
    [row-header]:before {
        content: attr(row-header);
        display: inline-block;
        vertical-align: middle;
        text-align: left;
        width: 50%;
        padding-right: 30px;
        white-space: nowrap;
        overflow: hidden;
    }
    /* END RESPONSIVE TABLES */

    footer {
        width: calc(100%);
    }

}

