/* outdated */
:root {
    --skin: #4db6ac;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to top, rgb(77 182 172 / 80%), #24746d);
    display: flex;
    justify-content: center;
    align-items: center;
}
.upload {
    position: relative;
    width: 400px;
    min-height: 445px;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    padding-bottom: 20px;
    background: #fff;
    animation: fadeup 0.5s 0.5s ease both;
    transform: translateY(20px);
    opacity: 0;
}
.upload .upload-files header {
    background: var(--skin);;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    text-align: center;
}
.upload .upload-files header p {
    color: #fff;
    font-size: 20px;
    margin: 0;
    padding: 50px 0;
}
.upload .upload-files header p i {
    transform: translateY(20px);
    opacity: 0;
    font-size: 30px;
    animation: fadeup 0.5s 1s ease both;
}
.upload .upload-files header p .up {
    font-weight: bold;
    transform: translateX(-10px);
    display: inline-block;
    opacity: 0;
    animation: faderight 0.5s 1.5s ease both;
}
.upload .upload-files header p .load {
    display: inline-block;
    font-weight: 100;
    margin-left: -8px;
    transform: translateX(-10px);
    opacity: 0;
    animation: faderight 1s 1.5s ease both;
}
.upload .upload-files .body {
    text-align: center;
    padding: 50px 0;
    padding-bottom: 30px;
}
.hidden {
    display: none;
}
.upload .upload-files .body.hidden {
    display: none;
}
.upload .upload-files .body input {
    visibility: hidden;
}
.upload .upload-files .body i {
    font-size: 65px;
    color: rgb(77 182 172 / 50%);
}
.upload .upload-files .body p {
    font-size: 14px;
    padding-top: 15px;
    line-height: 1.4;
}
.upload .upload-files .body p b, .upload .upload-files .body p a {
    color: var(--skin);;
}
.upload .upload-files .body.active {
    border: dashed 2px var(--skin);;
}
.upload .upload-files .body.active i {
    box-shadow: 0 0 0 -3px #fff, 0 0 0 lightgray, 0 0 0 -3px #fff, 0 0 0 lightgray;
    animation: file 0.5s ease both;
}
@keyframes file {
    50% {
        box-shadow: -8px 8px 0 -3px #fff, -8px 8px 0 lightgray, -8px 8px 0 -3px #fff, -8px 8px 0 lightgray;
   }
    75%, 100% {
        box-shadow: -8px 8px 0 -3px #fff, -8px 8px 0 lightgray, -16px 16px 0 -3px #fff, -16px 16px 0 lightgray;
   }
}
.upload .upload-files .body.active .pointer-none {
    pointer-events: none;
}
.upload .upload-files footer {
    width: 100%;
    margin: 0 auto;
    height: 0;
}
.upload .upload-files footer .divider {
    margin: 0 auto;
    width: 0;
    border-top: solid 15px #46aba1;
    text-align: center;
    overflow: hidden;
    transition: width 0.5s ease;
}
.upload .upload-files footer .divider span {
    display: inline-block;
    transform: translateY(-25px);
    font-size: 12px;
    padding-top: 8px;
}
.upload .upload-files footer.hasFiles {
    height: auto;
}
.upload .upload-files footer.hasFiles .divider {
    width: 100%;
}
.upload .upload-files footer.hasFiles .divider span {
    transform: translateY(0);
    transition: transform 0.5s 0.5s ease;
}
.upload .upload-files footer .list-files {
    width: 320px;
    margin: 0 auto;
    margin-top: 30px;
    padding-left: 5px;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 210px;
}
.upload .upload-files footer .list-files::-webkit-scrollbar-track {
    background-color: rgba(211, 211, 211, .25);
}
.upload .upload-files footer .list-files::-webkit-scrollbar {
    width: 4px;
    background-color: rgba(211, 211, 211, .25);
}
.upload .upload-files footer .list-files::-webkit-scrollbar-thumb {
    background-color: rgba(77, 182, 172, .5);
}
.upload .upload-files footer .list-files .file {
    width: 300px;
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    animation: fade 0.35s ease both;
}
.upload .upload-files footer .list-files .file .name {
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 80px;
    text-align: left;
}
.upload .upload-files footer .list-files .file .progress {
    width: 175px;
    height: 5px;
    border: solid 1px lightgray;
    border-radius: 2px;
    background: linear-gradient(to left, rgba(77, 182, 172, .2), rgba(77, 182, 172, .8)) no-repeat;
    background-size: 100% 100%;
}
.upload .upload-files footer .list-files .file .progress.active {
    animation: progress 30s linear;
}
@keyframes progress {
    from {
        background-size: 0 100%;
   }
    to {
        background-size: 100% 100%;
   }
}
.upload .upload-files footer .list-files .file .done {
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: var(--skin);;
    border-radius: 50%;
    margin-left: -10px;
    transform: scale(0);
    position: relative;
}
.upload .upload-files footer .list-files .file .done:before {
    content: "View";
    position: absolute;
    top: 0;
    left: -5px;
    font-size: 24px;
    opacity: 0;
}
.upload .upload-files footer .list-files .file .done:hover:before {
    transition: all 0.25s ease;
    top: -30px;
    opacity: 1;
}
.upload .upload-files footer .list-files .file .done.anim {
    animation: done1 0.5s ease forwards;
}
.upload .upload-files footer .list-files .file .done.anim #path {
    animation: done2 2.5s 0.5s ease forwards;
}
.upload .upload-files footer .list-files .file .done #path {
    stroke-dashoffset: 7387.5942382813;
    stroke-dasharray: 7387.5942382813 7387.5942382813;
    stroke: #fff;
    fill: transparent;
    stroke-width: 50px;
}
@keyframes done2 {
    to {
        stroke-dashoffset: 0;
   }
}
@keyframes done1 {
    50% {
        transform: scale(0.5);
        opacity: 1;
   }
    80% {
        transform: scale(0.25);
        opacity: 1;
   }
    100% {
        transform: scale(0.5);
        opacity: 1;
   }
}
.upload .upload-files footer .importar {
    width: 300px;
    outline: none;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 50px;
    margin: auto;
    border: solid 1px var(--skin);;
    color: var(--skin);;
    background: transparent;
    padding: 10px 3px;
    font-size: 20px;
    border-radius: 4px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(15px);
    opacity: 0;
    visibility: hidden;
}
.upload .upload-files footer .importar.active {
    transition: transform 0.5s 1.5s ease, opacity 0.5s 1.5s ease, background;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.upload .upload-files footer .importar:hover {
    background: var(--skin);;
    color: #fff;
}
@keyframes fadeup {
    to {
        transform: translateY(0);
        opacity: 1;
   }
}
@keyframes faderight {
    to {
        transform: translateX(0);
        opacity: 1;
   }
}
@keyframes fade {
    to {
        opacity: 1;
   }
}
@media (max-width: 400px) {
    .upload {
        width: 100%;
        height: 100%;
   }
}
/*upload ERROR*/
.uploadError{
    background-color: rgba(187, 32, 32, 0.486);
}
.error{
    font-size: 20px;
    text-align: center;
}
/* */
.dowload{
    font-size: 12px;
    padding: 10px;
}
#filedowload {
    position: relative;
    left: 80;
    bottom: 0px;
    margin: auto;
    padding: 10px 170px;
    font-size: 35px;
    cursor: pointer;
}

.dowload i{
    color: rgba(4, 82, 74, 0.815);
}
