/*
Project: Jquery Plugin to select multiple media files (i.e. images and videos). v.1.0.0.1
Project Description: using jquery and bootstrap by this you can create multiple file selector,preview
on boostrap modal,also able to delete file.
Author: Abhishek Mishra
*/

#media-list li img, #media-list-edit li img {
    width: 100px;
    height: 100px
}

#media-list li, #media-list-edit li {
    height: 102px
}

#media-list li video, #media-list-edit li video {
    width: 100px;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%)
}

div#hint_brand .modal-dialog, div#edit-post .modal-dialog {
    top: 110px;
    width: 610px;
    max-width: 100%
}


li.myupload span {
    position: relative;
    width: 100px;
    height: 100px;
    display: block;
    background: #fff
}

li.myupload span input {
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
}

li.myupload span i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ccc;
    font-size: 25px
}

#media-list li, #media-list-edit li {
    float: left;
    border: 1px solid #ccc;
    background: #ccc;
    position: relative;
    margin: 0 5px 5px 0;
    width: 102px
}

#media-list li.myupload, #media-list-edit li.myupload {
    border: 1px dashed #ccc;
}

#media-list li:last-child, #media-list-edit li:last-child {
    margin-right: 0
}

.post-thumb {
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: none
}

#media-list li:hover .post-thumb, #media-list-edit li:hover .post-thumb {
    display: block
}

a.remove-pic {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    display: block;
    height: 25px;
    width: 25px;
    text-align: center;
    padding: 3px 0;
    line-height: 18px;
}

.inner-post-thumb {
    position: relative
}

.user-post-text-wrap {
    position: relative
}

.user-pic-post {
    position: absolute;
    width: 36px;
    height: 36px;
    top: 0;
    left: 0
}

.user-pic-post img {
    width: 100%
}

.user-txt-post {
    padding: 0 0 0 65px
}

textarea.form-control.upostTextarea {
    border: 0;
    box-shadow: none;
    height: 150px;
    resize: none
}

.user-post-text-wrap {
    /*border-bottom: 1px solid #ccc;*/
    margin: 0 0 15px
}

.user-post-btn-wrap {
    margin: 25px 0 0
}

ul.btn-nav {
    list-style: none;
    padding: 0;
    margin: 0
}

ul.btn-nav li {
    position: relative;
    float: left;
    margin: 0 10px 0 0
}

.box-publicstatus .btn-image,
.box-publicstatus .btn-video {
    position: relative;
}

ul.btn-nav li span input,
.box-publicstatus .btn-image input,
.box-publicstatus .btn-video input {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 9;
    opacity: 0;
    filter: alpha(opacity=100);
    cursor: pointer;
    visibility: hidden;
}

.box-publicstatus .btn-image label, 
.box-publicstatus .btn-video label {
    font-size: 12px;
    color: #2C2C2C;
    line-height: 18px;
    font-weight: 500;
    padding: 5px 15px;
    cursor: pointer;
    margin: 0;
}

.box-publicstatus .btn-image label, 
.box-publicstatus .btn-video label {
    padding: 0 !important;
    line-height: normal;
}

ul#media-list, ul#media-list-edit {
    list-style: none;
    padding: 0;
    margin: 0
}