@-moz-document domain("docufarm.com") {

/* *** If you wish for the icon to be after the result (like the original), simply change ":before" to ":after".

/* :: PDF :: */
/* remove standard icon */
.t > a + [size="-1"] > [src^="./images/"][title="pdf"]
{display:none !important;}

/* replace with system sensitive icon */
.t > [href$="pdf"] > .tt > a:before,
.t > [href$="PDF"] > .tt > a:before
{
content: url("moz-icon://.pdf?size=16") !important;
padding-right:4px !important;
}

/* :: PPT :: */
/* remove standard icon */
.t > a + [size="-1"] > [src^="./images/"][title="ppt"]
{display:none !important;}

/* replace with system sensitive icon */
.t > [href$="ppt"] > .tt > a:before,
.t > [href$="PPT"] > .tt > a:before
{
content: url("moz-icon://.ppt?size=16") !important;
padding-right:4px !important;
}

/* :: DOC :: */
/* remove standard icon */
.t > a + [size="-1"] > [src^="./images/"][title="doc"]
{display:none !important;}

/* replace with system sensitive icon */
.t > [href$="doc"] > .tt > a:before,
.t > [href$="DOC"] > .tt > a:before
{
content: url("moz-icon://.doc?size=16") !important;
padding-right:4px !important;
}

/* :: RTF :: */
/* remove standard icon */
.t > a + [size="-1"] > [src^="./images/"][title="rtf"]
{display:none !important;}

/* replace with system sensitive icon */
.t > [href$="rtf"] > .tt > a:before,
.t > [href$="RTF"] > .tt > a:before
{
content: url("moz-icon://.rtf?size=16") !important;
padding-right:4px !important;
}

/* :: PS :: */
/* remove standard icon */
.t > a + [size="-1"] > [src^="./images/"][title="ps"]
{display:none !important;}

/* replace with system sensitive icon */
.t > [href$="ps"] > .tt > a:before,
.t > [href$="PS"] > .tt > a:before
{
content: url("moz-icon://.ps?size=16") !important;
padding-right:4px !important;
}

}