/*****************************************************************************
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.
*****************************************************************************/




// sIFR.useStyleCheck = true;

// Next, activate sIFR:
sIFR.activate(din);

sIFR.replace(din, {
	selector: '.blog-bar h4.header', 
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #666666; text-transform: uppercase; }',
		'a { color: #666666; text-decoration: none; }',
		'a:hover { color: #666666; text-decoration: none; }'
	]
});




sIFR.replace(din, {
	selector: '#cs-cats-mod li a', 
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #996666; text-transform: uppercase; cursor: pointer }',
		'a { color: #996666; text-decoration: none; }',
		'a:hover { color: #666666; text-decoration: none; }'
	]
});

sIFR.replace(din, {
	selector: '.cs-mod li', 
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #fdfdfc; text-transform: uppercase; }',
		'.sIFR-root strong { display: block; color: #cccccc; }',
		'.sIFR-root a { color: #fdfdfc; text-decoration: none; }',
		'.sIFR-root a:hover { color: #ee3124; text-decoration: none; }'
	]
});

sIFR.replace(din, {
	selector: '#content .blog-post h2.title', 
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #333333; text-transform: uppercase; }',
		'a { color: #333333; text-decoration: none; }',
		'a:hover { color: #333333; text-decoration: none; }'
	]
});

sIFR.replace(din, {
	selector: '#content h4', 
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #000000; }',
		'a { color: #000000; text-decoration: none; }',
		'a:hover { color: #000000; text-decoration: none; }'
	]
});

sIFR.replace(din, {
	selector: '.bar h4.header, #content h2, #content .blog-post-comment', 
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ee3124; text-transform: uppercase; }',
		'a { color: #ee3124; text-decoration: none; }',
		'a:hover { color: #ee3124; text-decoration: none; }'
	]
});

sIFR.replace(din, {
	selector: '.cs-project blockquote', 
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ee3124; font-weight: bold; }',
		'a { color: #ee3124; text-decoration: none; }',
		'a:hover { color: #ee3124; text-decoration: none; }'
	]
});

sIFR.replace(din, {
	selector: '.cs-project .powered-by h3', 
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ee3124; font-weight: bold; text-align:right; font-size:14px; line-height:0.9em; }',
		'a { color: #ee3124; text-decoration: none; }',
		'a:hover { color: #ee3124; text-decoration: none; }'
	]
});

sIFR.replace(din, {
	selector: '#head h2', 
	wmode: 'transparent',
	css: '.sIFR-root { color: #333333; font-weight: bold; leading: -8; }' 
});

sIFR.replace(din, {
	selector: '#featured h4', 
	wmode: 'transparent',
	css: '.sIFR-root { color: #ffffff; font-weight: bold; }' 
});

sIFR.replace(din, {
	selector: '#featured h3, #featured li', 
	forceSingleLine: true,
	wmode: 'transparent',
	css: [
		'.sIFR-root { color: #ffffff; }',
		'a { color: #ffff99; text-decoration: none; text-transform: uppercase; background: url(../images/icon-arrow-2.png) no-repeat 0 3px; }',
		'a:hover { color: #ffff99; text-decoration: underline; }'
	]
});


