﻿
.ajax__fileupload {
    padding: 4px;
    border: #A9A9A9 1px solid;
    overflow: auto;
}

.ajax__fileupload_selectFileContainer {
    height: 24px;
    line-height: 24px;
}

.ajax__fileupload_selectFileButton {
    display: block;
    height: 30px;
    line-height: 30px;
    width: 80px;
    text-align: center;
    cursor: pointer;
    margin-right: 4px;
    font-size: 15px;
    /*background-color: #ADC32B; */ /*เขียว*/
    /*color: #000;*/
    background-color: #bc3bde;
    color: white;
}

    .ajax__fileupload_selectFileButton:hover {
        background-color: #000000;
        color: #ffffff;
    }

.ajax__fileupload_topFileStatus {
    color: #000;
}

.ajax__fileupload_ProgressBarHolder {
    margin-right: 70px;
    _margin-right: 0;
}

.ajax__fileupload_uploadbutton {
    width: 80px;
    text-align: center;
    cursor: pointer;
    /* color: #000;
    background-color: #ADC32B;*/
    background-color: #bc3bde;
    color: white;
}

.ajax__fileupload_uploadbutton {
    visibility: hidden;
}

/*            .ajax__fileupload_uploadbutton::after {
                visibility: visible;
                content: 'เพิ่มไฟล์';
                width: 80px;
                text-align: center;
                display: block;
                cursor: pointer;
                color: #000;
                background-color: #ADC32B;
            }*/

.ajax_fileupload_cancelbutton {
    width: 60px;
    text-align: center;
    cursor: pointer;
    color: white;
    font-weight: bold;
    background-color: #990033;
}

.ajax__fileupload_dropzone {
    border-style: dotted;
    border-width: 1px;
    line-height: 50px;
    text-align: center;
    _text-align: left; /* IE Only */
    margin-bottom: 2px;
    display: none;
}

.ajax__fileupload_queueContainer {
    border: #A9A9A9 1px solid;
    border-width: 1px;
    margin-top: 2px;
    padding: 4px;
    clear: both;
}

.ajax__fileupload_progressBar {
    padding-left: 4px;
    background-color: #CCFFCC;
}

.ajax__fileupload_footer {
    margin-top: 2px;
    line-height: 30px;
    height: 30px;
}

.ajax__fileupload_fileItemInfo {
    line-height: 30px;
    height: 30px;
    margin-bottom: 2px;
    overflow: hidden;
}

    .ajax__fileupload_fileItemInfo .filename {
    }

    .ajax__fileupload_fileItemInfo .uploadstatus {
        display: none;
    }

    .ajax__fileupload_fileItemInfo .removeButton {
        cursor: pointer;
        background-color: #900;
        color: white;
        width: 55px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        display: block;
        float: left;
    }

    .ajax__fileupload_fileItemInfo .uploadedState {
        color: #060;
        background-color: #fff;
    }

    .ajax__fileupload_fileItemInfo .uploadingState {
        color: #FF9900;
        background-color: #fff;
    }

    .ajax__fileupload_fileItemInfo .pendingState {
        color: #000;
        background-color: #fff;
    }

    .ajax__fileupload_fileItemInfo .errorState {
        color: #ffffff;
        background-color: #ff0000;
    }

    .ajax__fileupload_fileItemInfo .cancelledState {
        color: #900;
        background-color: #fff;
    }

/*Check*/
.ajax__fileupload_selectFileContainer {
    display: inline-block;
    overflow: hidden;
    position: relative;
    width: 80px;
    /*float: left;*/
}

    .ajax__fileupload_selectFileContainer input {
        border: medium none;
        cursor: pointer;
        height: 40px;
        margin: 0;
        opacity: 0;
        position: absolute;
        right: 0;
        top: 0;
    }

.ajax__fileupload_fileItemInfo {
    position: relative;
    z-index: 0;
}

    .ajax__fileupload_fileItemInfo div {
        display: inline-block;
    }

        .ajax__fileupload_fileItemInfo div.removeButton {
            position: absolute;
            top: 0;
            right: 0;
        }
