.uploadfile > p {
  margin: .5em 0;
}

.uploadfile-wrapper > h2 {
  margin: 0;
  padding: 1rem 0 .5rem 0;
  border-bottom: 1px solid grey;
  text-transform: uppercase;
  font-size: 1rem;
}

.uploadfile {
  padding: 1rem 0;
}

.uploadfile .upload-remain {
  font-weight: bold;
}

.dropzone {
  border: 2px dashed grey;
  padding: .5em;
  cursor: pointer;
}

.front .dropzone {
  font-size: .9em;
}

.dropzone .dz-message {
  text-align: center;
}

.dropzone .dz-success-mark, .dropzone .dz-error-mark, .dropzone .dz-error-message {
  display: none;
}

.dropzone .dz-details {
  display: inline-block;
  padding: 0 2em 0 .2em;
  border-radius: 2px !important;
  margin-top: .3em;
  color: white;
  line-height: 1.5em;
  position: relative;
/ / overflow: hidden;
}

.dropzone .dz-filename {
  z-index: 20;
  position: relative;
}

.uploadfile .icon,
#module-fileupload-account .orders .order .icon {
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  right: 3px;
  top: 50%;
  margin-top: -.5em;
  background-size: contain;
  cursor: pointer;
}

.uploadfile .icon.dz-remove,
.uploadfile .icon.alert-remove {
  background-image: url('../../img/close.png');
  background-repeat: no-repeat;
}

.uploadfile .icon.download-icon,
#module-fileupload-account .orders .order .icon.download-icon {
  background-image: url('../../img/download.png');
}

.uploadfile .icon.alert-remove {
  background-image: url('../../img/close.png');
}

.dropzone .dz-size, .dropzone a.dz-remove {
  display: none;
}

.uploadfile .uploadfile-alert {
  padding: .2em 1.5em .2em .5em;
  margin: .5em 0;
  position: relative;
  font-size: 1em;
}

.uploadfile .uploadfile-alert.hidden {
  display: none;
}

.uploadfile .uploadfile-alert p {
  margin: 0;
  color: indianred;
}

.uploadfile.front .uploadfile-alert p {
  font-size: .9em;
}

.uploadfile .uploadfile-alert::before {
  width: auto !important;
  height: auto !important;
  font-size: inherit !important;
}

.uploadfile .uploadfile-reset {
  padding: .3em;
}

.uploadfile.front .uploadfile-reset {
  font-size: .9em;
}

.uploadfile .dz-progress {
  position: absolute;
  background-color: #f18f16;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: inherit;
}

.uploadfile .dz-upload {
  position: absolute;
  background-color: #2fb5d2;
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  border-radius: inherit;
}

.uploadfile .dz-error-message {
  font-style: italic;
  color: indianred;
}

.uploadfile.front .dz-error-message {
  font-size: .8em;
}

.uploadfile .dz-upload.error {
  background-color: indianred;
}

.uploadfile .uploadfile-config span {
  display: block;
}

.uploadfile .uploadfile-config {
  font-style: italic;
  margin-top: 1em;
}

.uploadfile.front .uploadfile-config {
  font-size: .8em;
}

/*------ 2 - Customer account ------*/

.icon-file {
  display: block;
  width: 3.4rem;
  height: 3.4rem;
  background-image: url('../../img/translation.png');
  background-size: cover;
  background-position: 0 -100%;
  margin: 0 auto;
}

.link-files:hover .icon-file {
  background-position: 0 0;
}

.uploadfile-myaccount {
  font-size: .875rem;
}

.uploadfile .label,
#module-fileupload-account .orders .order .label {
  background-color: #19a35e;
  display: inline-block;
  position: relative;
  border-radius: 3px;
  padding: 0.25rem 2em 0.25rem 0.375rem !important;
  margin: 0.125rem;
  color: white;
  white-space: nowrap;
}

.uploadfile .label:hover,
#module-fileupload-account .orders .order .label:hover {
  background-color: #f18f16;
}

#module-fileupload-account .orders .order {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f6f6f6;
}