﻿section.tuongdv-upload-image-wraper, section.tuongdv-upload-image-wraper * {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
    margin-top: 1px;
    margin-right: 0px;
    margin-bottom: 1px;
    margin-left: 0px;
}

section.tuongdv-upload-image-wraper {
    background: #F6F7F9;
    border: 1px solid #d3d6db;
    border-radius: 2px 2px 2px 2px;
    -moz-border-radius: 2px 2px 2px 2px;
    -webkit-border-radius: 2px 2px 2px 2px;
}

    section.tuongdv-upload-image-wraper .control .file {
        display: block;
        opacity: 0;
        -webkit-opacity: 0;
        -moz-opacity: 0;
        position: absolute;
        top: 0px;
        left: 0px;
    }

    section.tuongdv-upload-image-wraper .control #error-mes {
        display: none;
    }

    section.tuongdv-upload-image-wraper .danhsach-image {
        border-top: 1px solid #d3d6db;
        padding: 5px 5px 0px 0px;
    }

        section.tuongdv-upload-image-wraper .danhsach-image li {
            position: relative;
            overflow: hidden;
            border: none !important;
            border-radius: inherit !important;
            -moz-border-radius: inherit !important;
            -webkit-border-radius: inherit !important;
            padding: 0px 0px 5px 5px !important;
            text-align: center;
            height:120px;

        }
        section.tuongdv-upload-image-wraper .danhsach-image li img{
            min-height:120px;
            max-height:120px;
        }

            section.tuongdv-upload-image-wraper .danhsach-image li .img-uploading {
                background: #ffffff;
                border: 1px solid #d3d6db;
                min-height: 94px;
            }

                section.tuongdv-upload-image-wraper .danhsach-image li .img-uploading span.processbar {
                    display: inline-block;
                    width: calc(100% - 20px);
                    height: 10px;
                    background-size: 5px;
                    position: absolute;
                    left: 10px;
                    bottom: 10px;
                    border: 1px solid #328bd7;
                    box-sizing: border-box;
                    -webkit-box-sizing: border-box;
                    -moz-box-sizing: border-box;
                    overflow: hidden;
                }

                    section.tuongdv-upload-image-wraper .danhsach-image li .img-uploading span.processbar small.processbar-fill {
                        display: block;
                        background: #328bd7;
                        width: 10%;
                        height: 10px;
                    }

            section.tuongdv-upload-image-wraper .danhsach-image li:hover .xoa {
                background: #fff;
                box-shadow: 0px 0px 5px #555;
                transition: all ease-in-out .15s;
                border: 1px solid #595959;
            }

            section.tuongdv-upload-image-wraper .danhsach-image li .xoa {
                position: absolute;
                top: 5px;
                right: 5px;
                cursor: pointer;
                display: block;
                border-radius: 2px 2px 2px 2px;
                -moz-border-radius: 2px 2px 2px 2px;
                -webkit-border-radius: 2px 2px 2px 2px;
                width: 20px;
                height: 20px;
                line-height: 20px;
                text-align: center;
                color: #333;
                font-size: 9pt;
            }

                section.tuongdv-upload-image-wraper .danhsach-image li .xoa:hover {
                    background: #dedede;
                    transition: all ease-in-out .20s;
                }

            section.tuongdv-upload-image-wraper .danhsach-image li img.anh-dai-dien {
                border-radius: 4px 4px 4px 4px;
                border: 1px solid #0089ff;
                padding: 1px;
            }

            section.tuongdv-upload-image-wraper .danhsach-image li span.anh-bia {
                position: absolute;
                top: 0px;
                left: 5px;
                background: #0089ff;
                color: #fff;
                padding: 3px 5px 3px 5px;
                border-radius: 4px 0px 4px 0px;
                -webkit-border-radius: 4px 0px 4px 0px;
                -moz-border-radius: 4px 0px 4px 0px;
                box-shadow: 2px 2px 8px #4f4f4f;
                -webkit-box-shadow: 2px 2px 8px #4f4f4f;
                -moz-box-shadow: 2px 2px 8px #4f4f4f;
            }

/*form chinh sua anh*/
.sua-anh-upload-bg {
    background: #000;
    opacity: 0.8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 30;
    display: none;
}

.sua-anh-upload-wraper {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 40;
    width: 100%;
    height: 100%;
    display: table;
    font-size: 10pt;
    display: none;
}

    .sua-anh-upload-wraper .outNer {
        display: table;
        width: 100%;
        height: 100%;
    }

        .sua-anh-upload-wraper .outNer .inNer {
            width: 70px;
            height: 70px;
            margin: 0px auto;
            display: table-cell;
            vertical-align: middle;
        }

    .sua-anh-upload-wraper .sua-anh-upload-body {
        background: #fff;
        margin: 0px auto;
        float: inherit !important;
        -webkit-border-radius: 4px !important;
        -moz-border-radius: 4px !important;
        -khtml-border-radius: 4px !important;
        border-radius: 4px !important;
        box-shadow: 0 1px 3px rgba(0,0,0,.3);
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3);
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3);
        -khtml-box-shadow: 0 1px 3px rgba(0,0,0,.3);
    }

        .sua-anh-upload-wraper .sua-anh-upload-body .anh-header {
            position: relative;
            border-bottom: 1px solid #dedede;
            font-weight: bold;
            height: 30px;
            line-height: 30px;
            padding: 0px 10px 0px 10px;
        }

            .sua-anh-upload-wraper .sua-anh-upload-body .anh-header .anh-close {
                cursor: pointer;
            }

        .sua-anh-upload-wraper .sua-anh-upload-body .anh-body {
            padding: 0px 0px 20px 0px;
        }

            .sua-anh-upload-wraper .sua-anh-upload-body .anh-body .title-hinhanh {
                height: 30px;
                line-height: 30px;
            }

        .sua-anh-upload-wraper .sua-anh-upload-body .anh-footer {
            border-top: 1px solid #dedede;
            padding: 5px 0px 5px 0px;
        }

        .sua-anh-upload-wraper .sua-anh-upload-body .anh-body .content-hinhanh {
            background: #eee;
            max-height: 300px;
            -webkit-border-radius: 4px !important;
            -moz-border-radius: 4px !important;
            -khtml-border-radius: 4px !important;
            border-radius: 4px !important;
            z-index: 40;
        }
