
.ace-file-input {
    display: block;
    font-size: inherit;
    position: relative;
    height: 30px;
}
.ace-file-input input[type="file"] {
    position: absolute;
    z-index: -999;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
}
.ace-file-input input[type="file"]:focus {
    outline: 0;
}
.ace-file-input .ace-file-container {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background-color: #fff;
    border: 1px solid #d5d5d5;
    cursor: pointer;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: all 0.15s;
    -o-transition: all 0.15s;
    transition: all 0.15s;
}
.ace-file-input .ace-file-container:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #f59942;
}
.ace-file-input .ace-file-container:before {
    display: inline-block;
    content: attr(data-title);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    line-height: 24px;
    text-align: center;
    padding: 0 8px;
    background-color: #6fb3e0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border: 2px solid #fff;
    border-left-width: 4px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.ace-file-input .ace-file-container .ace-file-name {
    display: inline-block;
    height: 28px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    line-height: 28px;
    color: #888;
    font-size: 13px;
    vertical-align: top;
    position: static;
    padding-left: 30px;
}
.ace-file-input .ace-file-container .ace-file-name:after {
    display: inline-block;
    content: attr(data-title);
}
.ace-file-input .ace-file-container.selected {
    right: 16px;
}
.ace-file-input .ace-file-container.selected .ace-file-name {
    color: #666;
}
.ace-file-input .ace-file-container .ace-icon {
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    line-height: 24px;
    width: 26px;
    text-align: center;
    font-family: FontAwesome;
    font-size: 13px;
    border: 2px solid #fff;
    color: #fff;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
    background-color: #d1d1d1;
}
.ace-file-input .ace-file-container.selected .ace-file-name .ace-icon {
    background-color: #efad62;
}
.ace-file-input .ace-file-container.selected .ace-file-name .file-image {
    background-color: #bd7a9d;
}
.ace-file-input .ace-file-container.selected .ace-file-name .file-video {
    background-color: #87b87f;
}
.ace-file-input .ace-file-container.selected .ace-file-name .file-audio {
    background-color: #8b7ac9;
}
.ace-file-input .ace-file-container.selected .ace-file-name .file-archive {
    background-color: #efad62;
}
.ace-file-input .ace-file-container.hide-placeholder:before {
    display: none;
}
.ace-file-input a:hover {
    text-decoration: none;
}
.ace-file-input .remove {
    position: absolute;
    right: -8px;
    top: 6px;
    display: none;
    width: 17px;
    text-align: center;
    height: 17px;
    line-height: 15px;
    font-size: 11px;
    font-weight: 400;
    background-color: #fb7142;
    border-radius: 100%;
    color: #fff;
    text-decoration: none;
}
.ace-file-input .ace-file-container.selected + .remove {
    display: inline-block;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .ace-file-input input[type="file"] {
        position: absolute;
        width: 0;
        height: 0;
    }
}
.ace-file-input input[type="file"].disabled + .ace-file-container,
.ace-file-input input[type="file"][disabled] + .ace-file-container,
.ace-file-input input[type="file"][readonly] + .ace-file-container {
    cursor: not-allowed;
    background-color: #eee;
}
.ace-file-input input[type="file"].disabled + .ace-file-container:hover,
.ace-file-input input[type="file"][disabled] + .ace-file-container:hover,
.ace-file-input input[type="file"][readonly] + .ace-file-container:hover {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #e3e3e3;
}
.ace-file-input input[type="file"].disabled + .ace-file-container:before,
.ace-file-input input[type="file"][disabled] + .ace-file-container:before,
.ace-file-input input[type="file"][readonly] + .ace-file-container:before {
    border-color: #eee;
    background-color: #a1aaaf;
}
.ace-file-input input[type="file"][readonly] + .ace-file-container {
    cursor: default;
}
.fc-event.ui-draggable-dragging,
.item-list > li.ui-sortable-helper {
    cursor: move;
}
.ace-file-input .ace-file-overlay {
    position: absolute;
    top: -2px;
    bottom: -2px;
    left: -2px;
    right: -10px;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
}
.ace-file-input .ace-file-overlay > .overlay-content {
    display: inline-block;
    position: relative;
    top: 10%;
    left: 0;
    right: 0;
    text-align: center;
}
.ace-file-multiple {
    height: auto;
}
.ace-file-multiple .ace-file-container {
    position: relative;
    height: auto;
    border: 1px dashed #aaa;
    border-radius: 4px;
    text-align: center;
}
.ace-file-multiple .ace-file-container:before {
    display: inline-block;
    content: attr(data-title);
    position: relative;
    right: 0;
    left: 0;
    margin: 12px;
    line-height: 22px;
    background-color: #fff;
    color: #ccc;
    font-size: 18px;
    font-weight: 700;
    border-width: 0;
}
.ace-file-multiple .ace-file-container.selected .ace-file-name .ace-icon {
    display: inline-block;
    left: 0;
    top: 0;
    bottom: 0;
    width: 26px;
    text-align: center;
    font-family: FontAwesome;
    font-size: 13px;
    border: 2px solid #fff;
    color: #fff;
    -webkit-transition: all 0.1s;
    -o-transition: all 0.1s;
    transition: all 0.1s;
}
.ace-file-multiple .ace-file-container .ace-file-name {
    position: relative;
    display: block;
    padding: 0;
    height: auto;
    width: auto;
    max-width: 100%;
    margin: 0 4px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}
.ace-file-multiple .ace-file-container .ace-file-name:first-child {
    margin-top: 1px;
}
.ace-file-multiple .ace-file-container .ace-file-name:last-child {
    border-bottom-width: 0;
    margin-bottom: 1px;
}
.ace-file-multiple .ace-file-container .ace-file-name img {
    padding: 2px;
    border: 1px solid #d7d7d7;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    margin: 4px 8px 4px 1px;
}
.ace-file-multiple .ace-file-container .ace-file-name:after {
    display: none;
}
.ace-file-multiple .ace-file-container.selected .ace-file-name:after {
    display: inline-block;
    white-space: pre;
}
.ace-file-multiple .ace-file-container .ace-file-name img + .ace-icon,
.ace-file-multiple .ace-file-container.selected .ace-file-name img + .ace-icon {
    display: none;
}
.ace-file-multiple .remove {
    right: -11px;
    top: -11px;
    border: 3px solid #bbb;
    border-radius: 32px;
    background-color: #fff;
    color: red;
    width: 23px;
    height: 23px;
    line-height: 16px;
}
.input-group .input-group-addon,
.input-group > .btn {
    border-radius: 0 !important;
}
.ace-file-multiple .ace-file-container.selected + .remove:hover {
    border-color: #f4c0b1;
}
.ace-file-multiple .ace-file-overlay {
    position: absolute;
    top: -12px;
    bottom: -6px;
    left: -12px;
    right: -12px;
}
.ace-file-multiple .ace-file-overlay > .overlay-content {
    top: 20%;
}
.ace-file-multiple .ace-file-container .ace-file-name .ace-icon {
    position: relative;
    display: block;
    text-align: center;
    height: auto;
    line-height: 64px;
    width: auto;
    font-size: 64px;
    color: #d5d5d5;
    margin: 4px 0;
    background-color: transparent;
}
.ace-file-multiple .ace-file-container.selected:after {
    display: none;
}
.ace-file-multiple .ace-file-container.selected .ace-file-name .ace-icon {
    position: relative;
    margin-right: 4px;
    margin-left: 2px;
    line-height: 24px;
}
.ace-file-multiple .ace-file-container .ace-file-name.large {
    text-align: center;
    border-bottom: 1px solid #222;
    margin: 0 1px 3px;
}
.ace-file-multiple .ace-file-container .ace-file-name.large:last-child {
    margin: 0 1px;
}
.ace-file-multiple .ace-file-container .ace-file-name.large:after {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 4px;
    background-color: #555;
    color: #fff;
    opacity: 0.8;
    filter: alpha(opacity=80);
}
.ace-file-multiple .ace-file-container .ace-file-name.large img {
    border-width: 0;
    margin: 0 !important;
    padding: 0;
}
.ace-file-multiple input[type="file"].disabled + .ace-file-container:hover,
.ace-file-multiple input[type="file"][disabled] + .ace-file-container:hover,
.ace-file-multiple input[type="file"][readonly] + .ace-file-container:hover {
    border-color: #aaa;
}
.ace-file-multiple input[type="file"].disabled + .ace-file-container:before,
.ace-file-multiple input[type="file"][disabled] + .ace-file-container:before,
.ace-file-multiple input[type="file"][readonly] + .ace-file-container:before {
    background-color: transparent;
}
.ace-file-multiple input[type="file"].disabled + .ace-file-container .ace-icon,
.ace-file-multiple input[type="file"][disabled] + .ace-file-container .ace-icon,
.ace-file-multiple input[type="file"][readonly] + .ace-file-container .ace-icon {
    border-color: #eee;
}


