.photo-list .photo {
  aspect-ratio: 1/1;
  padding: 4px;
}

.photo-list .photo .inner {
  background: #555555;
  width: 100%;
  height: 100%;
  position: relative;
}


.photo-list .photo .inner .panel {
  position: absolute;
  right: 4px;
  top: 4px;
  text-align: end;
}

.photo-list .photo .inner .panel button {
  padding: 0;
  background: rgba(255, 255, 255, 0.5);
  color: grey;
  width: 24px;
  height: 24px;
  font-size: 14px;
  border: 0;
  border-radius: 0;
}

.photo-list .photo .inner img {
  width: calc(100%);
  height: calc(100%);
  object-fit: cover;
  /*margin: 2px;*/
}

.photo-list .photo .panel .dropdown .dropdown-menu {
  --bs-dropdown-color: #a6a6a6;
  --bs-dropdown-bg: #2e2e2e;
  --bs-dropdown-border-radius: 0;
  --bs-dropdown-link-color: #a6a6a6;
  --bs-dropdown-link-hover-color: #a6a6a6;
  --bs-dropdown-link-hover-bg: #404040;
  --bs-dropdown-item-padding-y: 3px;
  --bs-dropdown-item-padding-x: 1em;
  --bs-dropdown-font-size: 14px;
  --bs-dropdown-link-disabled-color: #606060;
  --bs-dropdown-link-active-bg: #1abc9c;
}


.modal-photo-upload {
  color: #a6a6a6;
  --bs-modal-bg: #2e2e2e;
  --bs-modal-border-radius: 0px;
  /*--bs-modal-padding: 2em;*/
  --bs-modal-header-border-color: #404040;
  --bs-modal-footer-border-color: #404040;
}

.modal-photo-upload .form-control {
  --bs-body-bg: #404040;
  --bs-body-color: #a6a6a6;
  --bs-border-color: #a6a6a6;
}
.modal-photo-upload .btn-close {
  --bs-btn-close-color: #a6a6a6;
}

.modal-photo-upload .upload-photo-list {

}

.modal-photo-upload .upload-photo-list .upload-photo {
  aspect-ratio: 1/1;
  padding: .5em;
}

.modal-photo-upload .upload-photo-list .upload-photo .inner {
  height: 100%;
  background-color: rgba(166, 166, 166, 0.2);
  position: relative;
}

.modal-photo-upload .upload-photo-list .upload-photo .inner .panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  text-align: end;
  padding: 4px;
}

.modal-photo-upload .upload-photo-list .upload-photo .inner .upload-process {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  bottom: 0;
  /*background: rgba(0, 0, 0, 0.5);*/
}

.modal-photo-upload .upload-photo-list .upload-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-photo-upload .upload-photo-list .append-photo {
  aspect-ratio: 1/1;
}

.modal-photo-upload .upload-photo-list .append-photo .inner {
  width: 100%;
  height: 100%;
  /*padding: 1em;*/
  font-size: 3em;
  display: flex;
  cursor: pointer;
  background-color: rgba(166, 166, 166, 0.2);
  align-items: center;
  justify-content: center;
}