/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.sg-attachment-img-uploader {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 200px;
    background: #dedede;
    border: 1px dashed #909090;
    border-radius: 4px;
    transition: 200ms ease-in;
}

.sg-attachment-img-uploader.is-active {
    background: #b3b3b3;
}

.sg-attachment-img-uploader input[type="file"] {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    width: 100%;
    opacity: 0;
    cursor: pointer;
}

.sg-attachment-img-previewer {
    display: flex;
    flex-wrap: wrap;
}

.sg-thumb-container.thumb-img-item {
    position: relative;
    width: calc(96%/ 4);
    padding: 4px;
    margin-right: 7px;
    margin-bottom: 25px;
}

.sg-thumb-container.thumb-img-item:nth-child(4n) {
    margin-right: 0px;
}

.thumb-img-item p.close-btn {
    margin: 0px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00000017;
    border-radius: 32px;
    position: absolute;
    top: 10px;
    right: 10px;
    transform: rotate(45deg);
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sgoa-panel-content .img-responsive {
    width: 36px;
    margin: 10px auto;
}