﻿.uiFileContents {
    display: flex;
    background: #efefef;
    border-radius: 3px;
    margin-top: 8px;
    padding: 16px;
    max-height: calc(100vh - 164px);
}
.uiFileContents .previewAudioContainer {
    display: none;
}

.uiFileContents > div:first-child {
    flex: 1;
}

    .uiFileContents .filePreviewCol {
        max-width: 300px;
        display: none;
    }

.uiFileContents .filePreviewCol {
  padding-left: 32px;
  line-height: 120%;
  text-align: left;
}

.uiFileContents .filePreviewCol span {
  font-size: 0.85rem;
    display: none;
}

.uiFileContents .filePreviewCol .previewImageContainer {
    width: 264px;
    height: 200px;
    background: #fff;
    border-radius: 3px;
    margin: 8px 0;
    display: flex;
    box-shadow: rgba(0, 0, 0, 0.4) 0 2px 4px, rgba(0, 0, 0, 0.3) 0 7px 13px -3px, rgba(0, 0, 0, 0.2) 0 -3px 0 inset;
    background-repeat: no-repeat;
    background-position: center;
    align-items: center;
    justify-content: center;
}
.uiFileContents .filePreviewCol .previewImageContainer svg {
    display: none;
}
#UIFileExplorerPreviewOverlay > div audio,
.uiFileContents .filePreviewCol .audioPreviewContainer audio {
    max-width: 100%;
    height: 24px;
}
#UIFileExplorerPreviewOverlay > div audio::-webkit-media-controls-enclosure,
.uiFileContents .filePreviewCol .audioPreviewContainer audio::-webkit-media-controls-enclosure {
    border-radius: 3px;
    background-color: transparent;
    padding: 0;
    width: 100%;
}
#UIFileExplorerPreviewOverlay > div audio {
    margin-bottom: 8px;
}
    .uiFileContents .fileScroller {
        padding-right: 16px;
        overflow-y: auto;
        max-height: 500px;
    }

.uiFileContents .fileTitle {
  display: flex;
  font-weight: 500;
  margin-bottom: 8px;
    flex-wrap: wrap;
}

.uiFileContents .fileTitle > div:first-child {
  flex: 1;
  text-align: left;
}

.uiFileContents .fileTitle > div:last-child {
  flex: 0;
  white-space: nowrap;
  flex: 1;
  text-align: right;
}

.uiFileContents .filesList .fileWrapper {
  margin-bottom: 32px;
}

.uiFileContents .filesList .fileWrapper:last-child {
  margin-bottom: 0;
}

.uiFileContents .fileWrapper {
  text-align: left;
  line-height: 100%;
}

.uiFileContents .fileWrapper ul {
  list-style: none;
  padding: 0;
  margin-left: 32px;
}

.uiFileContents .fileWrapper > ul {
  margin-left: 0;
}

.uiFileContents .fileWrapper ul li {
  text-align: left;
  padding: 0;
  font-size: 1rem;
  line-height: 100%;
  position: relative;
}

.uiFileContents .fileWrapper ul li:before {
  content: "";
  position: absolute;
  top: 24px;
  left: 12px;
  height: calc(100% - 24px);
  width: 1px;
  background: #c0c0c0;
}

.uiFileContents .fileWrapper ul li.filesTopLi:before {
  top: 0;
  height: 100%;
}

    .uiFileContents .fileWrapper .folder {
        display: flex;
        align-items: center;
        position: relative;
        color: #dc0d8a;
        font-weight: 500;
        -webkit-user-select: none;
    }

.uiFileContents .fileWrapper .folder img {
  flex: 0;
  min-width: 24px;
  max-width: 24px;
  margin-right: 8px;
}

.uiFileContents .fileWrapper input {
  position: absolute;
  left: -10000px;
}

.uiFileContents .fileWrapper input:checked + div {
  display: none;
}
.uiFileContents .fileWrapper .file.selected,
    .uiFileContents .fileWrapper .file:hover {
        background: #fff;
        box-shadow: rgba(17, 17, 26, 0.1) 0 1px 0;
        font-weight: 500;
    }

    .uiFileContents .fileWrapper .file {
        display: flex;
        align-items: center;
        padding: 4px 8px;
        margin-left: 32px;
        -webkit-user-select: none;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: transparent transparent;
        flex-wrap: wrap;
    }
        .uiFileContents .fileWrapper .file > div:nth-child(1) {
            flex: 1;
        }

.uiFileContents .fileWrapper .file > div:nth-child(2),
.uiFileContents .fileWrapper .file > div:nth-child(3) {
    flex: 0;
    text-align: right;
    white-space: nowrap;
    min-width: 100px;
    max-width: 100px;
    font-size: 0.85rem;
}

.uiFileContents .fileWrapper .file > div:last-child {
  padding-right: 0;
}

    .uiFileContents.uiFileExplorerXS .fileWrapper .file {
        display: block;
    }
.uiFileContents.uiFileExplorerXS .fileWrapper .file > div:first-child {
    display: block;
}
.uiFileContents.uiFileExplorerXS .fileWrapper .file > div:nth-child(2) {
    padding-right: 8px;
}
        .uiFileContents.uiFileExplorerXS .fileWrapper .file > div:nth-child(2),
        .uiFileContents.uiFileExplorerXS .fileWrapper .file > div:nth-child(3) {
            display: inline-block;
            min-width: 0;
            font-style: italic;
            opacity: 0.5;
            padding-top: 2px;
        }
#UIFileExplorerPreviewOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

#UIFileExplorerPreviewOverlay:hover {
    cursor: pointer;
}
#UIFileExplorerPreviewOverlay > div {
    display: flex;
    margin: 0 16px;
    flex-direction: column;
    max-width: 300px;
    justify-content: center;
}
        #UIFileExplorerPreviewOverlay > div.loaded {
            background: #fff;
            border: 5px solid #000;
            box-shadow: rgba(0, 0, 0, 0.56) 0 22px 70px 4px;
        }
#UIFileExplorerPreviewOverlay > div span {
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 120%;
    padding: 8px;
    display: none;
}
#UIFileExplorerPreviewOverlay > div.loaded span {
    display: block;
}