/*****************************************************************************
The sIFR configuration should typically go in `sifr-config.js`, but in order to
keep the config file clean, and to give a quick overview, it's done here instead.
*****************************************************************************/

var font = {
  src: 'scripts/js/sifr/fonts/centurygothic.swf'
};

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
// sIFR.useStyleCheck = true;
sIFR.activate(font);

sIFR.replace(font, {
  selector: 'h2.sifr',
  wmode: 'transparent',
  css: [
        '.sIFR-root { color: #6db7d2; }',
		'em { font-style: bold; color: #114254; }'
      ]
});
sIFR.replace(font, {
  selector: 'h3',
  wmode: 'transparent',
  css: [
        '.sIFR-root { color: #ffffff; }',
		'em { font-style: bold; color: #114254; }'
      ]
});
sIFR.replace(font, {
  selector: 'p.citation',
  wmode: 'transparent',
  css: [
        '.sIFR-root { color: #b8b8b8; text-align: justify; }',
		'em { color: #6db7d2; }'
      ]
});
sIFR.replace(font, {
  selector: 'p.citation_ref',
  wmode: 'transparent',
  css: [
        '.sIFR-root { color: #6db7d2; text-align: right; text-transform: uppercase; }'
      ]
});
sIFR.replace(font, {
  selector: 'p.sifr',
  wmode: 'transparent',
  css: [
        '.sIFR-root { color: #ffffff; }'
      ]
});