// Place all the styles related to the uploadfile controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/

.ajax-file-upload-statusbar {
//    border: 1px solid #0ba1b5;
    border-top: 1px solid #C0C0C0;
    border-bottom: 1px solid #C0C0C0;
//    margin-top: 10px;
//    width: 420px;
    width: 705px;
    height: 68px;
//    margin-right: 10px;
//    margin: 5px;
//    -moz-border-radius: 4px;
//    -webkit-border-radius: 4px;
//    border-radius: 4px;
//    padding: 5px 5px 5px 5px;
//    margin: 5px 5px 5px 15px;
    margin: 15px 5px -16px 15px;
    vertical-align: middle;
//    position: relative;
//    display: table;
}

.ajax-file-upload-filename {
//    width: 100%;
    width: 290px;
    height: 53px;
//    height: auto;
//    margin: 0 5px 5px 10px;
//    color: #807579;
    background-color: #E5F0FE;
    padding: 15px 15px 0px 15px;
//    display: inline-block;
    float: left;
//    white-space:nowrap;
//    overflow: hidden;
//    display: table-cell;
}

.ajax-file-upload-progress {
//    margin: 0 10px 5px 10px;
//    position: relative;
    width: 235px;
    border: 1px solid #ddd;
    padding: 1px;
    border-radius: 3px;
    vertical-align: top;
//    display: inline-block;
    float: left;
    margin: 25px 7px 15px 15px;
//    margin:auto;
//    margin-left: 15px;
}

.ajax-file-upload-bar {
    background-color: #0ba1b5;
    width: 0;
    height: 14px;
    border-radius: 3px;
    color: #FFFFFF;
//    background: image-url('common/progress_m.gif') no-repeat;
    background: url('common/progress_m.gif') no-repeat;
}

.ajax-file-upload-percent {
    position: absolute;
    display: inline-block;
    top: 3px;
    left: 48%
}

.ajax-file-upload-red {
    background-color: #e4685d;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
//    display: inline-block;
    float: left;
    color: #fff;
    font-family: arial;
    font-size: 13px;
    font-weight: normal;
    padding: 4px 15px;
    text-decoration: none;
    text-shadow: 0 1px 0 #b23e35;
    cursor: pointer;
//    display:table-cel;
    vertical-align: top;
//    margin-right:5px;
    margin: 22px 15px 15px 269px;
//    position: relative;
//    position: absolute;
//    margin:auto;
//    margin-left: 15px;
//    margin-top:50%;
//    display: table-cell;
}

.ajax-file-upload-green {
    background-color: #77b55a;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
//    margin: 0;
//    padding: 0;
//    display: inline-block;
    float: left;
    color: #fff;
    font-family: arial;
    font-size: 13px;
    font-weight: normal;
    padding: 4px 15px;
    text-decoration: none;
    cursor: pointer;
    text-shadow: 0 1px 0 #5b8a3c;
    vertical-align: top;
//    margin-right:5px;
//    position: absolute;
//    position: relative;
//    margin:auto;
//    margin-left: 15px;
//    margin: 22px 15px 15px 8px;
    margin: 22px 15px 15px 269px;
//    margin-top: 50%;
}

.ajax-file-upload {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #0f3b67;
//    padding: 10px 20px;

    background: #e6f2ff;
    background-image: -webkit-linear-gradient(top, #e6f2ff, #a5cefc);
    background-image: -moz-linear-gradient(top, #e6f2ff, #a5cefc);
    background-image: -ms-linear-gradient(top, #e6f2ff, #a5cefc);
    background-image: -o-linear-gradient(top, #e6f2ff, #a5cefc);
    background-image: linear-gradient(to bottom, #e6f2ff, #a5cefc);
    -webkit-border-radius: 8;
    -moz-border-radius: 8;
    border-radius: 8px;
    -webkit-box-shadow: 0px 1px 3px #666666;
    -moz-box-shadow: 0px 1px 3px #666666;
    box-shadow: 0px 1px 3px #666666;
    font-family: Arial;
    color: #0f3b67;
    font-size: 16px;
    padding: 10px 15px 10px 15px;
//    padding: 10px 20px 10px 20px;
    border: solid #d7dbe0 2px;
    text-decoration: none;

    display: inline-block;
//    width: 180px;
    margin:0 10px 10px 0;
    cursor:pointer;
    vertical-align:middle;
}

.ajax-file-upload_orig {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 20px;
    cursor:pointer;	
    line-height:20px;
    height:39px;
//    	height:25px;
    margin:0 10px 10px 0;
    display: inline-block;
    background: #fff;
//    border: 1px solid #e8e8e8;
//    color: #888;
    text-decoration: none;
//    border-radius: 3px;
//    -webkit-border-radius: 3px;
//    -moz-border-radius: 3px;
//    -moz-box-shadow: 0 2px 0 0 #e8e8e8;
//    -webkit-box-shadow: 0 2px 0 0 #e8e8e8;
//    box-shadow: 0 2px 0 0 #e8e8e8; 
    padding: 6px 10px 4px 10px; 
    color: #fff;
//    background: #2f8ab9;
    border: none;
    -moz-box-shadow: 0 2px 0 0 #13648d;
    -webkit-box-shadow: 0 2px 0 0 #13648d;
//    box-shadow: 0 2px 0 0 #13648d; 
    vertical-align:middle;
}

.ajax-file-upload:hover {
    background: #d2e6ff;
    background-image: -webkit-linear-gradient(top, #d2e6ff, #639de4);
    background-image: -moz-linear-gradient(top, #d2e6ff, #639de4);
    background-image: -ms-linear-gradient(top, #d2e6ff, #639de4);
    background-image: -o-linear-gradient(top, #d2e6ff, #639de4);
    background-image: linear-gradient(to bottom, #d2e6ff, #639de4);
    text-decoration: none;
    border: solid #1f628d 2px;
    cursor:pointer;
}

.ajax-file-upload:active {
//    margin:3px 10px 10px 0;
}

.ajax-file-upload_old:hover {
    background: #3396c9;
    -moz-box-shadow: 0 2px 0 0 #15719f;
    -webkit-box-shadow: 0 2px 0 0 #15719f;
    box-shadow: 0 2px 0 0 #15719f;
//    background: image-url('common/file1b.png') no-repeat;;
    background: url('common/file1b.png') no-repeat;;
}

.ajax-upload-dragdrop {
    border:2px dotted #A5A5C7;
//    width:420px;
    width:682px;
    color: #C0C0C0;
//    color: #DADCE3;
    text-align:left;
    vertical-align:middle;
    padding:10px 10px 0px 10px;
    margin: 0px 0px 0px 15px;
}

.file_upload_error {
    width: 690px;
    margin: 5px 0px 0px 30px;
//    white-space:nowrap;
//    overflow: hidden;
    color: red;
}

div.upload_status_label,
div.upload_status_value {
    display: table-cell;
    vertical-align: middle;
}
