/*****************************************************************************
sIFR JavaScript calls 
*****************************************************************************/
// vars are defined in the theme's function file (../functions.php)

// Activate sIFR:
sIFR.activate(snlBold, snlSemiItalic);
// Remember, there must be *only one* `sIFR.activate()`!

// Define replaced objects 
sIFR.replace(snlBold, { // HOME Section Titles
  selector: '.home .section-title h1',
  css: [	'.sIFR-root { color: #FFFFFF; letter-spacing:.5; text-align: center;  }', 'em { color: #d3d2c4; }', 'a {color: #FFFFFF; text-decoration: none; }', 'a:hover{color: #d3d2c4;}'],
  forceSingleLine: false, wmode:	'transparent'
});
sIFR.replace(snlBold, { // DRILL Section Titles
  selector: '.section-title h1 span',
  css: 		'.sIFR-root { color: #FFFFFF; text-align: center;  }',
  offsetTop:'14', tuneHeight: '24', tuneWidth: '1', forceSingleLine: true, wmode: 'transparent'
});
sIFR.replace(snlSemiItalic, { // DRILL Section Titles - grey italic
  selector: '.section-title h1 em',
  css: 		'.sIFR-root { color: #d3d2c4; text-align: center;  }',
  offsetTop:'14', tuneHeight: '24', forceSingleLine: true, wmode:'transparent'
});
sIFR.replace(snlBold, { // Project Category Drill-down titles
  selector: '.sub-cat-title h2',
  css: 		'.sIFR-root { color: #f9ab18; }',
  tuneHeight: '-2', wmode: 	'transparent'
});
sIFR.replace(snlSemiItalic, { // Project Category Drill-down sub-titles
  selector: '.sub-cat-title h3',
  css: 		'.sIFR-root { color: #959484; }',
  wmode: 	'transparent'
});
sIFR.replace(snlBold, { // Yellow Titles
  selector: '#welcome-box h3',
  css: 		'.sIFR-root { color: #f9ab18; letter-spacing:.3;  }',
  offsetTop:'3', wmode: 'transparent'
});

