/*dh changes */

.ajax_preview_img img {
    max-width: 120px;
    max-height: 120px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#restricted-fine-uploader {
    padding-top: 1em;
    padding-left: 30px;
    margin-bottom: 20px;
    
    /* dh */
    padding-left: 0;
}

.photos_div div, .ajax_preview_img {
    margin-right: 15px;
    padding: 10px;
    border: 1px black solid;
    width: 125px;
    height: 125px;
    background: white;
    margin-top: 10px;
    
    /* dh */
    margin-right: 0;
    padding: 0;
    padding-top: 10px;
    border: none;
    width: auto;
    height: auto;
    background: transparent;
}
.qq-upload-success div.ajax_preview_img img {
    display: block;
    max-width: 100%;
}

.qq-upload-list {
    display: flex;
    flex-wrap: wrap;
}
.qq-upload-list li {
    display: inline-block;
    height: 200px;
    min-height: 200px;
    margin-right: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background-color: #dff0d8!important;
    color: #333333!important;
    
    /* dh */
    height: auto;
    min-height: 0;
    background-color: #f1f1f1 !important;
    
    flex-basis: 23%;
    margin-right: 2.666%;
}
.qq-upload-list li:nth-child(4n) {
    margin-right: 0;
}

.qq-upload-button {
    background-color: #f2dede;
    color: #333333;
    margin-bottom: 10px;
    
    /* dh */   
    border-radius: 4px;
    background-color: #f1f1f1;
}

.qq-upload-file {
    display: none;
    height: 1em;
    width: 145px;
    margin: 0 0 15px 0;
    overflow: hidden;
}
    

.qq-uploader {
    width: 100%;
}

.qq-upload-fail .qq-upload-status-text {
    background-color: #F2DEDE;
    padding: 5px 10px;
    display: block;
    border: solid 1px #D5B3B3;
    font-size: 14px;
    color: #7E0000;
    border-radius: 4px;
}
.qq-upload-status-text {
    display:none
}

/* dh */
.qq-upload-size{
    display: none;
}