#wrapper {
    color: white;
    padding: 5px;
    width: calc(100% - 10px);
    height: 100%;
    display: flex;
    flex-direction: row;
}

#error_wrapper {
    padding: 5px;
    width: 100%;
}

#tree {
    margin: 5px;
    height: 100%;
    width: 30%;
    max-width: 400px;
    border-right: #404040 2px solid;
}

#files {
    margin: 5px;
    height: 100%;
    width: 70%;
}

#path {
    padding-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

tr {
    height: 3em;
}

th, td {
    border-bottom: 1px solid #ccc;
    padding: 10px;
}

thead tr {
    text-align: left;
    background: #0062ff;
}

#tree ul, #tree #tree_ul {
    list-style-type: none;
    padding-left: 0;
}

#tree #tree_ul {
    margin: 0;
    padding: 0;
}

#tree .folder {
    cursor: pointer;
    user-select: none;
}

#tree .folder::before {
    font-family: Material Icons, sans-serif !important;
    content: "\e2c7";
    display: inline-block;
    margin-right: 6px;
    font-size: 2em;
    vertical-align: -25%;
}

#tree .folder-open::before {
    font-family: Material Icons, sans-serif !important;
    content: "\e2c8";
    display: inline-block;
    margin-right: 6px;
    font-size: 2em;
    vertical-align: -25%;
}

#tree .nested {
    display: none;
}

#tree .active {
    display: block;
    margin-left: 15px;
}


@media (max-width: 1000px) {
    #wrapper {
        flex-direction: column-reverse;
    }

    #tree {
        width: 100%;
        max-width: unset;
        border-top: #404040 2px solid;
        border-right: none;
    }

    #files {
        width: 100%;
    }
}