/*
diskover-web community edition (ce)
https://github.com/diskoverdata/diskover-community/
https://diskoverdata.com

Copyright 2017-2023 Diskover Data, Inc.
"Community" portion of Diskover made available under the Apache 2.0 License found here:
https://www.diskoverdata.com/apache-license/
 
All other content is subject to the Diskover Data, Inc. end user license agreement found at:
https://www.diskoverdata.com/eula-subscriptions/
  
Diskover Data products and features for all versions found here:
https://www.diskoverdata.com/solutions/

*/

/* d3 file tree for search */

.tree-wrapper {
    margin-top: 70px;
    height: calc(100% - 160px);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #282828;
    border-radius: 5px;
    padding: 20px;
    padding-left: 25px;
    background-color: #222222;
    position: fixed;
    width: 325px;
}

.search-results-wrapper {
    padding-left: 10px;
    margin-left: 325px;
    width: calc(100% - 325px);
    overflow: auto;
    display: block;
}

.search-results-wrapper-lg {
    padding-left: 10px;
    margin-left: 50px;
    width: calc(100% - 50px);
    overflow: auto;
    display: block;
}

.tree-button-wrapper {
    width: 325px;
    position: fixed;
    margin: 0px auto;
    padding: 5px;
    padding-left: 10px;
    border: 1px solid #282828;
    border-radius: 5px;
    background-color: #222222;
}

.tree-button-wrapper-sm {
    width: 50px;
    position: fixed;
    margin: 0px auto;
    padding: 5px;
    padding-left: 10px;
    border: 1px solid #282828;
    border-radius: 5px;
    background-color: #222222;
}

#tree-wrapper::-webkit-scrollbar-track {
    background-color: #33373B;
}

#tree-wrapper::-webkit-scrollbar-corner {
    background-color: #33373B;
}

#tree-wrapper::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #33373B;
}

#tree-wrapper::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 5px;
}

.tree-container {
    position: absolute; 
    left: 5px;
    display: block;
}

.tree-container-toppaths {
    overflow: auto;
    border: 0;
    margin: 0px auto;
}

.selected {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.node {
    font-size: 12px;
    overflow: visible;
    position: absolute;
    list-style: none;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 0px;
    white-space: nowrap;
    word-wrap: break-word;
    z-index: 1;
    width: 400px;
    color: #C7CED6;
}

.node .fa-folder {
    font-size: 14px;
    padding-right: 6px;
    color: #6E7681;
    font-weight: bold;
}

.node .fa-folder-open {
    font-size: 14px;
    padding-right: 6px;
    color: #6E7681;
    font-weight: bold;
}

.node .filename {
    cursor: pointer;
    font-size: 12px;
    padding-left: 2px;
    padding-right: 2px;
    text-decoration: none!important;
}

.node .filesize-darkergray {
    color: #6E7681;
    font-size: 12px;
    padding-left: 2px;
}

.node .downarrow {
    font-size: 9px;
    font-weight: bold;
    color: gray;
    margin-right: 2px;
}

.node .downarrow-spacer {
    margin-right: 11px;
}

/* d3 tool tip */

.d3-tip {
    font-size: 11px;
    line-height: 1;
    font-weight: bold;
    padding: 12px;
    background: rgba(29, 29, 29, 0.9);
    color: #fff;
    border-radius: 2px;
    pointer-events: none !important;
    word-break: break-all;
    word-wrap: break-word;
    z-index: 99;
  }