/* ----------------------------------------------*/
/* NorduGrid style by Oxana Smirnova (2002-2007) */
/* ----------------------------------------------*/

/*=====================================
=== GENERAL ===========================
=====================================*/

BR { line-height: 2px; height: 2px;}

BODY, P, DIV, TD, LI
{
/*  font-family: serif;*/
  font-family: sans-serif, helvetica, arial, lucida, geneva, 'lucida grande', 'small verdana';
  max-height: 999999px;
  }

BODY 
{
  padding-top: 10px;
  padding-right: 10px;
  background-color: #ffffff;
  background-image: url("/styles/stripes.gif");
  background-repeat: repeat;
  background-attachment: scroll;
  color:#000000;
  font-size: 10pt;
  line-height: 18px;
  height:900px;
}

BODY.LONG 
{
  height:auto;
  max-height: 999999px;
  }

BODY.MAIN 
{
  background-image: url("/styles/stripes-left.gif");
  background-repeat: repeat-y;
  }

A         {text-decoration:none;}
A:link    {color:#000099;}
A:visited {color:#000099;}
A:hover   {color:#990000;}

.framedblock{
  clear:both;
  position:relative;
  border:1px solid #ddd;
  padding:10px;
  margin:15px 0 10px 0;
  font-size:12px;
}

.framedblock ul{
  text-align:left;
  list-style:none;
  margin:0px 0 0px 15px;
  padding:0;
}

.framedblock ul li
{
  text-align:center;
  display:inline;
  padding:0 4px 6px 0;
}

.framedblock ul li a{
  padding:0 0 0 18px;
  margin:0 3px 0 0px;
}

.framedblock ul li.delicious{background:url("/styles/delicious.gif") no-repeat 0 0;}
.framedblock ul li.stumbleupon{background:url("/styles/stumbleupon.gif") no-repeat 0 0;}
.framedblock ul li.facebook{background:url("/styles/facebook.gif") no-repeat 0 0;}
.framedblock ul li.digg{background:url("/styles/digg.gif") no-repeat 0 0;}
.framedblock ul li.reddit{background:url("/styles/reddit.gif") no-repeat 0 0;padding:0 0 0 2px;}


/*=====================================
=== ALL MEDIA =========================
=====================================*/

#menu_top { 
/* for the front page, specifically */
  position: absolute;
  top: 10px; left: 0px;
  margin: 10px 0px 10px 250px;
  white-space:nowrap; 
  display: block;
  clear: right;
 }

#menu_left { 
/* for the front page, mostly */
  float: left;
  width: 220px;
  padding: 80px 14px 14px 14px;
  background-image: url("/styles/logo-ng-sheared-web.gif");
  background-repeat: no-repeat;
  display: inline;
 }

#body_info {  
/* used for the main page, together with menu_left and menu_top */
  margin-left:250px;
  margin-top:80px;
}

#footer {
  clear: both;
  margin-top: 6px;
  padding: 0px;
}

#foot {
	background-image: url("/styles/stripes.gif");
    background-repeat: repeat;
    background-attachment: scroll;
    font-size:small;
    position: relative;
    include-source: url("/styles/ngfooter.html");
    width: 100%;
}

#foot A {text-decoration:none;}
#foot A:link    { color:#000099; }
#foot A:visited { color:#000099; }
#foot A:first-child { color:#000099; }
#foot A:hover { color:#990000; }

#SocialBookMarks{ 
  width: 400px;
  margin-left:250px;  
 }


DIV.MAIN 
{
  background-color:white;text-align:left;color:#000000;
  margin: 30px 30px 30px 30px;
  border: 1px solid #cccccc;
  padding-left: 5px; padding-right: 5px;
  vertical-align: top;
}

DIV #SPONSORS
{ 
  background-image: url("/styles/logo-ng-sheared-web.gif");
}

/* Misc: left-floating image */
IMG.LEFT 
{
  float: left; 
  padding-right: 10px;
  display:inline;
  border-style: none;
}

/* Misc: right-floating image */
IMG.RIGHT 
{
  float: right; 
  padding-left: 10px;
  display:inline;
  border-style: none;
}

/* sets default alignment to left-right justified */
P {text-align:justify;padding-left: 5px; padding-right: 5px;} 
LI {margin-left: -2px;}

/* sets small green (no, deep purple) condenced monospace font for the PRE tag */
PRE 
{
  /*  font-size: 10pt; */
  font-family: Courier, "Courier New", monospace;
  font-stretch: condensed;
  color:#660066;
}

TT
{
  font-family: Courier, "Courier New", monospace;
  color:#660066; 
}

FIELDSET 
{ 
  font-family: sans-serif, Helvetica, Arial;
  margin-left:20px;
  margin-right:20px;
}

LEGEND
{ 
  font-family: sans-serif, Helvetica, Arial; 
  font-style:italic; 
}

/* ==== various header styles ==== */

H1 
{
  text-align:left;
  margin:10px 2px 20px 2px; 
  padding-top: 6px; padding-bottom: 6px;
  font-size: 13pt; 
  font-weight:bold; 
  font-style:normal;
  font-variant:small-caps;
  color:#000099;
/*  background-color: white;*/
  border-bottom: 2px dotted #cccccc;
  font-family: sans-serif, Helvetica, Arial;
  }

H1.TITLE 
{
  margin-left:0px;
  padding-top: 30px; padding-bottom: 30px;
  padding-left:220px; 
  height: 30px;
  background-image: url("/styles/logo-ng-sheared-web.gif");
  background-repeat: no-repeat;
  counter-reset: chapter;
}

H1.EMI
{
  margin-left:0px;
  padding-top: 30px; padding-bottom: 30px;
  padding-left:200px; 
  height: 30px;
  background-image: url("/styles/EMI_Logo_std.gif");
  background-repeat: no-repeat;
  counter-reset: chapter;
  font-size: 20pt; 
}

H1.NGIN
{
  height: 50px;
  margin-left:0px;
  padding-left:260px;
  padding-top: 40px;
  background-image: url("/ngin/logo-ngin.png");
  background-repeat: no-repeat;
  counter-reset: chapter;
  }

H2, H2.NUMBERED 
{
  font-size: 11pt; 
  font-weight:bold; 
  font-style:normal; 
  color:#CC0000;
/*  color:#3366CC;*/
  font-family: sans-serif, Helvetica, Arial;
  margin: 30px 0px 0px 2px;
  padding: 2px 2px;
/*  color: #2963A6; */
/*  line-height: 1.2em;*/
  border-top: 2px solid #BFBFBF;
  border-bottom: 1px solid #BFBFBF;
  counter-reset: section subsection;
}

H2.NUMBERED:before 
{
  content: counter(chapter) ". ";
  counter-increment: chapter;
  }

H3, H3.NUMBERED 
{
  font-size: 10pt; 
  font-weight:bold; 
  font-style:oblique; 
  color:#000099;
  font-family: sans-serif, Helvetica, Arial;
  text-decoration: underline;
  margin: 20px 2px 0 10px;
  counter-reset: subsection;
  }

H3.DESCRIPTION 
{
  font-family: Times, "Times New Roman", serif;
  }

H3.NUMBERED:before 
{
  content: counter(chapter) "." counter(section) " ";
  counter-increment: section;
  }

H4, H4.NUMBERED
{
  font-size: 10pt; 
  font-weight:bold; 
  font-style:oblique; 
  color:#990000;
  font-family: sans-serif, Helvetica, Arial; 
  margin: 20px 2px 0 20px;
  }

H4.NUMBERED:before 
{
  content: counter(chapter) "." counter(section) "." counter(subsection) " ";
  counter-increment: subsection;
  }
.COLUMNHEAD, .DIMHEAD, .BLUEHEAD { 
   padding: 0px;
   padding-left: 20px;
   color: #FFFFFF;
   border: none;
/*   width: 100%; */
   margin: 1px;
}

.COLUMNHEAD {
   background: #6699CC;
   text-align: center;
}

.DIMHEAD { 
   background: #CCCCCC;
   text-align: center;
}

.BLUEHEAD { 
   background: #6699CC;
   text-indent: 0.5em;
}

/* ==== list styles ==== */

UL 
{
  margin-left: 0px;
  margin-right: 40px;
  }

UL.SIMPLE 
{
  list-style-image: none;
  list-style-type: disc;
  }

UL.EMPTY
{
  list-style-image: none;
  list-style-type: none;
  }

UL.ALPHA 
{
  list-style-image: none;
  list-style-type: lower-latin;
  }

UL.ARROW 
{
  list-style-image: url("/styles/openarrow.gif"); 
  }

UL, UL.SIMPLE > UL 
{
  list-style-image: none;
  list-style-type: circle;
}

/* Used e.g. in documents list */
ul.docs strong { margin-left: 1em; font-size: 10px; color: #AAAAFF; white-space: nowrap}
ul.docs em {font-weight: bold; color: red}

/* ==== tables, rows, cells ==== */

TABLE.CLASSIC
{
  empty-cells: show;
  padding:0px;
  border: none;
  border-spacing: 0px 0px;
  }

TABLE.FIXED 
{
  empty-cells: show;
  padding: 0px;
  border: none;
  border-spacing: 0px;
  }

TABLE.LISTING {
 clear: both;
 border-bottom: 1px solid #d7d7d7;
 border-spacing: 0px;
}
TABLE.LISTING THEAD { background: #f7f7f0 }
TABLE.LISTING THEAD TH {
 border: 1px solid #d7d7d7;
 border-bottom-color: #999999;
 font-weight: bold;
 padding: .3em .5em;
}
TABLE.LISTING TBODY TD, TABLE.LISTING TBODY TH {
 border: 1px dotted #dddddd;
 padding: .3em .5em;
}
TABLE.LISTING TBODY TR { border-top: 1px solid #ddd }
TABLE.LISTING TBODY TR.EVEN { background-color: #fcfcfc }
TABLE.LISTING TBODY TR.ODD { background-color: #f7f7f7 }


TABLE.SUMMARY
{
  background-color: #99ccff;
  color: #ffffff;
  font-family: sans-serif, Helvetica, Arial;
  empty-cells: show;
  padding: 0px;
  padding-left: 8px;
  padding-right: 8px;
  border-spacing: 4pt;
  border: 1px solid #6600ff;
  }

/*========= T E S T =================================
TABLE.ARC 
{ 
  empty-cells: show;
  padding: 0px;
  border-spacing: 20px;
  border: none;
  background: #ffffff url("/styles/ARClogoTrans-orange80.png") no-repeat center center;
  color: #505050;
  font-weight: bold; 
  font-size: 12pt; 
  line-height: normal;
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: separate;
  background-color: none;
  margin: 0px; padding: 0px;
}

TABLE.ARC TD
{ 
  border: 2px solid #f36F21;
  font-family: Arial, Helvetica, sans-serif;
  width: 90px; height: 100px;
}

TABLE.ARC TD.ARC-HEADER
{ 
  vertical-align: middle;
  text-align: center;
  height: 60px;
}

TABLE.ARC TD.ARC-TL { 
  border-top-width: 4px;
  vertical-align: top;
  text-align: left;
  padding: 10px 0px 0px 10px;
  -moz-border-radius: 10px 40px 20px 40px;
  border-radius: 10px 40px 20px 40px;
} 

TABLE.ARC TD.ARC-TR {  
  border-right-width: 4px;
  vertical-align: top;
  text-align: right;
  padding: 10px 10px 0px 0px;
  -moz-border-radius: 40px 10px 40px 20px;
  border-radius: 40px 10px 40px 20px;
}

TABLE.ARC TD.ARC-BR {
  border-bottom-width: 4px;
  vertical-align: bottom;
  text-align: right;
  padding: 0px 10px 10px 0px;
  -moz-border-radius: 20px 40px 10px 40px;
  border-radius: 20px 40px 10px 40px; 
}

TABLE.ARC TD.ARC-BL {
  border-left-width: 4px;
  vertical-align: bottom;
  text-align: left;
  padding: 0px 0px 10px 10px;
  -moz-border-radius: 40px 20px 40px 10px;
  border-radius: 40px 20px 40px 10px; 
}
===================================================*/


TR.THEADER 
{ 
  background-color: #cccccc;
  color: #ffffff;
  }

TD 
{
  vertical-align: bottom;
  text-align: left;
  }

TD.SPACER 
{ 
  padding: 0px;
  width: 1px; height: 0px;
  color: transparent;
  background-color: transparent;
  font-size: 0px;
  margin: 0px;
  border-width: 0px;
  border-color: transparent;
  }

TD.DASHB 
{
  border: none;
  margin: 0px; padding: 2px;
  border-bottom: 1px dashed #999999;
  vertical-align: top;
  font-family: sans-serif, Helvetica, Arial;
  padding: 4px;
  }

TD.DASHT 
{
  border: none;
  margin: 0px; padding: 2px;
  border-top: 1px dashed #999999;
  vertical-align: top;
  font-family: sans-serif, Helvetica, Arial;
  padding: 4px;
  }

TD.DASHLB 
{
  border: none;
  margin: 0px; padding: 2px;
  border-left: 1px dashed #999999;
  border-bottom: 1px dashed #999999;
  vertical-align: top;
  font-family: sans-serif, Helvetica, Arial;
  padding: 4px;
  }

TD.DASHLT 
{
  border: none;
  margin: 0px; padding: 2px;
  border-left: 1px dashed #999999;
  border-top: 1px dashed #999999;
  vertical-align: top;
  font-family: sans-serif, Helvetica, Arial;
  padding: 4px;
  }

TD.DOTL 
{
  border: none;
  margin: 0px; padding: 2px;
  border-left: 1px dotted #999999;
  vertical-align: top;
  font-family: sans-serif, Helvetica, Arial;
  padding: 4px;
  }

TD.DOTLB 
{
  border: none;
  margin: 0px; padding: 2px;
  border-left: 1px dotted #999999;
  border-bottom: 1px dotted #999999;
  vertical-align: top;
  font-family: sans-serif, Helvetica, Arial;
  padding: 4px;
  }

TD.DOT-ALL 
{
  margin: 0px; padding: 2px;
  border: 1px dotted #999999;
  vertical-align: top;
  font-family: sans-serif, Helvetica, Arial;
  padding: 4px;
  }

TD.DLOAD 
{
  border: none;
  color: #000000;
  font-size: small;
  font-family: sans-serif, Helvetica, Arial;
  text-align: center;
  letter-spacing: 10%;
  vertical-align: middle;
  margin: 0px; padding: 2px;
  border-left: 1px dashed white;
  border-bottom: 1px dashed white;
  }

/* middle-center aligned cell, no decorations */
/*
TD.MIDDLE 
{
  border: none;
  font-size: 12pt; 
  line-height: normal;
  font-family: sans-serif, Helvetica, Arial;
  text-align: center; vertical-align: middle;
  letter-spacing: 10%;
  margin: 0px; padding: 4px;
  padding-left: 6px; padding-right: 6px;
  }
*/

/* header cell with blue background */
TD.HEADER 
{
  border: none;
  color: white;
  font-weight: bold; 
  font-size: 12pt; 
  line-height: normal;
  font-family: sans-serif, Helvetica, Arial;
  background-color: #0099ff;
  text-align: center; vertical-align: middle;
  letter-spacing: 10%;
  margin: 0px; padding: 4px;
  padding-left: 6px; padding-right: 6px;
/*  border-top: 1px solid white;
  border-right: 0px none #cccccc;
  border-bottom: 1px double white;
  border-left: 0px none 
*/
  }

/* header cell with light grey background, no border */
TD.SUBTITLE 
{
  border: none;
  color: #000099;
  font-weight: bold; 
  font-size: 11pt;
  font-family: sans-serif, Helvetica, Arial;
  background-color: #cccccc;
  text-align: left;
  letter-spacing: 10%;
  vertical-align: middle;
  margin: 0px; padding: 2px 2px 2px 6px;
  border: none 0px 
}

/* contents cell, serifed text, no left border */
TD.LINKS 
{
  border: none;
  color: black;
  font-style: normal; 
  font-weight: normal; 
  font-size: small;
  font-family: Times, "Times New Roman", serif;
  background-color: #ffffff;
  text-align: left; vertical-align: top;
  margin: 0px; padding: 2px 6px;
  border-top: 0px none #cccccc;
  border-right: 0px none #cccccc;
  border-bottom: 0px none #cccccc;
  border-left: 0px none 
  }

/* contents cell, dark red italic text and dark blue dotted right border */
TD.COMMENT 
{
  border: none;
  color: #660000;
  font-style: italic;
  font-size: 9pt;
  font-family: Times, "Times New Roman", serif;
  background-color: #ffffff;
  text-align: left; vertical-align: top;
  margin: 0px; padding: 2px 2px 2px 6px;
  border-style: none none none dotted;
  border-width: 0px 0px 0px 2px;
  border-color: #cccccc #cccccc #cccccc #000099
}

/* Simple table good for comparison charts */

TABLE.HORIZONTAL
{
  font-family: "Helvetica", "Arial", "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
  font-size: 12px;
  background: #ffffff;
  margin: 45px;
  border-collapse: collapse;
  text-align: left;
}

TABLE.HORIZONTAL TH
{
  font-size: 14px;
  font-weight: normal;
  color: #660000;
  padding: 10px 8px;
  border-bottom: 2px solid #330000;
}

TABLE.HORIZONTAL TD
{
  border-bottom: 1px solid #CCCCCC;
  color: #000000;
  padding: 6px 8px;
}

TABLE.HORIZONTAL TD.SECTION
{
  font-weight: bold;
  font-style: italic;
  padding-left: 2px;
}

TABLE.HORIZONTAL TBODY TR:hover TD
{
  color: #CC6600;
  background: #F9F2E7;
}

TABLE.HORIZONTAL TBODY TR:hover TD.SECTION
{
  color: #000000;
  background: #CCCCCC;
}

.FIRSTCOL
{
  background: #EFEFEF;
  font-weight: normal;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}


/* ==== two very specific styles for the front page ==== */

.DATE 
{
  margin-top:10px;
  margin-bottom:0px;
  color:#cc0000; 
  font-weight:bold;
  display:block;
  }

.NEWS 
{
  margin-top:0px; 
  margin-bottom:0px;
  padding-left: 10px;
  padding-right: 20px;
  display:block;
  }

/* ==== background and text effects ==== */

.TOP { vertical-align: top; }

.MIDDLE { vertical-align: middle;}

/*.LEFT {text-align:left;}*/

.LINX {text-align:left;}

.RIGHT {text-align:right;}

.THIN { padding: 0px;}

.BIG {font-size: 12pt;font-weight: bold;}

.SMALL {font-size: 9pt;}

.BF {font-weight:bold;}

.IT {font-style:italic}

.UL {text-decoration:underline;}

.FIX {font-family: Courier, "Courier New", monospace;}

.STRAIGHT
{   
  font-family: Times, "Times New Roman", serif;
  color: #000000;
  font-size: 10pt;
  font-style: normal;
  font-weight: normal;
}

/* emphasised bold red text */
.CRIMSON {color:#990000; font-weight:bold;}

/* black sans serif text */
.ARIAL
{
  color: #000000;
  font-size: 10pt;
  font-family: sans-serif, Helvetica, Arial;
  text-align: left;
  vertical-align: top;
  }

/* slanted sans-serif text */
.SLANTED
{
  font-size: 10pt;
  font-style: oblique;
  font-family: sans-serif, Helvetica, Arial;
  }

/* sets white text color (suitable for dark backgrounds) */
.WHITETX {color:#ffffff;} 

/* sets grey background */
.GREY {background-image:none; background-color:#cccccc;} 

/* sets light grey background */
.LIGHTGREY {background-image:none; background-color:#E9E9F0;} 

/* sets sky blue background and matching text */
.SKYBLUE {background-color:#88C7F9; color:#330066; }

/* sets lilac background */
.LILAC {background-color:#D9D9FF;}

/* sets cream background */
.CREAM {background-color:#F9F2E7;}

/* sets white background */
.WHITE {background-image:none; background-color:#ffffff;}

/* sets yellow background */
.HILI {background-image:none; background-color:#ffffcc;}

/* sets pink background */
.PINK {background-image:none; background-color:#FFEEEE;}

/* sets ugly grey dotted background pattern */
.DOTBG
{
  background-color: #ffffff;
  background-image: url("/styles/dot2px.gif");
  background-repeat: repeat;
  background-attachment: scroll;
  }

/* left-padded text */
.LPADDED {padding-left: 30px; padding-right: 0px;} 

/* ==== complex text decorations ==== */

.TRANS {margin: 50px; background-color: #990000; filter:alpha(opacity=20); -moz-opacity:0.2; }
.TRANS * {filter:alpha(opacity=100);  -moz-opacity:1.0; position: relative;}
.OPAQUE {filter:alpha(opacity=100);  -moz-opacity:1.0; position: relative;}
.TRANS DIV {margin: 20px;}

/* right and left pads a la abstract*/
.ABSTRACT 
{
  clear:both;
  margin-left:15%; 
  margin-right:15%;
  font-size: 10pt;
  }

/* flushed to the right address */
.ADDRESS 
{
  clear:both;
  float: right;
  width: 180px;
  margin:20px;
  font-size: 10pt;
  text-align: justify;
  display: inline;
  }

/* ugly green text and double border */
.MESSAGE 
{
  text-align:justify;
  color:#006600;
  border: 6px double #ccff99;
  padding-bottom: 10px;
  vertical-align: middle;
  }

/* White text in blue double bordered frame */
.NAMETAG 
{
  font-size: 11pt;
  font-family: sans-serif, Helvetica, Arial;
  vertical-align: middle;
  padding-left:6px;
  padding-right:6px;
  padding-top:4px;
  padding-bottom:5px;
  margin: 1px;
  color:#ffffff;
  background-color:#0099ff;
  border: 6px double #ffffff;
  display:table-cell;
  }

/* menu items basic style */
.CLICK 
{
  font-size: 9pt;
  font-family: sans-serif, Helvetica, Arial;
  white-space: nowrap;
  text-align: left;
  vertical-align: middle;
  padding-left:6px;
  padding-right:6px;
  padding-top:4px;
  padding-bottom:5px;
  margin: 1px;
  margin-left: 1px;
  border-left-width: 3px;
  border-left-style: solid ;
  border-left-color: #000099; 
  display:block;
  float: left;
}
.CLICK:hover { 
  border-left-color: #990000; 
  background-image: none;
  background-color: #cccccc;
}
.CLICK A { text-decoration: none;}
.CLICK.SUB
{ 
  border-left-style: dotted;
  padding-left:11.5px;
  padding-right:0px;
}
.CLICK.FRAMED 
{ 
  display:inline;
  text-align: center;
  white-space: nowrap;
  border-left: none;
  border-right: none;
  border-top-width: 2px;
  border-top-style: solid ;
  border-top-color: #cccccc; 
  border-bottom-width: 2px;
  border-bottom-style: solid ;
  border-bottom-color: #cccccc; 
  float: none;
}

/* vertical background stripes for buttons etc */
.VSTRIPE
{ 
  color: #000099;
  background-image: url("/styles/stripes-vert.gif");
  background-repeat: repeat;  
}   

/* front menu button width; different for different media */
.FMENU
{
  width:170px;
}


/* right-flushed box for the front page */
.RIGHTBOX
{
  float: right;
  margin-left: 230px;
  display:inline;
  }

/* neat right-flushed blue box with dotted border */
.TRUEBLUE 
{
  background-color:#ccddff;
  font-family: sans-serif, Helvetica, Arial;
  font-size: 10pt;
  text-align: justify;
  border: 1px dotted #6600FF;
  float: right;
  width: 260px;
  margin:20px;
  padding: 14px;
  display:inline;
  }

/* same but left-flushed: blue box with dotted border */
.LEFTBLUE 
{
  background-color:#ccddff;
  font-family: sans-serif, Helvetica, Arial;
  font-size: 10pt;
  text-align: justify;
  border: 1px dotted #6600FF;
  float: left;
  width: 260px;
  margin:20px;
  padding: 14px;
  display:inline;
  }

/* neat blue background with dotted border */
.JUSTBLUE 
{
  background-color:#ccddff;
  font-family: sans-serif, Helvetica, Arial;
  text-align: center;
  border: 1px dotted #6600FF;
/*  float: right; */
/*  width: 260px; */
  margin: 10px;
  padding: 6px;
/*  display:inline; */
  }

/* yellow padded background for any standing out text */
.FLASH 
{
  background-color:#ffffcc;
  font-weight: bold;
  font-family: sans-serif, Helvetica, Arial;
  padding: 10px;
 }

/* neat pink box with red dashed border */
.REMARK 
{
  clear:both;
  font-size: 9pt;
  background-color:#FFEEEE;
  margin-left: 40px;
  margin-right: 60px;
  margin-top:10px; 
  margin-bottom:6px;
  padding: 6px;
  padding-left:26px; 
  font-family: sans-serif, Helvetica, Arial;
  font-style:normal;
/*  border: 2px dashed #990000;*/
  border: 1px solid #990000;
  border-left: 6px solid #990000;
  background-image: url("/styles/important.png");
  background-repeat: no-repeat;
  display:block;
  }
/* P.REMARK:before { content: ">>> " } */

/* yellow background, monospace text, padded */
.FORMULA 
{
  clear:both;
  background-color: #FFF8ED;
  padding: 5px;
  margin: 10px;
  font-family: Courier, "Courier New", monospace;
  border: 1px solid #C0C0C0;
  text-align: left;
  display:block;
  }

/* dashed grey border, sans-serif slightly stretched text */
.DASHED 
{
  border: 1px dashed #cccccc;
  color: #000000;
  font-size: 10pt;
  font-family: sans-serif, Helvetica, Arial;
  text-align: left;
  letter-spacing: 10%;
  vertical-align: top;
  }

/* dark grey dotted underlined division */
.ULDOTTED
{
  border-bottom: 1px dotted #999999;
  vertical-align: top;
  }
.ULDOTTED:hover   {background-color:#ffffff;}

/* Blue dotted border decoration */
.BLUEDOTFRAME 
{ border: 1px dotted #6600FF }

/* Rounded corners */
.ROUNDCORNERS
{ -moz-border-radius: 10px;
  border-radius: 10px;
 }


/* for headers: pale yellow background, brown borders */
.PALE 
{ 
  background-color: #ffffcc;
  color: #000000;
  font-weight: bold;
  font-size: 10pt;
  letter-spacing: 10%;
  padding: 4px;
  border:  1px solid #CC9933;
/*
  border-top: 1px solid #000000;
  border-left: 1px solid #000000;
*/
  display: table-cell;
  }

/* Addition to PALE: left solid and top dashed black borders, white background  */
.LRULE 
{ 
  background-color: #ffffff;
  color: #000000;
  padding: 4px;
  padding-left: 20px;
  border:  1px solid #CC9933;
  border-top: none;
  border-bottom: 1px dotted #CC9933;;
  display: table-cell;
  }

/* solid grey border, white background */
.GREYWIN
{ 
  background-color: #ffffff;  
  border: 1px solid #999999;
  display: table-cell;
 }

/* solid red border, white background */
.REDWIN
{ 
  background-color: #ffffff;  
  border: 1px solid #990000;
  padding: 4px;
  display: table-cell;
 }

/* solid blue border, white background */
.BLUEWIN 
{ 
  background-color: #ffffff;  
  border: 2px solid #0099ff;
  padding: 4px;
  padding-left: 6px;
  padding-right: 6px;
  display: table-cell;
 }

/* code piece */
.CODE
{ 
  background-color: #EEEEEE;  
  border: 1px solid #999999;
  display: block;
  font-family: Courier, "Courier New", monospace;
  font-stretch: condensed;
  color:#000000;
  margin: 10px;
  padding: 10px;
 }

/* Narrow right-flushed column for menu and such */

#menuright { 
   float: right;
   width: 20%;
   padding-left:2%;
}

/* Right-flushed column for text (to go with the menu above)) */

#bodyright { 
   float: right;
   width: 78%;
}

/* Narrow left-flushed column for menu */

.MENULEFT { 
   background: #CCFFFF;
   color: #000000;
   float: left;
   width: 25%;
   border: none;
}

/* invisible placeholder */

.INVISIBLE { 
  visibility: hidden;
  display: block;
  float: left;
  width: 10%;
  border: none;
}

/* Half-width left-flushed column, to go with the menu */

.COLUMNLEFT { 
   background: #EEEEEE;
   color: #000000;
   float: left;
   width: 50%;
   border: 1px solid #6699CC;
}

/* 3/4 centered column */

.COLUMNMID { 
  background: #EEEEEE;
  color: #000000;
  float: left;
  display: block;
  border: 1px solid #6699CC;
  margin-bottom: 10px;
  width: 80%;
/*  padding-right: 2px;*/
  vertical-align: top;
}

/* hidden popping-up on mouse over note */
SPAN.NOTE SPAN
{ 
  color: #990000;
  font-family: sans-serif, Helvetica, Arial;
  font-weight: bold;
  display:none;
  }
SPAN.NOTE:before { display:inline; content:"(*" }
SPAN.NOTE:after { display:inline; content:")" }
SPAN.NOTE:hover SPAN { display:inline }

/* ==== Style used in documents menu page ==== */

.docicons {
  overflow: hidden;
  padding: 20px;
}

.docicons li {
  width: 120px;
  height: 205px;
  text-align: center;
  font-size: 18px;
  line-height: 24px;
  list-style-type: none;
  float: left;
  padding-right: 24px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.docicons img {
  padding-left: 8px;
  padding-bottom: 6px;
  border-style: none;
}

.docicons li:hover { background: #F9F2E7;}


/* ==== unsorted garbage ==== */

.TOOLTIP 
{ 
  position:relative;
  top:0px; left:0px; z-index:2;
  width:380px;
  visibility:hidden;
  font-family: sans-serif, Helvetica, Arial;
  background-color: #FFFFCC;
  padding: 8px;
  border: 1px solid #ffcc66; 
  }

#G { background-color: #00ff00; }
#Y { background-color: #00ffff; }
#R { background-color: #ff0000; }

/*=====================================
=== PRINT =============================
=====================================*/

@media print, tty {
  BODY 
  {
    padding: 10px;
    background-color: #ffffff;
    background-image: none;
    color:#000000;
    font-size: 10pt;
    height:auto;
  }
  
  BODY.MAIN 
  {
    background-image: none;
  }
  
  DIV.MAIN 
  {
    margin: 4px 4px 4px 4px;
    padding-left: 2px; padding-right: 2px;
    font-size: 10pt; 
    border: none;
  }

  H1 
  {
    font-size: 16pt; 
    border-bottom: 2px solid #cccccc;
  }
  
  P
  { 
    font-size: 10pt; 
  }

.ADDRESS 
{
  margin: 0px;
  text-align: right;
  }

#foot {
  position: relative;
  include-source: none;
  width: 100%;
}

}

/*=====================================
=== smartphone ========================
=====================================*/

@media screen
 and (min-width: 200px)
 and (max-width: 800px)
 and (orientation: portrait)

 {
  BODY 
  {
    padding-top: 2px;
    padding-right: 2px;
    background-color: #ffffff;
    background-image: none;
    color:#000000;
    font-size: 10pt;
    max-height: 999999px;
  }

BODY.LONG 
{
  height:initial;
  width: 95%;
  max-height: 999999px;
  max-width: 999999px;
  }

BODY.MAIN 
{
  background-image: none;
  }
  
  DIV.MAIN 
  {
    background-color:white;text-align:left;color:#000000;
    margin: 3px 3px 3px 3px;
    border: none;
    padding-left: 1px; padding-right: 1px;
    vertical-align: top;
    font-size: 10pt;
  }

#menu_top { 
/* for the front page, specifically */
  background-image: url("/styles/logo-ng-sheared-web.gif");
  background-repeat: no-repeat;
  background-position: left top;
  position: absolute;
  top: 6px; left: 6px;
  padding-top: 85px;
  margin: 8px 0px 0px 0px;
  white-space:nowrap; 
  display: block;
  clear: right;
  height: 40px;
 }

#menu_left { 
/* for the front page, mostly */
  background-image: none;
  float: left;
  width: 140px;
  padding: 120px 6px 6px 6px;
  display: inline;
 }

#body_info {  
/* used for the main page, together with menu_left and menu_top */
  margin-left:140px;
  margin-top:120px;
  font-size: 11pt;
  width: 95%;
}

#footer {
  clear: both;
  margin-top: 4px;
  padding: 0px;
  font-size: 9pt;
}


  H1.TITLE 
  {
   background-image:none;
   margin-left:0px;
   padding-top: 3px; padding-bottom: 3px;
   padding-left:3px; 
   font-size: 11pt;
  }
  
/* menu items basic style */
.CLICK 
{
  font-size: 10pt;
  white-space: normal;
  text-align: left;
  vertical-align: middle;
  padding-left:5px;
  padding-right:5px;
  padding-top:6px;
  padding-bottom:6px;
  margin: 0px;
  margin-left: 1px;
  border-left-width: 3px;
  border-left-style: solid ;
  border-left-color: #000099; 
  display:block;
  float: left;
}
.CLICK:hover { 
  border-left-color: #990000; 
  background-image: none;
  background-color: #cccccc;
}
.CLICK A { text-decoration: none;}
.CLICK.SUB
{ 
  border-left: none;
  padding-left:10px;
  padding-right:0px;
  content: "* ";
}
.CLICK.SUB:before
{ 
  content: "* ";
}
.CLICK.FRAMED 
{ 
  display:inline;
  text-align: center;
  white-space: nowrap;
  border-left: none;
  border-right: none;
  border-top-width: 2px;
  border-top-style: solid ;
  border-top-color: #cccccc; 
  border-bottom-width: 2px;
  border-bottom-style: solid ;
  border-bottom-color: #cccccc; 
  float: none;
}

/* vertical background stripes for buttons etc */
.VSTRIPE
{ 
  color: #000099;
  border-left: none;
/*
  background-color: #FAD355;
  background-image: none;

  border-right-width: 1px;
  border-right-style: solid ;
  border-right-color: #990000; 
*/
  background-image: url("/styles/stripes-vert.gif");
  background-repeat: repeat;  
}   

.FMENU
{
  width:120px;
}

}

