/*****************************************************************************
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_replacement_0,
  #sIFR_replacement_1,
  #sIFR_replacement_2,
  #sIFR_replacement_3,
  #sIFR_replacement_4 {
  	position: relative;
	top: 10px;
  } 
  
  .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;
  }
  */
  
  .sIFR-active div#jasdl-mainnav ul {
    padding: 0px 13px 0px 25px;
  }
  
  .sIFR-active div#jasdl-mainnav ul li.active a {
  	color: #B40D22;
  	font-size: 18px;
	white-space: nowrap;
	margin: 0px;
	padding: 0px;
        outline: none;
  }
  
  .sIFR-active div#jasdl-mainnav ul li.active {
  	color: #B40D22;
	font-size: 18px;
	padding: 0px 14px 0px 12px;
	margin: 0px;
	visibility: hidden;
  }

  .sIFR-active div#jasdl-mainnav ul li a {
  	font-size: 18px;
	white-space: nowrap;
	margin: 0px;
	padding: 0px;
        outline: none;
  }
  
  .sIFR-active div#jasdl-mainnav ul li {
	font-size: 18px;
	padding: 0px 14px 0px 12px;
	margin: 0px;
	visibility: hidden;
  }
  
  .sIFR-active div#jasdl-mainnav ul li.end {
    background: none;
	font-size: 18px;
	padding: 0px 0px 0px 14px;
	margin: 0px;
	visibility: hidden;
  }
  
  .sIFR-active div#jasdl-subnav ul {
  	padding: 0px 0px 0px 179px;
    position: relative;
    z-index: 99;
  }
  
  .sIFR-active div.moduletable-welcome {
	height: 107px;	
  }
  
  .sIFR-active div.moduletable-welcome h3 {
  	margin: 0px 0px -5px 0px;
	padding: 0px;
	visibility: hidden;
  }
  
  .sIFR-active div.moduletable-home {
  	margin: 0px;
	padding: 0px 0px 0px 0px;
  }
  
  .sIFR-active div.ja-moduletable-home {
	margin: 13px 0px 0px 0px;
	padding: 0px;
  }
  
  .sIFR-active div.moduletable-home h3,
  .sIFR-active div.moduletable-home h3 span {
  	visibility: hidden;
  }

  .sIFR-active div.ja-moduletable-home h3 {
	font-size: 20px;
	color: #908E8C;
	text-transform: uppercase;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	line-height: 1em;
  }

  .sIFR-active div.ja-moduletable-home h3 span {
	margin: 0px 0px 0px 0px;
	padding: 0px 7px 0px 0px;
	background: #FFFFFF;
	line-height: 1em;
  }  
  
  .sIFR-active div.moduletable-home img {
  	margin: 0px 12px 0px 0px;
	padding: 0px;
  }
  
  .sIFR-active div.moduletable-blocks h3,
  .sIFR-active div.moduletable-blocks h3 span {
  	visibility: hidden;
  }
  
  .sIFR-active div.ja-moduletable-blocks h3 {
  	font-size: 20px;
	color: #908E8C;
	text-transform: uppercase;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	line-height: 1em;
  }
  
  .sIFR-active div.ja-moduletable-blocks h3 span {
	margin: 0px 0px 0px 0px;
	padding: 0px 7px 0px 0px;
	background: #FFFFFF;
	line-height: 1em;
  }
  
  /*.sIFR-active table#about h1 {
	font-family: Arial, Helvetica, Tahoma, sans-serif;
	font-size: 28px;
	font-weight: normal;
	color: #000000;
	margin: 0px 0px 0px 0px; 
	padding: 0px;
	visibility: hidden;
  }*/
  
  .sIFR-active table#about td.textblock h3 {
	font-family: Arial, Helvetica, Tahoma, sans-serif;
	font-size: 18px;
	font-weight: normal;
	color: #B40D22;
	text-decoration: none;
	text-transform: uppercase;	
	margin: -10px 0px 0px 0px; 
	padding: 0px;
	visibility: hidden;
  }
  
  .sIFR-active table#work td.textblock h3 {
	font-family: Arial, Helvetica, Tahoma, sans-serif;
	font-size: 18px;
	font-weight: normal;
	color: #B40D22;
	text-decoration: none;
	text-transform: uppercase;	
	margin: -10px 0px 0px 0px; 
	padding: 0px;
	visibility: hidden;
  }
  
}