var mddLight  = { src: rootFolder+'/swf/MddLight.swf' };
var mddReg    = { src: rootFolder+'/swf/Mdd.swf' };
var arameReg    = { src: rootFolder+'/swf/0Arame.swf' };
var arameStencil  = { src: rootFolder+'/swf/0Arame-Stencil.swf' };

sIFR.activate(mddLight,mddReg,arameReg,arameStencil);

sIFR.replace(mddLight, {
  selector: 'h1.mainTitle',
  css: ['.sIFR-root { color:#FFFFFF; background-color:#333333; }',
  'a { color:#FFFFFF; text-decoration: none; }',
  'a:hover { color:#FFFFFF; text-decoration: none; }'],
  thickness: -50,
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h4.menuTitle',
  css: '.sIFR-root { color:#414141; font-weight:bold; text-transform:uppercase; }',
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h4.menuTitleOrg',
  css: '.sIFR-root { color:#ff6800; font-weight:bold; text-transform:uppercase; }',
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h4.sideTitle',
  css: ['.sIFR-root { color:#FFFFFF; font-weight:bold; text-transform:uppercase; }',
  'a { color:#FFFFFF; text-decoration: none; }',
  'a:hover { color:#FFFFFF; text-decoration: none; }'],
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h2.subHeading',
  css: '.sIFR-root { color:#FFFFFF; text-transform:uppercase; }',
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h3.subHeading.centered',
  css: '.sIFR-root { color:#FFFFFF; font-weight:bold; text-transform:uppercase; text-align: center; }',
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h3.subHeading',
  css: '.sIFR-root { color:#FFFFFF; font-weight:bold; text-transform:uppercase; }',
  transparent: true
});

sIFR.replace(mddReg, {
  selector: '.documentCategories h3.subHeadingOrange',
  css: '.sIFR-root { color:#FF5400; font-weight:bold; text-transform:uppercase; text-align: right; }',
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h3.subHeadingRight',
  css: '.sIFR-root { color:#FFFFFF; font-weight:bold; text-transform:uppercase; text-align: right; }',
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h5.footerHeading',
  css: '.sIFR-root { color:#414141; font-weight:bold; text-transform:uppercase; }',
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h5.subHeading',
  css: '.sIFR-root { color:#FFFFFF; text-transform:uppercase; }',
  transparent: true
});

// PRODUCT PAGE -----------------------

sIFR.replace(mddReg, {
  selector: 'h3.preTitle',
  css: ['.sIFR-root { color:#ff4e00; text-transform:uppercase; font-weight:bold }',
  'a { color:#ff4e00; text-decoration: none; }',
  'a:hover { color:#ff4e00; text-decoration: none; }'],
  offsetTop: 4,
  offsetLeft: 1,
  transparent: true
});

sIFR.replace(arameReg, {
  selector: 'h1.productTitle',
  css: ['.sIFR-root { color:#FFFFFF; leading: -14; }',
  'a { color:#FFFFFF; text-decoration: none; }',
  'a:hover { color:#FFFFFF; text-decoration: none; }'],
  thickness: -10,
  sharpness: 20,
  offsetLeft: -1,
  transparent: true
});


sIFR.replace(mddReg, {
  selector: 'h1.productTitleReduced',
  css: ['.sIFR-root { color:#FFFFFF; leading: -4; font-size: 26px; text-transform: none;}',
  'a { color:#FFFFFF; text-decoration: none; }',
  'a:hover { color:#FFFFFF; text-decoration: none; }'],
  thickness: -10,
  sharpness: 20,
  offsetLeft: -1,
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h4.postTitle',
  css: ['.sIFR-root { color:#FFFFFF; text-transform:uppercase; }'],
  offsetTop: -2,
  offsetLeft: 1,
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'h4.optionsTitle',
  css: ['.sIFR-root { color:#b3b5ba; text-transform:uppercase; text-align:right; }'],
  offsetTop: -2,
  offsetLeft: 1,
  transparent: true
});

sIFR.replace(mddReg, {
  selector: 'body.popupDocument h1',
  css: '.sIFR-root { color:#FF5400; font-weight:bold; text-transform:uppercase; }',
  transparent: true
});

// Team 2xu.

sIFR.replace(mddReg, {
  selector: '#latestUpcomingEvent h2.sectionTitle',
  css: '.sIFR-root { color: #222222; font-size: 12px; font-weight:bold; text-transform: uppercase; }',
  transparent: true
});





sIFR.replace(mddReg, {
  selector: '#prodTopContainer h2.priceTitle',
  css: '.sIFR-root { color: #CB0101; font-size: 22px; font-weight: 100; text-transform: uppercase; }',
  transparent: true
});
sIFR.replace(mddReg, {
  selector: '#prodTopContainer h2.priceTitle1',
  css: '.sIFR-root { color: #FFFFFF; font-size: 22px; font-weight: 100; text-transform: uppercase; }',
  transparent: true
});

