@layer xtend {
  .leg-content #xtend {
    font-family: "times new roman", serif;
    font-size: 1.2em;
    line-height: 1.2em;
    /* letter-spacing: .04em; different results in firefox and IE */
    margin: 1em 0em;
  }

  .leg-content th.sub {
    padding-top: 1em;
  }

  .leg-content th {
    text-align: left;
    padding-bottom: 2px;
    padding-right: 1em;
    border-bottom: solid 1px #000;
  }

  blockquote {
    margin: 1em 1em 1em 1.5em;
  }

  blockquote p {
    text-indent: 0em !important;
    font-style: italic;
  }

  .leg-content #xtend h1,
  .leg-content #xtend h2,
  .leg-content #xtend h3,
  .leg-content #xtend h4,
  .leg-content #xtend h5,
  .leg-content #xtend h6 {
    font-weight: bold;
    color: #000;
    margin-bottom: 0px;
  }

  .leg-content #xtend h1 {
    font-size: 1em;
    line-height: 1em;
  }

  .bill_section.am_cite h1.shn {
    display: block;
    margin-top: 1em;
    text-indent: 2em !important;
  }

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

  .leg-content #xtend h3,
  .leg-content #xtend h4,
  .leg-content #xtend h5,
  .leg-content #xtend h6 {
    font-size: 1em;
    line-height: 1em;
    display: inline;
  }

  .leg-content #xtend p {
    font-size: 1em;
    text-indent: 2em;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
  }

  /*.leg-content #xtend p:first-of-type {display: inline}*/
  .leg-content #xtend td p {
    text-indent: 0px;
    margin: 0px;
    padding: 0px;
  }

  .leg-content #xtend p var {
    text-indent: 0em;
  }

  .leg-content #xtend table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0em;
    font-size: 1em;
    table-layout: fixed;
  }

  .leg-content #xtend tr:hover {
    background-color: transparent;
  }

  .leg-content #xtend td {
    border: none;
    font-size: 1em;
    padding: 0px;
    text-indent: 0px;
  }

  .leg-content #xtend table td:nth-of-type(1) {
    vertical-align: top;
  }

  .valign_top {
    vertical-align: top;
  }

  .valign_bottom {
    vertical-align: bottom;
  }

  /*.leg-content #xtend div.leg-content #chapter_analysis table tr:hover {
  background-color: .leg-content #eee;
} implement when functionality to click entire row is available */
  .leg-content #xtend div.chapter_analysis table td {
    border-top: 1px solid #eee;
  }

  .leg-content #xtend table.border_all {
    border: 1px solid #000;
  }

  .leg-content #xtend table.border_all td {
    border: 1px solid #000;
  }

  .leg-content #xtend table.border_topbot {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
  }

  .leg-content #xtend table.border_top {
    border-top: 1px solid #000;
  }

  .leg-content #xtend table.border_bot {
    border-bottom: 1px solid #000;
  }

  .leg-content #xtend table.border_sides {
    border-left: 1px solid #000;
    border-right: 1px solid #000;
  }

  .leg-content #xtend table td.colsep {
    border-right: 1px solid #000;
  }

  .leg-content #xtend table .rowsep {
    border-bottom: 1px solid #000;
  }

  .leg-content th {
    font-weight: bold;
  }

  .leg-content var {
    display: inline-table;
    font-style: normal;
    width: 3em;
  }

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

  .leg-content #xtend img {
    display: block;
    margin: 1em auto;
  }

  .leg-content #xtend img.inline {
    display: inline;
    margin: 0em;
  }

  .leg-content #xtend img.eqdisplay {
    display: block;
    margin: 1em auto;
  }

  .leg-content #document_options li {
    font-size: 1.6em;
    display: block;
    float: left;
    margin: 1em 1em 1em 0em;
  }

  .leg-content .headnote {
    font-weight: bold;
    margin-left: 0.4em;
    margin-right: 0.4em;
  }

  .leg-content #xtend.old {
    background: transparent url("../../images/watermark_notcurrent.da680f3acd68.gif") no-repeat fixed center center;
  }

  .leg-content .chapter_statute .leg-content #xtend {
    border-top: none;
  }

  .leg-content #controls {
    display: block;
    clear: left;
    font-size: 1.6em;
  }

  .leg-content #text {
    float: right;
  }

  .leg-content #section_list {
    padding: 1em 0em;
    border: solid thin #aaa;
    border-left: none;
    border-right: none;
  }

  .leg-content #section_list li a {
    display: block;
    float: left;
    width: 6em;
  }

  .hidden,
  .leg-content #title,
  span.highlight em {
    position: absolute;
    left: -999px;
    font-size: 1px;
  }

  span.pl {
    line-height: 1em;
    left: -999px;
  }

  .hidden ul {
    list-style: none;
  }

  .leg-content p.first {
    display: inline;
  }

  .leg-content .new_text {
    text-decoration: underline;
  }

  .leg-content p.copyright {
    font-size: 1.2em;
    margin-top: -1em;
  }

  .leg-content p.enacting_clause {
    margin: 0em;
    text-indent: 0em !important;
  }

  .leg-content div.notation {
    margin-top: 0.5em;
    font-style: italic;
  }

  .leg-content .center {
    text-align: center;
  }

  .leg-content p.copyright {
    margin-top: 0em;
    text-align: center;
  }

  /***** Paragraph Classes *****/
  p.ii {
    margin-left: 2em;
  }

  p.bi,
  p.bi1,
  p.bi2,
  p.bi4,
  p.bi6,
  p.bi8,
  p.bl40,
  p.bl,
  p.bl1,
  p.lj {
    text-indent: 0em !important;
  }

  p.bi {
    margin-left: 2em;
  }

  p.bi1 {
    margin-left: 2em;
  }

  p.bi2 {
    margin-left: 4em;
  }

  p.bi4 {
    margin-left: 6em;
  }

  p.bi6 {
    margin-left: 8em;
  }

  p.bi8 {
    margin-left: 10em;
  }

  p.bl40 {
    margin-right: 3.25in;
  }

  p.br40 {
    margin-left: 3.25in;
  }

  p.ce,
  p.ce1,
  p.cb {
    text-align: center;
    text-indent: 0em !important;
  }

  p.cb {
    font-weight: bold;
  }

  p.rj {
    text-align: right;
  }

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

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

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

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

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

  /*p.in {display: inline ! important}*/

  .leader {
    /*    overflow-x: hidden;*/
    padding: 0px !important;
    overflow: hidden;
    /*    display: table;
        table-layout: fixed;
        width: 100%;
        text-align: center;*/
  }

  .right {
    text-align: right;
  }

  .leader:before {
    float: left;
    width: 0;
    white-space: nowrap;
  }

  .leader:before {
    float: left;

    white-space: nowrap;
    z-index: 1;
  }

  .period:before {
    content: ". . . . . . . . . . . . . . . . . . . . " ". . . . . . . . . . . . . . . . . . . . "
      ". . . . . . . . . . . . . . . . . . . . " ". . . . . . . . . . . . . . . . . . . . "
      ". . . . . . . . . . . . . . . . . . . . " ". . . . . . . . . . . . . . . . . . . . ";
  }

  .underscore:before {
    content: "_______________________" "_______________________" "_______________________" "_______________________"
      "_______________________" "_______________________";
  }

  /*td.leader span, sup, sub {
    display:table-cell;
    white-space: nowrap;
    background: white;
}
td.leader span:first-child {
    text-align: left;
}
td.leader span:last-child {
    text-align: right;
}*/

  .leader span.left {
    padding-right: 0.33em;
    background: white;
  }

  .leader span.right {
    float: right;
    padding-left: 0.33em;
    background: white;
  }

  .leader {
    display: inline-block;
    text-indent: 0;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
    text-decoration: inherit;
  }

  td .leader {
    overflow: hidden;
  }

  p:has(.leader) {
    overflow: hidden;
  }

  #leader_warning {
    background-color: #ff5;
    padding: 8px;
    border: 1px solid #000;
    width: 100%;
    margin: 1em 0em;
    z-index: 10;
  }

  #leader_warning span {
    display: block;
    float: left;
    font-weight: bold;
    height: 2em;
    margin-right: 0.5em;
  }

  #xtend table td {
    overflow: hidden;
  }

  table .gray1 {
    background-color: #e6e6e6;
  }

  table .gray2 {
    background-color: #d9d9d9;
  }

  table .gray3 {
    background-color: #ccc;
  }

  table .gray4 {
    background-color: #c0c0c0;
  }

  table .gray5 {
    background-color: #b3b3b3;
  }

  /* STYLES CARRIED OVER FROM OLD */
  /* not needed with bootstrap
div.xtend {
    width: 800px;
} */
  div.xtend table {
    width: 100%;
  }

  div.xtend_ce {
    text-align: center;
  }

  div.xtend_ce var {
    text-align: left;
  }

  div.xtend pre {
    font-family: monospace;
  }

  /* Common for bills and laws */
  .sec_eff_date .hn {
    padding-left: 2em;
  }

  .leg-content #xtend .bill_section p {
    text-indent: 4em;
  }

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

  .pdf_doc_type_link {
    text-decoration: none;
  }

  .pdf_doc_type_link:hover {
    text-decoration: underline;
  }

  #previewer ul {
    padding: 0px;
  }

  #previewer div {
    margin-top: 0.5em;
  }

  .search_nav {
    max-height: 15rem;
  }

  .search_nav .card-body {
    overflow-y: scroll;
  }
}
