:root {
    --toolbar-h: 30px;
    --header-h: 30px;
    --row-h: 30px;
    --header-h: 30px;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.explorer-wrapper {
    width: 100vw;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;

    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(15px);
    
    /* opacity: 1; */
    /* transition: 1s all ease-in-out; */
    animation-duration: 0.665s;
    animation-name: fadein;
    animation-direction: alternate;
    
    z-index: 1001;
}

.explorer {
    width: 90%;
    height: 90%;
    
    position: absolute;
    top: 5%;
    left: 5%;
    
    background-color: white;
    color: black;
    
    border: 1px solid black;
    box-shadow: 2px 2px 10px black;
    padding: 5px;
    
    background-color: white;
    
    z-index: 1100;
}

.explorer > .vgroup {
    height: calc(100% - var(--header-h) - var(--header-h));

    padding: 10px;
    box-sizing: border-box;
}

.explorer .toolbar {
    display: flex;
    width: 100%;
    height: var(--toolbar-h);

    gap: 10px;
}

.explorer .toolbar > button {
    /* width: var(--toolbar-h); */
    height: var(--toolbar-h);
    
    display: flex;
    justify-content: center;
    align-items: center;

    appearance: none;
    border: 0;

    border-radius: 6px;
    background-color: var(--c0) !important;
    color: var(--text-color);
}

.explorer .toolbar > .bremove {
    background-color: red !important;
    color: white;
}

.explorer > .vgroup > .hgroup {
    display: flex;
    flex-direction: row;
}

.explorer .parents {
    display: flex;
    flex-direction: row;
    
    height: 100%; /* var(--header-h); */
    width: 100%;
    
    max-height: var(--header-h);
    
    flex: 1;
}

.explorer .parents .parent-item {
    min-width: 30px;
    
    padding: 5px;
    
    border: 1px solid black;
    border-radius: 9px 0px 9px 0px;
    
    box-sizing: border-box;
    
    text-align: center;
}

.explorer .parents .parent-item:hover {
    opacity: 0.5;
}

.explorer .content {
    display: flex;
    flex-direction: column;

    height: 100%;
    
    border: 1px solid black;
    box-sizing: border-box;
    overflow: auto;
}

.explorer .content .file-item {
    height: var(--row-h);
    
    display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;
    
    box-sizing: border-box;

    box-sizing: border-box;
}

.explorer .content .file-item:hover {
    background-color: black !important;
    color: white !important;
}

.explorer .content .file-item > * {
    flex: 1;
    display: flex;
    align-items: center;
    
    height: 100%;
    
    box-sizing: border-box;
    padding: 0 5px;
    margin: 0;
    
    box-sizing: border-box;
}

.explorer .content .file-item > *:first-child {
    justify-content: center;
}

.explorer .content .file-item > *:last-child {
    justify-content: flex-end;
}

.explorer .content .file-item .bgoin {
    /* max-width: 30px; */
    min-width: 100px;
    max-width: 100px;
}

.explorer .content .file-item > button {
    width: var(--row-h);
}   

.explorer .content .file-item:nth-child(odd){
    background-color: lightgray;
}

.explorer .content .file-item.selected {
    background-color: red !important;
    color: white !important;
}

.explorer .pagination {
    background-color: lightgray;
    color: black;
}

.explorer .header {
    display: flex;
    justify-content: flex-end;
    
    height: var(--header-h);
    width: 100%;
    
    padding: 2px;
    box-sizing: border-box;

    background-color: white;
}

.explorer .footer {
    display: flex;
    
    height: var(--header-h);
    width: 100%;

    justify-content: flex-end;
    align-items: center;

    background-color: white !important;
    padding: 10px;
}

.explorer .footer .toolbar {
    width: auto;
}

.explorer .bremove[disabled] {
    background-color: rgba(0,0,0,0.2) !important;
    color: white !important;
}

.explorer .buttonclose {
    appearance: none;
    border: 0;
}

.explorer .toolbar > button:not([disabled]):hover,
.explorer .buttonclose:hover {
    background-color: #eee !important;
    color: black !important;
}

.explorer .textinfo {
    display: flex;
    align-items: center;

    height: 100%;
    max-height: var(--header-h);
    padding: 0;
    margin: 0;
    
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.explorer .textinfo .nb {
    margin: 4px;
}
