/* RESET CSS */
*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

ul[role=list], ol[role=list] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img, picture, svg, video, canvas {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
}

input, button, textarea, select {
  font: inherit;
}

table {
  border-spacing: 0;
}

thead {
  background-color: #555;
  color: white;
}

td, th {
  padding: 2px 4px;
  vertical-align: top;
}

tbody tr:nth-child(odd) {
  background-color: #eee;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}
body, html {
  height: 100%;
  scroll-behavior: smooth;
  text-align: center;
}

body {
  font: 14px "Trebuchet MS", Helvetica, "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  margin: 16px;
}

header, footer {
  margin: auto;
  max-width: 630px !important;
}

label, button {
  cursor: pointer;
}

#logo {
  font-family: "Lucida Console", Monaco, monospace;
}
#logo a {
  font-weight: normal;
  font-size: 13px !important;
}

a {
  color: inherit;
  font-weight: bold;
  text-decoration: none;
}
a:hover {
  opacity: 0.5;
}
a a:visited {
  color: inherit;
}

ul {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
}

footer {
  margin: 32px auto 16px;
  padding-bottom: 16px;
}
footer a:hover {
  text-decoration: underline;
}

#beforeMain {
  height: 1px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#main {
  line-height: 1.4;
  margin: 16px auto;
  max-width: 620px;
  text-align: left;
}

.subject {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.preamble {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: normal !important;
  margin-bottom: 8px;
}

fieldset {
  border: 1px dashed #999;
  padding: 1rem 1.4rem 0.8rem;
}

p {
  margin-bottom: 12px;
}

.halfrow, .row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
}

.row {
  margin-bottom: 8px;
}

.pad {
  padding: 8px 0;
}

.dim {
  color: #999;
  font-size: 0.8rem;
}

.halfrow {
  width: 48%;
}

button, input, textarea {
  padding: 4px 8px;
}

select {
  padding: 6px 8px;
}

.contact label {
  width: 30%;
}
.contact input,
.contact textarea,
.contact select {
  width: 68%;
}

.row .between {
  justify-content: space-between;
}
.row .v-top {
  align-items: flex-start;
}
.row .v-top label {
  margin-top: 4px;
}
.row .submit-row {
  padding: 0 8px;
}

.notice {
  font-size: 1.5rem;
  padding: 2rem;
  text-align: center;
}

.small_notice {
  font-size: 1.1rem;
  padding: 1.5rem;
  text-align: center;
}

.error {
  color: red;
}

.previewer, .passworder {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  justify-content: center;
  padding: 2rem 0;
  text-align: center;
}

.previewer a {
  font-size: 1.2rem;
}

@media all and (max-width: 640px) {
  body {
    margin: 8px;
  }
  fieldset {
    padding: 1rem 0.4rem 0.8rem;
  }
  #logo a {
    font-size: 7px !important;
  }
  .halfrow input {
    max-width: 150px;
  }
  .contact label {
    width: 38%;
  }
  .contact input,
  .contact textarea,
  .contact select {
    width: 58%;
  }
}

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