@import url('../../../../system/css/joomla-fontawesome.min.css');

/***** Icons insert before Files from JCE *****/

a[href].wf_file::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f15b"; /* file */
    display: inline-block;
    margin-right: 0.35em;
}

a[href$=".pdf" i].wf_file::before {
    content: "\f1c1"; /* file-pdf */
}

a[href$=".doc" i].wf_file::before,
a[href$=".docx" i].wf_file::before {
    content: "\f1c2"; /* file-word */
}

a[href$=".xls" i].wf_file::before,
a[href$=".xlsx" i].wf_file::before {
    content: "\f1c3"; /* file-excel */
}

a[href$=".ppt" i].wf_file::before,
a[href$=".pptx" i].wf_file::before {
    content: "\f1c4"; /* file-powerpoint */
}

a[href$=".csv" i].wf_file::before {
    content: "\f6dd"; /* file-csv */
}

a[href$=".zip" i].wf_file::before {
    content: "\f1c6"; /* file-zipper */
}

a[href$=".jpg" i].wf_file::before,
a[href$=".png" i].wf_file::before,
a[href$=".webp" i].wf_file::before {
    content: "\f1c5"; /* file-image */
}

a[href$=".mp3" i].wf_file::before {
    content: "\f1c7"; /* file-audio */
}

a[href$=".mp4" i].wf_file::before {
    content: "\f1c8"; /* file-video */
}

.wf_file_icon {
     display: none;
}

img.wf_file_icon {
    display: none;
}