body {
    font: 14px Calibri, Helvetica, Arial, sans-serif;
}

a {
    color: #00B7FF;
}

.fs-01 {
    font-size: 0.8rem;
}

.selected {
    outline: 6px solid #00B7FF !important;
}

.p-8 {
    padding: 8px;
}

dialog {
    width: 400px;
    max-width: 100vw;
    max-height: 100vh;
    border: 2px solid #999;
    border-radius: 8px;
    padding: 0;
    background-color: #f8f9fa;
}

dialog::backdrop {
    background: #000000DD;
}

dialog>.header {
    padding: 8px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #999;
    background-color: #999;
    color: #fff;
}

dialog>.header>.header-content {
    flex-grow: 1;
}

dialog>.header>.button {
    padding: 0 5px;
}

dialog>.header {
    border-bottom: 2px solid #999;
}

dialog#mediaViewer {
    width: 100vw;
    height: 100vh;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background-color: #000C;
}

dialog#mediaViewer img,
video {
    margin: auto;
    max-width: 100vw;
}

#mediaViewerContent {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    overflow: hidden;
}

dialog#mediaViewer .button {
    font-size: 3rem;
    color: #f8f9fa;
}

dialog#mediaViewer .textContent {
    color: #f8f9fa;
    text-align: center;
}

dialog#mediaViewer .title {
    font-size: 1.5rem;
}

dialog#mediaViewer .description {
    font-size: 0.8em;
}

.new {
    outline: 4px solid #724;
    position: relative;
}

.new::after {
    content: "New";
    position: absolute;
    bottom: 21px;
    left: 0;
    background-color: #724;
    color: #fff;
    padding: 2px 8px;
    font-weight: 700;
}

.hand {
    cursor: pointer;
}

.media-item-thumb {
    max-width: 100px;
    max-height: 100px;
    cursor: pointer;
}

.user-item {
    width: 95vw;
    max-width: 400px;
}

.square {
    width: 200px;
    height: 200px;
}

.thumb {
    object-fit: cover;
}

.thumb-date {
    position: absolute;
    bottom: 4px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.thumb-date > div {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0 5px;
    background-color: white;
    border-radius: 5px;
    font-weight: 800;
}

.media-type {
    position: absolute;
    top: 4px;
    display: flex;
    justify-content: center;
    width: 100%;
    text-transform: capitalize;
}

.media-type > div {
    display: inline-block;
    /* font-size: 0.8rem; */
    padding: 0 5px;
    background-color: white;
    border-radius: 5px;
    font-weight: 800;
}

.folder {
    background-color: #eee;
    text-decoration: none;
    font-size: 1.5rem;
    word-break: break-all;
}

.comment {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 5px;
    margin: 5px 0;
}

.comment>.name {
    font-size: 0.7em;
    font-style: italic;
}

.comment>.date {
    font-size: 0.6em;
}

.comment>.body {
    font-size: 0.9em;
}

.broken {
    background-color: #FFFFFF66;
}

.spinner {
    animation: spin-animation 0.5s infinite;
    display: inline-block;
}

@keyframes spin-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(359deg);
    }
}