@charset "utf-8";

/* fileupload */
.fileupload-instance-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  font-size: 0;
  white-space: nowrap;
  overflow: auto;
  z-index: 100;
}
.fileupload-instance-overlay::after {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.fileupload-instance-board {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.fileupload-instance-wrapper {
  display: inline-block;
  text-align: left;
  white-space: normal;
  background-color: white;
  font-size: 0;
  min-width: 532px;
  max-width: 532px;
  min-height: 232px;
  max-height: 532px;
  color: #404040;
  padding: 16px;
  border-radius: 5px;
  box-shadow: 0 0px 4px 2px #505050;
  font-family: Microsoft YaHei;
}
.fileupload-instance-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 32px;
  height: 32px;
  background: white;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 0px 4px 1px #505050;
  transition: opacity ease-in-out 0.2s;
}
.fileupload-instance-close::before,
.fileupload-instance-close::after {
  content: "";
  width: 2px;
  height: 24px;
  background: #404040;
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -12px;
  margin-left: -1px;
  box-sizing: border-box;
  transform: rotate(45deg);
}
.fileupload-instance-close::before {
  transform: rotate(-45deg);
}

/* buttons */
.fileupload-instance-wrapper .buttons {
  height: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 8px;
}
.fileupload-instance-wrapper .buttons .button {
  padding: 0 8px;
  font-size: 14px;
  cursor: pointer;
  color: #409eff;
  background-color: white;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #409eff;
  transition: all ease-in-out 0.2s;
  display: flex;
  align-items: center;
}
.fileupload-instance-wrapper .buttons .button:hover {
  background-color: #409eff;
  color: white;
}
.fileupload-instance-wrapper .buttons .button.upload {
  background-color: white;
  color: #10bd17;
  box-shadow: inset 0 0 0 1px #10bd17;
}
.fileupload-instance-wrapper .buttons .button.upload:hover {
  background-color: #10bd17;
  color: white;
}
.fileupload-instance-wrapper .buttons .custom-select {
  border: 1px solid #404040;
  border-radius: 3px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
}
.fileupload-instance-wrapper .buttons .custom-select .category-selector {
  display: inline-block !important;
  color: #404040 !important;
  font-size: 16px !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  height: 24px !important;
  vertical-align: initial !important;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  background: transparent;
}
/* end buttons */

/* file */
.fileupload-instance-wrapper .file-inspector {
  max-height: 400px;
  min-height: 100px;
  overflow-y: auto;
}
.fileupload-instance-wrapper .file-inspector .file {
  position: relative;
  margin: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  overflow: hidden;
  transition: all ease-out 0.2s;
}
.fileupload-instance-wrapper
  .file-inspector
  .file:not([data-status="success"]):hover {
  box-shadow: 0px 0px 6px 3px #ddd;
}
.fileupload-instance-wrapper .file-inspector .file.waiting,
.fileupload-instance-wrapper .file-inspector .file.waiting * {
  cursor: wait;
}
.fileupload-instance-wrapper .file-inspector .file[data-status="success"] {
  opacity: 0.8;
  cursor: not-allowed;
}
.fileupload-instance-wrapper .file-inspector .file .icon {
  display: inline-block;
  width: 50px;
  height: 70px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 5px 0 5px 10px;
}
.fileupload-instance-wrapper .file-inspector .file .center {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-left: 8px;
  width: 320px;
}
.fileupload-instance-wrapper .file-inspector .file .center .fileupload-title {
  font-size: 14px;
  margin-top: 8px;
  cursor: help;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="success"]
  .center
  .fileupload-title {
  cursor: not-allowed;
}
.fileupload-instance-wrapper
  .file-inspector
  .file
  .center
  .fileupload-title
  .name {
  display: inline-block;
  max-width: 250px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  vertical-align: top;
}
.fileupload-instance-wrapper
  .file-inspector
  .file
  .center
  .fileupload-title
  .ext {
  display: inline-block;
}
.fileupload-instance-wrapper .file-inspector .file .center .progress {
  position: relative;
  height: 24px;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="ready"]
  .center
  .progress::before {
  content: "等待上传...";
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="invalid"]
  .center
  .progress::before {
  content: "文件错误";
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #f44336;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="loading"]
  .center
  .progress
  *,
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="ready"]
  .center
  .progress
  *,
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="invalid"]
  .center
  .progress
  * {
  display: none;
}
.fileupload-instance-wrapper .file-inspector .file .center .percent {
  position: absolute;
  right: 94%;
  font-size: 12px;
  transition: all ease-out 0.2s;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="success"]
  .center
  .percent {
  color: #2b9a33;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .center
  .percent {
  color: #f44336;
}
.fileupload-instance-wrapper .file-inspector .file .center .bar {
  height: 8px;
  background: #ddd;
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(45deg, #ddd 20%, #e8e8e8 50%, #ddd 97%);
}
.fileupload-instance-wrapper .file-inspector .file .center .bar-progress {
  height: 8px;
  background: #03a9f4;
  position: absolute;
  bottom: 0;
  width: 0%;
  border-radius: 4px;
  transition: width ease-out 0.2s;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="success"]
  .center
  .bar-progress {
  background: #1ebd2a;
  background: linear-gradient(45deg, #1ebd2a 20%, #28d435 50%, #1ebd2a 97%);
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .center
  .bar-progress {
  background: #f44336;
}
.fileupload-instance-wrapper .file-inspector .file .center .fileupload-message {
  height: 20px;
  line-height: 24px;
  font-size: 12px;
  text-align: right;
  color: #f44336;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="uploading"]
  .center
  .fileupload-message {
  font-size: 0;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="uploading"]
  .center
  .fileupload-message::after {
  content: "上传中...";
  font-size: 12px;
  color: #03a9f4;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="success"]
  .center
  .fileupload-message::after {
  content: "上传成功";
  font-size: 12px;
  color: #1ebd2a;
}
/* delete */
.fileupload-instance-wrapper .file-inspector .file .delete {
  position: absolute;
  top: -32px;
  right: -32px;
  width: 0;
  height: 0;
  border: 16px solid;
  border-color: #1ebd2a #1ebd2a transparent transparent;
  cursor: pointer;
  transition: all ease-in-out 0.2s;
}
.fileupload-instance-wrapper .file-inspector .file[data-status="ready"] .delete,
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="invalid"]
  .delete,
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .delete {
  top: 0;
  right: 0;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="invalid"]
  .delete,
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .delete {
  border-color: #f44336 #f44336 transparent transparent;
}
.fileupload-instance-wrapper .file-inspector .file .delete:hover {
  border-width: 20px;
}
.fileupload-instance-wrapper .file-inspector .file .delete::before,
.fileupload-instance-wrapper .file-inspector .file .delete::after {
  content: "";
  width: 2px;
  height: 12px;
  background: white;
  border-radius: 2px;
  position: absolute;
  top: -13px;
  right: -8px;
  transform: rotate(45deg);
  box-sizing: border-box;
  transition: all ease-in-out 0.2s;
}
.fileupload-instance-wrapper .file-inspector .file .delete::before {
  transform: rotate(-45deg);
}
.fileupload-instance-wrapper .file-inspector .file .delete:hover::before,
.fileupload-instance-wrapper .file-inspector .file .delete:hover::after {
  height: 16px;
  top: -17px;
  right: -10px;
}
/* end delete */
/* badge */
.fileupload-instance-wrapper .file-inspector .file .badge {
  position: absolute;
  top: 40%;
  right: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all ease-in-out 0.2s;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="success"]
  .badge {
  opacity: 1;
  visibility: visible;
  background-color: #1ebd2a;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="success"]
  .badge::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  display: inline-block;
  pointer-events: none;
  width: 8px;
  height: 11px;
  border-style: solid;
  border-color: white;
  border-width: 0 3px 3px 0;
  border-radius: 2px;
  box-sizing: border-box;
  transform: rotate(45deg);
}
.fileupload-instance-wrapper .file-inspector .file[data-status="error"] .badge {
  opacity: 1;
  visibility: visible;
  background: #f44336;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .badge::before,
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .badge::after {
  content: "";
  width: 2px;
  height: 12px;
  background: white;
  border-radius: 2px;
  position: absolute;
  top: 4px;
  left: 9px;
  transform: rotate(45deg);
  box-sizing: border-box;
  transition: all ease-in-out 0.2s;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .badge::before {
  transform: rotate(-45deg);
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="invalid"]
  .badge {
  opacity: 1;
  visibility: visible;
  background: #ffa000;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="invalid"]
  .badge::before {
  content: "";
  width: 2px;
  height: 9px;
  background: white;
  border-radius: 2px;
  position: absolute;
  top: 4px;
  left: 9px;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="invalid"]
  .badge::after {
  content: "";
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: absolute;
  bottom: 4px;
  left: 9px;
  box-sizing: border-box;
  transform: rotate(45deg);
}
/* end badge */
/* re-upload */
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .badge:hover {
  background-color: #1ebd2a;
  cursor: pointer;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .badge:hover::before {
  transform: rotate(0deg);
  height: 9px;
  top: 7px;
}
.fileupload-instance-wrapper
  .file-inspector
  .file[data-status="error"]
  .badge:hover::after {
  background: transparent;
  border-color: white;
  border-style: solid;
  border-width: 3px 3px 0 0;
  width: 8px;
  height: 8px;
  transform: rotate(-45deg);
  left: 6px;
  top: 5px;
  box-sizing: border-box;
}
/* end re-upload */
/* end file */

/* limit */
.fileupload-instance-wrapper .limit-description {
  font-size: 14px;
  text-align: left;
  padding: 8px;
  border-top: 1px solid #eee;
}
.fileupload-instance-wrapper .limit-description .error {
  color: #f44336;
  font-weight: bold;
}
.fileupload-instance-wrapper .limit-description .warning {
  font-weight: bold;
}
/* end limit */

/* end fileupload */

/* simple single fileupload */
.simple-single-file-upload.wrapper {
  position: fixed;
  font-size: 0;
}
.simple-single-file-upload.wrapper .upload-status {
  display: inline-block;
  font-size: 16px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  background-color: white;
  transition: all ease-in 0.2s;
}
.simple-single-file-upload.wrapper .upload-status i {
  display: none;
  position: absolute;
  width: 1em;
  height: 1em;
  border-radius: 50%;
}
/* success */
.simple-single-file-upload.wrapper .upload-status[data-status="success"] {
  box-shadow: none;
  background-color: #1ebd2a;
}
.simple-single-file-upload.wrapper
  .upload-status[data-status="success"]::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  display: inline-block;
  pointer-events: none;
  width: 6px;
  height: 9px;
  border-style: solid;
  border-color: white;
  border-width: 0 2px 2px 0;
  box-sizing: border-box;
  transform: rotate(45deg);
}
/* error */
.simple-single-file-upload.wrapper .upload-status[data-status="error"] {
  box-shadow: none;
  background-color: #f44336;
}
.simple-single-file-upload.wrapper .upload-status[data-status="error"]::before,
.simple-single-file-upload.wrapper .upload-status[data-status="error"]::after {
  content: "";
  width: 2px;
  height: 10px;
  background: white;
  border-radius: 2px;
  position: absolute;
  top: 3px;
  left: 7px;
  transform: rotate(45deg);
  box-sizing: border-box;
  transition: all ease-in-out 0.2s;
}
.simple-single-file-upload.wrapper .upload-status[data-status="error"]::before {
  transform: rotate(-45deg);
}
/* uploading */
.simple-single-file-upload.wrapper .upload-status[data-status="uploading"] {
  box-shadow: inset 0 0 0 0.1em #bde6ff;
}
.simple-single-file-upload.wrapper .upload-status[data-status="uploading"] i {
  display: inline-block;
}
.simple-single-file-upload.wrapper .upload-status i.one {
  box-shadow: inset 0 0 0 0.1em #03a9f4;
  clip: rect(0, 1em, 1em, 0.5em);
}
.simple-single-file-upload.wrapper .upload-status i.two {
  clip: rect(0, 0.5em, 1em, 0);
  box-shadow: inset 0 0 0 0.1em #bde6ff;
  transform: rotate(-180deg);
}
.simple-single-file-upload.wrapper .upload-status i.two.fill {
  box-shadow: inset 0 0 0 0.1em #03a9f4;
}
/* end simple single fileupload */
