@charset "UTF-8";

.upload-file-btn{
    align-items: stretch;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    input[type="file"]{
        height: 100%;
        left: 0;
        opacity: 0;
        outline: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
    label{
        display: none;
    }
    .ajax-upload-dragdrop{
        width: auto;
        .anviz-btn;
        margin-bottom: 4%;
        padding: 7px 20px;
        color: @color-ff !important;
        background: @color-e8;
        border-color: @color-e8;
        cursor: pointer;
        &:hover{
            text-decoration: none;
            opacity: .8;
        }
        span{
            b{
                display: none;
            }
        }
        .ajax-file-upload{
            display: flex;
            align-items: center;
        }
    }
    .ajax-file-upload-statusbar{
        width: 100%;
        height: auto;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid @color-dd;
        transition: all .3s ease-in-out;
        
        &:hover{
            transition: all .3s ease-in-out;
            border-bottom: 1px solid @color-e8;
        }
        &:first-child{
            margin-top: 2em;
        }
        .ajax-file-upload-filename{
            font-size: @fs-16;
        }
        .ajax-file-upload-red{
            color: @color-ff;
            background: @danger;
            border-color: @danger;
            display: inline-block;
            line-height: 1;
            white-space: nowrap;
            text-align: center;
            outline: none;
            margin: 0;
            user-select: none;
            padding: 6px 12px;
            font-size: @fs-16;
            border-radius: 4px;
            border: 1px solid;
            text-decoration: none;
            cursor: pointer;
            box-sizing: border-box;
            transition: all .3s ease-in-out;
        }
    }
}
