* {
  text-decoration: none;
  margin: 0;
  padding: 0;
}

body {
  font-family: arial, helvetica, sans-serif;
  cursor: default;
  background-color: #fff;
}

#container {
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 100px;
  text-align: left;
  background-color: #fff;
  overflow: hidden;
}

h1 {
  font-size: 200%;
  color: #c00;
  background-color: #fff;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-weight: 300;
}

h2 {
  font-size: 110%;
  color: gray;
  font-family: Arial, Verdana, Helvetica, sans-serif;
  font-weight: 300;
  background-color: #fff;
}

h3 {
  color: #c00;
  text-align: left;
  font-weight: 300;
  margin-top: 5px;
  padding: 5px;
}

h3 a {
  color: #c00;
  text-decoration: underline;
}

/* Header */
#header {
  width: 100%;
  padding-top: 15px;
}

#headleft {
  float: left;
  width: 45%;
}

#headright {
  float: right;
  width: 55%;
  height: 100px;
  background-image: url("/image/northendcellblocka.jpg");
  background-position-y: 80%;
}

#main {
  margin: 0;
  clear: both;
  width: 100%;
}

#dynamicindent {
  padding-top: 2em;
}

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/font/PublicSans-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Public Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/font/PublicSans-Italic.woff2") format("woff2");
}

/* Footer */
#footer {
  clear: both;
  font-size: 86%;
  font-family: "Public Sans", Verdana, Arial, Helvetica, sans-serif;
  margin-top: 100px;
}

.right {
  color: gray;
  background-color: #fff;
  float: right;
  font-size: 86%;
  margin-top: 5px;
}

.left {
  color: gray;
  background-color: #fff;
  float: left;
  font-size: 100%;
  margin-top: 5px;
}

hr {
  border: 0;
  color: #ccc;
  background-color: #cdcdcd;
  height: 1px;
  width: 100%;
  text-align: left;
}

/* Accordion */

.accordion-header {
  cursor: pointer;
  color: #111;
  font-size: 150%;
  padding: 3px;
  border: 1px solid #81a8b8;
  background: #dddddd; /* #DBE6EC */
  font-weight: normal;
  color: #111;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  margin-bottom: 2px;
}

.accordion-arrow {
  width: 3em;
  float: left;
}

.accordion-header-text {
  display: inline-block;
}

.accordion-controls {
  display: block;
  float: right;
  height: 18px;
}

.accordion-icon {
  height: 23.2px;
  width: 23.2px;
}

.accordion-panel {
  margin-bottom: 6px;
  margin-left: 8px;
}

.template {
  display: none;
}

/* Questions */

form.question {
  margin-top: 1em;
}

form.question label {
  font-family: "Public Sans", system-ui, verdana, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  display: block;
  margin-bottom: 3px;
}

form.question label.checkboxlabel {
  display: inline;
  margin-bottom: 3px;
}

div.groupQuestionLabel ol li {
  margin-left: 4em;
  list-style-type: lower-latin;
}

fieldset ul {
  list-style-type: none;
}

fieldset.group {
  width: 70%;
  padding: 1em;
}

fieldset.group legend {
  font-weight: 700;
  font-size: 150%;
}

select {
  max-width: 500px;
}

/* Report */

table#summary {
  width: 90%;
  border-spacing: 0;
  border-collapse: collapse;
}

table#summary td#months,
#smallsummary {
  background-color: #c00;
  vertical-align: top;
  color: #fff;
  padding: 1em;
}

table#summary td#months h5 {
  font-size: 1cm;
}

table#summary td.other {
  vertical-align: top;
  border-top: 1px solid #555;
  border-right: 1px solid #555;
  color: #333;
  margin: 0;
  padding: 1em;
}

table#summary td.last {
  border-right: 0;
}

table#summary td h6 {
  font-size: 87%;
}

table#summary td.other h5 {
  font-size: 0.7cm;
  font-weight: 400;
}

table.reportSummary {
  width: 98%;
}

table.reportSummary caption {
  text-align: left;
  font-size: 120%;
  padding-top: 25px;
  color: #777;
}

table.reportSummary caption a {
  color: #777;
}

col.c1 {
  min-width: 20%;
  width: 20%;
}

col.c2 {
  width: 65%;
}

col.c3 {
  width: 15%;
  text-align: right;
}

table.reportSummary td {
  vertical-align: top;
  padding-bottom: 5px;
  border-bottom: 1px solid #edd;
}

/* Floating red thing */

#smallsummary {
  top: 0;
  left: 0;
  width: 6%;
  min-width: 90px;
  position: fixed;
}

#smallsummary h5 {
  font-size: 36px;
  color: white;
  text-decoration-style: dotted;
}

#smallsummary ul {
  list-style-type: none;
}
#smallsummary li a {
  color: antiquewhite;
  font-size: 80%;
  text-decoration-style: dotted;
}

/* Error footer */

#errorfooter {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: red;
  line-height: 2;
  text-align: center;
  color: white;
  font-size: 30px;
  font-family: sans-serif;
  font-weight: bold;
  box-shadow: 0 0 15px #00214b;
}

/* Criminal history question */

ul.sentencingdatequestions label {
  display: inline;
}

div.criminalhistory {
  width: 800px;
}

.criminalhistory ul li {
  list-style-type: none;
  list-style-position: inside;
}

.priortable {
  margin-top: 20px;
  padding: 5px;
}

.priortable input {
  width: 95%;
  display: block;
}

.priortable caption {
  font-size: 120%;
  font-weight: bold;
}

#impositioncol {
  width: 14%;
}

#offensecol {
  width: 34%;
  text-align: right;
}

#sentencecol {
  width: 29%;
}

#releasedatecol {
  width: 14%;
}

#deletebuttoncol {
  width: 5%;
}

img.icon {
  height: 23px;
}

/* US Code question */

.uscodequestion {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  max-width: 800px;
  margin-bottom: 20px;
}

.uscodequestion label {
  font-size: 16px;
  font-weight: normal;
  color: #333;
  margin: 0;
}

.uscodetitlesection {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.uscodetitlesection input[type="text"]:first-child {
  width: 60px;
  padding: 8px 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  text-align: center;
}

.uscodetitlesection span {
  font-size: 16px;
  color: #333;
  white-space: nowrap;
  margin: 0 4px;
}

.uscodetitlesection input[type="text"]:nth-child(3) {
  width: 200px;
  padding: 8px 12px;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.uscodesubmitbutton {
  padding: 8px 16px;
  background-color: #007aff;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-left: 8px;
}

.uscodesubmitbutton:hover {
  background-color: #0056cc;
}

.uscodesubmitbutton:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

input[type="text"]:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

@media (min-width: 768px) {
  .uscodequestion {
    display: block;
  }

  .uscodequestion label {
    display: block;
    margin-bottom: 12px;
  }

  .uscodetitlesection {
    justify-content: flex-start;
  }
}

.frequentstatutes {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.frequentstatutes label {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0;
  flex-shrink: 0;
  line-height: 32px;
}

.chip-collection {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.chip:not(.mostfreq) {
  display: none;
}

.frequentstatutes.revealed .chip {
  display: inline-flex;
}
.chip-collection.revealed .chip {
  display: inline-flex;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background-color: #f0f0f0;
  border: 1px solid #d0d0d0;
  border-radius: 20px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.chip:hover {
  background-color: #e0e0e0;
  border-color: #b0b0b0;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.chip:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chip:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.frequentstatutes a {
  color: #007aff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
  line-height: 32px;
  flex-shrink: 0;
}

.frequentstatutes a:hover {
  text-decoration: underline;
}

.frequentstatutes.revealed a {
  display: none;
}

@media (max-width: 767px) {
  .uscodequestion {
    display: block;
  }

  .uscodequestion label {
    display: block;
    margin-bottom: 12px;
  }

  .uscodetitlesection {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .uscodetitlesection input[type="text"]:first-child {
    width: 50px;
  }

  .uscodetitlesection input[type="text"]:nth-child(3) {
    width: 120px;
  }

  .uscodesubmitbutton {
    margin-left: 8px;
    min-width: 60px;
    flex-shrink: 0;
  }

  .chip {
    font-size: 13px;
    padding: 5px 10px;
  }

  .chip-collection {
    gap: 6px;
  }

  .frequentstatutes {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .frequentstatutes label {
    line-height: normal;
  }

  .frequentstatutes a {
    line-height: normal;
    margin-left: 0;
    margin-top: 4px;
  }
}

.uscodequestion input[type="text"],
select {
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  font-family: "Public Sans", system-ui, verdana, sans-serif;
}

.uscodequestion input[type="text"]:focus,
select:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

/* Phone-only rules */

@media screen and (max-width: 600px) {
  #reportzone,
  #reportlevel,
  #reporthistory {
    display: none;
  }

  .accordion-header {
    font-size: 90%;
  }
  #headleft {
    width: 80%;
  }
  #headright {
    width: 20%;
  }
  .uscodequestion input[type="text"]:nth-of-type(1) {
    font-size: 150%;
    width: 15%;
  }

  .uscodequestion input[type="text"]:nth-of-type(2) {
    font-size: 150%;
    width: 35%;
  }
  .uscodesubmitbutton {
    width: 10%;
  }
}
@media (min-width: 600px) {
  #container {
    width: 80%;
  }
}
