.i-explorer
{
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
    height: 100%;
}

.i-explorer-file-input {
    display: none !important;
}

.i-explorer-header-input {
    width: 100%;
    border: 1px solid #d9d9d9;
    padding-left: 4px;
    width: 100%;
    border: 0;
    border-left: 1px solid #d9d9d9;
}

.i-explorer-header-input-cwd {
    border-radius: 0;
}

.i-explorer-header-input-search {
    border-radius: 0 4px 4px 0;
    max-width: 150px;
    text-align: center;
}

.i-explorer-header-input-search-close {
    position: absolute;
    right: 8px;
    top: 8px;
    cursor: pointer;
    color: #e55353;
    display: none;
}

.i-explorer-header {
    width: 100%;
    display: flex;
    padding: 4px;
    background-image: linear-gradient(#497193,#003968);
    position: relative;
    
    .i-explorer-button:nth-child(1) {
        border-radius: 4px 0 0 4px;
    }
    
    .i-explorer-button:nth-child(2) {
        border-radius: 0;
        border-left: 1px solid #d9d9d9;
    }
}

.i-explorer-create-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    align-items: center;
    background-color: white;
    padding: 4px;
    background-color: #444444;
    color: white;
    padding-left: 8px;
    padding-right: 8px;
    background-image: linear-gradient(#497193,#003968);
    
    label {
        font-weight: normal;
    }
    
    .i-progressbar {
        flex-grow: 1;
    }
}

.i-explorer-create-override-div {
    display: flex;
    align-items: center;
    gap: 4px;
    
    input {
        margin: 0 !important;
    }
}

.i-explorer-create-progress {
    flex-grow: 1;
    min-height: 24px;
}

.i-explorer-body {
    display: flex;
    flex-grow: 1;
    min-height: 0;
    position: relative;
    overflow-y: auto;
    flex-direction: column;
}

.i-explorer-body-headers {
    display: flex;
    background-image: linear-gradient(#497193,#003968);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1;
}

.i-explorer-create {
    min-height: 300px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    flex-direction: column;
}

.i-explorer-logs {
    min-height: 100px;
    max-height: 100px;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    border-top: 1px solid #d9d9d9;
}

.i-explorer-logs-buttons {
    position: sticky;
    top: 0px;
    justify-content: flex-end;
    display: flex;
}

.i-explorer-log {
    background-color: #e5535322;
    border-radius: 4px;
    padding: 4px;
}

.i-explorer-create-dir {
    div {
    }
}

.i-explorer-create-item {
    display: flex;
    box-sizing: border-box;
    border-bottom: 1px solid #d9d9d9;
    
    div {
        flex-basis: 0;
        text-overflow: ellipsis;
        overflow: hidden;
        padding-right: 8px;
        display: flex;
        align-items: center;
    }
}

.i-explorer-create-item-type {
    min-width: 16px;
    max-width: 16px;
    text-align: center;
    margin: 4px;
}

.i-explorer-create-item-dir {
    flex-grow: 1;
}

.i-explorer-create-item-size {
    min-width: 100px;
    max-width: 100px;
    justify-content: flex-end;
}

.i-explorer-body-load {
    background-color: white;
    display: none;
    justify-content: center;
    position: absolute;
    box-sizing: border-box;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0.5;
    z-index: 5;
}

.i-explorer-body-load-active {
    display: flex;
    animation: i-explorer-body-load-active 2s ease-in;
}

@keyframes i-explorer-body-load-active {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.5;
    }
}

.i-explorer-body-nav
{
    border-right: 1px solid #d9d9d9;
    min-width: 200px;
}

.i-explorer-body-content {
    flex-grow: 1;
    padding-bottom: 64px;
    position: relative;
    box-sizing: border-box;
}

.i-explorer-body-content-item
{
    display: flex;
    box-sizing: border-box;
    border-top: 1px solid white;
    user-select: none;
}

.i-explorer-body-content-item-SizeBytes {
    min-width: 100px;
    max-width: 100px;
    text-align: right;
    padding-left: 4px;
    padding-right: 4px;
}

.i-explorer-body-content-item-Modified {
    min-width: 120px;
    max-width: 120px;
    padding-left: 4px;
    padding-right: 4px;
}

.i-explorer-body-headers-col-sort {
    font-weight: bold;
}

.i-explorer-body-content-item-selected
{
    background-color: #CEE8FF;
}

.i-explorer-body-content-item-dragover
{
    background-color: #CEE8FF;
}

.i-explorer-body-content-item-selected:not(:first-child)
{
    border-top: 1px solid #BCDCF7;
}

.i-explorer-body-content-item-icon
{
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.i-explorer-body-content-item-Name
{
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-width: 0;
    overflow-x: hidden;
    white-space: pre;
    padding-left: 4px;
    padding-right: 4px;
}

.i-explorer-body-headers-col {
    cursor: pointer;
    user-select: none;
}

.i-explorer-folder-icon {
    background-image: url('Icons/folder.svg');
    background-size: cover;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
}

.i-explorer-file-icon {
    background-image: url('Icons/file.svg');
    background-size: cover;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
}

.i-explorer-file-pdf {
    background-image: url('Icons/pdf.svg');
    background-size: cover;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
}

.i-explorer-file-image {
    background-image: url('Icons/image.svg');
    background-size: cover;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
}

.i-explorer-file-doc {
    background-image: url('Icons/doc.svg');
    background-size: cover;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
}

.i-explorer-file-excel {
    background-image: url('Icons/excel.svg');
    background-size: cover;
    min-width: 16px;
    max-width: 16px;
    min-height: 16px;
    max-height: 16px;
}

.i-explorer-button {
    background-color: transparent;
    outline: none;
    border: 0;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    min-width: 24px;
    background-color: white;
    border-radius: 4px;
    color: #222222;
}

.i-explorer-button:hover:not(:disabled) {
    color: #3399ff;
    background-color: #E4F1FF;
}

.i-explorer-button:disabled {
    opacity: 0.5;
}

.i-explorer-selection-rectangle {
    background-color: #3399ff22;
    border: 2px solid #3399ff88;
    position: absolute;
    z-index: 6;
    pointer-events: none;
    display: none;
}