@keyframes spin {
  0% {
    transform: rotate(0deg) translate(-50%, -50%);
    transform-origin: 0 0;
  }
  100% {
    transform: rotate(359deg) translate(-50%, -50%);
    transform-origin: 0 0;
  }
}

body {
  background-color: #ffffff;
  font-family: Helvetica, Arial, Verdana, sans-serif;
  color: #000000;
}
body::before,
body::after {
  content: '';
  opacity: 0;
  position: fixed;
  transition:
    opacity 600ms,
    visibility 600ms;
  visibility: hidden;
}
body::before {
  animation: spin 2s infinite linear;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDQwIDQwIj48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTIwLDQwQTIwLDIwLDAsMCwxLDUuODYsNS44NiwxOS44NiwxOS44NiwwLDAsMSwyMCwwVjRBMTYsMTYsMCwwLDAsOC43LDMxLjMsMTYsMTYsMCwxLDAsMzEuMyw4LjdsMi44NC0yLjg0QTIwLDIwLDAsMCwxLDIwLDQwWiIvPjwvc3ZnPg==');
  height: 40px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  z-index: 1;
}
body::after {
  background-color: rgba(0, 0, 0, 0.6);
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
}
body.processing::before,
body.processing::after {
  opacity: 1;
  visibility: visible;
}
#page-container {
  margin-left: auto;
  margin-right: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
}
p {
  line-height: 1.4em;
  margin: 0 0 1em;
  text-align: center;
}
.alt {
  letter-spacing: 2px;
  text-transform: uppercase;
}
hr {
  border-color: #b8b8b8;
  border-style: solid;
  border-bottom-width: 0 !important;
  border-left-width: 0 !important;
  border-right-width: 0 !important;
  border-top-width: 1px;
  margin: 0;
}
a {
  color: #000099;
}
img {
  font-size: 12px;
  line-height: 12px;
}
div.button {
  text-align: center;
}
div.button div {
  background-color: #000000;
  border-collapse: separate;
  border-radius: 3px;
  display: inline-block;
  padding: 13px 35px;
  text-align: center;
}
div.button a {
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

/* non-form blocks */
.button-block,
.divider-block,
.heading-bar-block,
.heading-image-text-button-block,
.heading-image-text-block,
.image-text-button-block,
.image-text-block,
.image-block,
.social-links-block,
.text-button-block,
.text-block,
.video-block {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 15px;
}

/* two, three and four columns */
.four-plus-columns-block,
.three-columns-block,
.two-columns-block {
  margin: 0 auto;
  max-width: 730px;
}

/* form field blocks */
.preferences-block,
.text-field-block {
  margin: 0 auto 40px;
  max-width: 700px;
  padding: 0 15px;
}

.divider-block {
  padding: 0 0 35px;
}
.button-block {
  padding: 15px;
}
.image-block,
.video-block {
  line-height: 0;
}

/* captcha */
.captcha-block {
  padding-bottom: 30px;
  text-align: center;
}
.captcha-block > img,
.captcha-block > div {
  display: inline-block;
}

/* submit */
.submit-block {
  text-align: center;
}

/* Image + Text */
.image-text-block {
  padding: 15px;
}
.image-text-block > a + div,
.image-text-block > img + div {
  padding-top: 15px;
}
.image-text-block div.button div {
  margin-bottom: 5px;
}

/* Text + Button */
.text-button-block {
  padding: 15px;
}
.text-button-block div.button div {
  margin-bottom: 5px;
}

/* Heading + Image + Text + Button */
.image-text-button-block,
.heading-image-text-block,
.heading-image-text-button-block {
  padding: 15px;
}
.image-text-button-block > a + div,
.image-text-button-block > img + div,
.heading-image-text-block > a + div,
.heading-image-text-block > img + div,
.heading-image-text-button-block > a + div,
.heading-image-text-button-block > img + div {
  padding-top: 15px;
}
.heading-image-text-block h1.heading-bar,
.heading-image-text-button-block h1.heading-bar {
  margin: 0 0 15px;
}
.image-text-button-block div.button div,
.heading-image-text-button-block div.button div {
  margin-bottom: 5px;
}

/* form elements */
.question {
  display: block;
  font-weight: bold;
  line-height: normal;
  margin-bottom: 20px;
  text-align: left;
}
.required-marker {
  color: #ff5e5e;
  padding-left: 5px;
}
label:not(.question) {
  font-size: 12px;
  font-weight: bold;
}
.note {
  font-size: 12px;
  margin: -10px 0 20px;
  text-align: left;
}
span.note {
  font-weight: normal;
}
span.note:before {
  content: '\A';
  white-space: pre;
}
input {
  border: 1px solid #c3c3c3;
  border-radius: 0;
  line-height: 18px;
}
input:not([type='checkbox']) {
  padding: 5px 10px;
  width: 100%;
}
input[type='checkbox'] {
  margin: 0 5px 10px 0;
  vertical-align: middle;
}
input[type='checkbox'] ~ label {
  margin-bottom: 10px;
  vertical-align: middle;
  width: 90%;
}
input:not([type='checkbox']) {
  box-sizing: border-box;
  /* 300px including borders and padding */
  max-width: 278px;
}
button {
  background-color: #000000;
  border-radius: 3px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  margin-bottom: 30px;
  min-width: 70px;
  padding: 13px 35px;
}
fieldset {
  border: none;
  margin: 0;
  padding: 0;
}
fieldset ol {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
fieldset li input,
fieldset li label {
  display: inline-block;
}

/* two and three column option lists */
.two-columns-preferences ol {
  column-count: 2;
}
.three-columns-preferences ol {
  column-count: 3;
}

/* error messages */
.error {
  color: #ff5e5e;
  display: block;
  font-weight: bold;
  margin-top: 4px;
  width: 100%;
}

/* device width specific (e.g. iPhone-ish) */
@media only screen and (max-width: 480px) {
  .two-columns-preferences ol,
  .three-columns-preferences ol {
    column-count: 1;
  }
}
