/*UPLOAD IMAGE LIST*/
.upload-image-list {
    list-style-type: none;
    margin: 10px 0;
    padding: 0;
    /*overflow: hidden;*/
}

.upload-image-list li {
    display: inline-block;
    width: 120px;
    height: 100px;
    margin: 10px 10px 10px 5px;
    /*overflow: hidden;*/
    position: relative;
    text-align: center;
}

.upload-image-list img {
    max-width: 120px;
    max-height: 100px;
}

.upload-image-list .close {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #fff;
    color: #0391da;
    padding: 0 4px;
    border-radius: 3px;
    border: 1px solid #0391da;
    display: block;
    opacity: 1;
}
.upload-image-list .close:hover {
    color: #fff;
    background: #0391da;
}

.upload-image-list .description-edit {
    position: absolute;
    right: 0;
    top: 25px;
    background: #555;
    color: #fff;
    padding: 0 4px;
    border-radius: 20px;
    opacity: 0.8;
    display: block;
    border: none;
}

.upload-image-list .description-edit:hover {
    opacity: 1;
}

.upload-image-list .caption {
    font-size: 12px;
}

.upload-image-list .content {
    width: 120px;
    height: 100px;
}


/*FILE UPLOAD*/
.image-upload-form .file-upload {
    padding: 20px 0;
    border: none;
    border-radius: 10px;
    margin: 10px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.image-upload-form .file-upload .filename {
    margin-bottom: 10px;
}

.image-upload-form .file-upload input {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: alpha(opacity:0);
    font-size: 200px;
}

.image-upload-form .file-upload-choose {
    border: 1px solid #039bdd;
    background: #fff;
}

.image-upload-form.hover .file-upload-choose {
    background: #f0f0f0;
}


.userimage-form {
    position: relative;
    margin-bottom: 10px;
}

.userimage-form textarea {
    width: 100%;
    max-width: 100%;
    min-width: 150px;
    height: 100px;
}


/*LIBRARY*/
.uimg-library {
    overflow: hidden;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #999;
}

.uimg-library:first-child {
    margin: 0;
    padding: 0;
    border: none;
}

.uimg-library .item {
    float: left;
    padding: 7px;
}

.uimg-library .item.active {
    background: #ddd;
}

.userimage-library-form {
    padding: 20px;
    border: 2px dashed #999;
}

.userimage-library-form .progress {
    display: block;
    margin-top: 15px;
}

/*IMAGE LIST*/

.image-list {
    text-align: left;
    position: relative;
    overflow: hidden;
}

.image-list ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.image-list li {
    margin-right: 5px;
    display: inline-block;
}

.image-list .first {
    margin-bottom: 10px;
    display: block;
}

.image-list .first img {
    max-width: 100%;
    height: auto;
}

.image-list ul img {
    width: 100px;
    height: 70px;
}


.image-list.gallery .first {
    width: 70%;
}

.image-list.gallery .first img {
    width: 100%;
}

.image-list.gallery ul {
    float: right;
    width: 30%;
    height: 100%;
    position: relative;
    padding-left: 5px;
}

.image-list.gallery ul img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.image-list.gallery ul li {
    height: 33%;
    width: 100%;
    overflow: hidden;
    margin: 0 5px 5px 0;
    display: block;
}

.image-list.gallery .count {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 3px 10px;
    border-radius: 3px;
    width: auto;
}

.image-list .count {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 3px 10px;
    background: #ffc134;
}

.image-list .counter {
    position: absolute;
    bottom: 10px;
    left: 30px;
    right: 30px;
    text-align: center;
}

.image-list .counter .wrapper {
    margin: 0 auto;
    display: inline-block;
    padding: 3px 5px;
    background: #ffc134;
    color: #111;
    border-radius: 3px;
}