*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Trebuchet MS", Verdana, "Verdana Ref", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  line-height: 1.3rem;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  font-size: 1rem;
}

body {
  min-height: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  text-decoration: underline;
}

p {
  margin: 0.4em 0;
}

input[type=text],
input[type=number],
input[type=date],
input[type=email],
input[type=tel],
select {
  padding: 0 0.5em;
  height: 2.5em;
}

input, select, textarea {
  border: 1px solid #bbb;
}

input[type=radio],
input[type=checkbox] {
  vertical-align: middle;
}

textarea {
  width: 100%;
  padding: 0.3em 0.5em;
}

label[required]::after {
  content: "*";
  color: red;
  font-weight: bold;
  padding: 0.2em;
}

.kint-rich footer {
  font-size: unset;
}

.hidden {
  display: none !important;
}

ul.bullets {
  list-style: disc;
  padding: revert;
  margin: 0.4em 0;
}

.narrow {
  max-width: 50em;
}

td[left], th[left] {
  text-align: left;
}

td[center], th[center] {
  text-align: center;
}

td[right], th[right] {
  text-align: right;
}

.wide {
  overflow-x: auto;
  overflow-y: visible;
  display: block;
}

.data-1d {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: left;
  gap: 0.3rem 1rem;
}

.data-1d .label {
  color: #003844;
  font-weight: 600;
}

button.link {
  background: none;
  border: none;
  padding: 0;
  color: #069;
  text-decoration: underline;
  cursor: pointer;
}

a.button {
  display: inline-block;
  padding: 0.2em 0.5em;
  background-color: #fff;
  border: 1px solid #003844;
  border-radius: 0.2em;
  cursor: pointer;
  text-decoration: none;
}

a.button:hover {
  background-color: #ffebc6;
}

a.native,
a.native:hover,
a.native:active,
a.native:focus {
  color: revert;
}

.off-page-left {
  position: absolute;
  left: -2000px;
}

ul.bullet-list {
  list-style: disc;
}
ul.bullet-list li {
  list-style: revert;
  margin-left: 1.5em;
}

body {
  display: flex;
  flex-flow: column nowrap;
  max-width: 90%;
  margin: 0 auto;
  font-size: 90%;
}
body > header,
body > main,
body > footer {
  padding: 1em;
}
body > header {
  background-color: unset;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-bottom: 0;
}
body > header a.logo {
  position: relative;
  width: 200px;
  z-index: 1;
}
body > header a.logo img {
  width: 100%;
}
body > header .county {
  padding: 1em;
  z-index: 1;
}
body > nav {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  padding-left: 200px;
  padding-left: calc(2em + 180px);
  color: #ffebc6;
  background-color: #003844;
  min-height: 3em;
}
body > nav a {
  padding: 1rem;
}
body > nav a.selected {
  background-color: rgba(255, 255, 255, 0.15);
}
body > nav a.selected:hover {
  text-decoration: none;
  cursor: default;
}
body > main {
  display: flex;
  flex-flow: column nowrap;
  height: 100%;
}
body > footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
  margin-top: auto;
  color: #ffebc6;
  background-color: #003844;
}
@media (min-width: 35em) {
  body > footer {
    grid-template-columns: 1fr 1fr;
  }
}
body > footer .creator {
  grid-column: 1/3;
}

h1 {
  margin: 0;
  padding: 0.5rem 1rem 0.75rem;
  background-color: #0000000d;
  color: #003844;
  padding: 1em;
  border-bottom: 3px solid #003844;
  border-bottom: 3px solid #00384444;
}

h2 {
  margin: 1rem 0 0.4rem;
  padding: 1rem;
  color: #003844;
  background-color: rgba(0, 0, 0, 0.08);
  width: 100%;
  flex-basis: 100%;
  flex-grow: 1;
}
h2 .note .count {
  font-weight: normal;
  font-size: 1rem;
  vertical-align: middle;
  display: inline-block;
  margin-top: -0.4em;
}

h3 {
  margin: 1rem 0 0.4rem;
  padding: 0.4rem 1rem 0.4rem;
  color: #003844;
  background-color: rgba(0, 0, 0, 0.04);
  font-size: 1.3em;
}
h3:first-of-type {
  margin-top: 0;
}

body > main {
  padding: 0;
}

main.application .dr501,
main.application .dr501c {
  display: none;
}
main.application.dr501 .dr501 {
  display: revert;
}
main.application.dr501c .dr501c {
  display: revert;
}

.application {
  display: grid;
  grid-template-columns: 12rem auto;
}
.application .highlight {
  box-shadow: 0 0 5px 1px darkred;
}
.application h1 {
  text-align: center;
  grid-column: 1/3;
  padding: 1em;
  line-height: 100%;
}
.application .sections {
  border-left: 1px solid #003844;
  border-left: 1px solid #00384444;
  padding-left: 1rem;
}
.application .sections > section {
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-flow: row wrap;
  column-gap: 0.5em;
  row-gap: 1em;
}
.application .sections > section h2 {
  margin-top: 0;
}
.application .sections > section > section,
.application .sections > section > div,
.application .sections > section > p {
  flex-grow: 1;
  flex-shrink: 1;
}
.application .sections > section > section > div,
.application .sections > section > section > p {
  padding-left: 1rem;
}
.application .sections > section section:not(:last-of-type) {
  padding-bottom: 1rem;
}
.application .sections.stacked > section {
  flex-flow: column nowrap;
}
.application .sections.stacked > section section#exemptions-docs {
  flex-flow: column nowrap;
}
.application .sections > section#applicants > div {
  flex-basis: 40%;
  padding-left: 0;
}
.application .sections > section#signature .signatures {
  display: flex;
  gap: 1em;
  flex-flow: row wrap;
}
.application .sections > section#signature .signatures > div[id^=signature] {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: 0;
}
.application .sections > section#signature .suffix {
  width: 100%;
  flex-grow: 1;
  flex-basis: 100%;
  margin-bottom: 1em;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  column-gap: 3rem;
}
.application .sections > section#signature .suffix .submit {
  width: 100%;
  flex-grow: 1;
  flex-basis: 100%;
}
.application .sections > section#signature .suffix .submit button[type=submit] {
  width: 100%;
  padding: 1em;
  font-size: 120%;
  color: #003844;
  font-weight: bold;
}
.application nav {
  position: sticky;
  top: 1rem;
  margin-top: 1rem;
  padding-bottom: 2rem;
  align-self: start;
}
.application nav > .container {
  height: 98vh;
  height: calc(100vh - 1rem);
  overflow-y: auto;
  padding-right: 0.9rem;
}
.application nav h3 {
  border-bottom: 1px solid #003844;
  border-bottom: 1px solid #00384444;
  margin-left: 0;
}
.application nav ul {
  margin-left: 1em;
  padding-right: 0.3rem;
}
.application nav li {
  /* padding: 1rem; */
}
.application nav li:hover > button[data-func=deleteApplicant], .application nav li:active > button[data-func=deleteApplicant] {
  visibility: visible;
}
.application nav a {
  text-decoration: none;
  transition: all 50ms ease-in-out;
  color: #666;
}
.application nav button[data-func=deleteApplicant] {
  visibility: hidden;
  color: red;
  margin: 0;
  padding: 0 0.3em 0.1em;
  border: 0;
  cursor: pointer;
  border: 1px solid #eee;
  background: #f8f8f8;
}
.application nav button[data-func=deleteApplicant]:hover {
  background-color: #ccc;
}
.application nav a.active {
  font-weight: bold;
}
.application nav a:active,
.application nav a:focus,
.application nav a:hover {
  color: #222;
  text-decoration: underline;
}
.application ul ul {
  margin-left: 1.5rem;
}
.application ul.omissions {
  margin-top: 0.5rem;
}
.application p.message {
  padding-left: 1rem;
  color: darkgreen;
}

.grid-1d {
  display: grid;
  grid-template-columns: fit-content(15em) 1fr;
  grid-template-columns: fit-content(15em) minmax(auto, 20em);
  gap: 1em;
  align-items: center;
  padding-left: 1em;
}
.grid-1d.narrow {
  display: inline-grid;
}
.grid-1d.v-slim {
  row-gap: 0.5em;
}
.grid-1d > label {
  border-bottom: 3px solid #eee;
}
.grid-1d label {
  display: revert;
}
.grid-1d .align-center {
  align-self: center;
}
.grid-1d .justify-start {
  justify-self: self-start;
}
.grid-1d .fields {
  display: flex;
  align-items: center;
  gap: 0.2em;
  margin-bottom: 0.5em;
}
.grid-1d .fields:last-of-type {
  margin-bottom: 0;
}
.grid-1d > div.double-fields {
  display: flex;
  flex-flow: row wrap;
  gap: 0.3em;
  align-items: center;
  align-content: stretch;
}
.grid-1d > div.double-fields > input {
  flex-grow: 1;
  flex-shrink: 0;
  flex-basis: auto;
}

div.checkbox {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  align-content: center;
  gap: 0.4em;
  margin: 0.4em 0;
}
div.checkbox input[type=checkbox] {
  margin-top: 0.2em;
}

label, select {
  display: block;
}

label label {
  display: unset;
}

.horiz-fields {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.horiz-fields select {
  min-width: 15em;
}

.horiz-radio {
  display: inline-flex;
  gap: 0.3em;
  align-items: center;
}
button[data-func] {
  padding: 0.1em 0.3em;
  margin-top: 0.2em;
}

.signature-pad {
  position: relative;
  width: 20em;
  margin-bottom: 1em;
}
.signature-pad .placeholder {
  position: absolute;
  top: 3.5em;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  text-align: center;
  color: #aaa;
  z-index: 1;
  user-select: none;
  pointer-events: none;
}
.signature-pad canvas {
  position: relative;
  display: block;
  border: 1px solid #ddd;
  border-radius: 0.2em;
  width: 100%;
  height: 8em;
  margin-bottom: 0.1em;
  border-bottom: 2px solid #888;
}
.signature-pad .buttons {
  display: flex;
  justify-content: center;
  gap: 0.2em;
  padding: 0.2em 0;
}
.signature-pad .buttons button {
  padding: 0.2em 1em;
}
.signature-pad .dataurl-display {
  font-family: monospace;
  font-size: 80%;
  padding: 0.1em 0.2em;
  overflow-wrap: break-word;
  width: 80vw;
}

[required]::after {
  content: "*";
  color: red;
  font-weight: bold;
  padding: 0.2em;
}

input[type=radio][required].glow,
input[type=checkbox][required].glow {
  box-shadow: 0 0 1px 1px red;
}

input[type=date][required]::after,
input[type=radio][required]::after,
input[type=checkbox][required]::after {
  content: "";
  display: none;
}

input.inline-input {
  width: 4em;
  text-align: center;
  border: 0;
  border-bottom: 1px #aaa solid;
  border-radius: 0.2em 0.2em 0 0;
  background-color: #efefef;
}

input.inline-input[required] {
  border-bottom: 1px darkred solid;
}

section.login {
  margin: 1rem 0;
  border-radius: 0.1rem;
  background-color: rgba(0, 0, 0, 0.03);
  text-align: center;
}
section.login > section {
  margin-bottom: 2rem;
}
section.login h2 {
  margin: 0 0 1rem;
  padding: 0.5rem 1rem 0.75rem;
  background-color: rgba(0, 0, 0, 0.05);
  color: #003844;
  text-align: center;
}
section.login h3 {
  margin: 1rem 0 0.4rem;
  padding: 0.4rem 1rem 0.4rem 0;
  color: #003844;
  background-color: rgba(0, 0, 0, 0.02);
}
section.login form.narrow {
  max-width: 30em;
  margin: 0 auto;
  text-align: left;
}
section.login form.narrow p {
  margin-bottom: 1em;
}
section.login .form-grid {
  display: grid;
  grid-template-columns: 10em 1fr;
  max-width: 30em;
  gap: 0.2em 1em;
  margin: 0.5em 0;
}
section.login button[type=submit] {
  font-weight: bold;
  color: darkgreen;
  border-color: darkgreen;
  border-color: #006600;
  border-color: rgba(0, 102, 0, 0.3);
  width: 20rem;
}
section.login button, section.login label.button {
  padding: 0.4rem 1rem 0.4rem 0;
  border-width: 1px;
  border-radius: 0.2em;
}
section.login button {
  font-size: 1em;
}

.sampling {
  margin-top: 2em;
}
.sampling p {
  text-align: center;
}
.sampling table {
  border: 1px solid #555;
  border-collapse: collapse;
  margin: 1em auto;
}
.sampling table thead tr {
  background-color: #003844;
  color: white;
}
.sampling table th, .sampling table td {
  padding: 0.7em 0.7em;
}
.sampling table td {
  padding-bottom: 0;
}
.sampling table tr:last-of-type td {
  padding-bottom: 0.7em;
}
.sampling table a {
  color: revert;
}

#uploads h3 {
  margin-bottom: 0;
}
#uploads p {
  margin-top: 0;
}

[data-func=upload-container] {
  margin-top: 1em;
}
[data-func=upload-container] button.delete {
  display: block;
  visibility: hidden;
  position: absolute;
  border: 1px solid #e6e6e6;
  background-color: #e6e6e6;
  margin-top: 0.5em;
  margin-left: 0.5em;
  cursor: pointer;
}
[data-func=upload-container] button.delete.fade-out {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 300ms, opacity 300ms;
}
[data-func=upload-container] button.delete.fade-in {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0ms, opacity 300ms;
}
[data-func=upload-container] [data-func=drop-target] {
  border-radius: 0.2em;
  width: 100%;
  position: relative;
  border: 1px solid #ccc;
}
[data-func=upload-container] [data-func=drop-target].highlight {
  border-color: rgba(104, 13, 53, 0.5);
  background-color: rgba(230, 232, 227, 0.5);
  box-shadow: 0 0 3px 2px #bbb;
}
[data-func=upload-container] [data-func=drop-target] progress {
  display: block;
  width: 100%;
  background-color: white;
  height: 1em;
  bottom: 0;
  left: 0;
  right: 0;
}
[data-func=upload-container] [data-func=upload-gallery] {
  display: grid;
  grid-template-columns: repeat(auto-fit, 16em);
  justify-content: start;
  position: relative;
  padding: 0.5em;
  gap: 0.5em;
}
[data-func=upload-container] [data-func=upload-gallery] > * {
  vertical-align: middle;
  max-width: 100%;
  height: 10em;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
}
[data-func=upload-container] [data-func=upload-gallery] > p.no-preview {
  background-color: #efe;
  padding: 0.5em;
  color: darkgreen;
}
[data-func=upload-container] [data-func=upload-message] {
  padding: 0.5em;
  color: darkred;
  background-color: #fcc;
}
[data-func=upload-container] label.button {
  background-color: #eee;
  cursor: pointer;
  padding: 1em;
  width: 100%;
  min-height: 5em;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}
[data-func=upload-container] label.button:hover {
  background-color: #ddd;
}
[data-func=upload-container] input[type=file] {
  display: none;
}

p {
  line-height: 1.5em;
}

#applicants section[id^=applicant-] {
  display: flex;
  flex-flow: row wrap;
  gap: 2em;
}
#applicants section[id^=applicant-] > * {
  flex-shrink: 2;
  flex-grow: 1;
  flex-basis: 40%;
}

#applicants section[id^=applicant-] > * {
  flex-shrink: 2;
  flex-grow: 1;
  flex-basis: 40%;
}

.no-flex {
  display: revert !important;
}

section#exemptions-docs {
  margin-bottom: 2rem;
  display: flex;
  flex-flow: row wrap;
  column-gap: 2em;
  align-content: flex-start;
}
section#exemptions-docs div[data-func=upload-container] {
  flex-grow: 1;
  flex-basis: 30%;
  flex-shrink: 1;
}

a {
  text-decoration: revert;
}

.exemption-docs {
  margin-bottom: 0.5em;
}

.co-applicant-nav {
  white-space: nowrap;
}

.omissions ul li {
  line-height: 1;
  margin-bottom: 0.3em;
  color: darkred;
}
.omissions ul li a {
  color: inherit;
}

main.complete,
main.receipt {
  display: block;
}
main.complete .sections,
main.receipt .sections {
  border-left: none;
  padding-left: 0;
}
main.complete h1,
main.receipt h1 {
  text-align: center;
  padding: 1em;
}

li.generating::after {
  content: " (generating form. please wait...)";
  font-size: 90%;
  color: darkred;
  font-style: italic;
}

li.ready::after {
  content: " (ready)";
  font-size: 90%;
  color: darkgreen;
  font-style: italic;
}

li.error::after {
  content: " (error, please refresh to try again)";
  color: red;
  font-style: italic;
  font-weight: bold;
}

[data-func=upload-container],
.spread-2col {
  grid-column: 1/3;
}

.inner-grid {
  padding: 0.5rem 0;
  grid-template-columns: 1fr auto;
}

.sub-grid {
  grid-template-columns: fit-content(15em) auto;
  padding-bottom: 1em;
  padding-left: 1em;
}

#applicants [data-showfunc=single-applicant-married] {
  display: none;
}

#applicants.single-applicant [data-showfunc=single-applicant-married] {
  display: block;
}

@media (max-width: 720px) {
  body > nav {
    padding-left: revert;
    margin-bottom: 1rem;
    justify-content: center;
  }

  .application {
    display: block;
  }
  .application h1 {
    grid-column: 1;
  }
  .application h2 {
    padding-left: 0.5em;
  }
  .application nav {
    position: relative;
    top: revert;
    margin-bottom: revert;
    padding-bottom: revert;
  }
  .application nav > .container {
    padding-right: 0;
    height: revert;
  }
  .application .sections {
    border: none;
    padding-left: revert;
  }

  section.login form.narrow {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }

  section.login .form-grid {
    grid-template-columns: 1fr;
  }

  .grid-1d {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0.5em;
  }
  .grid-1d > label {
    padding-top: 0.5em;
    color: #777;
    border-bottom: revert;
  }
  .grid-1d div.checkbox {
    margin: revert;
  }

  .inner-grid {
    padding: 0;
    grid-template-columns: 1fr;
  }

  [data-func=upload-container],
.spread-2col {
    grid-column: revert;
  }

  .application .sections > section > section > div,
.application .sections > section > section > p {
    padding-left: 0.5em;
  }
}

/*# sourceMappingURL=app.css.map */
