﻿/*  OVERRIDES */
body {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: inherit;
}



/*  FULL SCREEN SETUP */
.bci-full {
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Helvetica,Arial,sans-serif;
    height: 100vh;
    width: 100vw;
    display: flex;
}

.bci-right-full {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.bci-right-bottom {
    height: 100%;
    overflow-y: scroll;
    overflow-x: scroll;
    flex: 1 1 100%;
    padding: 1rem;
    width: 100%;
}


/*  BLACK SIDEBAR */
.bci-sidebar {
    background-image: url("/images/bci-black-sm.png");
    background-color: #1e1f21;
    color: rgb(245, 244, 243);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 15px 15px;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 14px;
    font-weight: 400;
    min-width: 200px;
    height: 100%;
    width: 200px;
}

.bci-sidebar-menu {
    margin-top: 106px;
    list-style: none;
    padding: 0;
}

.bci-expander-row {
    background-image: url("/images/bookconnect-b32.png");
    background-color: #1e1f21;
    color: rgb(245, 244, 243);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 15px 15px;
    font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Helvetica,Arial,sans-serif;
    font-size: 14px;
    font-weight: 400;
    width: 0px;
    min-height: 0px;
    height: 0px;
    overflow: hidden;
}

.bci-toggle {
    display: none;
    text-align: right;
    color: lightgray;
}

.bci-toggle-check {
    display: none;
}

.bci-toggle-header {
 
    margin-left: 1rem;
    font-size: 1.2rem;
    width: 100%;
    padding-top: 0rem;
    vertical-align: top;
}

.bci-toggle-label {
    font-size: 2rem;
    margin-top: -0.75rem;
}

 

.bci-toggle-label::before {
    content: ' ';
    display: inline-block;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid currentColor;
    vertical-align: middle;
    margin-right: .7rem;
    transform: translateY(-2px);
    transition: transform .2s ease-out;
}

.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .25s ease-in-out;
}

.bci-sidebar-menu-pane {
    margin-top: 10px;
}


@media all and (max-width: 1000px) {
    .bci-sidebar {
        width: 100%;
        min-height: 60px;
        padding-top: .75rem;
        overflow: hidden;
        /* height: 64px; */
        /*background-image: url("/images/bookconnect-b32.png"); */
        background-image: none;
        transition: max-height .25s ease-in-out;
    }

    .bci-sidebar-menu-pane {
        max-height: 0px;
    }

    .bci-toggle-label {
        display: inline;
        float: right;
        margin-right: 2rem;
    }

    .bci-toggle-header {
        display: inline;
    }

   .bci-toggle-header-icon{
       display: inline-block;
       margin-left:1rem;
   }

    .bci-toggle-check:checked + .bci-toggle-label::before {
        transform: rotate(90deg) translateX(-3px);
    }

    .bci-toggle-check:checked + .bci-toggle-label + .bci-sidebar-menu-pane {
        max-height: 100vh;
    }

    .bci-sidebar-bottom {
        position: relative;
    }

    .bci-full {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .bci-sidebar-menu {
        margin-top: 0px;
    }


    .bci-expander-title {
        margin-bottom: 1rem;
    }

    .bci-sidebar-bottom {
        display: none;
    }

    .bci-header-items-container {
        gap: 0.2rem;
    }

    .bci-expander-row {
        padding-left: 4rem;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding-right: 2rem;
        color: lightgray;
        height: 64px;
        min-height: 64px;
    }
}



/*  BLACK ITEM */

.bci-sidebar-subitem {
    padding-left: 3.5rem;
    color: #D1D5DB;
    width: 100%;
    cursor: pointer;
}
.bci-sidebar-item {
    line-height: 34px;
}

    .bci-sidebar-item .bci-menu-row {
        margin-left: 1rem;
    }

    .bci-sidebar-item .bci-menu-icon {
        line-height: 1.75rem;
    }


    .bci-sidebar-item:hover, .SidebarItemRow:focus, .DragContainer--isDragging .SidebarItemRow {
        background-color: rgba(255,255,255,.08)
    }

    .bci-sidebar-item.is-selected {
        background-color: rgba(255,255,255,.16)
    }

        .bci-sidebar-item.is-selected:hover, .bci-sidebar-item.is-selected:focus {
            background-color: rgba(255,255,255,.2)
        }

.bci-menu-arrow {
    margin-right: 0.5rem;
    width: 0.5rem;
}

.bci-menu-icon {
    font-size: 1.125rem;
    margin-right: 0.5rem;
    --tw-text-opacity: 1;
    color: rgba(156, 163, 175, var(--tw-text-opacity));
}


/* SIDEBAR BOTTOM */
.bci-sidebar-bottom {
    bottom: 0.75rem;
    position: fixed;
    margin-left: 1rem;
    margin-right: 1rem;
}



.bci-menu-text {
}

.bci-menu-row {
    display: flex;
    align-items: center;
}

.bci-sidebar-bottom .bci-menu-row {
    line-height: 21px;
}

.bci-menu-cursor {
    cursor: pointer;
}

.bci-clickable:hover {
    background-color: rgba(255,255,255,.08)
}





.bci-user-name {
    font-size: 0.8125rem;
    line-height: 1rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* BCI HEADER */

.bci-header-full {
    width: 100%;
    border-width: 0;
    border-top-width: 1px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #9CA3AF;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    min-height: 2rem !important;
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

.bci-header-items-container {
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.2rem;
}

.bci-header-title {
    display: flex;
    margin-right: 1rem;
}

.bci-header-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
    height: 100%;
}

.bci-header-items-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: auto;
    margin-left: 0.9rem;
    display: flex;
    align-items: center;
}

.bci-header-items-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: auto;
    margin-left: 0.9rem;
    display: flex;
    align-items: center;
}

.bci-header-items-right {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: start;
    margin-right: 0.9rem;
    margin-left: 0.9rem;
    align-items: center;
}

.bci-header-icon {
    margin-right: 0.5rem;
    font-size: 1.5rem;
    line-height: 2rem;
}

.bci-header-text {
    font-size: 1.875rem;
}

.bci-header-items-left {
    display: flex;
    font-weight: 600;
    align-items: center;
    padding-right: 1rem;
    height: 100%;
}

.bci-logout-button {
    background-color: transparent;
    background-image: none;
    color: inherit;
    border: inherit;
    padding: inherit;
}
