@charset "utf-8";

/* .uploadBox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
} */

.imgInputBox {
    display: inline-block;
    width: 6rem;
    height: 6rem;
    margin-right: 1rem;
    position: relative;
    background-color: #fff;
    background-image: url(/resources/imgs/img_upload_bg.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: top;
    box-shadow: 0 0 4px #bbb;
    margin-bottom: 10px;
}

.imgInputBox[data-img="yes"] {
    background-image: none;
}

.imgInputBox > input.customImgInput {
    position: absolute;
    top: 0;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

.uploadImageContainer {
    background-color: #fff;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.imgInputBox .uploadImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.removeIcon {
    position: absolute;
    background: #F44336;
    right: -6px;
    top: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    z-index: 3;
    cursor: n-resize;
}

.removeIcon:after {
    content: '';
    width: 50%;
    height: 10%;
    background-color: #fff;
    display: block;
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translateY(-50%);
}