.dropbox,.upload_loader {background:#eeeeee;padding:10px;text-align: center;cursor: pointer;border:1px dashed #cccccc;border-radius: 2px;margin:0 10px 5px 10px;}
.dropbox {position: relative;overflow: hidden;}

.dropbox:hover {background-color: #eeeeee;border:1px dashed #cccccc;}
.dropbox span2 {background: url("../messages/icons/file_upload.png") no-repeat;padding: 8px 0 8px 36px;color:#404040;font-size: 1.1em;}
.dropbox span {padding: 5px 0;color:#808080;}
.dropbox:hover span {color:#404040;}

#fld_file_upload {
    position: absolute;
    direction: ltr;
    font-size: 148px;
    right:0;
    top:0;
    margin: 0;
    opacity: 0;
}

.upload_loader {display: none;cursor: wait;}
.upload_loader span {background: url("/assets/loader/big_gray.gif") no-repeat;padding: 8px 0 8px 40px;color:#404040;font-size: 1.1em;}

.upload_bot {margin-top:10px;text-align: center;background: #feefdb;padding: 10px;margin-left: -10px;margin-right: -10px;}
.upload_bot a {text-decoration: none;border-bottom: 1px dotted #cccccc;color:#606060;font-size: 1.1em;}
.upload_bot a:hover {border-bottom: 1px dotted #808080;color:#404040;}

.inform {
    padding:5px;
    float:none;
    color: #808080;
    font-size: 0.8rem;
}

.file_search {
    padding: 5px;
    float: none;
}
.file_search .fldr {
    padding: .475rem .15rem .475rem 2rem;
    background: url(../messages/icons/search.png) 8px 11px no-repeat;
    width: -webkit-fill-available !important;
    font-size: 1rem;
}

#frame_upload,#multiple {visibility:hidden;position: absolute; left: -1000px;}

.dialog_body {margin: 0px;padding: 0px;}

#upload {margin-top: 0px;height:400px;overflow: hidden;}

#upload .rec {float:left;width:48%;margin:1px 1%;min-height: 67px;border-radius: 5px;}
#upload .rec .inner {padding:5px 5px 5px 10px;}
#upload .rec:hover {background: #f4f4f4;cursor: pointer;}

#upload .preview {
    float:left;
    width: 56px;
    text-align: center;
    max-height:56px;
    overflow: hidden;
}
#upload .preview img {
    border-radius: 2px;
    vertical-align: middle;
    width: 56px;
}

#upload .filename {
    overflow: hidden;
    margin-top: 5px;
    margin-left: 63px;
    margin-right: 16px;
}
#upload .filename .fname {
    line-height: 1.1em;
    margin-top: 5px;
}
#upload .progressbar {
    margin: 3px 0 0 0;
}
#upload .progressbar .container {
    display:none;
    width: 150px;
    border:1px solid #007347;
    border-radius: 7px;
}
#upload .progressbar .slider {
    height:12px;
    width:0px;
    background: #81bb9c;
    border-radius: 5px;
}
#upload .progressbar .attach {
    display:none;
    text-align: right;
}
#upload .error {color:red;font-size: 8pt;margin-top: 0px;}

#upload .rec .icons {float:right;opacity: 0;transition: 0.1s ease;}
#upload .rec:hover .icons {opacity: 1;}

#upload .rec-checked {background-color: #e0efd9;}
#upload .rec-checked:hover {background-color: #e0efd9;}

#upload .rec .delete {float: left;background: url('../icons/delete.png') 0px 0px no-repeat;width:13px;height:13px;background: rgba(0, 0, 0, 0.5) url('../messages/icons/close.gif') 3px 3px no-repeat;border-radius: 3px;opacity: 0.7;cursor: pointer;}
#upload .rec:hover .delete:hover {opacity: 1;}

#dv_attach_images div.item {float: left;position: relative;margin-right: 10px;margin-top: 10px;line-height: 1%;}
#dv_attach_images div.item img {border-radius: 3px;}
#dv_attach_images div.item .fclose {position: absolute;width:13px;height:13px;top:2px;right:2px;background: rgba(0, 0, 0, 0.5) url('../messages/icons/close.gif') 3px 3px no-repeat;opacity: 0.7;border-radius: 3px;cursor: pointer;}
#dv_attach_images div.item .fclose:hover {opacity: 1;}
#dv_attach_images div.item .fname {position: absolute;bottom:0px;left:0px;width: 130px;height:20px;background:rgba(0, 0, 0, 0.5);overflow: hidden;}
#dv_attach_images div.item .fname div {font-family: Tahoma;font-size: 9px;color:white;padding: 1px 5px;line-height: 200%;}

#dv_attach_files {}
#dv_attach_files div.item {float: left;position: relative;margin-right: 10px;margin-top: 10px;margin-bottom: 10px;width:160px;height:50px;overflow: hidden;}
#dv_attach_files div.item .fclose {position: absolute;width:13px;height:13px;top:5px;right:2px;background: rgba(0, 0, 0, 0.5) url('../messages/icons/close.gif') 3px 3px no-repeat;opacity: 0.7;border-radius: 3px;cursor: pointer;}
#dv_attach_files div.item .fclose:hover {opacity: 1;}

#dv_attach_files div.item .fname {
    padding: 3px 15px 3px 42px;
    background: url('/assets/icons/files/file.png') 0px 3px no-repeat;
    height:44px;
}

#dv_attach_files div.item .fname span.ttl {font-weight: bold;}
#dv_attach_files div.item .fname span.file {font-family: Tahoma;font-size: 9px;}


#upload .preview .fname {
    display: inline-block;
    background: url('/assets/icons/files/file.png') 0px 3px no-repeat;
    width:32px;
    height:44px;
}

.f_avi {
    background-image: url('/assets/icons/files/avi.png') !important;
}
.f_docx,.f_doc {
    background-image: url('/assets/icons/files/doc.png') !important;
}
.f_eps {
    background-image: url('/assets/icons/files/eps.png') !important;
}
.f_jpeg,.f_jpg {
    background-image: url('/assets/icons/files/jpg.png') !important;
}
.f_mpeg,.f_mpg {
    background-image: url('/assets/icons/files/mpg.png') !important;
}
.f_pdf {
    background-image: url('/assets/icons/files/pdf.png') !important;
}
.f_png {
    background-image: url('/assets/icons/files/png.png') !important;
}
.f_ppt,.f_pptx {
    background-image: url('/assets/icons/files/ppt.png') !important;
}
.f_rar {
    background-image: url('/assets/icons/files/rar.png') !important;
}
.f_txt {
    background-image: url('/assets/icons/files/txt.png') !important;
}
.f_xls,.f_xlsx {
    background-image: url('/assets/icons/files/xls.png') !important;
}
.f_zip {
    background-image: url('/assets/icons/files/zip.png') !important;
}
.f_mp4 {
    background-image: url('/assets/icons/files/mp4.png') !important;
}

#attach {
    font-size: .875rem;
    color: #808080;
    background: url(../icons/attach.png) 20% -30% no-repeat;
    padding-left: 20px;
    cursor: pointer;
    display: block;
    background-color: #efeeee;
    border: 1px dashed #ccc;
    padding: 8px 16px;
    text-align: center;
    margin: .5rem 1rem;
    border-radius: 2px;
}

#attach:hover {color:#404040;background-position: 0 -48px;}

@media (min-width:700px) {

    #attach {
        color: #808080;
        background: url(../icons/attach.png) 37% -30% no-repeat;
        background-color: #efeeee;
        border: 1px dashed #ccc;
    }

    #attach:hover {
        color: #404040;
        background: url(../icons/attach.png) 37% -30% no-repeat;
        background-color: #efeeee;
        border: 1px dashed #ccc;
    }
}