﻿/*****************************************************************************
scalable Inman Flash Replacement (sIFR) version 3.

Copyright 2006 – 2008 Mark Wubben, <http://novemberborn.net/>

Older versions:
* IFR by Shaun Inman
* sIFR 1.0 by Mike Davidson, Shaun Inman and Tomas Jogin
* sIFR 2.0 by Mike Davidson, Shaun Inman, Tomas Jogin and Mark Wubben

See also <http://novemberborn.net/sifr3> and <http://wiki.novemberborn.net/sifr3>.

This software is licensed and provided under the CC-GNU LGPL.
See <http://creativecommons.org/licenses/LGPL/2.1/>
*****************************************************************************/

@media screen {
  .sIFR-flash {
    visibility: visible !important;
    margin: 0;
    padding: 0;
  }
  
  .sIFR-replaced, .sIFR-ignore {
    visibility: visible !important;
  }
  
  .sIFR-alternate {
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    display: block;
    overflow: hidden;
  }
  
  .sIFR-replaced div.sIFR-fixfocus {
    margin: 0pt; 
    padding: 0pt; 
    overflow: auto; 
    letter-spacing: 0px; 
    float: none;
  }
}

@media print {
  .sIFR-flash {
    display    : none !important;
    height     : 0;
    width      : 0;
    position   : absolute;
    overflow   : hidden;
  }
  
  .sIFR-alternate {
    visibility : visible !important;
    display    : block   !important;
    position   : static  !important;
    left       : auto    !important;
    top        : auto    !important;
    width      : auto    !important;
    height     : auto    !important;
  }
}

/*
Place CSS rules for to-be-replaced elements here. Prefix by .sIFR-active
so they only apply if sIFR is active. Make sure to limit the CSS to the screen
media type, in order not to have the printed text come out weird.
*/
@media screen 
{
/*---------------Primary nav-----------------
    = governance : board members
--------------------------------------------*/  
    .sIFR-active #primary-nav ul li {
    visibility: hidden;
    font-size:14px;
    height:1.5em;
    width:auto;
    padding:0.3em 0 0.1em 0;
    *padding-bottom:0.15em;
    _padding-bottom:0.1em;

    }
    .sIFR-active #primary-nav ul li a{
    visibility: hidden;
    padding:0;
    margin:0;
    }
    
    /*primary nav - Safari and Google Chrome hack*/
    .sIFR-active body:nth-of-type(1)  #primary-nav ul li {
    padding-bottom:0.2em;
    }
    
/*---------------H1's-----------------
    = detail page
    = business overview
    = case studies
    = case study banner
    = governance: board members
    = detail-wide page
    = sub-landing page
    = downloads
--------------------------------------------*/

    .sIFR-active .detail-text h1,
    .sIFR-active #search-results h1,
    .sIFR-active #landing.case-studies h1,
    .sIFR-active #wide.board-members h1 {
    visibility: hidden;
    font-size:36px;
    margin:0;
    padding:0;
    }
    
    .sIFR-active .#cs-banner h1 {
    visibility: hidden;
    font-size:18px;
    margin:0;
    padding:0;
    }
    
    .sIFR-active .detail-text-wide h1 {
    visibility: hidden;
    font-size:36px;
    margin:0;
    padding:0;
    height:1.5em;
    }
    
    .sIFR-active #wide #landing-text-narrow h1 {
    visibility: hidden;
    font-size:36px;
    margin:0;
    padding:0;
    height:2.6em;
    }
    
    .sIFR-active #landing.business-overview h1 {
    visibility: hidden;
    font-size:55px;
    margin:0;
    padding:0;
    height:2.5em;
    }
    
    .sIFR-active #wide h1 {
    visibility: hidden;
    font-size:36px;
    margin:0;
    padding:0;
    }
/*---------------KPI figures-----------------
    = Key Performance Indicators page
--------------------------------------------*/  
   .sIFR-active #kpis .accountsTable .lrg-text {
    visibility: hidden;
    font-size:30px;
    margin:0;
    padding:0;
    height:1.5em;
    }
    
    .sIFR-active #kpis .accountsTable td.md-text1 {
    visibility: hidden;
    font-size:30px;
    margin:0;
    padding:0 0px 0 0;
    height:1.5em;
    }
    
  
}