@namespace url(http://www.w3.org/1999/xhtml);

/* Add a @ in front of mailto: links */
a[href$="mailto:"]:before {
   content: " E-MAIL" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .PDF after links pointing to a PDF file */
a[href$=".pdf"]:after { 
   content: " PDF" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .MP3 after links pointing to a MP3 file */
a[href$=".mp3"]:after { 
   content: " MP3" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .MIDI after links pointing to a Mid file */
a[href$=".mid"]:after {
   content: " MID" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .Wav after links pointing to a Wav file */
a[href$=".wav"]:after {
   content: " WAV" !important;
   color: red !important; 
   font-weight: bold !important; }

/* Add .MOV after links pointing to a Mov file */
a[href$=".mov"]:after {
   content: " MOV" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .EXE after links pointing to a Exe file */
a[href$=".exe"]:after { 
   content: " EXE" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .ZIP after links pointing to a ZIP file */
a[href$=".zip"]:after { 
   content: " ZIP" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .RAR after links pointing to a RAR file */
a[href$=".rar"]:after {
   content: " RAR" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .TGZ after links pointing to a TGZ file */
a[href$=".TGZ"]:after { 
   content: " TGZ" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .7zip after links pointing to a 7ZIP file */
a[href$=".7z"]:after { 
   content: " 7zip" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .GZ after links pointing to a GZ file */
a[href$=".gz"]:after { 
   content: " GZ" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .WAL after links pointing to a WAL file */
a[href$=".wal"]:after { 
   content: " WAL" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .TXT after links pointing to a TXT file */
a[href$=".txt"]:after { 
   content: " TXT" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .DOC after links pointing to a DOC file */
a[href$=".doc"]:after { 
   content: " DOC" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .WSZ after links pointing to a WSZ file */
a[href$=".wsz"]:after { 
   content: " WSZ" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .WMV after links pointing to a WMV file */
a[href$=".wmv"]:after { 
   content: " WMV" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .AVI after links pointing to a AVI file */
a[href$=".avi"]:after { 
   content: " AVI" !important; 
   color: red !important; 
   font-weight: bold !important; }

/* Add .MPG after links pointing to a MPG file */
a[href$=".mpg"]:after { 
   content: " MPG" !important; 
   color: red !important; 
   font-weight: bold !important; } 