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

// Make an object pointing to the location of the Flash movie on your web server.
// Try using the font name as the variable name, makes it easy to remember which
// object you're using. As an example in this file, we'll use Futura.
var europa = { src: 'http://www.tefllab.co.uk/assets/flash/europa-gro4.swf' };

// Now you can set some configuration settings.
// See also <http://wiki.novemberborn.net/sifr3/JavaScript+Configuration>.
// One setting you probably want to use is `sIFR.useStyleCheck`. Before you do that,
// read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad>.

// sIFR.useStyleCheck = true;

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

//sIFR.replace(europa, {
//  selector: 'h1',
// css: '.sIFR-root { background-color: #F9F9F9; color: #FF0000; }'
//});


sIFR.replace(europa, {
  selector: 'p.list-testimonial',
  css: '.sIFR-root { font-size:32px; line-height:24px; width:230px; font-weight:normal; color:#666665; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -2
});

sIFR.replace(europa, {
  selector: 'p.testimonial-author',
  css: '.sIFR-root { font-size:14px; line-height:32px; font-weight:normal; color:#34ff1f; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -2
});


sIFR.replace(europa, {
  selector: 'p.page-name',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:32px; line-height:16px; font-weight:normal; color:#2cff1d; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'h1.page-name',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:18px; line-height:16px; font-weight:normal; color:#2cff1d; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'h1.page',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:32px; line-height:16px; font-weight:normal; color:#2cff1d; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'p.page-description',
  css: '.sIFR-root { font-size:18px; line-height:16px; font-weight:normal; color:#666666; }',
	wmode: 'transparent',
	offsetTop: -4,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'h1.app-form',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:32px; line-height:32px; font-weight:normal; color:#2cff1d; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -1
});

/*sIFR.replace(europa, {
	selector: 'h2.course-name'
	,wmode: 'transparent'
		,css: [
			'.sIFR-root { font-size:16px; line-height:16px; font-weight:normal; color:#2cff1d; }'
			,'a { text-decoration: none; }'
			,'a:link { font-size:16px; line-height:16px; font-weight:normal; color:#2cff1d; cursor:pointer; }'
			,'a:hover { font-size:16px; line-height:16px; font-weight:normal; color:#2cff1d; cursor:pointer; text-decoration:underline; }'
		],
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'h2.course-name',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:16px; line-height:16px; font-weight:bold; color:#2cff1d; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -4
});*/

sIFR.replace(europa, {
  selector: 'h2.wellcome',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:16px; line-height:16px; font-weight:normal; color:#2cff1d; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'h2.form-details',
  css: '.sIFR-root { font-size:18px; line-height:16px; font-weight:normal; color:#666665; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'h2.payment-details',
  css: '.sIFR-root { font-size:18px; line-height:16px; font-weight:normal; color:#666665; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'h3.details',
  css: '.sIFR-root { font-size:18px; line-height:16px; font-weight:normal; color:#666665; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'p.location-name',
  css: '.sIFR-root { font-size:18px; line-height:16px; font-weight:normal; color:#666665; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
	selector: 'p.acc-menu'
	,wmode: 'transparent'
	,css: [
      '.sIFR-root { font-weight:normal; font-size:18px; line-height:16px; color:#666666;}'
      ,'a { color:#666666; font-size:18px; line-height:16px; cursor:pointer; text-decoration:none; }'
      ,'a:link { color:#666666; font-size:18px; line-height:16px; cursor:pointer; }'
      ,'a:hover { color:#ffb200; font-size:18px; line-height:16px; cursor:pointer; text-decoration:none; }'
	],
	offsetTop: -2
});

sIFR.replace(europa, {
  selector: 'td.guide-even',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:12px; line-height:16px; font-weight:normal; color:#666666; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'li.guide-even',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:12px; line-height:16px; font-weight:normal; color:#666666; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'span.span100',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:12px; line-height:16px; width:100px; font-weight:normal; color:#666666; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'p.span100',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:12px; line-height:16px; width:100px; font-weight:normal; color:red; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'span.span135',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:12px; line-height:16px; width:135px; font-weight:normal; color:#666666; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'p.span135',
	forceSingleLine:true,
  css: '.sIFR-root { font-size:12px; line-height:16px; width:135px; font-weight:normal; color:red; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'li.price-guide',
  forceSingleLine:true,
  css: '.sIFR-root { font-size:14px; line-height:16px; font-weight:normal; color:#00ff00; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});

sIFR.replace(europa, {
  selector: 'a.price-guide',
  forceSingleLine:true,
  css: '.sIFR-root { font-size:14px; line-height:16px; font-weight:normal; color:#00ff00; cursor:pointer;}',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -8
});


sIFR.replace(europa, {
  selector: 'li.price-guide-from',
  css: '.sIFR-root { font-size:12px; line-height:16px; font-weight:normal; color:#666666; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'p.tst',
  css: '.sIFR-root { font-size:14px; line-height:16px; font-weight:normal; color:#ffffff; text-align:center; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'p.tst-author',
  css: '.sIFR-root { font-size:14px; line-height:14px; font-weight:normal; color:#666666; text-align:center; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});

sIFR.replace(europa, {
  selector: 'p.visit_us',
  css: '.sIFR-root { font-size:18px; line-height:18px; font-weight:bold; color:#575757; }',
	wmode: 'transparent',
	offsetTop: -2,
	tuneHeight: -6
});
