/*****************************************************************************
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 {
  /* Example:
  .sIFR-active h1 {
    font-family: Verdana;
    visibility: hidden;
  }
  */
 
/* Default styles incase sIFR not implemented (JS/Flash not active)
 */
h1{ margin:10px 0px 5px 0px; text-align:left; font-weight:normal; font-size:26px; color:#3A587A; letter-spacing:-1.5px; }
h1 strong{ text-align:left; font-weight:normal; font-size:26px; color:#676767; }
 
h2{ margin:5px 0px 5px 0px; text-align:left; font:normal 24px arial; color:#3A587A; }
h2 strong{ display:block; color:#3A587A; font-weight:normal; text-align:center; }
h2.GreyHeading{ margin:5px 0px 5px 0px; text-align: left; font:normal 24px arial; color:#676767; }
h2.SmallGrey{ margin:5px 0px 5px 0px; text-align: left; font:normal 16px arial; color:#676767; }
 
h3{ margin:10px 0px 5px 0px; text-align:left; font:normal 17px arial; color:#007C3C; }
h3.GreyHeading{ margin:0px 0px 10px 0px; color:#444444; }
h3.BlueText{ margin:0px 0px 10px 0px; font:normal 16px arial; color:#3A587A; }
h3 strong{ display:block; color:#444444; font-weight:normal; }
 
h4{ margin:5px 0px 5px 0px; text-align: left; font:normal 16px arial; color:#007C3C; }
h4#CenterText{ margin:5px 0px 5px 0px; text-align: center; font:normal 16px arial; color:#3A587A; }
h4 strong{ color:#333333; font-weight:normal; }
 
h5{ margin:5px 0px 5px 0px; text-align: left; font:normal 15px arial; color:#007C3C; }
h5 strong{ color:#333333; font-weight:normal; }

/* [ sIFR Heading Tag Updates]
 * Note: Apply these classes to tags that are to be changed by sIFR
 */
 
.sIFR-active h1{ visibility: hidden; height:40px; overflow:hidden; }
.sIFR-active h1 strong{ visibility: hidden; height:40px; overflow:hidden; }

.sIFR-active h2{ visibility: hidden; height:28px; overflow:hidden; }
.sIFR-active h2 strong{ visibility: hidden; height:28px; overflow:hidden; }

.sIFR-active h3{ visibility: hidden; height:28px; overflow:hidden; }
.sIFR-active h3 strong{ visibility: hidden; height:28px; overflow:hidden; }

.sIFR-active h4{ visibility: hidden; height:28px; overflow:hidden; }
.sIFR-active h4#CenterText{ visibility: hidden; height:50px; overflow:hidden; }
.sIFR-active h4 strong{ visibility: hidden; height:28px; overflow:hidden; }

.sIFR-active h5{ visibility: hidden; height:28px; overflow:hidden; }
.sIFR-active h5 strong{ visibility: hidden; height:28px; overflow:hidden; }
}