.filebrowser [class*="column"]+[class*="column"]:last-child {
    float: unset !important;
}

.filebrowser .filter-files-container .filter-files-button {
    width: 35px;
}

form .form-row .filer-dropzone~.related-widget-wrapper-link,
form .form.row.field-folder .related-widget-wrapper-link {
    display: none;
}

.filerFile img {
    width: 36px;
    height: 36px;
    margin-right: 10px
}
.filerFile img[src*=nofile] {
    margin-right: 0;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box
}
.filerFile .related-lookup,
.filerFile img {
    display: inline-block;
    vertical-align: top;
    text-align: center!important
}
.filerFile .related-lookup {
    float: right!important
}
.filerFile a {
    box-sizing: border-box;
    padding-top: 10px!important
}
.filerFile span {
    display: inline-block;
    color: #666;
    font-weight: 400;
    margin-top: 6px;
    margin-bottom: 6px
}
.filerFile span:empty+.related-lookup {
    float: none!important;
    margin-left: 0!important
}
.filerFile .filerClearer,
.filerFile .related-lookup {
    background-image: none!important;
    border-radius: 3px!important;
    color: #454545!important;
    font-size: 12px!important;
    line-height: 12px;
    font-weight: 400;
    text-transform: none!important;
    letter-spacing: normal!important;
    background-color: #fff!important;
    border: 1px solid #ddd!important;
    background-clip: padding-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    float: right;
    margin: 0 0 0 5px!important
}
.filerFile .filerClearer:focus,
.filerFile .filerClearer:hover,
.filerFile .related-lookup:focus,
.filerFile .related-lookup:hover {
    color: #454545!important;
    background-color: #f2f2f2!important;
    border-color: #d0d0d0!important;
    text-decoration: none!important
}
.filerFile .filerClearer:active,
.filerFile .related-lookup:active {
    color: #454545!important;
    background-color: #e6e6e6!important;
    border-color: #c3c3c3!important;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)!important;
    background-image: none!important
}
.filerFile .filerClearer:active:focus,
.filerFile .filerClearer:active:hover,
.filerFile .related-lookup:active:focus,
.filerFile .related-lookup:active:hover {
    color: #454545!important;
    background-color: #d4d4d4!important;
    border-color: #9d9d9d!important
}
.filerFile .filerClearer[disabled],
.filerFile .filerClearer[disabled]:focus .filerFile .filerClearer[disabled]:active,
.filerFile .filerClearer[disabled]:focus .filerFile .related-lookup[disabled]:active,
.filerFile .filerClearer[disabled]:hover,
.filerFile .related-lookup[disabled],
.filerFile .related-lookup[disabled]:focus .filerFile .filerClearer[disabled]:active,
.filerFile .related-lookup[disabled]:focus .filerFile .related-lookup[disabled]:active,
.filerFile .related-lookup[disabled]:hover {
    background-color: rgba(255, 255, 255, .4)!important;
    border-color: rgba(221, 221, 221, .4)!important;
    color: rgba(69, 69, 69, .8) true;
    cursor: not-allowed;
    box-shadow: none!important
}
.filerFile .filerClearer[disabled]:before,
.filerFile .filerClearer[disabled]:focus .filerFile .filerClearer[disabled]:active:before,
.filerFile .filerClearer[disabled]:focus .filerFile .related-lookup[disabled]:active:before,
.filerFile .filerClearer[disabled]:hover:before,
.filerFile .related-lookup[disabled]:before,
.filerFile .related-lookup[disabled]:focus .filerFile .filerClearer[disabled]:active:before,
.filerFile .related-lookup[disabled]:focus .filerFile .related-lookup[disabled]:active:before,
.filerFile .related-lookup[disabled]:hover:before {
    color: rgba(69, 69, 69, .4) true
}
.filerFile .filerClearer:before,
.filerFile .related-lookup:before {
    color: #999!important;
    margin: 0;
    vertical-align: middle
}
.filerFile .filerClearer {
    width: 10px;
    height: 10px;
    padding: 12px!important;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer
}
.filerFile .related-lookup {
    display: inline-block!important;
    padding: 8px 10px!important
}
#drag_line span,
.filerFile .related-lookup img {
    display: none
}

form .form-row .filer-dropzone .filerFile a.related-lookup {
    float: none !important;
}

form .form-row .related-widget-wrapper .filer-dropzone {
    min-width: 300px;
    white-space: nowrap;
}

/* Fix field buttons alignment */
@media (min-width: 811px) {
    form .form-row .filer-dropzone.filer-dropzone-mobile.js-object-attached .filerFile {
        top: 15px !important;
    }
}
