div.custom-file-icon {
  display: flex;
  align-items: center;
}

svg.custom-file-icon {
  height: 33px;
  margin-right: 20px;
  flex-shrink: 0;
}

svg.custom-file-icon text.file-extension {
  font-size: 9px;
  font-weight: 700;
  fill: #fff;
}

svg.custom-file-icon text.file-extension-length-3 {
  transform: translateX(6px) translateY(25px);
}

svg.custom-file-icon text.file-extension-length-4 {
  transform: translateX(2px) translateY(25px);
}

/* File icons. */

span.file {
  display: flex;
  min-height: 0;
  padding-left: 0;
  background: none;
  align-items: center;
}

[dir="rtl"] span.file {
  padding-right: 0;
  padding-left: 0;
  background: none;
}

span.file--general,
span.file--application-octet-stream {
  background: none;
}

span.file--package-x-generic {
  background: none;
}

span.file--x-office-spreadsheet {
  background: none;
}

span.file--x-office-document {
  background: none;
}

span.file--x-office-presentation {
  background: none;
}

span.file--text-x-script {
  background: none;
}

span.file--text-html {
  background: none;
}

span.file--text-plain {
  background: none;
}

span.file--application-pdf {
  background: none;
}

span.file--application-x-executable {
  background: none;
}

span.file--audio {
  background: none;
}

span.file--video {
  background: none;
}

span.file--text {
  background: none;
}

span.file--image {
  background: none;
}