.dropzone, .dropzone * {
  box-sizing: border-box;
}

.dropzone {
  position: relative;
  min-height: 200px;
  border: 1px dashed rgba(0, 0, 0, 0.3);
  padding-bottom: 4rem;
}
.dropzone.dz-clickable {
  cursor: pointer;
}
.dropzone.dz-clickable * {
  cursor: default;
}

.dropzone .dz-details {
  flex-grow: 1;
  margin-left: 1rem;
}
.dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message * {
  cursor: pointer;
}
.dropzone.dz-started .dz-message {
  display: none;
}
.dropzone.dz-drag-hover {
  border-style: solid;
}
.dropzone.dz-drag-hover .dz-message {
  opacity: 0.5;
}

.dropzone .dz-message {
  text-align: center;
  margin: 4rem 0 0 0;
}

.dropzone .dz-message .dz-button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

.dropzone .dz-preview {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin-left: 1rem;
  margin-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.dropzone .dz-preview.dz-file-preview .dz-image {
  width: 46px !important;
  overflow: hidden; 
  position: relative;
  flex-shrink: 9;
}

.dropzone .dz-preview .dz-progress {
  height: 15px;
  border: 1px solid #aaa;
  width: 100px;
  margin-left: 1rem;
  margin-right: 1rem;
}
.dropzone .dz-preview .dz-progress .dz-upload {
  display: block;
  height: 100%;
  width: 0;
  background: green;
}

.dropzone .dz-preview .dz-error-message {
  display: none;
  color: red;
}
.dropzone .dz-preview.dz-error .dz-error-message, .dropzone .dz-preview.dz-error .dz-error-mark {
  display: block;
  color: red;
}

.dropzone .dz-preview .dz-error-mark, .dropzone .dz-preview .dz-success-mark {
  position: absolute;
  top: 13px;
  left: 12px;
  display: none;
  z-index: 200;
}

.dropzone .dz-preview .dz-image svg, .dropzone .dz-preview .dz-image svg {
  opacity: .5;
}
.dropzone .dz-preview .dz-error-mark svg, .dropzone .dz-preview .dz-success-mark svg {
  opacity: 1;
}

.dropzone .dz-preview:not(.dz-error) .dz-success-mark {
  display: block;
  color: green;
}

.dropzone .dz-preview .dz-remove {

  font-size: 0.875rem;
  padding: 5px;
  color: white;
  text-align: center;
  display: block;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  background-color: red;
}

.dz-preview {
  border-bottom: 1px solid #dedede;
}

#tpl {
  display: none;
}

.uploadsuccess {
  display: none;
  opacity: 0;
  transition: opacity ease 0.3s;
}
.uploadsuccess.show {
  display: block;
  opacity: 1;
  transition: opacity ease 0.3s;
}