html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
* {
    scrollbar-width: auto;
    scrollbar-color: #8f54a0 #ffffff;
}

    /* Chrome, Edge, and Safari */
    *::-webkit-scrollbar {
        width: 12px;
    }

    *::-webkit-scrollbar-track {
        background: #ffffff;
    }

    *::-webkit-scrollbar-thumb {
        background-color: #8f54a0;
        border-radius: 10px;
        border: 3px solid #ffffff;
    }

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    overflow: hidden;
}

.main-container {
    max-height: calc(100vh - 100px);
    overflow: hidden;
}

.box-shadow {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0 0 7px 0 #eaeff4;
    -moz-box-shadow: 0 0 7px 0 #eaeff4;
    -webkit-box-shadow: 0 0 7px 0 #eaeff4;
    border: 1px solid #ecf0f4;
    padding: 12px;
    margin-bottom: 12px;
}

a {
    text-decoration: none;
}

.folder {
    padding: 4px;
}

.folder-selected {
    background-image: url('/images/folder-back.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left;
}

.folder-title:hover {
    color: #001a4d;
}

.folder-title > strong {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-right: 48px;
    background-image: url('/images/folder.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.main-container {
    max-height: calc(100vh - 180px);
    overflow: auto;
}

.folders-container {
    max-height: calc(100vh - 230px);
}

.folders {
    height: calc(100vh - 330px);
    max-height: calc(100vh - 330px);
    overflow: auto;
}

.files-container {
    max-height: calc(100vh - 230px);
}

.files {
    height: calc(100vh - 250px);
    max-height: calc(100vh - 250px);
    overflow: auto;
}

#loading-overlay {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background-color: transparent;
}

    #loading-overlay .loading-cv-spinner {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
