/*****************************************************************************
It is adviced to place the sIFR JavaScript calls in this file, keeping it
separate from the `sifr.js` file. That way, you can easily swap the `sifr.js`
file for a new version, while keeping the configuration.

You must load this file *after* loading `sifr.js`.

That said, you're of course free to merge the JavaScript files. Just make sure
the copyright statement in `sifr.js` is kept intact.
*****************************************************************************/

var minion = { src: 'sifr/js/minion.swf' };

sIFR.activate(minion);
//sIFR.debug.ratios({ src: 'sifr/js/minion.swf', selector: 'h1' });

sIFR.replace(minion, {
  selector: 'h1.caseStudyTitle',
  ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 39, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { background-color: #d1cdcb; color:#b32017; text-transform: uppercase; }',
  tuneHeight: -5
});

sIFR.replace(minion, {
  selector: 'h2.subhead',
  css: '.sIFR-root { background-color: #aba3a2; color:#b32017; text-transform: uppercase; }'
});

sIFR.replace(minion, {
  selector: 'h2.name',
  ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 39, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: '.sIFR-root { background-color: #432614; color:#b32017; font-size:26px; text-transform: uppercase; leading:-10; }',
  tuneHeight: -7
});

sIFR.replace(minion, {
  selector: 'h3.navItem',
  ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 39, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: ['.sIFR-root { leading:-2; background-color: #b32017; text-align: right; text-transform: uppercase; }'
        ,'a { text-decoration:none; color: #FFFFFF; }'
        ,'a:link { text-decoration:none; color: #FFFFFF; }'
        ,'a:hover { color: #432614; }']
});
/*sIFR.replace(minion, {
  selector: 'h4.teamTitle',
  ratios: [8, 1.3, 11, 1.22, 12, 1.2, 18, 1.19, 23, 1.15, 25, 1.14, 28, 1.13, 39, 1.12, 61, 1.11, 94, 1.1, 95, 1.09, 103, 1.1, 107, 1.09, 110, 1.1, 119, 1.09, 120, 1.1, 1.09],
  css: ['.sIFR-root { background-color: #d1cdcb; color:#434343; text-transform: uppercase; font-style:italic; }',
		,'a { text-decoration:none; color: #434343; }'
        ,'a:link { text-decoration:none; color: #434343; }'
        ,'a:hover { color: #b32017; text-decoration:underline; }'],
  tuneHeight: -5
});*/
