/* replacement definitions for sIFR */
var myriadpro = { src: directory + 'images/myriadpro.swf' };
//var myriadprocond = { src: directory + 'images/myriadprocondenced.swf' };

sIFR.activate(myriadpro);
//sIFR.activate(myriadprocond);

// tytuły sekcji na stronie głównej

sIFR.replace(myriadpro, {
			selector: '.section .header h1',
			forceSingleLine: true,
			fitExactly: true,
			forceWidth: true,
			css: [
			'.sIFR-root { color: #052738; }'
			],
			wmode: 'transparent'
});

// napis aktualności na hp
sIFR.replace(myriadpro, {
		selector: '.news h1',
		forceSingleLine: true,
		fitExactly: true,
		css: [
		'.sIFR-root{ color: #009ae7;}'
		],
		wmode: 'transparent'
		
});

//pager - linki
sIFR.replace(myriadpro, {
		selector: '.pager .link',
		forceSingleLine: true,
		tuneWidth: 2,
		css: [
		'.sIFR-root{ color: #007fbe; font-style: italic; cursor: pointer; }'
		,'a { color: #007fbe; text-decoration: none; }'
		,'a:hover { color: #007fbe; text-decoration: none; }'
		,'a:active { color: #007fbe; text-decoration: none; }'
		],
		wmode: 'transparent'
});

//pager - linki
sIFR.replace(myriadpro, {
		selector: '.pager .current-link',
		forceSingleLine: true,
		tuneWidth: 2,
		css: [
		'.sIFR-root{ color: #8d8d8d; font-style: italic;}'
		],
		wmode: 'transparent'
});
// kropki
sIFR.replace(myriadpro, {
		selector: '.pager .dots',
		forceSingleLine: true,
		tuneWidth: 2,
		css: [
		'.sIFR-root{ color: #8d8d8d; font-style: italic; }'
		],
		wmode: 'transparent'
});

// prawe menu - pierwszy level

sIFR.replace(myriadpro, {
		selector: '#rightmenu .level-1 .link',
		forceSingleLine: true,
		tuneWidth: 2,
		css: [
		'.sIFR-root { color: #002334; font-size: 16px; text-align: center; }', 
		,'a { color: #002334; text-decoration: none;}'
		,'a:hover { color: #dfdfdf; text-decoration: none;}'
		],
		wmode: 'transparent'
});

// kalendarium
sIFR.replace(myriadpro, {
		selector: '.calendar #nextentries-title',
		forceSingleLine: true,
		css: [
		'.sIFR-root { color: #7e7e7e; }'
		],
		wmode: 'transparent'
});

// spis treści

// numer
sIFR.replace(myriadpro, {
		selector: '.paper .number h1',
		forceSingleLine: true,
		css: [
		'.sIFR-root {color: #ffffff; text-align: center; font-weight: bold;}'
		],
		wmode: 'transparent'
});

// rocznik
sIFR.replace(myriadpro, {
		selector: '.paper .year h1',
		forceSingleLine: true,
		css: [
		'.sIFR-root {color: #ffffff;}'
		],
		wmode: 'transparent'
});

// tytuł
sIFR.replace(myriadpro, {
		selector: '.paper .title h1',
		forceSingleLine: true,
		css: [
		'.sIFR-root {color: #002334; text-align: left; padding-left: 15px; }'
		],
		wmode: 'transparent'
});

// pierwszy level indeksu
sIFR.replace(myriadpro, {
		selector: '.paper #index .header-level-1',
		forceSingleLine: true,
		fitExactly: true,
		css: [
		'.sIFR-root { color: #ffffff; }'
		],
		wmode: 'transparent'
});


