// core-file-uploader

.sln-uploader-wallpaper {
  width: 100%;
  border-radius: var(--UPLOADER-RADIUS, 4px);
  background: var(--UPLOADER-BG, transparent);

  button {
    border: none;
    background: transparent;

    img {
      width: var(--UPLOADER-ICON-SIZE, 44px);
      height: var(--UPLOADER-ICON-SIZE, 44px);
      margin-left: 5px;
      cursor: pointer;
    }
  }

  .action-buttons__flex {
    display: flex;
    justify-content: flex-end;

    .btn {
      border: none;
      background: transparent;
      box-shadow: none;
      padding-right: 0;
      padding-left: 6px;
      text-decoration: none;
      cursor: pointer;
    }
  }

  .wrap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--UPLOADER-HEADER-HEIGHT, 43px);
    padding: 0 var(--UPLOADER-HEADER-PADDING-X, 0);

    &__title {
      width: 100%;
    }

    .control__sln-h3 {
      font-family: var(--font-medium);
      text-transform: var(--UPLOADER-TITLE-TRANSFORM, uppercase);
      font-style: normal;
      font-weight: var(--UPLOADER-TITLE-FONT-WEIGHT, 500);
      font-size: var(--UPLOADER-TITLE-FONT-SIZE, 14px);
      line-height: 1.14;
      margin: 0;
      display: inline-block;
      color: var(--UPLOADER-TITLE-COLOR, inherit);

      .mat-error {
        margin-left: 4px;
        display: contents;
      }
    }

    .control__btn {
      min-width: var(--UPLOADER-CHOOSE-BTN-MIN-WIDTH, auto);
      height: var(--UPLOADER-CHOOSE-BTN-HEIGHT, auto);
      border-radius: var(--UPLOADER-CHOOSE-BTN-RADIUS, 0);
      border: var(--UPLOADER-CHOOSE-BTN-BORDER, none);
      background: var(--UPLOADER-CHOOSE-BTN-BG, transparent);
      color: var(--UPLOADER-CHOOSE-BTN-COLOR, inherit);
      display: var(--UPLOADER-CHOOSE-BTN-DISPLAY, inline);
      align-items: center;
      justify-content: center;
      margin-left: 5px;
      cursor: pointer;

      p {
        font-size: var(--UPLOADER-CHOOSE-BTN-FONT-SIZE, 13px);
        font-family: var(--font-medium);
        letter-spacing: 0;
        margin-bottom: 0;
        text-transform: var(--UPLOADER-CHOOSE-BTN-TEXT-TRANSFORM, none);
      }
    }
  }

  .action-buttons__flex {
    align-items: center;
    height: auto;
    border-top: var(--UPLOADER-LIST-BORDER-TOP, 0.5px dashed var(--GRAY));
    padding: var(--UPLOADER-LIST-PADDING, 16px);

    .control__left {
      width: 100%;
      display: flex;
      align-items: center;
      position: relative;

      p {
        font-family: var(--font-bold);
        cursor: pointer;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        color: var(--MIDLE-GRAY);
        text-decoration: none;
        font-size: 12px;
        padding: 0 5px;
        margin: 0;
      }
    }
  }
}

.sln-clip {
  vertical-align: unset;
}

.uploader-title-th {
  height: 70px !important;
  background-color: #d0d0d0 !important;
  border-bottom: 3px solid var(--ADD-COLOR-2);
  color: var(--DARK-GREY);
}

.uploader-title-thtd {
  font-size: revert;
  text-align: left !important;
  color: #fff !important;
}

.uploader-title-tr {
  height: 36px !important;
  border-left: 1px solid #e0e0e0;
  border-right: 1px solid #e0e0e0;
}

.uploader-left-btn {
  float: left;
  margin-left: 0 !important;
  margin-right: 5px;
}

.sln-text-hide {
  position: absolute;
  max-width: 95%;
  left: 15px;

  p {
    width: 97%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.sln-dropzone {
  height: var(--UPLOADER-DROPZONE-HEIGHT, 20vh);
  width: 100%;
  border: var(--UPLOADER-DROPZONE-BORDER, dashed 1px var(--GRAY-SOFT));
  padding: var(--UPLOADER-DROPZONE-PADDING, 10px);
  border-radius: var(--UPLOADER-DROPZONE-RADIUS, 4px);
  background-color: var(--UPLOADER-DROPZONE-BG, var(--WHITE)) !important;
}
