.cfaf-documentstore {
    --uploader-height: 60px;
    --tree-indent: 1.5em;
}

.cfaf-documentstore {
    width:100%;
}

.cfaf-documentstore button {
    cursor: pointer;
}

.cfaf-ds-uploader {
    width: 128px;
    height:auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #CCCCCC;
    border-radius: 0;
    color: #202020;
    cursor: pointer;
    flex-direction: column;
    padding: 10px 8px 8px 8px;
}
}

.cfaf-ds-uploader:hover {
    opacity: 0.75;
}

.cfaf-ds-uploader.dragover {
    opacity: 1;
    border-width: 2px;
    font-weight: bold;
}

.cfaf-ds-progress {
    display: flex;
}

.cfaf-ds-progress > :not(:last-child) {
    margin-right: 0.5em;
}

.cfaf-ds-folders .cfaf-ds-folder {
    margin-left: var(--tree-indent);
}

.cfaf-ds-items .cfaf-ds-document {
    margin-left: 0;
}

.cfaf-ds-document {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #CCCCCC;
    gap: 16px;
    padding: 8px;
}

.cfaf-ds-item-details {
    width: 100%;
}

.cfaf-ds-thumbnail {
    background-size: 48px 48px;
    width: 48px;
    height: 48px;
    border: 1px solid #909090;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    flex-grow: 0;
}

.cfaf-ds-item-name {
    cursor: pointer;
    margin-top: 6px;
    font-weight: bold;
}

.cfaf-ds-item-name:hover {
    transition:.5s;
    color: #855d82;
    text-decoration: underline;
}

.cfaf-ds-view-large .cfaf-ds-thumbnail {
    background-size: 128px 128px;
    width: 128px;
    height: 128px;
}

.cfaf-ds-document:not(.is-image) .cfaf-ds-thumbnail {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 28px 28px;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%20384%20512%22%3E%3C!--!Font%20Awesome%20Free%206.5.2%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202024%20Fonticons,%20Inc.--%3E%3Cpath%20d=%22M224%20136V0H24C10.7%200%200%2010.7%200%2024v464c0%2013.3%2010.7%2024%2024%2024h336c13.3%200%2024-10.7%2024-24V160H248c-13.2%200-24-10.8-24-24zm160-14.1v6.1H256V0h6.1c6.4%200%2012.5%202.5%2017%207l97.9%2098c4.5%204.5%207%2010.6%207%2016.9z%22/%3E%3C/svg%3E");
}

.cfaf-ds-view-large .cfaf-ds-document:not(.is-image) .cfaf-ds-thumbnail {
    background-size: 84px 84px;
}

.cfaf-ds-view-list .cfaf-ds-thumbnail {
    display: none;
}

.cfaf-ds-view-list .cfaf-ds-item-details {
    display: flex;
    align-items: flex-start;
    gap:32px;
}

.cfaf-ds-folder-name {
    font-size: 1.5em;
    display:none;
}

.cfaf-ds-items li svg {
    display:block;
    width:24px;
    height:24px;
}

.cfaf-ds-controls {
    margin: 16px 0;
    display: flex;
    align-items: flex-start;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap:32px;
}

.cfaf-ds-change-view-container {
    display:none;
}

.cfaf-ds-item-controls {
    gap: 16px;
    display: flex;
    align-items: center;
}

.cfaf-ds-search-container input {
    font-family: "greycliff-cf", sans-serif;
    font-size: 1rem;
    outline: none;
    border: 2px solid #999999;
    padding: 10px 8px 8px 8px;
    margin: 0 0 16px 0;
    width: 280px;
}

.cfaf-documentstore .cfaf-ds-item-controls button {
    font-size: 16px;
    padding: 0;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
}

.cfaf-documentstore .document-departments {
    font-size: 13px;
    color: #5c6bc1;
    margin: 16px 0 8px 0;
    max-width: 800px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.cfaf-documentstore .document-departments > * {
    display: inline-flex;
    padding: 4px 4px 2px 4px;
    border: 1px solid #5c6bc1;
}

.cfaf-documentstore .document-departments > :not(:last-child) {
    
}

.cfaf-documentstore .cfaf-ds-last-modified {
    font-size: 13px;
    color: #462462;
}

.cfaf-ds-item-meta {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cfaf-ds-item-meta-standard {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cfaf-ds-item-meta-standard > *:not(:last-child) {
    margin-right: 10px;
}

.cfaf-ds-popup-row {
    display: flex;
    gap: 36px;
}