@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,
.four-plus-columns-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,
.three-columns-block,
.two-columns-block,
.video-block {
  margin: 0 auto;
  max-width: 700px;
  padding: 0 15px;
}
/* form field blocks */
.checkboxes-block,
.dropdown-block,
.radio-buttons-block,
.survey-block,
.text-field-block,
.textarea-block {
  margin: 0 auto 40px;
  max-width: 700px;
  padding: 0 15px;
}
.divider-block {
  padding: 35px 0;
}
.button-block {
  padding: 15px;
}
.image-block,
.video-block {
  line-height: 0;
}

/* RSVP */
.rsvp-block {
  text-align: center;
}
.rsvp-block ol {
  list-style: none;
  padding: 0;
}
.rsvp-block li:not(#additional) {
  display: inline-block;
  font-size: 0;
}
.rsvp-block label {
  margin: 0 15px;
}
.rsvp-block [type='radio'] {
  height: 0;
  margin: 0;
  opacity: 0;
  padding: 0;
  width: 0;
}
.rsvp-block [type='radio']:focus ~ label {
  box-shadow:
    0 0 1px #fff,
    0 0 1px #fff,
    0 0 1px #fff,
    0 0 1px #fff,
    0 0 1px #fff,
    0 0 5px #0076a3,
    0 0 5px #0076a3,
    0 0 5px #0076a3;
}
.rsvp-block select {
  width: auto;
}
#additional {
  margin-bottom: 30px;
}
#additional .question {
  text-align: center;
}

/* 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;
}
input,
textarea,
select {
  border: 1px solid #c3c3c3;
  border-radius: 0;
  line-height: 18px;
}
input:not([type='checkbox']):not([type='radio']),
select {
  width: 100%;
}
input:not([type='checkbox']):not([type='radio']),
textarea {
  padding: 5px 10px;
}
input[type='checkbox'],
input[type='radio']:not([id^='survey']):not([id^='respond']) {
  margin: 0 5px 10px 0;
  vertical-align: middle;
}
input[type='checkbox'] ~ label,
input[type='radio'] ~ label:not([for^='survey']):not([for^='respond']) {
  margin-bottom: 10px;
  vertical-align: middle;
  width: 90%;
}
input:not([type='checkbox']):not([type='radio']) {
  box-sizing: border-box;
  /* 300px including borders and padding */
  max-width: 278px;
}
textarea {
  height: 50px;
  /* 100% width minus padding and borders */
  width: calc(100% - 22px);
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #ffffff
    url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiM4YjhiOGIiIGQ9Ik0xMzk1IDczNnEwIDEzLTEwIDIzbC00NjYgNDY2cS0xMCAxMC0yMyAxMHQtMjMtMTBsLTQ2Ni00NjZxLTEwLTEwLTEwLTIzdDEwLTIzbDUwLTUwcTEwLTEwIDIzLTEwdDIzIDEwbDM5MyAzOTMgMzkzLTM5M3ExMC0xMCAyMy0xMHQyMyAxMGw1MCA1MHExMCAxMCAxMCAyM3oiLz48L3N2Zz4K')
    no-repeat right center;
  background-size: 18px 18px;
  max-width: 300px;
  padding: 5px 25px 5px 15px;
}
button,
label[for^='respond'] {
  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;
  text-align: center;
}
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-options ol {
  column-count: 2;
}
.three-columns-options ol {
  column-count: 3;
}

/* Survey */
.survey-block ol {
  list-style: none;
  padding: 0;
  width: 100%;
}
.survey-block li {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  width: 20%;
}
.survey-block .answer-count-6 li {
  width: 16.6666666667%;
}
.survey-block .answer-count-7 li {
  width: 14.2857142857%;
}
.survey-block .answer-count-8 li {
  width: 12.5%;
}
.survey-block .answer-count-9 li {
  width: 11.1111111111%;
}
.survey-block .answer-count-10 li {
  width: 10%;
}
.survey-block .answer-count-11 li {
  width: 9.0909090909%;
}
.survey-block li label {
  display: block;
}
.survey-block.boxed-options ol {
  border: 1px solid;
  display: table;
}
.survey-block.boxed-options li {
  display: table-cell;
  vertical-align: middle;
}
.survey-block.boxed-options li:not(:last-child) {
  border-right: 1px solid;
}
.survey-block.boxed-options li input {
  height: 0;
  margin: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  width: 0;
}
.survey-block.boxed-options li label {
  cursor: pointer;
  display: inline-block;
  padding: 5px 0;
  width: 100%;
}
.survey-block.boxed-options li input:checked ~ label {
  background-color: #000000;
  color: #ffffff;
}

/* error messages */
.error {
  color: #ff5e5e;
  display: block;
  font-weight: bold;
  margin-top: 4px;
  width: 100%;
}

input[id^='respond']:checked ~ label[for^='respond'] {
  background-color: #45a86d;
}
input[id^='respond']:checked ~ label[for^='respond']:before {
  background-image: url('data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMTc5MiAxNzkyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGZpbGw9IiNmZmZmZmYiIGQ9Ik0xNjcxIDU2NnEwIDQwLTI4IDY4bC03MjQgNzI0LTEzNiAxMzZxLTI4IDI4LTY4IDI4dC02OC0yOGwtMTM2LTEzNi0zNjItMzYycS0yOC0yOC0yOC02OHQyOC02OGwxMzYtMTM2cTI4LTI4IDY4LTI4dDY4IDI4bDI5NCAyOTUgNjU2LTY1N3EyOC0yOCA2OC0yOHQ2OCAyOGwxMzYgMTM2cTI4IDI4IDI4IDY4eiIvPjwvc3ZnPgo=');
  content: '';
  display: inline-block;
  height: 20px;
  margin-right: 10px;
  margin-top: -3px;
  vertical-align: middle;
  width: 20px;
}

/* Page States (e.g., `[data-wfstate=clicked-no]`, `[data-wfstate=clicked-yes]`) */
[data-wfcondition],
.submit-block,
.captcha-block {
  display: none;
}
[data-wfstate*='clicked-yes'] [data-wfcondition='clicked-yes include'],
[data-wfstate*='clicked-no'] [data-wfcondition='clicked-no include'],
[data-wfstate*='clicked-yes'] [data-wfcondition='clicked-no exclude'],
[data-wfstate*='clicked-no'] [data-wfcondition='clicked-yes exclude'],
[data-wfstate*='clicked-yes'] .submit-block,
[data-wfstate*='clicked-no'] .submit-block,
[data-wfstate*='clicked-yes'] .captcha-block,
[data-wfstate*='clicked-no'] .captcha-block {
  display: block;
}

/* device width specific (e.g. iPhone-ish) */
@media only screen and (max-width: 480px) {
  .two-columns-options ol,
  .three-columns-options ol {
    column-count: 1;
  }
  .survey-block:not(.mobile-scale).boxed-options ol {
    border: revert;
    display: revert;
  }
  .survey-block:not(.mobile-scale).boxed-options li {
    display: revert;
    vertical-align: revert;
  }
  .survey-block:not(.mobile-scale).boxed-options li:not(:last-child) {
    border-right: revert;
  }
  .survey-block:not(.mobile-scale).boxed-options li input {
    height: revert;
    margin: revert;
    opacity: revert;
    padding: revert;
    position: revert;
    width: revert;
  }
  .survey-block:not(.mobile-scale).boxed-options li label {
    cursor: revert;
    display: revert;
    padding: revert;
    width: revert;
  }
  .survey-block:not(.mobile-scale).boxed-options li input:checked ~ label {
    background-color: revert;
    color: revert;
  }
  .survey-block:not(.mobile-scale) li,
  .survey-block:not(.mobile-scale) [class^='answer-count-'] li {
    text-align: left;
    width: 100%;
  }
  .survey-block:not(.mobile-scale) li label,
  .survey-block:not(.mobile-scale) [class^='answer-count-'] li label {
    display: inline;
  }
}
