/* -------------------------------------------------------------- 
  
   link-icons.css
   * Icons for links based on protocol or file type.
   
   See the Readme file in this folder for additional instructions.

-------------------------------------------------------------- */

/* Use this class if a link gets an icon when it shouldn't. */
body a.noicon, .noicon a { 
	background:transparent none !important; 
	padding:0 !important; 
	margin:0 !important; 
}

/* Make sure the icons are not cut */
a[href^="http:"], a[href^="https:"], a[href^="mailto:"], a[href^="http:"]:visited, 
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".vcf"], a[href$=".rss"], 
a[href$=".rdf"], a[href$=".xml"], a[href^="aim:"] {
  padding:2px 22px 2px 0;
  margin:-2px 0;
  background-repeat: no-repeat;
  background-position: right center;
}

/* External links */
a[href^="http:"],
a[href^="https:"] 			{ background-image: url(icons/external.png); }
a[href^="http:"]:visited,
a[href^="https:"]:visited	{ background-image: url(icons/visited.png); }
a[href^="mailto:"]        	{ background-image: url(icons/email.png); }

/* Files */
a[href$=".pdf"]   { background-image: url(icons/pdf.png); }  
a[href$=".doc"]   { background-image: url(icons/doc.png); }  
a[href$=".xls"]   { background-image: url(icons/xls.png); }  
a[href$=".vcf"]   { background-image: url(icons/vcf.png); }  
 
/* Misc */
a[href$=".rss"], 
a[href$=".rdf"],
a[href$=".xml"],
a[href^="http:"][href$=".rss"],
a[href^="http:"][href$=".rdf"],
a[href^="http:"][href$=".xml"]   { background-image: url(icons/feed.png); }
a[href^="aim:"]   { background-image: url(icons/im.png); }