﻿div.children::before {
    content: "+";
}

div.children > div {
    display: none;
}

div.children.expend {
    margin-left: 10px;
}

.leaf {
    background-color: lightblue;
}

div.children.expend > div {
    display: block;
    margin-left: 15px;
}

div.children.expend::before {
    content: "-";
}

.file-uploader-container-small {
    user-select: none;
    text-align: center;
    min-height: 150px;
    position: relative;
    border: 3px dotted var(--primary-color);
    border-radius: 10px;
    color: var(--primary-hover);
    height: 100%;
    width: auto;
    align-self: center;
    background-color: var(--primary-color-reflection);
    margin: 0px;
}

.file-uploader-container {
    user-select: none;
    text-align: center;
    min-height: 150px;
    position: relative;
    border: 3px dotted var(--primary-color);
    border-radius: 10px;
    color: var(--primary-hover);
    height: 100%;
    width: auto;
    align-self: center;
    background-color: var(--primary-color-reflection);
    margin: 20px;
}

.file-uploader-enter-url {
    border-right: 1px solid lightgray;
    display: flex;
    column-gap: 5px;
    padding: 0 10px 0 10px;
}

.file-uploader-url-title {
    display: inline-block;
}

.file-uploader {
    position: inherit;
    padding-top: 10%;
    display: flex;
    flex-direction: column;
    color: var(--primary-hover);
    height: auto;
    padding-top: 0px;
    width: 100%;
}
.drag-and-drop-information {
    user-select: none;
    display: flex;
    flex-direction: column;
    place-content: center;
    row-gap: 20px;
    height: 100%;
    width: 100%;
}

.browse-button:hover {
    animation-name: common-button-filling;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
}

.browse-button {
    margin-bottom: 20px;
    place-self: center;
    font-size: 16px;
    color: var(--primary-color-reflection);
    line-height: 40px;
    border: 1px solid transparent;
    cursor: pointer;
    max-width: 200px;
    width: 100%;
    background-color: var(--primary-color);
    height: 40px;
    text-align: center;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

.drag-and-drop-information > h2 {
    margin: 0;
}

.drag-and-drop-information > h3 {
    margin: 0;
    color: gray;
    font-size: 20px;
    font-weight: normal;
}
.file-uploader-url-input {
    display: flex;
    flex-direction: row;
    padding: 0px 0px 20px 0px;
}

    .file-uploader-url-input > input {
        outline: none;
        color: var(--primary-hover);
        border: 1px solid var(--primary-color);
        border-radius: 10px;
        height: 30px;
        width: 100%;
    }

.file-uploader-symbol {
    line-height: 100px;
    font-size: 80px;
    opacity: 0.2;
    color: var(--primary-color);
}

.fileupload {
    z-index: 1;
    height: 100%;
    width: 100%;
    border-bottom: 1px dotted var(--primary-color);
}

.file-uploader-url-buttons {
    display: flex;
    padding: 0px 0px 0px 10px;
    column-gap: 10px;
}

.cloud-buttons-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.cloud-button {
    align-items: center;
    user-select: none;
    border-right: 1px solid lightgray;
    padding: 0 10px 0 10px;
    column-gap: 5px;
    color: inherit;
    text-decoration: none;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

    .cloud-button svg {
        fill: var(--primary-color);
        width: 25px;
    }

.cloud-button-small svg {
    fill: black;
    width: 25px;
}

.file-uploader-input {
    opacity: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.file-uploader-label {
    display: block;
    top: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.dialog-box {
    display: none;
}

.dialog-content-container {
}

.url-button {
    text-align: center;
    line-height: 30px;
    color: var(--primary-color-reflection);
    font-size: 20px;
    font-weight: bold;
    border: 1px solid lightgray;
    background-color: var(--primary-color);
    width: 50px;
    height: 30px;
    display: inline-block;
}

.dialog-folder {
    max-height: 350px;
    width: 100%;
    overflow: auto;
    text-align: left;
    display: inline-block;
    overflow: auto;
    white-space: nowrap;
    float: left;
}

.url-button:hover {
    animation-name: common-button-complex-filling;
    animation-duration: 0.2s;
    animation-fill-mode: forwards;
}

.importer-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.filename > a > i > svg {
    cursor: pointer;
    fill: var(--primary-color);
    width: 20px;
    height: 20px;
}

.custom-file-upload {
    width: 85%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 0;
}

.filename {
    gap: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.file-uploader-url {
    margin-top: 30px;
    margin-bottom: 30px;
}
.cloud-button {
    align-items: center;
    user-select: none;
    border-right: 1px solid lightgray;
    padding: 0 10px 0 10px;
    column-gap: 5px;
    color: inherit;
    text-decoration: none;
    display: flex;
    justify-content: left;
    cursor: pointer;
}

.cloud-button:last-child {
    border-right: 0px;
    padding: 0 10px 0 10px;
    column-gap: 5px;
    color: inherit;
    text-decoration: none;
    display: flex;
    justify-content: left;
    cursor: pointer;
}

.importer-container-small {
    display: flex;
    flex-direction: column;
}

.cloud-buttons-container-small {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cloud-button-small {
    border-right: 0px;
    padding: 0 10px 0 10px;
    column-gap: 5px;
    color: inherit;
    text-decoration: none;
    display: flex;
    justify-content: left;
    cursor: pointer;
}

@media (max-width: 950px) {
    .file-uploader-container {
        user-select: none !important;
        text-align: center !important;
        min-height: 150px !important;
        position: relative !important;
        border: 3px dotted var(--primary-color) !important;
        border-radius: 10px !important;
        color: var(--primary-hover) !important;
        height: 100% !important;
        width: auto !important;
        align-self: center !important;
        background-color: white !important;
        margin: 0px !important;
    }
    .file-uploader-enter-url {
        border-right: 0px !important;
        display: flex !important;
        column-gap: 5px !important;
        padding: 0 10px 0 10px !important;
    }

    .importer-container {
        display: flex !important;
        flex-direction: column !important;
    }

    .cloud-buttons-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .cloud-button {
        align-items: center !important;
        user-select: none !important;
        border-right: 0px !important;
        padding: 0 10px 0 10px !important;
        column-gap: 5px !important;
        color: inherit !important;
        text-decoration: none !important;
        display: flex !important;
        justify-content: left !important;
        cursor: pointer !important;
    }
}

@media (min-width: 950px) {
    .file-uploader-container {
        user-select: none !important;
        text-align: center !important;
        min-height: 150px !important;
        position: relative !important;
        border: 3px dotted var(--primary-color) !important;
        border-radius: 10px !important;
        color: var(--primary-hover) !important;
        height: 100% !important;
        width: auto !important;
        align-self: center !important;
        background-color: white !important;
        margin: 20px !important;
    }
    .file-uploader-enter-url {
        border-right: 1px solid lightgray !important;
        display: flex !important;
        column-gap: 5px !important;
        padding: 0 10px 0 10px !important;
    }

    .cloud-button:last-child {
        border-right: 0px !important;
        column-gap: 5px !important;
        color: inherit !important;
        text-decoration: none !important;
        display: flex !important;
        justify-content: left !important;
        cursor: pointer !important;
    }

    .importer-container {
        display: flex !important;
        flex-direction: row !important;
    }

    .cloud-buttons-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
    }

    .cloud-button {
        align-items: center !important;
        user-select: none !important;
        border-right: 1px solid lightgray !important;
        padding: 0 10px 0 10px !important;
        column-gap: 5px !important;
        color: inherit !important;
        text-decoration: none !important;
        display: flex !important;
        justify-content: center !important;
        cursor: pointer !important;
    }
}
