/*****************************************************************************
    The sIFR configuration should typically go in `sifr-config.js`, but in order to
    keep the config file clean, and to give a quick overview, it's done here instead.
    *****************************************************************************/

var neutra = {
src: 'http://www.citygarden.ch/fileadmin/templates/sifr/flash/neutra_v2.swf'
,ratios: [6, 1.41, 9, 1.35, 15, 1.29, 21, 1.25, 22, 1.22, 27, 1.24, 29, 1.21, 34, 1.22, 41, 1.21, 45, 1.2, 46, 1.21, 59, 1.2, 68, 1.19, 69, 1.2, 96, 1.19, 97, 1.18, 102, 1.19, 103, 1.18, 107, 1.19, 108, 1.18, 112, 1.19, 114, 1.18, 116, 1.19, 120, 1.18, 121, 1.19, 1.18]
};    

// You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.
sIFR.useStyleCheck = true;
sIFR.activate(neutra);

sIFR.replace(neutra, {
  selector: '.content_teaserbox h1'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { font-size: 31px; line-height: 100%; color: #FFFFFF; text-transform: uppercase; font-family: Neutraface 2 Display Bold; }'
  ]
});

sIFR.replace(neutra, {
  selector: 'h1 a'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { color: #000000; margin-top: 30px; text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});
sIFR.replace(neutra, {
  selector: 'body.cg .information_box h1'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { color: #000000; margin-top: 30px; text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});

sIFR.replace(neutra, {
  selector: '.content_teaserbox h2'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { font-size: 31px; color: #FFFFFF; text-transform: uppercase; font-family: Neutraface 2 Display Light; }'
  ]
});

sIFR.replace(neutra, {
  selector: '.combo_lunch_box h1'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { color: #718F08; margin-top: 30px; text-transform: uppercase; font-family: Neutraface 2 Display Medium; }'
  ]
});

sIFR.replace(neutra, {
  selector: '.maincontent_fce h1'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { color: #000000; margin-top: 30px; text-transform: uppercase; font-family: Neutraface 2 Display Medium;}',
  'a { color: #000000; margin-top: 30px; text-transform: uppercase; font-family: Neutraface 2 Display Medium; text-decoration: none;}',
  'a:hover { color: #000000; text-decoration: underline;}' 
  ]
});

sIFR.replace(neutra, {
  selector: 'body.cg .news_date'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { color: #5F1D4B; font-size: 15px; text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});
sIFR.replace(neutra, {
  selector: 'body.cu .news_date'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { color: #718F08; font-size: 15px; text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});
sIFR.replace(neutra, {
  selector: 'body.cg .subline'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { color: #718F08; font-size: 15px; text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});
sIFR.replace(neutra, {
  selector: 'body.ca .news_date'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { color: #5F1D4B; font-size: 15px; text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});


sIFR.replace(neutra, {
  selector: '.csc-header h1'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});

sIFR.replace(neutra, {
  selector: '.infomation_box h1'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});

sIFR.replace(neutra, {
  selector: '.teaserbox h1'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { font-size: 18px; color: #FFFFFF; text-transform: uppercase; font-family: Neutraface 2 Display Medium;}'
  ]
});

sIFR.replace(neutra, {
  selector: '.light'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { font-family: Neutraface 2 Display Light;}'
  ,'strong { font-family: Neutraface 2 Display Bold;}'
  ]
});

sIFR.replace(neutra, {
  selector: '#maincontent .header_light h1'
  ,wmode: 'transparent'
  ,css: [
  '.sIFR-root { font-family: Neutraface 2 Display Light; leading: 6;}'
  ,'strong { font-family: Neutraface 2 Display Bold;}'
  ]
});

