.wk-fileinput {
  &__label{
    margin:0 0 10px 0;
    padding:0;
  }
  &__msg{
    color: $danger;
  }
  &__filelist {
    margin-top: 10px;
    margin-bottom: 10px;
    
    h5 {
      margin: 0 0 5px 0;
      padding: 0;
      font-size: 14px;
    }

    width: 100%;

    &__deletebtn {
      padding: 0px 4px;
      display: inline-block;
    }
    &.small{
      ul{height: 60px;}
    }
    ul {
      
      background-color: #f7f7f7;
      border-radius: 2px;
      height: 100px;
      overflow-y: auto;
      margin: 0;
      padding: 2px 10px;
      
    }

    li {
      margin: 5px 0;
      list-style-type: none;
    }

  }

  &__dropzone {
    
    text-align: center;
    width: 100%;
    height: 200px;
    display: block;
    position: relative;
    overflow: hidden;
    background: #cecece;
    border-radius: 4px;

    background-color: #f7f7f7;
    border: 4px dashed #f0f0f0;
    &--correct{
      background-color: $success_200;
      border-color: 4px dashed $success_200;
    }
    &--incorrect{
      background-color: $danger_200;
      border-color: 4px dashed $danger_200;
    }
    &:hover {
      cursor: pointer;
    }
    &.small{
      height: 60px;
    }
    input {

      position: absolute;
      top: 0;
      right: 0;
      cursor: pointer;
      opacity: 0.0;
      filter: alpha(opacity=0);
      font-size: 300px;

      &:hover {
        cursor: pointer;
      }

      width: 0;
      height: 0;
    }

    &-text {
      position: absolute;
      z-index: 800;
      top: 50%;
      left: 50%;
      transform: translateX(-50%) translateY(-50%);
      padding: 15px;
      background-color: #f0f0f0;
      border-radius: 5px;
      margin-block-start: 0;
      margin-block-end: 0;
      &--correct{
        background-color: $success_300;
      }
      &--incorrect{
        background-color: $danger_300;
      }
      &.small{
        width: 100%;
        height: 100%;
        line-height: 40px;
        padding: 2px;
        @include screen('sm'){
          line-height: 20px;
          
        }
      }

      &:hover {
        cursor: pointer;
      }
    }
  }
  &-progressbar{
    width: 100%;
    display: flex;
    flex-direction: row;
    &__contener{
        width: calc(100% - 50px);
        background-color: #ccc;
        position: relative;
    }
    &__bar{
        height: 100%;
        position: absolute;
        background-color: $secondary;
    }
    &__percent{
        text-align: center;
        width: 50px;
    }
}
}