﻿
sIFR.useDomContentLoaded = false;
sIFR.delayCSS = true;
sIFR.activate(baseFont);

//baseFont | färg 1 
sIFR.replace(baseFont, {
    selector: 'h1.baseFont-left1',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #000000; font-size: 28px; width: 100% }'],
    fitExactly: true,
    tuneHeight: -8
});

sIFR.replace(baseFont, {
    selector: 'h2.baseFont-left1',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #3d3d3d; font-size: 20px; width: 100%; z-index:2; leading:-2; }'],
    fitExactly: true,
    tuneHeight: -8
});

sIFR.replace(baseFont, {
    selector: 'h3.baseFont-left1',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #000000; font-size: 16px; width: 100%; line-height:16px }'],
    fitExactly: true,
    tuneHeight: -2
});

sIFR.replace(baseFont, {
    selector: 'h3.baseFont-left2',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #000000; font-size: 21px; width: 100%; line-height:23px }'],
    fitExactly: true,
    tuneHeight: -4
});

sIFR.replace(baseFont, {
    selector: 'h4.baseFont-left1',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #000000; font-size: 12px; width: 100% }'],
    fitExactly: true,
    tuneHeight: 0
});

// slogan i toppen
sIFR.replace(baseFont, {
    selector: 'h1.baseFont-right1',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #000000; font-size: 28px; text-align: right; width: 100% }'],
    fitExactly: true,
    tuneHeight: -8

});

//topContent rubriker - färg 2
sIFR.replace(baseFont, {
    selector: 'h1.baseFont-left2',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #FFFFFF; font-size: 22px; font-weight: bold; width: 100% }'],
    fitExactly: true,
    tuneHeight: -8
});

//h2 rubriker - färg 2
sIFR.replace(baseFont, {
    selector: 'h2.baseFont-left2',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #FFFFFF; font-size: 20px; width: 100% }'],
    fitExactly: true,
    tuneHeight: -2
});

//topContent rubriker - färg 3
sIFR.replace(baseFont, {
    selector: 'h1.baseFont-left3',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #818181; font-size: 22px; font-weight: bold; width: 100% }'],
    fitExactly: true,
    tuneHeight: -8
});

//h2 rubriker - färg 3
sIFR.replace(baseFont, {
    selector: 'h2.baseFont-left3',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #818181; font-size: 20px; width: 100% }'],
    fitExactly: true,
    tuneHeight: -8
});

//topContent rubriker - färg 4
sIFR.replace(baseFont, {
    selector: 'h1.baseFont-left4',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #00a0d1; font-size: 22px; font-weight: bold; width: 100% }'],
    fitExactly: true,
    tuneHeight: -8
});

//h2 rubriker - färg 3
sIFR.replace(baseFont, {
    selector: 'h2.baseFont-left4',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #00a0d1; font-size: 20px; width: 100% }'],
    fitExactly: true,
    tuneHeight: -8
});

//h3 rubriker - Dokumentationssidan
sIFR.replace(baseFont, {
    selector: 'h3.baseFont-left5',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #454545; font-size: 19px; line-height:36px; width: 100% }'],
    fitExactly: true,
    tuneHeight: -6
});

sIFR.replace(baseFont, {
    selector: '.AspNet-Login-TitlePanel span',
    wmode: 'transparent',
    css: ['.sIFR-root { color: #000000; font-size: 16px; width: 100%; line-height:16px }'],
    fitExactly: true,
    tuneHeight: -4
});


