
#fileupload
{
    position: relative;
    margin-bottom: 1em;
    display:block;
}

.fileupload-button
{
    -moz-user-select: none;
    /*background-color: #505050;
    background-image: linear-gradient(bottom, #505050 0%, #707070 100%);
    background-image: -o-linear-gradient(bottom, #505050 0%, #707070 100%);
    background-image: -moz-linear-gradient(bottom, #505050 0%, #707070 100%);
    background-image: -webkit-linear-gradient(bottom, #505050 0%, #707070 100%);
    background-image: -ms-linear-gradient(bottom, #505050 0%, #707070 100%);
    background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #505050), color-stop(1, #707070) );*/
    background-position: center top;
    background-repeat: no-repeat;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #9f9f9f;
    color: #000;
    font: bold 12px Arial, Helvetica, sans-serif;
    cursor: pointer;
    display: inline-block;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 4px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.btn-success
{
    background-color: #fbfbfb;
    border: 1px solid #9f9f9f;
    color: #000;
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active
{
    background-color: #f2f2f2;
    /*background-image: linear-gradient(top, #606060 0%, #808080 100%);
    background-image: -o-linear-gradient(top, #606060 0%, #808080 100%);
    background-image: -moz-linear-gradient(top, #606060 0%, #808080 100%);
    background-image: -webkit-linear-gradient(top, #606060 0%, #808080 100%);
    background-image: -ms-linear-gradient(top, #606060 0%, #808080 100%);
    background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #606060), color-stop(1, #808080) );*/
    text-decoration: none;
}

    .btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active
    {
        background-color: #D0D0D0;
        color: #808080;
    }

input [type="file"]
{
    display: block;
}

.fileinput-button
{
    position: relative;
    overflow: hidden;
}

    .fileinput-button input
    {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        opacity: 0;
        -ms-filter: 'alpha(opacity=0)';
        font-size: 200px;
        direction: ltr;
        cursor: pointer;
    }

.fileupload-queue
{
    margin-bottom: 1em;
}

.fileupload-queue-item
{
    background-color: #F5F5F5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font: 11px Verdana, Geneva, sans-serif;
    margin-top: 5px;
    /*max-width: 350px;*/
    max-width: 200px;
    padding: 10px;
}

.fileupload-error
{
    background-color: #FDE5DD !important;
}

.fileupload-queue-item .cancel a
{
    background: url('../images/uploadify-cancel.png') 0 0 no-repeat;
    float: right;
    height: 16px;
    text-indent: -9999px;
    width: 16px;
}

.fileupload-queue-item.completed
{
    background-color: #E5E5E5;
}

/*======== added from here ===========*/
.fade
{
    opacity: 0;
    display: none;
    transition: opacity 0.15s linear 0s;
}

    .fade.in
    {
        opacity: 1;
        display: block;
    }

.fileupload-progress
{
    margin:10px 0 0 0;
    /*display: inline-block;*/
}

    .fileupload-progress td
    {
        font-size:12px; color:#333; font-weight:400; line-height:1.4em
    }

    .fileupload-progress table
    {
        padding: 2px;
    }

.fileupload-progress table input
{
    border: none;
    background-color:#fff;
    font-size:12px; color:#333; font-weight:400; line-height:1.4em
}
.fileupload-progress table input:hover
{
    border: none;
    background-color:#fff;
    font-size:12px; color:#333; font-weight:400; line-height:1.4em;
    text-decoration:underline
}

.progress
{
    background: url('../images/loading.gif') 0 0 no-repeat;
    margin-top: -14px;
    height: 16px;
    width: 100%;
    display: inline;
}

.progress-bar, .percent
{
    height: 16px;
    width: 100%;
}

.fileName
{
    padding-left: 30px;
}
