html {
    height: 100%;
    margin: 0;
    padding: 0;

    -webkit-user-select: none; /* Chrome, Safari, Opéra depuis la version 15 */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet explorer depuis la version 10 et Edge */
        user-select: none; /* Propriété standard */

    background: -webkit-linear-gradient(to top, #46525f, #8699aa);
    background: linear-gradient(to top, #46525f, #8699aa);
    background-attachment: fixed;
}

body {
    height: 100%;
    margin: 0;
    font-family: "Roboto", sans-serif;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
            justify-content: center;
    -webkit-box-align: center;
            align-items: center;
}

body:not(.active) {
  background: none;
}

.upload {
  position: relative;
  width: 400px;
  min-height: 460px;
  box-sizing: border-box;
  border-radius: 5px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
  background: #fff;
  -webkit-animation: fadeup 0.5s 0.5s ease both;
          animation: fadeup 0.5s 0.5s ease both;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  opacity: 0;
}
.upload .upload-files header {
  background: #4d72b6; /* 4db6ac */
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  text-align: center;
  cursor: pointer;
}
.upload .upload-files header.cursor {
  cursor: default;
}
.upload .upload-files header p {
  color: #fff;
  font-size: 40px;
  margin: 0;
  padding: 50px 0;
}
.upload .upload-files header p i {
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  opacity: 0;
  font-size: 30px;
  -webkit-animation: fadeup 0.5s 1s ease both;
          animation: fadeup 0.5s 1s ease both;
}
.upload .upload-files header p a {
  color: white;
  outline: none;
}
.upload .upload-files header p .up {
  font-weight: bold;
  -webkit-transform: translateX(-20px);
          transform: translateX(-20px);
  display: inline-block;
  opacity: 0;
  -webkit-animation: faderight 0.5s 1.5s ease both;
          animation: faderight 0.5s 1.5s ease both;
}
.upload .upload-files header p .load {
  display: inline-block;
  font-weight: 100;
  margin-left: -8px;
  -webkit-transform: translateX(-20px);
          transform: translateX(-20px);
  opacity: 0;
  -webkit-animation: faderight 1s 1.5s ease both;
          animation: faderight 1s 1.5s ease both;
}
.upload .upload-files .body {
  text-align: center;
  padding: 50px 0;
  padding-bottom: 30px;
}
.upload .upload-files .body.hidden {
  display: none;
}
.upload .upload-files .body input[type=file] {
  visibility: hidden;
}
.upload .upload-files .body i {
  font-size: 65px;
  color: lightgray;
}
.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: #4d72b6; /* 4db6ac */
}
.upload .upload-files .body.active {
  border: dashed 2px #4d72b6; /* 4db6ac */
}
.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;
  -webkit-animation: file 0.5s ease both;
          animation: file 0.5s ease both;
}
@-webkit-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;
  }
}
@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 #content-upload {
  width: 100%;
  margin: 0 auto;
  height: 0;
}
.upload .upload-files #content-upload .divider {
  margin: 0 auto;
  width: 0;
  border-top: solid 4px #4d72b6; /* 46aba1 */
  text-align: center;
  overflow: hidden;
  -webkit-transition: width 0.5s ease;
  transition: width 0.5s ease;
}
.upload .upload-files #content-upload .divider span {
  display: inline-block;
  -webkit-transform: translateY(-25px);
          transform: translateY(-25px);
  font-size: 12px;
  padding-top: 8px;
}
.upload .upload-files #content-upload.hasFiles {
  /*height: auto;*/
  height: 360px;
}
.upload .upload-files #content-upload.hasFiles .divider {
  width: 100%;
}
.upload .upload-files #content-upload.hasFiles .divider span {
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: -webkit-transform 0.5s 0.5s ease;
  transition: -webkit-transform 0.5s 0.5s ease;
  transition: transform 0.5s 0.5s ease;
  transition: transform 0.5s 0.5s ease, -webkit-transform 0.5s 0.5s ease;
}
.upload .upload-files #content-upload #list-files {
  width: 320px;
  margin: 0 auto;
  margin-top: 15px;
  padding-left: 5px;
  text-align: center;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 210px;
  scrollbar-width: thin;
  scrollbar-color: #9eacc9 #eee;
}
.upload .upload-files #content-upload #list-files::-webkit-scrollbar-track {
  background-color: rgba(211, 211, 211, 0.25);
}
.upload .upload-files #content-upload #list-files::-webkit-scrollbar {
  width: 4px;
  background-color: rgba(211, 211, 211, 0.25);
}
.upload .upload-files #content-upload #list-files::-webkit-scrollbar-thumb {
  background-color: rgba(77, 182, 172, 0.5);
}
.upload .upload-files #content-upload #list-files .file, #file--zip {
  width: 300px;
  min-height: 50px;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
          align-items: center;
  opacity: 0;
  -webkit-animation: fade 0.35s ease both;
          animation: fade 0.35s ease both;
}
.upload .upload-files #content-upload #list-files .file .name, #file--zip .name {
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 80px;
  text-align: left;
}
.upload .upload-files #content-upload #list-files .file .progress, #file--zip .progress {
  width: 175px;
  height: 5px;
  border: solid 1px lightgray;
  border-radius: 2px;
  background: -webkit-gradient(linear, right top, left top, from(#4d72b6), to(#4d72b6)) no-repeat;
  background: linear-gradient(to left, #6088d3, #416099) no-repeat;
  background-size: 0% 100%;
}

.upload .upload-files #content-upload #list-files .file .done, #file--zip .done {
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: #4d72b6;
  border-radius: 50%;
  margin-left: -10px;
  -webkit-transform: scale(0);
          transform: scale(0);
  position: relative;
  background-size: 100% 100%;
}
.file .progress::before {
    content: attr(data-pc);
    position: relative;
    top: -8px;
    left: 64%;
    font-size: 14px;
}
#file--zip .progress::before {
    left: 106%;
}
.file .progress.end::before {
    opacity: 0;
}
/*.upload .upload-files #content-upload #list-files .file .done:before, #file--zip .done:before {
  content: "Uploaded";
  position: absolute;
  top: 0;
  left: -30px;
  font-size: 24px;
  opacity: 0;
}
.upload .upload-files #content-upload #list-files .file .done:hover:before, #file--zip .done:hover:before {
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  top: -30px;
  opacity: 1;
}*/
.upload .upload-files #content-upload #list-files .file .done.anim, #file--zip .done.anim {
  -webkit-animation: done1 0.5s ease forwards;
          animation: done1 0.5s ease forwards;
}
.upload .upload-files #content-upload #list-files .file .done.anim #path, #file--zip .done.anim #path {
  -webkit-animation: done2 2.5s 0.5s ease forwards;
          animation: done2 2.5s 0.5s ease forwards;
}
.upload .upload-files #content-upload #list-files .file .done #path, #file--zip .done #path {
  stroke-dashoffset: 7387.59423828125;
  stroke-dasharray: 7387.59423828125 7387.59423828125;
  stroke: #fff;
  fill: transparent;
  stroke-width: 50px;
}
@-webkit-keyframes done2 {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes done2 {
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes done1 {
  50% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 1;
  }
  80% {
    -webkit-transform: scale(0.25);
            transform: scale(0.25);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 1;
  }
}
@keyframes done1 {
  50% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 1;
  }
  80% {
    -webkit-transform: scale(0.25);
            transform: scale(0.25);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 1;
  }
}
.upload .upload-files #content-upload button.importar {
  outline: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  width: 80px;
  margin: auto;
  border: solid 1px #4d72b6;
  color: #4d72b6;
  background: transparent;
  padding: 8px 15px;
  font-size: 12px;
  border-radius: 4px;
  line-height: 1;
  cursor: pointer;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);
  opacity: 0;
  visibility: hidden;
  margin-left: calc(50% - 40px);
}
.upload .upload-files #content-upload .importar.active, .password.active, .password-check.active {
  -webkit-transition: opacity 0.5s 1.5s ease, background, -webkit-transform 0.5s 1.5s ease;
  transition: opacity 0.5s 1.5s ease, background, -webkit-transform 0.5s 1.5s ease;
  transition: transform 0.5s 1.5s ease, opacity 0.5s 1.5s ease, background;
  transition: transform 0.5s 1.5s ease, opacity 0.5s 1.5s ease, background, -webkit-transform 0.5s 1.5s ease;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
  visibility: visible !important;
}
.upload .upload-files #content-upload button.importar:hover {
  background: #4d72b6;
  color: #fff;
}
@-webkit-keyframes fadeup {
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeup {
  to {
    -webkit-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
  }
}
@-webkit-keyframes faderight {
  to {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@keyframes faderight {
  to {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}
@-webkit-keyframes fade {
  to {
    opacity: 1;
  }
}
@keyframes fade {
  to {
    opacity: 1;
  }
}
/*@media (max-width: 1000px) {
  .upload {
    width: 75%;
    height: 75%;
  }
}*/

.bg-ghost {
  opacity: 0%;
  transform: translateY(30px);
  animation: ghost 1.5s 1s ease forwards;
}

@keyframes ghost {
  to {
    opacity: 30%;
    transform: translateY(0);
  }
}

/**********\
|* Upload *|
\**********/

button#bt-get-link {
  margin-left: auto !important;
  margin-right: calc(15% - 40px) !important;
}
button#bt-back {
  margin-left: calc(15% - 40px) !important;
}
button:disabled,
button[disabled]{
  border: 1px solid #999999 !important;
  background-color: #cccccc !important;
  color: #666666 !important;
}
input[type=password].importar, select {
  outline: none;
  position: absolute;
  bottom: 20px;
  background: transparent;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);
  opacity: 0;
  visibility: hidden;

  width: 40%;
  height: 30px;
  padding: 12px 20px;
  margin-left: 30%;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 12px;
}
#bt-password {
  visibility: visible !important;
  opacity: 1 !important;
  left: 0 !important;
  margin-left: 30% !important;
  margin-bottom: 140px;
}
.clipboard-text {
  display: none;
}

/************\
|* Download *|
\************/

.download {
  color: #4d72b6;
}
.download-all {
  outline: none;
  position: absolute;
  left: 0 !important;
  right: 0 !important;
  bottom: 32px;
  margin: auto;
  border: solid 1px #4d72b6;
  color: #4d72b6;
  background: transparent;
  padding: 8px 15px;
  font-size: 12px;
  border-radius: 4px;
  line-height: 1;
  cursor: pointer;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);
  margin-left: auto !important;
  margin-right: auto !important;
}
.download-all.active {
  -webkit-transition: opacity 0.5s 1.5s ease, background, -webkit-transform 0.5s 1.5s ease;
  transition: opacity 0.5s 1.5s ease, background, -webkit-transform 0.5s 1.5s ease;
  transition: transform 0.5s 1.5s ease, opacity 0.5s 1.5s ease, background;
  transition: transform 0.5s 1.5s ease, opacity 0.5s 1.5s ease, background, -webkit-transform 0.5s 1.5s ease;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.download-all:hover {
  background: #4d72b6;
  color: #fff;
}

.download-name {
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 250px;
  text-align: left;
}

.password-check, select {
  outline: none;
  background: transparent;
  -webkit-transform: translateY(15px);
          transform: translateY(15px);

  width: 40%;
  height: 30px;
  padding: 12px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

/*********\
|* About *|
\*********/

.credit {
  margin-bottom: 34px;
}
.body-about {
  margin-left: 24px;
  margin-right: 24px;
  text-align: center;
}
.body-about i {
  font-size: 65px;
  color: lightgray;
}
.body-about h2 {
  margin-top: 34px;
}
/*.body-about h2.small {
  margin-top: 6px;
}*/
.body-about p {
  font-size: 14px;
  line-height: 1.4;
}
.body-about p b,
.body-about p a {
  color: #4d72b6; /* 4db6ac */
}
.body-about > img {
  width: auto;
  height: 128px;
}
.body-about > form {
  display: inline;
}
.body-about > form > input {
  height: 64px;
  margin-right: 32px;
  margin-bottom: 32px;
}
.body-about li {
  text-align: left;
  height: 12px;
  margin-left: 24px;
}

.parent-zip {
    position: absolute;
    width: 100%;
    bottom: 50px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0s ease 0s;
}

#content-upload.hasFiles .parent-zip {
    opacity: 1;
    transition: opacity 0.5s ease 0.5s;
}

#file--zip {
    width: 260px;
    margin: auto;
}
#file--zip .name {
    width: 24px;
    margin-left: 5px;
}