﻿.popup-css, .upload-image-area {
    display: block;
    max-width: 100%;
}

#CropImageArea {
    padding: 24px 8px 0px 8px;
}

    #CropImageArea .image-container {
        background-color: #fff;
        max-height: 384px;
        min-height: 384px;
        margin-bottom: 0px;
    }

    #CropImageArea .box-left {
        float: left;
        display: inline-block;
        width: 648px;
    }

    #CropImageArea .box-right {
        padding: 0px 16px 24px 24px;
        float: left;
        display: inline-block;
        width: 288px;
    }

    #CropImageArea .image-preview {
        float: left;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    #CropImageArea .image-container, #CropImageArea .image-preview {
        overflow: hidden;
        width: 100%;
    }

    #CropImageArea .upload-image-area {
        max-width: 100%;
        min-height: 384px;
        max-height: 384px;
    }

    #CropImageArea input[type=file] {
        border-radius: 4px;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 0;
        margin: 0;
        cursor: pointer;
        filter: alpha(opacity=0);
        opacity: 0;
        width: 100%;
    }

    #CropImageArea .btn-zoom-custom {
        position: relative;
        border-radius: 4px;
        height: 40px;
        width: 40px;
        background: #f5f6fa;
    }

        #CropImageArea .btn-zoom-custom i {
            font-size: 18px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%,-50%);
        }

    #CropImageArea .button-upload {
        margin-left:auto;
        position: relative;
        color: #6c738d;
        height: 40px;
        float: right;
        font-size: 14px;
        line-height: 40px;
        background-color: #F5F6FA;
        font-weight: bold;
        border-radius: 4px;
        margin-right: 8px;
        padding:0 16px;
    }

        #CropImageArea .button-upload i {
            font-size: 20px;
            line-height: 40px;
        }

        #CropImageArea .button-upload span {
            padding-left: 6px;
            position: relative;
            top: -2px;
        }

        #CropImageArea .button-upload:hover {
            color: #4679CC;
        }

    #CropImageArea .image-controll-action {
        float: left;
    }

    #CropImageArea .image-control {
        display: inline-block;
        margin-top: 16px;
    }

    #CropImageArea .message-warning {
        /*float: right;
        margin-right: 8px;
        margin-top: 11px;*/
        max-width: 375px;
        display: flex;
        flex-flow: column;
        justify-content: center;
        text-align:right;
        margin-right:4px
    }

.file-selection-area {
    position: relative;
    align-items: center;
    max-width: 100%;
    padding: 8px;
    transition: 0.2s;
    width: 100%;
    float: left;
    margin-top: 8px;
    height: 72px;
    background: #FFFFFF;
    border: 1px dashed #E6E6E6;
    box-sizing: border-box;
    border-radius: 6px;
}

    .file-selection-area .icon-button {
        float: left;
        padding: 16px 8px 16px 0px;
        color: #6C6C70;
        font-size: 24px;
    }

    .file-selection-area .after-upload {
        display: inline-flex;
        align-items: center;
        width: 100%;
        height: 100%;
    }

    .file-selection-area .img-previewer {
        margin-right: 8px;
        min-width: 56px;
        height: 56px;
        border-radius: 4px;
        position: relative;
        /*background: #e5e5e5;*/
    }

        .file-selection-area .img-previewer img {
            width: auto;
            height: auto;
            max-height: 56px;
            max-width: 56px;
        }

    .file-selection-area .img-deletor {
        background-image: url('/Maxlead.Web/Content/Banner/img-deletor.png');
        background-size: 28px 28px;
        background-repeat: no-repeat;
        position: absolute;
        width: 100%;
        height: 56px;
        left: 0;
        top: 0;
        background-position: center;
        cursor: pointer;
        opacity:0.9;
    }

    .file-selection-area .warning-extension {
        font-size: 12px;
        line-height: 16px;
        color: #6C6C70;
        float: left;
        word-break: break-word;
        width: 100%;
    }
.img-line-break {
    height: 56px;
    border-left: 1px solid #E6E6E6;
    margin-right: 8px;
}
.file-message {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translate(0, -50%);
}
.img-infor {
    width: calc(100% - 100px);
    max-height: 56px;
    text-overflow: ellipsis;
    word-break: break-all;
    overflow: hidden;
}
.img-prw-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}