.images-multi-upload {
  padding: 15px;
}
.fp-image-upload-dropzone {
  width: 100% !important;
  margin: 0 0 20px 0 !important;
}
.multi-upload {
  width: 100%;
}
.multi-upload__dummy {
  width: 500px;
}
.multi-upload__buttons {
  width: 100%;
  padding: 10px;
  text-align: center;
  background-color: #f6f6f6;
  background-color: var(--color-bg-body);
}
.multi-upload__content {
  height: 260px;
  overflow-y: auto;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 800px) , screen and (max-height: 800px) {
  .multi-upload__dummy {
    width: 100vw;
  }
 .multi-upload__content {
    height: 200px;
    overflow-y: auto;
  }
  .fr-image-upload-layer {
    padding: 10px 0;
  }
  .dark-theme.fr-popup .fr-image-upload-layer { 
    padding: 10px 0;
  }
}
.upload-image {
  display: inline-block;
  position: relative;
  text-align: center;
  margin: 10px;
}
.upload-image__container {
  width: 80px;
  height: 80px;
}
.upload-image__progressbar {
  display: none;
}
.upload-image__progressbar:before {
  display: block;
  content: '';
  position: absolute;
  background-color: #FFF;
  opacity: 0.7;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}
.upload-image--loading .upload-image__progressbar {
  display: block;
}
.upload-image__progressbar-line {
  background-color: #49d20d;
  width: 0;
  height: 10px;
  position: absolute;
  top: 25px;
  left: 0;
  opacity: 0.7;
}
.upload-image__image {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: 50%;
  background-position-y: 50%;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
.upload-image__close-btn {
  border: none;
  color: #aaa;
  background: transparent;
  cursor: pointer;
}
.image-insert--loading {
  opacity: 0.5;
}

.image-upload--error {
  position: relative;
}

.image-upload--error:after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "\274c"; /* use the hex value here... */
  font-size: 40px; 
  color: #FFF;
  line-height: 80px;
  text-align: center;
}
