//sIFR.domains = ['dev.2raum-fabrik.de']
//sIFR.debug.ratios({ src: 'swf/sifr/dinregular.swf', selector: 'h1' });

//Configuration
sIFR.delayCSS  = true;
sIFR.fitExactly = false;

var dinschrift = {
  src: '/fileadmin/system/swf/sifr/dinschrift.swf'
  ,ratios: [8,1.41,11,1.31,15,1.29,16,1.28,24,1.26,27,1.24,33,1.23,44,1.22,47,1.21,48,1.22,73,1.21,74,1.2,75,1.21,76,1.2,78,1.21,79,1.2,80,1.21,84,1.2,85,1.21,1.2]
};
var dinregular = {
  src: '/fileadmin/system/swf/sifr/dinregular.swf'
  ,ratios: [10,1.32,16,1.27,19,1.23,25,1.22,31,1.21,38,1.2,42,1.19,43,1.2,51,1.19,55,1.18,56,1.19,57,1.18,60,1.19,96,1.18,97,1.17,102,1.18,103,1.17,107,1.18,109,1.17,111,1.18,112,1.17,113,1.18,115,1.17,116,1.18,121,1.17,122,1.18,1.17]
};

//sIFR.domains = ['2wei-raum.de']
sIFR.activate(dinschrift, dinregular);

//Homepage Accordion item title

sIFR.replace(dinschrift, {
  selector: 'ul#accordion li.currentAccordion .item h2'
  ,css: {
    '.sIFR-root': { 'color': '#ffffff', 'text-transform': 'uppercase', 'leading': '0', 'kerning': 'true', 'letter-spacing': '0.1', 'background-color': '#3a84f5' },
    'a': { 'color': '#ffffff', 'text-decoration': 'none' },
    'a:hover': { 'color': '#ffffff' }
  }
  ,wmode: 'transparent'
  ,fixFocus: true
});

sIFR.replace(dinschrift, {
  selector: 'ul#accordion li.currentAccordion .item h3'
  ,css: {
    '.sIFR-root': { 'color': '#ffffff', 'text-transform': 'uppercase', 'leading': '1', 'kerning': 'true', 'letter-spacing': '0.1', 'background-color': '#3a84f5' },
    'a': { 'color': '#ffffff', 'text-decoration': 'none' },
    'a:hover': { 'color': '#ffffff' }
  }
  ,wmode: 'transparent'
  ,fixFocus: true
});

sIFR.replace(dinschrift, {
  selector: 'ul#accordion li .item h2'
  ,css: {
    '.sIFR-root': { 'color': '#7d7d7d', 'text-transform': 'uppercase', 'leading': '1', 'kerning': 'true', 'letter-spacing': '0.1', 'background-color': '#ffffff' },
    'a': { 'color': '#7d7d7d', 'text-decoration': 'none' },
    'a:hover': { 'color': '#7d7d7d' }
  }
  ,wmode: 'transparent'
  ,fixFocus: true
});

sIFR.replace(dinschrift, {
  selector: 'ul#accordion li .item h3'
  ,css: {
    '.sIFR-root': { 'color': '#7d7d7d', 'text-transform': 'uppercase', 'leading': '1', 'kerning': 'true', 'letter-spacing': '0.1', 'background-color': '#ffffff' },
    'a': { 'color': '#7d7d7d', 'text-decoration': 'none' },
    'a:hover': { 'color': '#7d7d7d' }
  }
  ,wmode: 'transparent'
  ,fixFocus: true
});


//Content H1

sIFR.replace(dinschrift, {
  selector: '#content h1'
  ,css: {
    '.sIFR-root': { 'color': '#3a84f5', 'text-transform': 'uppercase', 'kerning': 'true', 'letter-spacing': '0.1', 'background-color': '#ffffff' }
  },
  kerning: 'true',
  antiAliasType: 'advanced',
  sharpness: '20',
  thickness: '0'
});

//Content Introtext

sIFR.replace(dinregular, {
  selector: '#content .csc-subheader',
  css: {
    '.sIFR-root': { 'color': '#757575', 'kerning': 'true', 'letter-spacing': '-.07', 'leading': '-1', 'background-color': '#ffffff' }
  },
  kerning: 'true',
  antiAliasType: 'advanced',
  sharpness: '0',
  thickness: '40'
});

//Content Teaser H2

sIFR.replace(dinschrift, {
  selector: '#content .teaser h2'
  ,css: {
    '.sIFR-root': { 'color': '#c4352d', 'text-transform': 'uppercase', 'kerning': 'true', 'letter-spacing': '0.4', 'background-color': '#ffffff' },
    'a': { 'color': '#c4352d', 'text-decoration': 'none', 'text-indent': '0' },
    'a:hover': { 'color': '#c4352d'}
  }
  ,wmode: 'transparent'
  ,fixFocus: true
  ,tuneHeight: '-4'
  ,kerning: 'true'
  ,antiAliasType: 'advanced'
  ,sharpness: '20'
  ,thickness: '-50'
});

//Sidebar Slot H2

sIFR.replace(dinregular, {
  selector: '#sidebar .slot h2'
  ,css: {
    '.sIFR-root': { 'color': '#ffffff', 'text-transform': 'uppercase', 'kerning': 'true', 'letter-spacing': '0' },
    'a': { 'color': '#ffffff', 'text-decoration': 'none', 'text-indent': '0' },
    'a:hover': { 'color': '#ffffff'}
  }
  ,tuneHeight: '-7'
  ,kerning: 'true'
  ,antiAliasType: 'advanced'
  ,sharpness: '20'
  ,thickness: '-70'
  ,wmode: 'transparent'
  ,fixFocus: true
});