
:root {
  --form-control-color: #08549f;
}

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

HTML{font-size: calc((1vh+1vw)/2)}
body {
	background-color: #f1f1f1;
	color: #1f1f1f;
	font-family: Roboto,sans-serif;
	font-weight: 300;
}

a {
	color: #08549f;
}

button {
	color: white;
	background-color: #08549f;
	font-weight: bold;
  cursor: pointer;
  border:0;
  border-radius: 12px;
  padding:10px;
  margin:auto;
  display:block;
}
button.backButton {
	background-color: #089f51;
}
button.deleteButton {
  background-color: #d10100;
}

h1 {
	font: 24pt sans-serif;
}

h3 {
  margin-bottom: 0px;
  max-width:500px;
  text-align:center;
  margin:auto;
}

.mainDiv {
	width:auto;
	/* border: 1px solid black; */
	margin:auto;
	text-align:center;
}

textarea {
  box-sizing: content-box !important;
  border: 0;
  border-bottom: 1px dotted black;
  resize:none;
  color:#1f1f1f;
  background-color:#eeeeee;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  outline:none;
  font-size:16px;
  width: 70vw;
  max-width: 500px;
}

input {
  border: 0;
  border-bottom: 1px dotted black;
  color:#1f1f1f;
  background-color:#eeeeee;
  outline:none;
  font-size:16px;
  width:auto
}

input:read-only {
  background-color:#7a7878;
  color: #eeeeee;
}
textarea:read-only {
  background-color:#7a7878;
  color: #eeeeee;

}

.questionAnswer {
  text-align: center;
}

.questionTitle {
  width:500px;
  text-align:center;
  display:inline-block;
}

.centered-content {
  display: block;
  /* border: 1px solid black; */
	display: inline-block;
	/* padding : 20px;  */
}

hr {
  border-bottom: 1px dotted black;
  width:70vw;
  max-width: 500px;
}

hr.longer {
  width:80vw;
  max-width:750px;
}

span {
  font-weight: bold;
}
.error {
  color: red;
}

.success {
  color :darkgreen;
}

.introText { 
  max-width: 500px;
  width:70vw;
  display: inline-block;
}

input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 50%;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}

input[type="number"] {
  width:45vw;
  max-width: 500px;
}

input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--form-control-color);
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

input[type="text"] {
  width:50vw;
  max-width:500px;
}

.form-control {
  /* font-family: system-ui, sans-serif; */
  font-size: 1rem;
  /* font-weight: bold; */
  line-height: 1.1;
  display: grid;
  grid-template-columns: 1em auto;
  gap: 0.5em;
  text-align:left;
}

.form-control + .form-control {
  margin-top: 1em;
}

span.req {
  color: rgb(255, 0, 0);
}

td.adminOptions {
  padding-right:15px;
  padding-bottom: 10px;
  padding-top: 10px;
  text-align: right;
}

td {
  text-align: center;
  vertical-align: middle;
  margin:auto;
  min-width: 75px;
  padding:5px;
  /* border:1px solid black; */
}

td.link {
  text-align:left;
}

th {
  border-bottom: 1px solid black;
}

form {
 text-align:center;
 margin:auto;
}

p.answer {
  width:70vw;
  max-width:500px;
}

@media print {
  @page {
    margin-top:1cm;
  }
  body {
    margin-top: 1cm;
  }
  .questionAnswer {
    display:block;
    float:none;
    page-break-inside: avoid;
    box-sizing: unset;
    text-align: center;
  }
  .mainDiv {
    display:block;
    float:none;
    text-align: center;
  }
  .centered-content {
    display:block;
    float:none;
    text-align: center;
  }
  span {
    text-align: center;
  }
  button {
    display: none;
  }
  div.answer {
    display:block;
    float:none;
    page-break-inside: avoid;
    box-sizing: unset;
    text-align: center;
  }
  p.answer {
    text-align: center;
    display: inline-block;
  }
 }