body {
    padding-top: 50px;
    padding-bottom: 50px;
}
.files img {
    object-fit: cover;
    object-position: 100% 0;
}
.text-error {
    color: #ff0000;
}
span.ready {}
.progress-bar {
    height: 6px;
    width: 100%;
    margin-bottom: 4px;
    background: #e1e1e1;
    border-radius: 30px;
}
.progress-bar .progress {
    height: 100%;
    width: 0%;
    background: #419a41;
    border-radius: inherit;
    transition:width 3s linear;
}
.percent-bar {
    line-height: 1.5em;
}
/* Customize container */
@media (min-width: 768px) {
    .container {
        max-width: 730px;
    }
    .fileupload-buttonbar {
        margin-bottom: 20px;
    }
    .fileupload-donebar {
        display: block;
        border-top: 1px solid #ddd;
        margin-top: -20px;
        padding-top: 20px;
    }
    .fileupload-buttonbar button {
        margin-left: 5px;
    }
}
.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
}
.fileinput-button input {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    height: 100%;
    opacity: 0;
    filter: alpha(opacity=0);
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}
/* Fixes for IE < 8 */
@media screen\9 {
    .fileinput-button input {
        font-size: 150% !important;
    }
}
.files audio,
.files video {
    max-width: 300px;
}
.files .name {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    hyphens: auto;
}
.files button {
    margin-bottom: 5px;
}

.alert-multi-wrapper {
    margin-top: -10px;
}

@media (max-width: 767px) {
    .fileupload-buttonbar .btn {
        margin-bottom: 5px;
    }
    #alert_wrapper {
        margin-top: 10px;
    }
    .files audio,
    .files video {
        max-width: 80px;
    }
}
@media (max-width: 480px) {
    .files .image td:nth-child(2) {
        display: none;
    }
    #alert_wrapper {
        margin-top: 10px;
    }
}

/* SVG ICONS STYLES */

img, svg {vertical-align: middle;}
.svg-icon {fill: currentColor}
.svg-file_default, .svg-none {fill: #90A4AE}
.svg-application {fill: #0064c8}
.svg-archive {fill: #f8c560}
.svg-audio {fill: #55617e}
.svg-cd {fill: #e9967a}
.svg-code {fill: #f19a3a}
.svg-excel {fill: #94cba2}
.svg-font, .svg-font .svg-file-icon {fill: #607D8B}
.svg-image {fill: #8cbd61}
.svg-image .svg-file-text-bg {fill: #72a645}
.svg-pdf {fill: #ca4d50}
.svg-powerpoint {fill: #e67841}
.svg-text {fill: #90A4AE}
.svg-video {fill: #ec6068}
.svg-word {fill: #0399e1}
.svg-file-bg {fill: #e9e9e0}
.svg-file-flip {fill: #d9d7ca}
.svg-file-icon {fill: #c8bdb8}
.svg-check {
    stroke: #78a642;
    stroke-width: 0.15em;
}
.svg-error {
    stroke: #ff0000;
    stroke-width: 0.15em;
}
.svg-file-ext {
    fill: white;
    font-weight: 500;
    text-transform: uppercase;
    text-anchor: middle;
    font-size: 12px
}
.svg-folder-bg {
    fill: #FFA000
}
.svg-folder-fg {
    fill: #FFCA28
}
.svg-folder-symlink {
    fill: #ffe9a8
}
.svg-file-forbidden {
    fill: #dc3545
}
.svg-folder-forbidden {
    fill: tomato
}
.files-img, .files-svg {
    display: block;
    width: 100%;
    height: 55px
}
.files-img {
    object-fit: cover
}
.files-img-svg {
    object-fit: contain !important
}
.svg-icon {
    width: 1em;
    height: 1em;
    font-size: 24px;
    vertical-align: bottom;
    pointer-events: none
}