.property-files-change-modal.property-pictures-change-modal .property-pictures-change-modal__upload {
  box-sizing: border-box;
  flex: 1 1 0;
  min-height: 0;
  padding: 16px 20px 8px;
  overflow: auto;
}

.property-files-change-modal.property-pictures-change-modal .property-pictures-change-modal__empty-note {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #5c656b;
}

.property-files-change-modal.property-pictures-change-modal .property-pictures-change-modal__fileuploader-items {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__items-list.fileuploader-items-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.property-files-change-modal.property-pictures-change-modal
  .image-item.dragging {
  opacity: 0.65;
  z-index: 1;
  position: relative;
}

.property-files-change-modal.property-pictures-change-modal
  .change-modal-photo-item.property-pictures-change-modal__sortable-item {
  cursor: grab;
}

.property-files-change-modal.property-pictures-change-modal
  .change-modal-photo-item.property-pictures-change-modal__sortable-item.dragging {
  cursor: grabbing;
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__sortable-item
  .fileuploader-action-remove,
.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__sortable-item
  .actions-holder .fileuploader-action,
.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__sortable-item
  .actions-holder a {
  cursor: pointer;
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__sortable-item
  .fileuploader-item-img,
.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__sortable-item
  .fileuploader-item-img
  img,
.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__sortable-item
  .thumbnail-holder {
  cursor: inherit;
}

.fileuploader-item-img.loader {
 display: flex;
 align-items: center;
 justify-content: center;
}

body.property-photos-change-modal--dragging {
  cursor: grabbing !important;
}

.property-files-change-modal.property-pictures-change-modal
  .fileuploader-items-list
  > .fileuploader-item.change-modal-photo-item.selected_cover_photo {
  position: relative;
  border: 3px solid #d64a36 !important;
  border-radius: 9px;
  box-sizing: border-box;
}

.property-files-change-modal.property-pictures-change-modal
  .fileuploader-items-list
  > .fileuploader-item.change-modal-photo-item.selected_cover_photo::after {
  content: "Portada";
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 5;
  height: 18px;
  padding: 1px 6px 0 6px;
  transform: translateX(-50%);
  background-color: #d64a36;
  color: #fff;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
  visibility: visible;
  pointer-events: none;
}

.property-files-change-modal.property-pictures-change-modal
  .change-modal-photo-item
  .fileuploader-item-img
  img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.property-files-change-modal.property-pictures-change-modal
  .fileuploader-thumbnails-input.property-pictures-change-modal__thumbnails-tile {
  position: relative;
  display: inline-block;
  vertical-align: top;
  list-style: none;
}

.property-files-change-modal.property-pictures-change-modal
  .fileuploader-thumbnails-input.property-pictures-change-modal__thumbnails-tile
  .fileuploader-thumbnails-input-inner {
  pointer-events: none;
}

.property-files-change-modal.property-pictures-change-modal .property-pictures-change-modal__file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  font-size: 0;
  direction: ltr;
  pointer-events: auto;
}

.property-files-change-modal.property-pictures-change-modal
  .fileuploader-items-list
  > .fileuploader-item.change-modal-photo-item {
  width: calc(25% - 17px) !important;
  max-width: 265px !important;
  vertical-align: top;
  box-sizing: border-box;
}

.property-files-change-modal.property-pictures-change-modal .ui-sortable-helper {
  z-index: 100100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__sort-placeholder {
  visibility: visible !important;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  min-height: 150px;
  background: #f0f2f4;
  border: 2px dashed #a8b0b8;
  border-radius: 6px;
  width: calc(25% - 17px) !important;
  max-width: 265px !important;
  margin: 0 0 8px 8px;
}

@media all and (max-width: 768px) {
  .property-files-change-modal.property-pictures-change-modal
    .fileuploader-thumbnails-input.property-pictures-change-modal__thumbnails-tile {
    width: 33.33333333%;
    width: calc(33.33333333% - 16px);
  }
  .property-files-change-modal.property-pictures-change-modal
    .fileuploader-items-list
    > .fileuploader-item.change-modal-photo-item {
    width: calc(33.33333333% - 16px) !important;
  }
}
@media all and (max-width: 480px) {
  .property-files-change-modal.property-pictures-change-modal
    .fileuploader-thumbnails-input.property-pictures-change-modal__thumbnails-tile {
    width: 50%;
    width: calc(50% - 16px);
  }
  .property-files-change-modal.property-pictures-change-modal
    .fileuploader-items-list
    > .fileuploader-item.change-modal-photo-item {
    width: calc(50% - 16px) !important;
  }
}

.property-files-change-modal.property-pictures-change-modal
  .change-modal-photo-item.property-photo-item--pending-proposal.property-pictures-change-modal__sortable-item {
  cursor: default;
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__upload-loading.change-modal-photo-item {
  cursor: default;
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__upload-loading
  .fileuploader-item-inner {
  background: #fafcfd;
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__upload-loading
  .thumbnail-holder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__upload-loading
  .fileuploader-item-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
}

.property-files-change-modal.property-pictures-change-modal .property-pictures-change-modal__upload-loading-inner {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f3f6f9;
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__upload-loading
  .modernToast-spinner {
  width: 32px;
  height: 32px;
  margin: 0;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-top-color: rgba(70, 82, 96, 0.65);
}

.property-files-change-modal.property-pictures-change-modal
  .property-pictures-change-modal__upload-loading-title {
  font-size: 12px;
}

.property-files-change-modal.property-pictures-change-modal.fileuploader-theme-thumbnails
  .property-pictures-change-modal__items-list.fileuploader-items-list
  > .fileuploader-item.change-modal-photo-item.property-photo-item--pending-proposal,
.property-files-change-modal.property-pictures-change-modal.fileuploader-theme-thumbnails
  .property-pictures-change-modal__items-list.fileuploader-items-list
  > .fileuploader-item.property-pictures-change-modal__upload-loading {
  display: inline-block;
  vertical-align: top;
  position: relative;
  box-sizing: border-box;
  margin: 16px 0 0 16px;
  padding: 0;
  padding-top: 20%;
  height: 0;
  overflow: visible;
}

@media all and (max-width: 768px) {
  .property-files-change-modal.property-pictures-change-modal.fileuploader-theme-thumbnails
    .property-pictures-change-modal__items-list.fileuploader-items-list
    > .fileuploader-item.change-modal-photo-item.property-photo-item--pending-proposal,
  .property-files-change-modal.property-pictures-change-modal.fileuploader-theme-thumbnails
    .property-pictures-change-modal__items-list.fileuploader-items-list
    > .fileuploader-item.property-pictures-change-modal__upload-loading {
    padding-top: 30%;
  }
}

@media all and (max-width: 480px) {
  .property-files-change-modal.property-pictures-change-modal.fileuploader-theme-thumbnails
    .property-pictures-change-modal__items-list.fileuploader-items-list
    > .fileuploader-item.change-modal-photo-item.property-photo-item--pending-proposal,
  .property-files-change-modal.property-pictures-change-modal.fileuploader-theme-thumbnails
    .property-pictures-change-modal__items-list.fileuploader-items-list
    > .fileuploader-item.property-pictures-change-modal__upload-loading {
    padding-top: 40%;
  }
}

#property_photos_change_modal_submit.property-files-change-modal__submit--loading,
#development_photos_change_modal_submit.property-files-change-modal__submit--loading,
#property_cotization_supervision_save.property-files-change-modal__submit--loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

#property_photos_change_modal_submit.property-files-change-modal__submit--loading::after,
#development_photos_change_modal_submit.property-files-change-modal__submit--loading::after,
#property_cotization_supervision_save.property-files-change-modal__submit--loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.95);
  box-sizing: border-box;
  animation: property-photos-modal-spin 0.7s linear infinite;
}

#property_cotization_supervision_save.property-files-change-modal__submit--loading {
  background-color: #98a2a8;
  filter: none;
  cursor: default;
}

@keyframes property-photos-modal-spin {
  to {
    transform: rotate(360deg);
  }
}
