.EditableImage {
    position: relative;
    box-sizing: border-box;
    opacity: 0.8;
    /* height: 1.5rem; */
    /* width: 10rem; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.3rem;
}
.EditableImage:hover { opacity: 1; }

.EditableImage-editBadge {
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    width: 0.5rem;
    height: 0.5rem;
    cursor: pointer;
    z-index: 10;
    color: #ffffff;
}

.EditableImage-image, .EditableImage-placeholder {
    width: 20rem;
    height: 20rem;
    object-fit: scale-down;
}
.EditableImage-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
}

.EditableImage-enlarged {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    flex-flow: row;
    overflow: auto;
}
.EditableImage-enlarged img { 
	object-fit: contain; /* contain or scale-down */
    max-width: 75vw;
    max-height: 70vh;
}

.EditableImage .TextButton {
    /* position: absolute; */
    top: 0;
    right: 0;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.3rem;
    border-radius: 0.3rem;
    z-index: 10;
    /* background-color: #e21818; */
    margin: 0rem;
    padding: 0;
}
.EditableImage .FileInput-combo {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    margin: 0rem;
    padding: 0;
    /* background-color: #e21818; */
}