@layer xtend {
  #xtend {
    margin: 0em;
  }

  #xtend h1,
  #xtend h2 {
    border-bottom: none;
  }

  /*#xtend h2, #xtend h3, #xtend h4, #xtend h5, #xtend h6 {
  font-weight: normal;
  margin-right: .2em;
  font-family: inherit;
  font-size: 1em;
  border-bottom: none;
}*/
  h1.headnote {
    text-align: left;
  }

  h1.repealed {
    display: inline;
  }

  h1.header,
  h1.fgh,
  h1.chapter_title {
    text-align: center;
  }

  #xtend h1.chapter_title {
    font-size: 1.6em !important;
    margin-bottom: 0.5em;
  }

  h2.subp_no {
    margin-left: 2em;
  }

  h2.subtype_header,
  h2.heading {
    text-align: center;
  }

  h2.subtype_header a {
    background-image: none;
    padding: 0em;
    color: #903;
    text-decoration: underline;
  }

  div.table_of_contents h2.subtype_header,
  div.table_of_contents h2.heading {
    text-align: left;
  }

  #xtend h3.courtr_no {
    font-weight: bold;
    margin: 1em 0em;
  }

  h4.courtr_subd_no,
  h4.courtr_item_no {
    margin-left: 2em;
  }

  h2.subp_no,
  h2.headnote {
    display: inline;
  }

  #xtend div.table_of_contents table {
    margin: 0em;
  }

  td {
    padding: 0.2em 0em;
  }

  #xtend h4.sub_rule_no {
    display: block;
  }

  #xtend .headnote {
    font-weight: bold;
  }

  div.sub_rule {
    margin-top: 1em;
  }

  div.courtr_item,
  div.item,
  div.subitem,
  div.unit,
  div.subunit,
  div.notation {
    margin-top: 0.5em;
  }

  div.sub_rule {
    margin: 1em 0em;
  }

  div.courtr_subd,
  div.courtr_item {
    margin: 0.5em 0em;
  }

  #xtend div.stat_auth,
  #xtend div.history,
  #xtend div.note,
  #xtend div.adopted,
  #xtend div.comment {
    font-style: italic;
    margin: 0.5em 0em;
  }

  #xtend div.stat_auth h2,
  #xtend div.history h2,
  #xtend div.note h2,
  #xtend div.adopted h2 {
    display: inline;
    font-weight: bold;
    font-style: normal;
    margin-left: 2em;
  }

  #xtend div.comment .header {
    display: block;
    text-align: center;
    margin-bottom: 1em;
  }

  #chapter_analysis ul {
    list-style: none;
    list-style-image: none;
  }

  #chapter_analysis ul li a {
    margin-right: 1em;
  }

  #chapter_analysis ul h4 {
    margin: 0.5em 0em;
  }

  h2.chapter_no,
  h2.agency,
  h2.rd_title {
    display: none;
  }

  #header {
    background: url("../../images/courts_logo3.237d30aeeb20.png") no-repeat scroll 20px 7px #353637;
    border: 3px #000 solid;
    border-top-color: #aaa;
    border-left-color: #aaa;
    margin: -20px 0em 2em 0em;
    padding: 1em;
  }

  #header div h1 {
    color: #e1d3a2;
    margin: 0em 0em 0em 2.5em;
    font: 2em Serif;
    letter-spacing: 0.2em;
    border-bottom: 2px solid #811005;
  }

  p.pdf {
    margin-top: 6em;
  }

  /* applies only to old HTML 
#xtend.arule p {display: none}
#xtend.arule pre p {display: block}
#xtend.arule * table {display: block} */

  /*div.sub_rule p.i1 {text-indent: 2em !important}
div.sub_rule p.i2 {text-indent: 4em !important}
div.sub_rule p.i3 {text-indent: 6em !important}
div.sub_rule p.i4 {text-indent: 8em !important}

div.comment p.i1 {text-indent: 2em !important}
div.comment p.i2 {text-indent: 4em !important}
div.comment p.i3 {text-indent: 6em !important}
div.comment p.i4 {text-indent: 8em !important}*/

  p.i1 {
    text-indent: 2em !important;
  }

  p.i2 {
    text-indent: 4em !important;
  }

  p.i3 {
    text-indent: 6em !important;
  }

  p.i4 {
    text-indent: 8em !important;
  }

  div.sub_rule div.courtr_subd p.i1 {
    text-indent: 4em !important;
  }

  div.sub_rule div.courtr_subd p.i2 {
    text-indent: 6em !important;
  }

  div.sub_rule div.courtr_subd p.i3 {
    text-indent: 8em !important;
  }

  div.sub_rule div.courtr_subd p.i4 {
    text-indent: 10em !important;
  }

  div.sub_rule div.courtr_item p.i1 {
    text-indent: 4em !important;
  }

  div.sub_rule div.courtr_item p.i2 {
    text-indent: 6em !important;
  }

  div.sub_rule div.courtr_item p.i3 {
    text-indent: 8em !important;
  }

  div.sub_rule div.courtr_item p.i4 {
    text-indent: 10em !important;
  }

  div.sub_rule div.courtr_subd div.courtr_item p.i1 {
    text-indent: 6em !important;
  }

  div.sub_rule div.courtr_subd div.courtr_item p.i2 {
    text-indent: 8em !important;
  }

  div.sub_rule div.courtr_subd div.courtr_item p.i3 {
    text-indent: 10em !important;
  }

  div.sub_rule div.courtr_subd div.courtr_item p.i4 {
    text-indent: 12em !important;
  }
}
