/* external links */
body a.external { /* applies to, and overrides, all styles below */
  background:transparent url(../linkicons/external.png) center right no-repeat;
  display:inline-block;
  padding-right: 14px;
  height: 16px;
}
/* fix problem of link icons in PmWiki markup "-<" which uses style class .outdent 
 thanks to simon*/
body .outdent a.external {
  text-indent: 0px;
}


/* compressed-data-links */
body a.external[href$='.zip'], body a.external[href$='.tgz']  {
  background:transparent url(../linkicons/zip.png) center right no-repeat;
  padding-right: 20px;

}


/* doc-links */
body a.external[href$='.doc'], body a.external[href$='.docx'], body a.external[href$='.odt'], body a.external[href$='.ods']{
  background:transparent url(../linkicons/doc.png) center right no-repeat;
  padding-right: 20px;
}


/* html-links */
body a.external[href$='.html'], body a.external[href$='.htm'] {
  background:transparent url(../linkicons/html.png) center right no-repeat;
  padding-right: 20px;
}


/* pdf-links */
body a.external[href$='.pdf'] {
  background:transparent url(../linkicons/pdf.png) center right no-repeat;
  padding-right: 20px;
}


/* picture-links */
body a.external[href$='.jpg'], body a.external[href$='.jpeg'], body a.external[href$='.png'], body a.external[href$='.svg'], body a.external[href$='.bmp'], body a.external[href$='.gif'] {
  background:transparent url(../linkicons/image.png) center right no-repeat;
  padding-right: 20px;
}


/* mailto-links */
body a.external[href^="mailto:"] {
  background:transparent url(../linkicons/email.png) center right no-repeat;
  padding-right: 20px;
}


/* txt-links */
body a.external[href$='.txt'] {
  background:transparent url(../linkicons/txt.png) center right no-repeat;
  padding-right: 20px;
}


/* xls-links */
body a.external[href$='.xls'] {
  background:transparent url(../linkicons/xls.png) center right no-repeat;
  padding-right: 20px;
}


/* mailto-links */
a.mail, /* caters for PmWiki DeObMail recipe */
body a.external[href^='mailto'] /* caters for links when DeObMail recipe not used */
{
  background:transparent url(../linkicons/email.png) center right no-repeat;
  padding-right: 20px;
}
