
/*
  STATUTE LAW DATABASE CSS
  Marc Sturman 2003-2005

  Font sizes are currently fixed to the point-sizes specified by SPO.  If you change them to proportional
  sizes make sure that the fonts don't decrease in size the further you get nested into the document ;-)

*/

/* Start Enquiry System specific styles */

div.page-enq
{
  font-family: "Times New Roman", Times, serif;
  font-size: 115%;
  margin-left: 245px; /* 200 */
  margin-right: 100px; 
  border-width: 1px 1px 1px 1px; 
  line-height: 173%; 
}

div.marginnote-enq
{
  font-family: "Times New Roman", Times, serif; 
  position:absolute;
  left: 100px;
  width: 120px;  /* 75 */
  font-size: 91%;
  text-align:left;
  font-weight: normal;
  font-style: normal;
  text-indent: 0;
  line-height: normal; 
}

div.page-enq span#help a
{
    text-decoration: none;
    color: #000;
}

div.page-enq span#help a:hover
{
    text-decoration: underline;	
}

/* End Enquiry System specific styles */


/*
  page: specifies the page margins
*/
div.page
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 165px; /* 120 */
  margin-right: 100px; 
  border-width: 1px 1px 1px 1px; 
  line-height: 173%; 
}

/*
  marginnotes are notes that appear in the margin.
*/
div.marginnote
{
  font-family: "Times New Roman", Times, serif; 
  position:absolute;
  left: 15px;
  width: 120px;  /* 75 */
  font-size: 91%;
  text-align:left;
  font-weight: normal;
  font-style: normal;
  text-indent: 0;
  line-height: normal; 
}

/* 
this is an invisible copy of the marginnote
it is used to ensure that enough room is left for the marginnote.
*/
div.marginnote-spacer
{
  font-family: "Times New Roman", Times, serif; 
  width: 120px;  /* 75 */
  font-size: 91%;
  text-align:left;
  font-weight: normal;
  font-style: normal;
  text-indent: 0;
  line-height: normal; 
}


/*
  div surrounding the "crest" image
*/
div.arms
{
  margin-top: 25px;
  margin-bottom: 20px;
  text-align: center;
}

/* 
  SI banners 
  banner = outer banner with black border
*/
div.banner
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 10px;
  border-color: black;
  border: solid medium;
  border-width: 2px 0px 2px 0px;
  margin-bottom: 20px;
}

/*
  banner2 = inner banner - contains the text
*/
div.banner2
{
  font-family: "Times New Roman", Times, serif;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}


/*
  subject of an SI
*/
div.si-subject
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 146%;
  font-weight: bold;
  text-align: center;
  padding-bottom: 20px;
  text-transform: capitalize;
}
div.si-subsubject
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 109%;
  font-weight: bold;
  text-align: center;
  padding-bottom: 20px;
  text-transform: capitalize;
}

/* table dates for SIs */

div.date-div
{
  text-align: right;
  width: 100%;
}

table.date-table
{
  align: right;
  width: 75%;
}

td.date-heading
{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  width: 50%;
  vertical-align: top;
  text-align: left;
}

td.date-heading-clauseinforce
{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  width: 50%;
  vertical-align: top;
  text-align: left;
  padding-left : 15px;
}

td.date-value
{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  text-transform: capitalize;
  width: 50%;
  vertical-align: top;
  text-align: left;
}

/* aligned right date value, used in NI content that
   seems to always have only a "date made" and nothing else
   so doesn't really need any table
*/
div.ni-date-value
{
  font-family: "Times New Roman", Times, serif;
  text-align: right;
  width: 100%;
}


p.indented-divcontent
{
  font-family: "Times New Roman", Times, serif; 
  
/*  text-indent: 1.82em; - removed for legibility reasons */
  margin-left:20pt;
  width: 100%;
  line-height: 173%; 
}

table.arrangements
{
  font-family: "Times New Roman", Times, serif; 
  
}

td.arrangement-partnumber
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  text-align: center;
  font-variant: small-caps;
  padding-top: 10px;
}

td.arrangement-part-heading
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: italic;
  padding-top: 10px;
  padding-bottom: 10px;
}

td.arrangement-subpart-heading
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: italic;
  padding-top: 20px;
  padding-bottom:10px;
}
td.arrangement-generic
{
  font-family: "Times New Roman", Times, serif;
  word-wrap: break-word;
}

/* front matter */


/* rp line (actually a converted para) */

div.royalpresenceline-first
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 20px;
  text-align: center;
}

div.royalpresenceline
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
}

/* nested inside title, so no changes needed */
div.subject
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 0px;
  margin-bottom: 0px;
}

div.subsubject
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 0px;
  margin-bottom: 0px;
}

/* what is this? */
div.resolution
{
  font-family: "Times New Roman", Times, serif; 
  
}

/* parts */

div.partheading-one
{
  font-family: "Times New Roman", Times, serif;
  padding-top: 10px;
  font-style: italic;
  text-align: center;
  padding-bottom: 20px;
}

.partheading-two
{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  text-align: right;
  padding-bottom: 20px;
}

div.partnumber
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 20px; 
  text-align: center;
}

/* divisions */

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

.division-heading-cell
{
  font-family: "Times New Roman", Times, serif;
  padding-top: 20px;
}

.division-content-cell
{
  font-family: "Times New Roman", Times, serif;
  padding-top: 20px;
}

.division-row
{
  font-family: "Times New Roman", Times, serif; 
  
}

.division-classa
{
  font-family: "Times New Roman", Times, serif;
  margin-bottom: 15px;
}

.division-gutter-heading
{
  font-family: "Times New Roman", Times, serif;
  position:absolute;
  left: 15px;
  width: 75px; 
  font-size: 80%;
  text-align:left;
}


.division-heading-bold
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
}

.standard-division
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 20px;
}

.sub-division
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 2.73em;
}


.ni_division-heading-bold
{
  font-family: "Times New Roman", Times, serif;
  position: relative;
  left: -20px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* inline divs have no separate div */

/* trailing divs follow inline divs, they are like standard divs
   but have no left margin */
.trailing-division
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 15px;
}

/* SCHEDULES */

table.schedule
{
  font-family: "Times New Roman", Times, serif;
  border: solid thin silver;
  border-width: 1px 1px 1px 1px;
}

div.schedulessubheading
{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  padding-top: 20px;
  padding-bottom: 20px;
}

div.schedulescontent
{
  font-family: "Times New Roman", Times, serif;
  padding-left: 20px;
}

div.scheduleslistitem
{
  font-family: "Times New Roman", Times, serif;
  padding-left: 40px;
}


/* USER TABLES (tables in document) */

div.usertable-div
{
  /* all tables must be surrounded by a div, otherwise they think that
     100% width means 100% of the screen, regardless of the css margins */
  font-family: "Times New Roman", Times, serif;
  width: 100%;
}

/*
  number within a TD or a TH.
*/
span.usertable-number
{
  font-family: "Times New Roman", Times, serif; 
  
}

table.usertable-one
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 20px;
  border: #5C565C solid;
  border-width: 0px 0px 0px 0px; /* NJ: Removed all border width */
  width: 100%;
  empty-cells: show;
}

/*
  USER TABLE NON HEADING CELLS 
*/


td.usertablecell-one
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 0px 0px 2px 2px; /* NJ: Modified border, Middle cell requires bottom and left borders */
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  line-height: 173%; 
}

td.usertablecell
{
  font-family: "Times New Roman", Times, serif;
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px; 
  line-height: 173%; 
  border: #5C565C solid;
  border-width: 0px 2px 2px 2px; /* NJ: Last cell requires right, bottom and left borders  */
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
}


td.usertablecell-one-firstcell
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 0px 0px 2px 2px; /* NJ: First cell requires bottom and left borders */
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  line-height: 173%; 
}

td.cell-no-borders
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-left: 3px;
  border: #5C565C solid;
  border-width: 0px 0px 0px 0px;
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  empty-cells: show;
}



/*
  USER TABLE HEADING CELLS 
  (first heading row)
*/

/*
  heading cell in middle
*/
td.usertablecellheading-one
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 2px 0px 2px 2px; /*NJ: Middle heading cell requires Top, Bottom and Left border*/
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;

}

/*
  heading cell on left side
*/
td.usertablecellheading-one-firstcell
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 2px 0px 2px 2px; /*NJ: First heading cell requires Top, Bottom and Left border*/
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;

}

/*
  heading cell on right side
*/
td.usertablecellheading-last
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 2px 2px 2px 2px;   /*NJ: Last Heading cell requires Top, Right, Bottom and left borders*/
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
}

/*
  USER TABLE HEADING CELLS 
  (subsequentheading rows)

  Perhaps we could rewrite this and put the top/bottom borders on the rows instead
  of the cells?
*/

/*
  heading cell in middle of a subsequent row
*/
td.usertablecellheading-2-one
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 0px 0px 2px 2px; /*NJ: Middle second heading cell requires Bottom and Left border*/
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;

}

/*
  heading cell on left side
*/
td.usertablecellheading-2-one-firstcell
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 0px 0px 2px 2px; /*NJ: First second heading cell requires Bottom and Left border*/
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;

}

/*
  heading cell on right side
*/
td.usertablecellheading-2-last
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 0px 2px 2px 2px; /*NJ: Last second heading cell requires Right, Bottom and Left border*/
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
}

/*
  unusued?
*/


table.usertable-two
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 20px;
  border: #5C565C solid;
  border-width: 1px 0px 1px 1px;
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
  empty-cells: show;
}

td.usertablecell-two
{
  font-family: "Times New Roman", Times, serif;
  border: #5C565C solid;
  border-width: 0px 1px 0px 0px;
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;
}

.usertablecellheading-two
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  border: #5C565C solid;
  border-width: 0px 1px 2px 0px;
  overflow: visible; /* To cure disappearing border bug in Internet Explorer, due to IE italics bug: see http://www.positioniseverything.net/explorer/italicbug-ie.html */
  padding-left: 5px;
  padding-top: 5px;
  padding-right: 5px;
  padding-bottom: 5px;

}

/* signatures */

div.sigtext
{
  font-family: "Times New Roman", Times, serif;
  text-align: right;
}

div.signature
{ 
  font-family: "Times New Roman", Times, serif;
  margin-top: 15px;
}

div.signee
{
  font-family: "Times New Roman", Times, serif;
  text-align: right;
  font-style: italic;
  margin-top: 15px;
}

span.seal
{
  font-family: "Times New Roman", Times, serif;
  padding-left: 6px;
  padding-right: 6px;
  margin-top: 15px;
}

.sigtitle
{
  font-family: "Times New Roman", Times, serif;
  text-align: right;
  margin-top: 15px;
}

.sigdate
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 15px;
}

/* main ex note heading */
div.explanatorynoteheading
{
  font-family: "Times New Roman", Times, serif; 
  margin-top: 30px;
  font-size: 127%;
  font-weight: normal;
  text-align: center;
  padding-bottom: 12px;
}

div.assemblyheading
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
  padding-bottom: 10px;
}

.div-3
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 1em;
  margin-top: 10px;
}

.div-4
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 1em; /*relative to div-3 */
  margin-top: 10px;
}

div.earlierordersheading
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
  padding-bottom: 10px;
}

/* ex note subheading */
.exnoteheading2
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: italic;
  padding-bottom: 10px;
}

span.explanatorynote-number
{
  font-family: "Times New Roman", Times, serif;
  padding-left: 10px;
  padding-right: 10px;
}

div.note-
{
  font-family: "Times New Roman", Times, serif; 
  
}
div.note-a
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 0px;
}
div.note-b
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 5px;
}
div.note-c
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 10px;
}
div.note-d
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 15px;
}
div.note-e
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 20px;
}

/* copyright notices */

div.copyright-one
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  padding-left: 5px;
  padding-right: 5px;
}

div.controls
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  padding-left: 5px;
  padding-right: 5px;
  text-align: right;
}


td.copyright-one
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  margin-top: 0px;
  padding-left: 5px;
  padding-right: 5px;
}


div.copyright-msg-one
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 0px;
  margin-bottom: 2px; 
}

/* commentary */
div.commentary-block
{
  font-family: "Times New Roman", Times, serif;
  left: 0px;
  width: 100%;
  margin-bottom: 15px;
  color:black;
}

div.commentary-banner
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  font-weight: bold;
  padding-top: 8px;
  line-height: normal;
}

/* commentary division at the foot of the document */
div.commentary-text
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  line-height: normal;
}

/* 
  the number on the commentary footnotes displayed
  at the bottom
*/
span.commentary-number
{
  display: block; /* Works around Mozilla bug with padding on inline elements within table cells */
  margin-left: 7px;
  padding-right: 10px;
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  font-weight: bold;
  line-height: normal;
}

div.commentary-text span.commentary-number {
	font-size: 100%;
}
/*
  commentary number link on the footnotes list
*/
a.commentary-number,
a.commentary-number:visited,
a.commentary-number:link, 
a.commentary-number:active
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  color: black;
  text-decoration: none;
  font-weight: bold;
}
a.commentary-number:hover
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  text-decoration: underline;
  color: crimson;
  font-weight: bold;
}


/* commentary reference link */
a.commentary-link, 
a.commentary-link:visited,
a.commentary-link:link, 
a.commentary-link:active
{
  font-family: Sans Serif; 
  font-size: 91%; 
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-style: normal;
  vertical-align: super; 
}
a.commentary-link:hover
{

  font-family: Sans Serif; /* "Times New Roman", Times, serif; */
  font-size: 91%; 
  text-decoration: none;
  font-weight: bold;
  font-style: normal;
  vertical-align: super; 
  color: crimson;
}

div.commentary-text a.commentary-number,
span.commentary-number a.commentary-number {
	font-size: 100%;
}

/*
  a link in the arrangements / contents section
*/
a.arrangements-link, 
a.arrangements-link:visited,
a.arrangements-link:link, 
a.arrangements-link:active
{
  font-family: "Times New Roman", Times, serif;
  color: black;
  text-decoration: none;
  font-weight: normal;
}
a.arrangements-link:hover
{
  font-family: "Times New Roman", Times, serif;
  color: red;
  text-decoration: none;
  font-weight: normal;
}

/* fragment banners */
div.top-leadin
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  text-align: center;
  width: 100%;
  color: silver;
  padding-top: 10px;
  padding-bottom: 10px;
}

div.bottom-leadout
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  text-align: center;
  width: 100%;
  color: silver;
  padding-top: 10px;
  padding-bottom: 10px;
}

div.system-message
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 91%;
  color: silver;
}

/* div around an image */
div.userimage
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 10px;
  width: 100%;
  text-align: center; /* text-align actually aligns the img, there is no text */
}

img.userimage
{
  font-family: "Times New Roman", Times, serif;
  border: 0;
}


div.userimage-caption
{
  font-family: "Times New Roman", Times, serif;
  font-size: 80%;
}

/* formula */

div.formula
{
  font-family: courier new;
  
  text-align: center;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 15px; 
  margin-bottom: 0px;
}

hr.formula-division-line
{
  height: 1px;
  align: center;
  width: 100px;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  line-height: normal;
  display: block;
}

/* a fraction consisting of two formula-row's separated by a HR. */
span.formula-fraction
{

}

table.formula-table
{
  border: solid thin silver;
  border-width: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  line-height: normal;
}

td.formula-cell, tr.formula-row 
{
  vertical-align: middle;
  text-align: center;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  line-height: normal;
}

span.formula-row
{
  font-family: courier new;
  
  text-align: center;
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
  line-height: normal;
}

span.formula-operator
{
}

span.formula-identifier
{
}

span.formula-bigparenthesis
{
  font-size: 318%;
  font-family: courier new;
  font-weight: 100;
}

span.formula-subscript
{
   vertical-align: sub;	
   font-size: 73%;
}

span.formula-supscript
{
   vertical-align: super;	
   font-size: 73%;
}

/* text styles */

span.quotation
{
}

span.citation
{
  font-style: italic;
}

span.defterm
{
}

span.entity_char_style
{
  font-family: "Arial Unicode MS",  Sans-serif;
  font-size: 91%;
}

span.arial_unicode_ms
{
  font-family: arial unicode MS ;

}
.roman
{
  font-family: roman;
}

.bold
{
  font-weight: bold;
}

.italic
{
  font-style: italic;
}

.smallcaps
{
  font-family: "Times New Roman", Times, serif;
  text-transform: uppercase;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 20px;
}

.smallcaps.a
{
  font-family: "Times New Roman", Times, serif; 
  
}

.div-2-number
{
  font-family: "Times New Roman", Times, serif;
  margin-left: .46em;
  float: left;
  width: .73em;
}

.div-2-content
{
  font-family: "Times New Roman", Times, serif;
  position: relative;
  margin-left: 2.73em;
  margin-bottom: 1em;
}

.div-3-number
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 0;
  float: left;
  width: .73em;
}

.div-3-content
{
  font-family: "Times New Roman", Times, serif;
  padding-bottom: 1px;
  position: relative;
  margin-left: 2em;
  height: auto;
}

.div-4-number
{
  font-family: "Times New Roman", Times, serif;
  margin-left: 0;
  float: left;
  width: .73em;
}

.div-4-content
{
  font-family: "Times New Roman", Times, serif;
  position: relative;
  margin-left: 1.82em;
}

.div-5-number
{
  font-family: "Times New Roman", Times, serif;
  margin-left: .18em;
  float: left;
  width: .73em;
}

.div-5-content
{
  font-family: "Times New Roman", Times, serif;
  position: relative;
  margin-left: 1.82em;
}

table.div-1
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 20px;
}


div.usertable-heading
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 20px;
}

div.usertable-number
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  text-align: center;
  padding-top: 20px;
}

/*** START FEB 2005 REWRITE ***/


/* new division styles - 10/02/2005 */

/*
  UK division with a heading included separated from text
*/
div.div-wrap-info-with-heading
{
  font-family: "Times New Roman", Times, serif;
  margin-bottom: 6px;
  padding-top: 16px; /* new */
}

/*
  div-1 number in bold
*/
span.div-wrap-info-bold
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  margin-left: 20px;
}

/*
  div-2-5 number in plain
*/
span.div-wrap-info-normal
{
  font-family: "Times New Roman", Times, serif;
  font-weight: plain;
}

/*
  SI div-1 heading in bold
*/
div.si-div-1-heading
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  text-indent: 0;
}

/*
  act div-1 heading in bold
*/
div.act-div-1-heading
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  text-indent: 0;
}

/*
  SI div-1 heading in italics
*/
div.si-div-x-heading
{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  text-indent: 0;
}

/*
  WRAPPED DIVISION
  this one is a div-1 (or other top level div, eg, preamble)
  it has more v-space than an indented division
*/
div.div-wraps
{
  font-family: "Times New Roman", Times, serif; 
  
/*  text-indent: 1em;  removed for legibility reasons */
  margin-top: 24px; /* 12 division_spacing */  
  line-height: 173%; 
}

/*
  this is a lower level division (2-5)
*/
div.div-wraps-indented
{
  font-family: "Times New Roman", Times, serif; 
  
/*  text-indent: 1em;  removed for legibility reasons */
  margin-left: 30px; 
  margin-top: 18px; /* 12 division_spacing */
}

span.div-wraps-indented
{
  font-family: "Times New Roman", Times, serif;
  text-indent: 0; /*  removed for legibility reasons */
  margin-left: 20px; 
}

td.division-cell-one
{
  font-family: "Times New Roman", Times, serif;
  text-align: right;
  width: 45px;
  padding-right: 10px;
  line-height: 173%; 
}

td.division-cell-two
{
  font-family: "Times New Roman", Times, serif;
  text-align: justify;
  line-height: 173%; 
}

/*
  div-content-spacer is used to output space above a content item
  that immediately follows a subdivision.
*/
div.div-content-spacer
{
  font-family: "Times New Roman", Times, serif;
  margin-top: 12px;
}




/*
  main title of the document <ti>
*/
div.qp-title
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 155%;
  text-align: center;
  margin-bottom: 20px; 
}

/*
  year, chapter, regnal info
*/
div.qp-actidentity
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 109%;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px; 
}

div.qp-si-identity
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 146%;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px; 
}


/*
  "arrangement of sections" banner
*/
div.arr-contents-banner
{
  font-family: "Times New Roman", Times, serif; 
  text-align: center;
  font-size: 127%;
  padding-top: 20px;
  padding-bottom: 12px;
}

/*
  "an act to.." (default style)
*/
div.longtitle, div.preamble, div.wordsofenactment
{
  font-family: "Times New Roman", Times, serif; 
  margin-top: 20px; 
}

span.wordsofenactment-initial
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 164%;
}

/*
  enactment date, embedded in the longtitle aligned to the right at the end of the paragraph.
  there are some nbsp's output in the content to prevent text overlapping this floating span.
*/
div.embedded-date
{
  font-family: "Times New Roman", Times, serif;
  position: relative;  
  top: -25px; 
  width: 99%;
  text-align: right;
  line-height: 173%;
}

/*
  number for a part or subpart
  for new style acts
*/
div.qp-partnumber
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  text-align: center;
  font-variant: small-caps;
  margin-bottom: 12px;
}

/*
  non-bold part or subpart number for 
  old style acts
*/
div.qp-partnumber-old
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-variant: small-caps;
  margin-bottom: 12px; 
}

/*
  plain number for a section or subsection in an SI
*/
div.qp-si-sectionnumber
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: normal;
  margin-bottom: 12px; 
}

div.qp-si-sectionnumber-left
{
  font-family: "Times New Roman", Times, serif;
  text-align: left;
  font-style: normal;
  margin-bottom: 12px; 
}

/*
  NOTE: all -a variants are for the headings in the "ARRANGEMENTS" (contents) section at
  the top of the document.
*/
td.qp-partnumber-a
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  text-align: center;
  font-variant: small-caps;
  padding-bottom: 12px; 

}
td.qp-partnumber-a-old
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-variant: small-caps;
  padding-bottom: 12px; 
}

/*
  number for a part or subpart within schedules
*/
div.qp-partnumber-schedules
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-variant: small-caps;
  margin-bottom: 12px;
}

/*
   heading for a part or subpart
*/
div.qp-partheading
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-variant: small-caps;
  margin-bottom: 12px; 
}
td.qp-partheading-a
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-variant: small-caps;
  padding-bottom: 12px; 
}


/*
  heading of a section within an si
  italic
*/

div.qp-si-sectionheading
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: italic;
  margin-bottom: 12px; 
}

div.qp-si-sectionheading-left
{
  font-family: "Times New Roman", Times, serif;
  text-align: left;
  font-style: italic;
  margin-bottom: 12px; 
}

/*
  number for a subsubpart
*/
div.qp-subsubpartnumber
{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  text-align: center;
  font-variant: small-caps;
  margin-bottom: 12px; 
}

td.qp-subsubpartnumber-a
{
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  text-align: center;
  font-variant: small-caps;
  padding-bottom: 12px;
}


/*
  number for a part within schedules
*/
div.qp-subsubpartnumber-schedules
{
  /* MS: not in spec - guessed style - ssp's don't usually have numbers */
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: italic;
  font-variant: small-caps;
  margin-bottom: 8px;
}

/*
   heading for a subsubpart

   sorry about the rather strange styles - here are the rules

    main body
     new style act = center
     asp 	   = center
     old style act = center
    schedules
     new style act = left
     asp 	   = left
     old style act = center


*/
div.qp-subsubpartheading-center
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: italic;
  margin-bottom: 12px;
}
div.qp-subsubpartheading-left
{
  font-family: "Times New Roman", Times, serif;
  text-align: left;
  font-style: italic;
  margin-bottom: 12px;
}

/*
  i'm not sure whether we should format the subsubparts in the schedule to match - center 
  alignment makes more sense there since the whole section is center aligned.
*/
td.qp-subsubpartheading-a
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: italic;
  padding-bottom: 12px;
}

/*
  indented paragraph - lots of these
*/
p.indented
{
  font-family: "Times New Roman", Times, serif; 
  
/*  text-indent: 1em; removed for legibility reasons */
  width: 100%;
  line-height: 173%; 
}
p.notindented
{
  font-family: "Times New Roman", Times, serif;
  text-indent: auto;
  width: 100%;
  line-height: 173%; 
}


div.indented
{
  font-family: "Times New Roman", Times, serif; 
  
/*  text-indent: 1em; removed for legibility reasons */
  line-height: 173%; 
}

/*
  the heading that reads "SCHEDULES" or similar
*/
div.schedulesheading
{
  font-family: "Times New Roman", Times, serif; 
  text-align: center;
  font-size: 127%;
  text-transform: uppercase;
  font-weight: normal;
  padding-bottom: 12px;
}

/* number for a schedule */
div.schedulenumber
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 109%;
  text-align: center;
  text-transform: uppercase;

  /*
     Note: this needs no padding-bottom since the floating schedulereference
     is outputting space below this element anyway.
  */
}

/*
  secref : item the schedule is referencing
*/
div.schedulereference
{
  font-family: "Times New Roman", Times, serif; 
  position: relative;
  width: 35%;
  top: -1.5em;
  margin-left:46%;
  text-align: right;
  font-size: 91%;
  font-variant: normal;
}

/*
  Acts of the Scottish Parliament have schedule references formatted 
  central as a div rather than as a bit of side info.

*/
div.schedulereference-banner
{
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  font-style: italic;
  margin-top: 10px;
  font-variant: normal;
}

/* 
  this part is refering to something else
*/
div.part-reference
{
  font-family: "Times New Roman", Times, serif; 
  position: relative;
  width: 99%;
  top: -2.2em;
  text-align: right;
  font-size: 91%; 
}


div.scheduleheading
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 109%;
  font-variant: small-caps;
  text-align: center;
  padding-bottom: 12px;
}

/*
  this is literally a style for the "quote" mark around an amendment.
  quotes around amendments have been suffering from cascading styles applying to them
  when we don't really want them.  for this reason we are explicitly defining a span for
  amendment quotes now.
*/
span.amendment-quote
{
  font-family: "Times New Roman", Times, serif; 
  font-size: 109%;
  font-weight: normal;
  font-style: normal;
  font-family: times, helvetica;
  padding: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  color: black;
}

/*
  used as the number against a division in the contents section.
*/
td.arrangement-number
{
  font-family: "Times New Roman", Times, serif;
  padding-right: 10px;
  text-align: right;
}

/*
  a heading spacer div is output to add additional space above a heading, but only
  when the heading follows content, not another heading.
*/
div.heading-spacer
{
  height: 35px;
}

div.clause-in-force
{
  font-family: "Times New Roman", Times, serif;
  margin-bottom: 5px;
}


/* special paras inside parts for SIs 
   centered and in capitals.
*/
p.si-partpara
{
  font-family: "Times New Roman", Times, serif;
  font-variant: small-caps;
  text-align: center;
  width: 100%;
}

/* special links in commentary for Enquiry System */
a.enquiry-commentary-link, 
a.enquiry-commentary-link:visited,
a.enquiry-commentary-link:link, 
a.enquiry-commentary-link:active
{
  font-family: "Times New Roman", Times, serif; 
  color: red;
  font-weight: normal;
}
a.enquiry-commentary-link:hover
{
  font-family: "Times New Roman", Times, serif; 
  font-weight: normal;
  color: crimson;
}

/*
  enquiry system amendment link
*/
a.amendment-link, 
a.amendment-link:visited,
a.amendment-link:link, 
a.amendment-link:active
{
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
}

/* text inside an amendment */
span.within-amendment
{
  color: green;
}

/* text that has been changed - within a "new" block */
span.within-new
{
  color: blue;
}

/* an amendment that spans parts/divisions or other block elements */
div.block-amendment
{
  margin-left: 25px;
}

div.si-div-1-heading
{
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  margin-bottom: 12px;
}


/*
  this is the text within a division
*/
div.new-div-indents-content
{
  font-family: "Times New Roman", Times, serif;
  text-align: justify;
  margin-left: 125px; 
  line-height: 173%; 
  text-indent: 0;

  BACKGROUND: yellow;
}



a.anchor
{
  display: none;
}






/* DIV-INDENTS STYLING 
 * Third revision
 * No tables!
 */

DIV.di-container-toplevel
{
/*  border: solid thin silver;
  border-width: 1px 1px 1px 1px; */
  margin-top: 20px; /* 10 division_spacing */ 		
  margin-left: 15px;
}

/* item at lower level not merged */
DIV.di-container
{
/*  border: solid thin silver;
  border-width: 1px 1px 1px 1px; */
  margin-left: 65px;
  text-indent: 0;
  padding-top: 10px;  /* division_spacing (was 0) can't put any v-space here because of merging */
}

/* item at lower level not merged */
DIV.di-container-short
{
/*  border: solid thin silver;
  border-width: 1px 1px 1px 1px; */
  margin-left: 45px;
  text-indent: 0;
  padding-top: 10px;  /* division_spacing (was 0) can't put any v-space here because of merging */
}


DIV.di-number
{
/*  border: solid thin blue;
  border-width: 1px 1px 1px 1px; */

  /* positioning */
  width: 110px;
  text-align: right;
  padding-right: 5px; 
  position: absolute;
  margin-left: -120px; 

  /* fonts */
  font-family: "Times New Roman", Times, serif;
  text-indent: 0;
}

DIV.di-content
{
/*  border: solid thin red;
  border-width: 1px 1px 1px 1px; */

  /* fonts */
  font-family: "Times New Roman", Times, serif;
  padding-left: 0px;
  margin-left: 0px;
  text-indent: 0;
}

/* extra level indent for children inside a merged div */
div.extra-div-level
{
  padding-left: 30px;
}

div.tablefootnote-first
{
}

div.tablefootnote
{
  margin-top: 30px;
}

div.list
{
  text-align: justify;
  margin-left: 30px;
  line-height: 173%; 
  text-indent: 0; 
}
div.listitem
{
  font-family: "Times New Roman", Times, serif; 
  
}

sub
{
  font-size: 82%;
}

sup
{
  font-size: 82%;
}

/* For all other browsers */
DIV.di-number-inner
{
/*  border: solid thin blue;
  border-width: 1px 1px 1px 1px; */

  /* positioning */
  width: 110px;
  text-align: right;
  padding-right: 5px; 
  position: absolute;
  margin-left: -120px; 

  /* fonts */
  font-family: "Times New Roman", Times, serif;
  text-indent: 0;
}

/* item at lower level item - first one and it is merged, no top padding  */ 
DIV.di-container-firstsubitem
{
  margin-left: 45px;
  text-indent: 0;
}

div.approval
{
  font-family: "Times New Roman", Times, serif; 
  font-style: italic;
  text-align: center;
  padding-top: 10px;
}
