/*
 * The MIT License
 * Copyright (c) 2012 Matias Meno <m@tias.me>
 */

.dropzone {
  box-sizing: border-box;
  border: 2px dashed #D2E2ED;
  border-radius: 2px;
  background: #fff;
  padding-left: 12px;
  padding-bottom: 12px;
  display: none;
}

.dropzone.dz-persistent {
  display: block;
}

.dropzone.dz-clickable {
  cursor: pointer;
}

.dropzone:hover,
.dropzone.dz-drag-hover {
  background: #fff;
}

.dz-message {
  text-align: center;
  margin-top: 12px;
  margin-right: 12px;
  line-height: 140%;
  x: 140%;
  color: #303030;
}

.dz-preview {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-top: 12px;
  margin-right: 12px;
  border-radius: 4px;
  cursor: default;
}

.dz-hidden-input {
  z-index: 10000;
}

.dz-preview.dz-file-preview .dz-image {
  box-sizing: border-box;
  border: 1px solid #D2E2ED;
  background: #EBEBEB;
  background-image: url('../images/theme-modern/dropzone/file.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.dz-preview.dz-file-preview img {
  display: none;
}

.dz-image {
  overflow: hidden;
  width: 90px;
  height: 75px;
  position: relative;
  display: block;
  margin-bottom: 10px;
}

.dz-image img {
  display: block;
}

.dz-details {
  margin-top: 10px;
  color: #707070;
  width: 90px;
}

.dz-size {
  float: right;
}

.dz-size strong {
  font-weight: normal;
}

.dz-filename {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-bottom: 1px;
}

.dz-preview:hover .dz-details {
  display: none;
}

.dz-remove {
  display: none;
  margin-top: 10px;
  color: #707070;
  text-align: center;
  padding-bottom: 1px;
}

.dz-preview:hover .dz-remove {
  display: block;
}

.dz-remove-link {
  text-decoration: none;
  cursor: pointer !important;
}

.dz-preview.dz-processing .dz-progress {
  opacity: 1;
  -webkit-transition: all .2s linear;
  -moz-transition: all .2s linear;
  -ms-transition: all .2s linear;
  -o-transition: all .2s linear;
  transition: all .2s linear;
}

.dz-preview.dz-complete .dz-progress {
  opacity: 0;
  -webkit-transition: opacity .4s ease-in;
  -moz-transition: opacity .4s ease-in;
  -ms-transition: opacity .4s ease-in;
  -o-transition: opacity .4s ease-in;
  transition: opacity .4s ease-in;
}

.dz-preview:not(.dz-processing) .dz-progress {
  -webkit-animation: pulse 6s ease infinite;
  -moz-animation: pulse 6s ease infinite;
  -ms-animation: pulse 6s ease infinite;
  -o-animation: pulse 6s ease infinite;
  animation: pulse 6s ease infinite;
}

.dz-progress {
  opacity: 1;
  pointer-events: none;
  position: absolute;
  height: 8px;
  left: 50%;
  top: 50%;
  margin-top: -8px;
  width: 80px;
  margin-left: -40px;
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1);
  -webkit-transform: scale(1);
  border-radius: 2px;
  overflow: hidden;
}

.dz-upload {
  background: #333;
  background: linear-gradient(to bottom, #666, #444);
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  -webkit-transition: width 300ms ease-in-out;
  -moz-transition: width 300ms ease-in-out;
  -ms-transition: width 300ms ease-in-out;
  -o-transition: width 300ms ease-in-out;
  transition: width 300ms ease-in-out;
}

#noEntityAttachments {
  margin: 0;
}

.AttachmentDropzone {
  margin: 1em 0;
}
