html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%; }

body {
  font-size: 15px;
  line-height: normal;
  min-width: 480px;
  margin: 0;
  text-align: left;
  background-color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  min-height: 100vh;
  color: #000; }

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column; }

.content-wrapper {
  clear: both;
  position: relative; }

.content-after {
  clear: both; }

.content {
  position: relative;
  overflow: hidden;
  padding: 20px 40px; }

h1 {
  font-size: 22px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px; }

footer {
  margin-top: auto; }

a {
  color: #000;
  text-decoration: underline; }

a:hover {
  color: #111;
  text-decoration: none; }

a.noline {
  text-decoration: none;
  cursor: pointer; }

ul, ol {
  margin: 0;
  padding: 0; }

b, strong {
  font-weight: bold; }

p {
  margin: 0 0 12px; }

table {
  border-collapse: collapse; }

td, th {
  padding: 0; }

h2, h3, h4, h5, h6 {
  margin: 0 0 12px;
  font-weight: bold;
  padding: 0; }
/* errors */
.site-error-description {
  font-size: 1.1em;
  margin: 20px 0; }

.site-error-message {
  margin: 20px 0;
  font-style: italic;
  font-size: 0.9em;
  color: #666; }

.site-error-return {
  margin: 20px 0; }

.site-error .exception {
  margin: 20px 0;
  text-align: left; }
/* inputs */
input, textarea, select, button {
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box; }

input.text, input[type="text"], input[type="password"], textarea {
  box-sizing: content-box;
  padding: 1px 2px;
  border: 1px solid #888;
  background: #fff;
  vertical-align: baseline;
  color: #000;
  line-height: 18px;
  font-size: 15px; }
  input.text:focus, input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    border: 1px solid #00a; }

textarea {
  height: auto; }

.button, button, input[type='button'], input[type='reset'], input[type='submit'] {
  border: 1px solid #bbb;
  border-radius: 3px;
  background: #eee;
  padding: 2px 8px;
  line-height: 18px;
  cursor: pointer;
  vertical-align: baseline;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
  background-image: linear-gradient(to bottom, #f2f2f2, #e2e2e2);
  vertical-align: baseline;
  color: #222; }
  .button:hover, button:hover, input[type='button']:hover, input[type='reset']:hover, input[type='submit']:hover {
    background: #ddd; }
  .button:active, button:active, input[type='button']:active, input[type='reset']:active, input[type='submit']:active {
    background: #d9d9d9;
    color: #000; }

a.button, a.button:hover {
  text-decoration: none;
  color: #222; }

.form-group {
  margin: 6px 0; }

.form-group input[type="checkbox"], .form-group input[type="radio"] {
  margin: 0 2px 0 0; }

.form-group label.control-label {
  display: block; }

.required label.control-label::after {
  content: '*';
  color: #c00;
  margin-left: 2px; }

.form-small .form-group input.form-control {
  width: 240px; }

.form-small .form-group div.nm {
  width: 80px;
  min-height: 1px; }

.form-small {
  text-align: center; }

.form-group div.nm {
  display: inline-block;
  vertical-align: top; }

.form-group div.vl {
  display: inline-block;
  vertical-align: top; }

.form-group .help-block, .vl .help-block {
  font-size: 12px;
  margin: 0;
  display: none; }

.form-group.has-error input.text, .has-error .vl input.text, .form-group.has-error input[type="text"], .has-error .vl input[type="text"], .form-group.has-error input[type="password"], .has-error .vl input[type="password"], .form-group.has-error textarea, .has-error .vl textarea {
  border-color: #c00; }
  .form-group.has-error .help-block, .has-error .vl .help-block {
    color: #c00;
    display: block; }

.form-inline-block {
  display: inline-block;
  text-align: left; }

.form-group.form-buttons {
  margin: 20px 0; }

.form-small .form-buttons {
  text-align: center; }
/* other */
.content-wrapper {
  flex: 2 2 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; }

.just-space {
  flex: 1 1 auto; }

.content {
  text-align: center;
  min-width: 50%; }

.content-inner {
  display: inline-block;
  min-width: 50%;
  max-width: 900px; }

.survey-description {
  line-height: 24px; }

.survey-message {
  background: #f4f4f4;
  padding: 8px 20px;
  border: 1px solid #ddd;
  display: inline-block;
  text-align: left; }

.survey-content {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #bbb;
  text-align: left; }

.survey-question {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #bbb; }

.survey-question-text {
  font-size: 1.1em; }

.survey-question-num {
  font-size: 0.8em;
  color: #666; }

.survey-question .form-group {
  margin: 5px 0 1px; }

.survey-question .form-group .help-block {
  font-size: 0.9em;
  margin: 5px 0 0; }

.survey-variant {
  display: block; }
  .survey-variant label {
    display: inline-block;
    padding: 3px 0;
    min-width: 175px;
    cursor: pointer; }
  @media (min-width: 900px) {
  .survey-variant {
    display: inline-block; }
    .survey-variant label {
      padding-right: 10px;
      margin-right: 8px;
      min-width: 0; } }

.h1-link {
  text-decoration: none; }

.form-group.form-buttons button {
  font-size: 15px;
  padding: 4px 12px; }
