html {
    font-size: 14px;
    padding-left: calc(100vw - 100%);
}

    html header nav {
        background-color: #333333;
        padding-left: calc(100vw - 100%);
    }

    html footer {
        padding-left: calc(100vw - 100%);
    }

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

@media (min-width: 576px) {
    .container-sm, .container {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .container-md, .container-sm, .container {
        max-width: 100%;
    }
}

@media (min-width: 992px) {
    .container-lg, .container-md, .container-sm, .container {
        max-width: 100%;
    }
}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 97%;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1380px;
    }
}

.navbar-brand {
    color: white;
}

.table-headers-container {
    align-items: baseline;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    font-weight: 600;
    min-height: 36px;
}

    .table-headers-container .hdr-image {
        width: 30px;
    }

    .table-headers-container .hdr-name {
        padding-left: 4px;
        width: calc(57% - 0.60 * 510px);
    }

    .table-headers-container .hdr-date {
        width: 160px;
    }

    .table-headers-container .hdr-owner {
        width: calc(43% - 0.40 * 510px);
    }

    .table-headers-container .hdr-size {
        text-align: right;
        padding-right: 0px;
        width: 100px;
    }

    .table-headers-container .hdr-action {
        width: 220px;
        display: flex;
        /* justify-content: end; */
        padding-left: 32px;
    }

div.file-item {
    cursor: pointer;
    display: flex;
    padding-top: 2px;
    padding-bottom: 2px;
    min-height: 56px;
    box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25);
}

    div.file-item.is-file {
        cursor: default;
    }

    div.file-item:hover {
        background: rgba(51, 51, 51, 0.05);
    }

        div.file-item:hover .edit-img {
            content: url("/img/edit-highlight.svg");
        }

        div.file-item:hover .download-img {
            content: url("/img/download-highlight.svg");
        }

        div.file-item:hover .remove-img {
            content: url("/img/trash-highlight.svg");
        }

        div.file-item:hover .check-integrity-img {
            content: url("/img/check-integrity-highlight.svg");
        }

        div.file-item:hover .md5-img {
            content: url("/img/md5-highlight.svg");
        }

    div.file-item img {
        align-self: center;
        height: 24px;
        width: 30px;
    }

    div.file-item div.item-name {
        padding-left: 4px;
        padding-right: 8px;
        align-self: center;
        text-overflow: ellipsis;
        overflow: hidden;
        width: calc(57% - 0.60 * 510px);
        white-space: pre;
    }

    div.file-item div.item-time {
        align-self: center;
        width: 160px;
    }

    div.file-item div.item-owner {
        align-self: center;
        text-overflow: ellipsis;
        overflow: hidden;
        width: calc(43% - 0.40 * 510px);
        padding-right: 0px;
        white-space: nowrap;
    }

    div.file-item div.item-size {
        align-self: center;
        text-align: right;
        padding-right: 0px;
        width: 100px;
    }

    div.file-item div.item-action {
        align-self: center;
        display: flex;
        align-content: flex-start;
        justify-content: right;
        width: 220px;
    }

        div.file-item div.item-action div {
            min-width: 30px;
            margin-left: 4px;
            margin-right: 4px;
        }

        div .file-item div.item-action img {
            cursor: pointer;
            margin-left: 4px;
            margin-right: 4px;
        }

        div.file-item div.item-action div.v-split {
            width: 1px;
            height: 24px;
            margin-left: 4px;
            margin-right: 0px;
            background: #D9D9D9;
            min-width: 1px;
        }

@media (max-width: 992px) {
    /* body{
        background-color: antiquewhite
    } */

    .table-headers-container .hdr-name {
        width: calc(57% - 0.60 * 440px);
    }

    .table-headers-container .hdr-date {
        width: 100px;
    }

    .table-headers-container .hdr-owner {
        width: calc(43% - 0.40 * 440px);
    }

    .table-headers-container .hdr-size {
        width: 90px;
    }

    div.file-item div.item-name {
        width: calc(57% - 0.60 * 440px);
    }

    div.file-item div.item-time {
        width: 100px;
        padding-right: 8px;
    }

    div.file-item div.item-owner {
        width: calc(43% - 0.40 * 440px);
    }

    div.file-item div.item-size {
        width: 90px;
    }
}

@media (max-width: 768px) {
    /* body{
        background-color: antiquewhite
    } */

    .table-headers-container .hdr-name {
        width: calc(57% - 0.60 * 340px);
    }

    .table-headers-container .hdr-date {
        width: 80px;
    }

    .table-headers-container .hdr-owner {
        width: calc(43% - 0.40 * 340px);
    }

    .table-headers-container .hdr-size {
        width: 90px;
    }

    .table-headers-container .hdr-action {
        width: 160px;
        padding-left: 8px;
    }

    div.file-item img {
        width: 30px;
    }

    div.file-item div.item-name {
        padding-left: 0px;
        padding-right: 4px;
        width: calc(57% - 0.60 * 340px);
    }

    div.file-item div.item-time {
        width: 80px;
        padding-right: 0px;
    }

    div.file-item div.item-owner {
        width: calc(43% - 0.40 * 340px);
    }

    div.file-item div.item-size {
        width: 70px;
    }

    div.file-item div.item-action {
        width: 160px;
    }

        div.file-item div.item-action div {
            min-width: 24px;
            margin-left: 3px;
            margin-right: 3px;
        }

        div .file-item div.item-action img {
            cursor: pointer;
            width: 24px;
            margin-left: 3px;
            margin-right: 3px;
        }

        div.file-item div.item-action div.v-split {
            width: 1px;
            height: 24px;
            margin-left: 4px;
            margin-right: 0px;
            background: #D9D9D9;
            min-width: 1px;
        }
}

#mounts-toolbar {
    background-color: white;
    padding-left: calc(100vw - 100%);
}

    #mounts-toolbar button {
        border-style: unset;
        margin: 0.5em 0.5em 0.5em 0;
        min-height: 2em;
    }

button.btn {
    padding: 0.5rem 1rem;
}

    button.btn > img {
        margin-right: 0.25rem;
    }

button.btn-accent {
    background-color: #017ACC;
    color: white;
}

    button.btn-accent:hover {
        background-color: #0269AE;
        color: white;
    }

button.btn-regular {
    background-color: white;
    color: #017ACC;
}

    button.btn-regular:hover {
        background-color: #F0F0F0;
    }

button.btn-primary {
    background-color: #017ACC;
    color: white;
    border-color: #017ACC;
}

    button.btn-primary:hover {
        background-color: #0269AE;
        color: white;
        border-color: #0269AE;
    }

button.btn-secondary {
    background-color: white;
    color: #017ACC;
}

    button.btn-secondary:hover {
        background-color: #F0F0F0;
    }

.modal-header {
    border-bottom: none;
    border-radius: unset;
    padding: 0;
}

.modal-body {
    padding: 24px 0 24px 0;
}

.modal-footer {
    border-top: none;
    border-radius: unset;
    padding: 0;
}

    .modal-footer .btn {
        margin: 0 0 0 16px;
    }

.modal-content {
    border: unset;
    border-radius: unset;
    padding: 24px 32px 32px 32px;
}

.modal .btn-secondary {
    color: #0d6efd;
    background-color: #fff;
    border-color: #0d6efd;
}

input.input-modal-value {
    height: 40px;
    width: 100%;
    border-style: solid;
}

input[type="text"].input-modal-value {
    padding-left: 12px;
    padding-right: 12px;
}


input.input-modal-value:focus {
    outline-color: #017ACC;
}

/* modal left shift fix */

body.modal-open,
body.modal-open nav.navbar,
body.modal-open #mounts-toolbar,
body.modal-open .mounts-toolbar-separator {
    padding-right: unset !important;
}

/* modal left shift fix end */

#upload-modal .modal-body {
    max-height: 300px;
    min-height: 200px;
    padding: 0;
    margin: 32px 0px 24px 0px
}

#upload-modal #drop-zone {
    align-items: center;
    display: flex;
    flex-flow: column;
    width: 100%;
    min-height: 200px;
    max-height: 200px;
    height: 200px;
}

    #upload-modal #drop-zone .drop-zone-controls {
        align-items: center;
        display: flex;
        flex-flow: column;
        flex-grow: 1;
        justify-content: space-evenly;
        width: 100%;
    }

.upload-file-item {
    display: flex;
    flex-flow: row;
    max-width: 90%;
}

    .upload-file-item .upload-file-item-name {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .upload-file-item img {
        margin-right: 4px;
    }

.upload-file-item-remove {
    color: red;
    cursor: pointer;
    margin-left: 4px;
}

#select-file-title {
    text-align: center;
}

#drop-zone {
    border: dashed 2px gray;
    margin-bottom: 10px;
}

#upload-progress {
    display: none;
    width: 100%;
}

#upload-modal #upload-details-container {
    max-height: 100px;
    margin-bottom: 10px;
}

#upload-modal #file-list-container {
    overflow-y: auto;
    max-height: inherit;
}

.upload-failed-container {
    max-height: 500px;
    max-width: 100%;
    overflow-y: auto;
    overflow-wrap: break-word;
    display: flex;
    flex-flow: column;
}

.upload-failed-file-item {
    display: flex;
    flex-flow: row;
    max-width: 90%;
}

    .upload-failed-file-item .upload-failed-file-item-name {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .upload-failed-file-item img {
        margin-right: 4px;
    }

.upload-failed-error {
    margin-left: 16px;
    margin-bottom: 4px;
    max-width: 90%;
}

.btn-red {
    background-color: #DB2E08;
    border-color: #DB2E08;
}

.mounts-toolbar-separator {
    border-bottom-color: #D9D9D9;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    margin-top: 4px;
}

#mounts-toolbar .user-path {
    margin-top: 23px;
    margin-bottom: 8px;
}

    #mounts-toolbar .user-path .d-flex {
        flex-wrap: wrap;
        align-items: center;
    }

    #mounts-toolbar .user-path img {
        margin-right: 8px;
    }

    #mounts-toolbar .user-path a {
        color: #333333;
        text-decoration: none;
        white-space: pre;
        display: flex;
        align-items: center;
    }

    #mounts-toolbar .user-path .current-dir {
        color: rgba(51, 51, 51, 0.7);
        white-space: pre;
    }

.btn[disabled] {
    background-color: gray;
    border-color: gray;
}

.text-red {
    color: #DB2E08;
}

.wrap-long-fname {
    max-width: 100%;
    overflow-wrap: break-word;
}

div.success-color {
    color: #34B600;
}

div.warning-color {
    color: #FEC42D;
}

div.failure-color {
    color: #DB2E08;
}

input.success-color {
    border-color: #34B600;
}

    input.success-color:focus {
        outline-color: #34B600;
    }

input.warning-color {
    border-color: #FEC42D;
}

    input.warning-color:focus {
        outline-color: #FEC42D;
    }

input.failure-color {
    border-color: #DB2E08;
}

    input.failure-color:focus {
        outline-color: #DB2E08;
    }

.fw-semi-bold {
    font-weight: 600 !important;
}

.btn-success2 {
    color: #fff;
    background-color: #34B600;
    border-color: #34B600;
}

    .btn-success2:hover {
        color: #fff;
        background-color: #34B600;
        border-color: #34B600;
    }

    .btn-success2:focus {
        color: #fff;
        background-color: #34B600;
        border-color: #34B600;
        box-shadow: 0 0 0 0.25rem rgba(52, 182, 0, 0.5);
    }
