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

  #xtend h1 {
    border-bottom: none;
  }

  h1.headnote {
    text-align: left;
  }

  h1.repealed {
    display: inline;
  }

  .leg_PageContent #xtend h2.subp_no {
    margin-left: 2em;
    font-weight: normal;
  }

  .leg-content #xtend h2.subp_no,
  .leg-content #xtend div.part p {
    margin-left: 2em;
    font-weight: normal;
  }

  .leg-content #xtend div.part p:first-of-type {
    margin-left: 0em;
  }

  h3.item_no {
    margin-left: 4em;
  }

  h4.subitem_no {
    margin-left: 6em;
  }

  h5.unit_no {
    margin-left: 8em;
  }

  h6.subunit_no {
    margin-left: 10em;
  }

  .leg-content #xtend h2,
  .leg-content #xtend h3,
  .leg-content #xtend h4,
  .leg-content #xtend h5,
  .leg-content #xtend h6 {
    font-weight: normal;
    margin-right: 0.2em;
    font-family: inherit;
    font-size: 1em;
    border-bottom: none;
  }

  .leg-content #xtend h2.headnote {
    font-size: 1em;
    line-height: 1em;
    font-weight: bold;
    margin-top: 1em;
  }

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

  #xtend .headnote {
    margin-left: 0em;
    font-weight: bold;
  }

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

  .leg-content #xtend div.subp.repealed:first-of-type {
    display: inline;
  }

  .leg-content #xtend div.subp.repealed:first-of-type .subp_no {
    margin-left: 0em;
  }

  .leg-content #xtend div.subp.repealed p {
    margin-left: 0em;
  }

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

  #xtend div.published {
    margin-bottom: 1em;
  }

  #xtend div.note {
    font-size: 0.8em;
    line-height: 1em;
  }

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

  #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;
  }

  #xtend h2.chapter_no {
    font-size: 1.2em;
    margin: 0em 0em 0.5em 0em;
    padding: 0em 0em 0.2em 0em;
  }

  #xtend h3.agency,
  #xtend h3.agency_division {
    display: block;
    margin-bottom: 1em;
  }

  #xtend h2.agency,
  #xtend h2.rd_title {
    display: none;
  }

  #nav_left .inset li {
    margin-left: 2em;
  }

  #nav_left h2 {
    font-size: 1.4em;
    text-decoration: underline;
  }

  #xtend p:first-of-type {
    display: inline;
  }

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

  .leg-content #xtend table th:nth-of-type(1) {
    width: 90px;
  }
}
