.ace-file-input {
    height: 38px;
    line-height: 38px;
    margin-bottom: 9px;
    position: relative;
}
.ace-file-input input {
    position: absolute;
    visibility: hidden;
    z-index: -1;
}
.ace-file-input label {
    background-color: #fff;
    border: 1px solid #e3e3e3;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    display: block;
    height: 28px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.15s ease 0s;
}
.ace-file-input label:hover {
    border-color: #f59942;
    box-shadow: 0 0 0 4px rgba(245, 153, 66, 0.3);
}
.ace-file-input label:before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #6fb3e0;
    border-color: #fff;
    border-image: none;
    border-style: solid;
    border-width: 2px 2px 2px 4px;
    bottom: 0;
    color: #fff;
    content: attr(data-title);
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    line-height: 24px;
    padding: 0 8px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    transition: all 0.3s ease 0s;
}
.ace-file-input label [class*="icon-"], .ace-file-multiple label.selected span [class*="icon-"] {
    background-color: #d1d1d1;
    border: 2px solid #fff;
    bottom: 0;
    color: #fff;
    display: inline-block;
    font-family: FontAwesome;
    font-size: 13px;
    left: 0;
    line-height: 22px;
    position: absolute;
    text-align: center;
    top: 0;
    transition: all 0.1s ease 0s;
    width: 22px;
}
.ace-file-input label span {
    color: #888;
    display: inline-block;
    font-size: 13px;
    height: 28px;
    line-height: 28px;
    max-width: 80%;
    overflow: hidden;
    padding-left: 30px;
    position: static;
    white-space: nowrap;
}
.ace-file-input label span:after {
    content: attr(data-title);
    display: inline-block;
}
.ace-file-input label.selected span {
    color: #666;
}
.ace-file-input .remove {
    background-color: #fb7142;
    border-radius: 24px;
    color: #fff;
    display: none;
    font-size: 11px;
    font-weight: normal;
    height: 17px;
    line-height: 15px;
    position: absolute;
    right: -8px;
    text-align: center;
    top: 6px;
    width: 17px;
}
.ace-file-input a:hover {
    text-decoration: none;
}
.ace-file-input label.selected {
    right: 16px;
}
.ace-file-input label.selected + .remove {
    display: inline-block;
}
.ace-file-input label.selected [class*="icon-"] {
    background-color: #efad62;
}
.ace-file-input label.selected .icon-picture {
    background-color: #bd7a9d;
}
.ace-file-input label.selected .icon-film {
    background-color: #87b87f;
}
.ace-file-input label.selected .icon-music {
    background-color: #8b7ac9;
}
.ace-file-input label.selected .icon-archive {
    background-color: #efad62;
}
.ace-file-input label.hide-placeholder:before {
    display: none;
}
.ace-file-multiple {
    height: auto;
}
.ace-file-multiple label {
    border: 1px dashed #aaa;
    border-radius: 4px;
    height: auto;
    position: relative;
}
.ace-file-multiple label:before {
    background-color: #fff;
    border: 0 none;
    color: #ccc;
    content: attr(data-title);
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    left: 0;
    line-height: 22px;
    margin: 12px;
    position: relative;
    right: 0;
}
.ace-file-multiple label span {
    border-bottom: 1px solid #ddd;
    display: block;
    height: auto;
    margin: 0 4px;
    max-width: 100%;
    padding: 0;
    position: relative;
    width: auto;
}
.ace-file-multiple label span:last-child {
    border-bottom-width: 0;
    margin-bottom: 1px;
}
.ace-file-multiple label span:first-child {
    margin-top: 1px;
}
.ace-file-multiple label span:after {
    display: none;
}
.ace-file-multiple label.selected span:after {
    display: inline-block;
    white-space: pre;
}
.ace-file-multiple label span img {
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    border: 1px solid #d7d7d7;
    margin: 4px 8px 4px 1px;
    padding: 2px;
}
.ace-file-multiple label span img + [class*="icon-"], .ace-file-multiple label.selected span img + [class*="icon-"] {
    display: none;
}
.ace-file-multiple label span:last-child {
    border-bottom-width: 0;
}
.ace-file-multiple .remove {
    background-color: #fff;
    border: 3px solid #bbb;
    border-radius: 32px;
    color: red;
    right: -11px;
    top: -11px;
}
.ace-file-multiple label.selected + .remove:hover {
    border-color: #f4c0b1;
}
.ace-file-multiple label span [class*="icon-"] {
    background-color: transparent;
    color: #d5d5d5;
    display: block;
    font-size: 64px;
    height: auto;
    line-height: 64px;
    margin: 4px 0;
    position: relative;
    text-align: center;
    width: auto;
}
.ace-file-multiple label.selected:after {
    display: none;
}
.ace-file-multiple label.selected span [class*="icon-"] {
    background-color: #efad62;
    line-height: 24px;
    margin-left: 2px;
    margin-right: 4px;
    position: relative;
}
.ace-file-multiple label span.large {
    border-bottom: 2px solid #222;
    margin: 0 1px 3px;
    text-align: center;
}
.ace-file-multiple label span.large:last-child {
    border-bottom-width: 0;
    margin: 0 1px;
}
.ace-file-multiple label span.large:after {
    background-color: #555;
    bottom: 0;
    color: #fff;
    left: 0;
    opacity: 0.8;
    padding: 0 4px;
    position: absolute;
    right: 0;
    top: auto;
}
.ace-file-multiple label span.large img {
    border-width: 0;
    margin: 0;
    padding: 0;
}
.ace-file-input input[type="file"][disabled] + label, .ace-file-input input[type="file"][readonly] + label {
    background-color: #eee;
    cursor: not-allowed;
}
.ace-file-input input[type="file"][readonly] + label {
    cursor: default;
}
.ace-file-input input[type="file"][disabled] + label:hover, .ace-file-input input[type="file"][readonly] + label:hover {
    border-color: #e3e3e3;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}
.ace-file-input input[type="file"][disabled] + label:before, .ace-file-input input[type="file"][readonly] + label:before {
    background-color: #a1aaaf;
    border-color: #eee;
}
.ace-file-multiple input[type="file"][disabled] + label:hover, .ace-file-multiple input[type="file"][readonly] + label:hover {
    border-color: #aaa;
}
.ace-file-multiple input[type="file"][disabled] + label:before, .ace-file-multiple input[type="file"][readonly] + label:before {
    background-color: transparent;
}
.ace-file-multiple input[type="file"][disabled] + label [class*="icon-"], .ace-file-input input[type="file"][readonly] + label [class*="icon-"] {
    border-color: #eee;
}

.ace-spinner {
    display: inline-block;
}
.ace-spinner .spinner-buttons {
    min-width: 18px;
}
.ace-spinner .spinner-buttons > .btn:first-child {
    margin-top: 0;
}
.ace-spinner .spinner-buttons > .btn {
    border-radius: 0;
    font-size: 10px;
    height: 12px;
    left: -1px;
    line-height: 12px;
    padding: 0;
    position: relative;
    width: 16px;
}
.ace-spinner .spinner-buttons > .btn > [class*="icon-"] {
    font-size: 10px;
    margin: 0;
    padding: 0;
}
.ace-spinner .spinner-input {
    color: #777;
    height: 19px;
    line-height: 19px;
    text-align: center;
}