.fileupload {
    left: 125px;
    outline: none;
}

    .fileupload:focus {
        border: 1px solid #1c7eaf;
    }

.fileupload-buttonbar {
    /*width:310px;*/
    /* border: 1px solid #D4D4D4;*/
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #1f1f1f;
    border: 1px solid #bdbdbd;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
}

    .fileupload-buttonbar .ui-button input {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
        /*border: solid transparent;*/
        /*border-width: 0 0 100px 200px;*/
        opacity: 0;
        filter: alpha(opacity=0);
        -o-transform: translate(250px, -50px) scale(1);
        /*-moz-transform: translate(-300px, 0) scale(4);*/
        transform: translate(-300px, 0) scale(4);
        font-size: 23px;
        direction: ltr;
        cursor: pointer;
    }
    .fileupload-buttonbar:focus {
        /*.fileupload-buttonbar.ui-widget-header.ui-corner-top:focus {*/
        background-color: #fff;
        color: #000000;
    }

.fileinput-button-container {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    height: 100%;
    align-items: stretch;
}

.fileinput-button {
    /*margin-top: 4px;*/
    /*overflow: hidden;*/
    /*margin-left: 273px;*/
}

.fileinput-button-icon {
    padding: 9px;
    background: #1c7eaf;
    color: white;
    min-width: 30px;
    text-align: center;
    margin-right: 0px;
    font-size: 12px;
    height: 35px;
}

/* Fix for IE 6: */
/**html .fileinput-button {
    padding: 2px 0;
}*/

/* Fix for IE 7: */
/** + html .fileinput-button {
    padding: 2px 0;
}*/

.fileupload-buttonbar {
}

    .fileupload-buttonbar .ui-button {
        vertical-align: middle;
    }

.fileupload-content {
   /* border: 0;*/
    /*margin-top: -27px;*/

    background-color: white;
    background-image: none;
    margin-top: 0px;
    border: 1px solid #1c7eaf;
    outline-color: none;
}


    .fileupload-content .ui-progressbar {
        width: 200px;
        margin-top: -19px;
    }

    .fileupload-content .ui-progressbar-value {
        background: url(pbar-ani.gif); 
    }

    .fileupload-content .fileupload-progressbar {
        /* width: 210px;
  height:18px;*/
    }

.template-download .delete .ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-icon-only .ui-button-text {
    background: #ffffff url(../images/fileupload_delete.png) no-repeat center center;
}

.fileupload-text {
    position: absolute;
    margin-left: 6px;
    overflow: hidden;
    overflow-x: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
    line-height: 1.5;
    height: -webkit-fill-available;
}

.files {
    border-collapse: collapse;
    /*height:18px;*/
    /*margin-top:6px;*/
    margin-left: 3px;
}

    .files td {
    }

    .files img {
        border: none;
    }

    .files .name {
        font-size: 10px;
        /*width: 150px;*/
        width: 40%;
    }

    .files .hiddenname {
        font-size: 10px;
        width: 150px;
        display: none;
    }

    .files .size {
        text-align: right;
        white-space: nowrap;
        font-size: 10px;
        /*width: 150px;*/
        width: 40%;
    }

    .files .delete {
        font-size: 6px;
        text-align: right;
        padding-right: 6px;
    }

.ui-state-disabled .ui-state-disabled {
    opacity: 1;
    filter: alpha(opacity=100);
}

.ui-state-disabled input {
    cursor: default;
}

.fileinput-button.ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-text-icon-primary {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.fileupload-img-document-def {
    background-image: url(images/icodef.png);
    background-repeat: no-repeat;
    width: 21px;
    height: 21px;
    vertical-align: middle;
    cursor: pointer;
} 

.fileupload-img-document-appendOff {
    background-image: url(images/appendDocOff.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    cursor: pointer;
}

.fileupload-img-document-appendOn {
    background-image: url(images/appendDocOn.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    cursor: pointer;
}

.fileupload-img-document-openScanner {
    background-image: url(images/scanner.png);
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    cursor: pointer;
}


.progress {
    overflow: hidden;
    height: 20px;
    /*margin-bottom: 20px;*/ 
    background-color: #f5f5f5; 
    border-radius: 4px;
}

.progress-bar {
    float: left;
    width: 0%;
    height: 100%;
    font-size: 15px;
    line-height: 1px;
    color: #000;
    text-align: center;
    background-color: #ff0000;
}

.progress-striped .progress-bar, .progress-bar-striped {
    background-size: 40px 40px;
}



.progress-animated .progress-bar,
.progress-animated .bar {
    background: url('../img/progressbar.gif') !important;
    filter: none;
}

.fileupload-process {
    float: right;
    display: none;
}

.fileupload-processing .fileupload-process,
.files .processing .preview {
    display: block;
    width: 32px;
    height: 32px;
    background: url('../img/loading.gif') center no-repeat;
    background-size: contain;
}

.files audio,
.files video {
    max-width: 300px;
}

.files .name {
    word-wrap: break-word;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.files button {
    margin-bottom: 5px;
}

.toggle[type='checkbox'] {
    transform: scale(2);
    margin-left: 10px;
}

.progress-bar-success {
    background-color: #5cb85c;
}

@media (max-width: 767px) {
    .fileupload-buttonbar .btn {
        margin-bottom: 5px;
    }

    .fileupload-buttonbar .delete,
    .fileupload-buttonbar .toggle,
    .files .toggle,
    .files .btn span {
        display: none;
    }

    .files audio,
    .files video {
        max-width: 80px;
    }
}

@media (max-width: 480px) {
    .files .image td:nth-child(2) {
        display: none;
    }
}
