#tinymce_managefiles_manageform.hasunusedfiles .managefilesstatus {
    display: none;
}

#tinymce_managefiles_manageform.hasmissingfiles .managefilesstatus {
    display: inline;
}

#tinymce_managefiles_manageform #id_deletefiles {
    display: none;
}

#tinymce_managefiles_manageform.hasunusedfiles #id_deletefiles {
    display: block;
}

#tinymce_managefiles_manageform #id_deletefiles .felement.fcheckbox {
    display: none;
}

#tinymce_managefiles_manageform #id_deletefiles .felement.fcheckbox.isunused {
    display: block;
}
