@layer xtend {
  .leg-content #xtend {
    margin: 0em;
  }

  .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.statute h1 {
    border-bottom: none;
    margin-left: 0em;
  }

  .leg-content #xtend h1.fgh {
    font-size: 1.4em;
    text-align: center;
    margin: 1em 0em;
  }

  .leg-content #xtend tr.fgh th {
    padding-top: 1em;
    text-align: center;
    border: none;
  }

  .leg-content #xtend td {
    padding: 0.4em 0.2em;
  }

  .leg-content #xtend #chapter_analysis td {
    padding: 0em;
  }

  .leg-content #xtend.statute h2.chapter_title {
    font: 20px/40px Georgia;
  }

  .leg-content #xtend.chapter h1.shn {
    display: none;
  }

  .leg-content h1.headnote {
    text-align: left;
  }

  .leg-content h1.repealed {
    display: inline;
  }

  .leg-content #xtend h2.subd_no {
    margin: 0em 0em 0em 2em;
  }

  .leg-content h2.subd_no,
  .leg-content h2.headnote {
    display: inline;
  }

  .leg-content h2.subd_no {
    display: inline;
    font-weight: normal !important;
  }

  .leg-content h2.subd .headnote {
    display: inline;
    margin-left: 0.2em;
    font-weight: bold;
  }

  .leg-content div.section,
  .leg-content div.sr,
  .leg-content div.section div.subd {
    margin-top: 1em;
  }

  .leg-content h2.subd .headnote {
    margin-left: 0.2em;
    font-weight: bold;
  }

  .leg-content #xtend div.history {
    font-style: italic;
    margin: 0.5em 0em;
  }

  .leg-content #xtend div.history h2 {
    display: inline;
    font-weight: bold;
    font-style: normal;
    margin-left: 2em;
  }

  .leg-content div.section,
  .leg-content div.sr {
    margin-top: 1em;
  }

  /* .leg-content div.subd {margin-top: 2em;} */
  .leg-content div.subd p.see_note {
    font-weight: bold;
    font-style: italic;
  }

  .search_page input[type="text"] {
    display: inline;
    width: inherit;
  }

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

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

  .leg-content #chapter_analysis ul h4 {
    margin: 0.5em 0em;
  }

  .sr_by_subd h1 {
    display: inline;
  }

  .sr_by_subd .subd:first-of-type {
    display: inline;
  }

  .leg-content #xtend .sr_by_subd .subd:first-of-type h2.subd_no {
    margin-left: 0.25em;
  }

  .section p:first-of-type {
    display: block;
  }

  .section .history p:first-of-type {
    display: inline;
  }

  .subd p:first-of-type {
    display: inline;
  }

  /* applies only to old HTML */
  .leg-content div.xtend {
    width: auto;
  }

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