div.dz-sImageOuterContainer{
    max-width: 250px;
    margin: auto;
    min-height: 29vh;
    display: flex;
    align-items: center;
}

div.dz-sImageContainer{
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative; /* If you want text inside of it */
}

div.single-image-upload {
    cursor: pointer !important;
    position: absolute;
    top: 0;
    left:0;
    bottom: 0;
    right: 0;
    border: 2px dashed;
    border-radius: 11px;
}

div.avatar-upload div.dz-message{
    display: none;
}
div.dz-sImagePlaceholderText{
    padding: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    cursor: pointer !important;
    width:100%;
}

.avatar-upload.dropzone{
    padding: 0 !important;
    min-height: 230px !important;
    width:230px !important;
    border:none;
}

/* Image Previewer */

div.dz-sImagePreview{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
div.dz-sImagePreview img.dz-sImagePreviewImg{
    max-height: 100%;
    max-width: 100%;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    margin:auto;
}
div.dz-sImagePreview div.dz_sImage_Overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: #ff2323;
}
div.dz-sImagePreview:hover div.dz_sImage_Overlay{
    opacity: 0.5;
}
div.dz-sImagePreview div.dz_sImage_Overlay a.icon{
    color: white;
    font-size: 50px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}
div.dz-sImagePreview div.dz_sImage_Overlay a.icon i.fa-trash{
    color: #eee;
}

.avatar-upload.dropzone .dz-preview.dz-image-preview {
    background: transparent !important;
    width: 100%;
}

.avatar-upload.dropzone .dz-preview {
    margin: 0 !important;
}

.avatar-upload.dropzone .dz-preview .dz-image {
    border-radius: 0px !important;
    min-height: 230px !important;
    min-width: 230px !important;
    width: 100%;
    display: flex;
}

.avatar-upload.dropzone .dz-preview .dz-image img {
    object-fit: contain;
}

.avatar-upload.dropzone .dz-filename, .avatar-upload.dropzone .dz-size {
    display:none;
}

.avatar-upload.dropzone .dz-preview .dz-progress {
    /*left: 25% !important;*/
    /*width: 200px;*/
}

.avatar-upload.dropzone a.dz-remove{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1000;
    font-size: 50px;
    transform: translate(-50%,-50%);
}

.avatar-upload.dropzone a.dz-remove i {
    cursor: pointer;
    color: white !important;
}

.avatar-upload div.preview-container:hover a.dz-remove{
    opacity: 0.5;
}
.avatar-upload.dropzone a.dz-remove{
    opacity: 0;
}

div.preview-container:hover div.dz-sImagePreview{
    display: block;
}

div.imageOverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0.5;
    transition: .3s ease;
    background-color: #ff2323;
    display: none;
    cursor: pointer;
}

div.preview-container:hover div.imageOverlay{
    display: block;
}

div.dz-sImagePreview div.dz_sImage_Overlay a.icon i{
    cursor: pointer !important;
}

.avatar-upload.dropzone div.preview-container .dz-preview {
    /*position: absolute;*/
    /*top: 0;*/
    /*right: 0;*/
    /*left: 0;*/
    /*width: 100%;*/
    /*margin: auto !important;*/
}

/*
===================================================
DROPZONE MULTIPLE IMAGES
===================================================
 */
.dz-mImage-upload {
    position: relative;
}
.multipleImage {
    cursor: pointer !important;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 2px dashed;
    border-radius: 11px;
}
.dz-mImagesPlaceholderText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}
.upload-images-title {
    font-weight: 700;
}
.dz-mImagesContainer{
    margin-bottom: 16px;
    min-height: 200px;
}
.dz-mImagesContainer .dropzone{
    background: transparent;
    border: none !important;
}
.dz-mImageThumbnail{
    max-width: 250px;
    /*margin: 0 auto;*/
}
.dz-mImageThumbnail img{
    width: 100% !important;
    height: 250px;
    object-fit: contain;
}
.dz-mImagesContainer .dropzone .dz-preview{
    text-align:center;
}
.dz-mImagesContainer .dropzone .dz-preview.dz-image-preview{
    background: #dedede !important;
}
.dz-mImagesContainer .dz-preview .makePrimary{
    font-size: 14px;
}
.dz-mImagesContainer .dz-preview .dz-remove {
    margin-top: 0.5rem !important;
    display: inherit !important;
}
.dz-mImagesContainer .dz-preview .dz-image{
    border-radius: 0 !important;
}
.dz-mImagesContainer .dz-preview .dz-image img{
    width: 100%;
    height:100%;
    object-fit: contain;
}

/*
=======================================================
FILE ATTACHMENT DROPZONE CSS
=======================================================
 */

.dz-file-attachment{
    padding: 0.375rem 1.75rem;
    min-height: 30px;
    /*max-height:100px;*/
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.dz-file-attachment .dz-message{
    margin: 0;
    display: none;
}

.dz-file-attachment div.dz-fileAttachmentPlaceHolder{
    cursor: pointer;
}

.dz-file-attachment .preview-container .dz-image{
    position: relative;
}

.dz-file-attachment .preview-container .dz-image div{
    position: absolute;
    width: 100%;
    text-align: center;
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 35px;
    color: gray;
}
#comment-quick-add.dropzone{
    border:0;
    background: transparent;
}
#comment-quick-add .dz-message{
    display:none;
}

.dz-file-attachment .preview-container{
    visibility: hidden;
}

.dz-file-attachment .preview-container #previews.collection{
    margin: 0;
    box-shadow: none;
}

.dz-file-attachment .preview-container #previews .file-preview{
    border: solid 1px lightgray;
    border-radius: 5px;
}

.dz-file-attachment .preview-container #previews.collection .actions a{
    width: 1.5em;
    height: 1.5em;
    line-height: 1;
}
.dz-file-attachment .preview-container #previews.collection .actions a i{
    font-size: 1em;
    line-height: 1.6;
}
.dz-file-attachment .preview-container #previews.collection .dz-error-message{
    font-size: 0.8em;
    margin-top: -12px;
    color: #F44336;
}

.dz-file-attachment .progress{
    background: transparent;
}
.dz-file-attachment .progress .determinate {
    background: #e2e1e1;
    transition: width .3s linear;
    border-radius: 8px;
    height: 10px;
}
.dz-file-attachment .dz-remove{
    display:none;
}

.dropzone .dz-preview .dz-progress .dz-upload, .dz-file-attachment .progress .determinate{
    background: #174060;
}
.dropzone .dz-preview .dz-progress{
    border-radius: 7px;
}
