.fileupload-dropzone {
  width: 100%;
  height: 200px;
  padding: 2rem;
  text-align: center;
  border: dashed 1px $tertiary;
  position: relative;
  background: $lightgrey-2;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;

  input {
    opacity: 0;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
}

.fileover {
  animation: shake 1s;
  animation-iteration-count: infinite;
}

.files-list {

  .single-file {
    display: flex;
    padding: 0.5rem;
    justify-content: space-between;
    align-items: center;
    border: solid 1px $tertiary;
    border-top:0px;

    .delete {
      display: flex;
      margin-left: 0.5rem;
      cursor: pointer;
      align-self: flex-end;
      color: $tertiary;
    }

    .delete.active {
      color: $darkgrey-1;
    }


    display: flex;
    flex-grow: 1;

    .file-icon {
      display:flex;
      width:50px;
    }
    .file-name {
      font-size: 80%;
      font-weight: 500;
      margin: 0;
    }

    .file-size {
      font-size: 60%;
      font-weight: 500;
      color: $grey-4;
      margin: 0;
      margin-bottom: 0.1rem;
    }

    .info {
      width: 100%
    }
  }
}

.fileupload-progress__container {
  height: 6px;
  width: 100%;
  border-radius: 4px;
  background-color: $tertiary;
  position: relative;

  .fileupload-progress {
    width: 0;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 4px;
    background-color: $ochre;
    transition: 0.5s all;
  }
}

.fileupload-result__container {
  font-size: 60%;

}
