.form-error.error-message {
    font-size:1em;
    background-color: #c51244;
    color: #fff;
    padding: 1em;
}
.form-error.error-message ul {
    list-style:none;
    margin: 0;
    padding: 0;
}

button.button-start-over {
    background: none;
    color: #fff;
    cursor: pointer;
    border: 2px solid #fff;
    border-radius: 16px;
    height: 32px;
    overflow: hidden;
    padding: 8px 24px;
    line-height: 8px;
}
button.button-start-over:hover {
    border: 1px solid #cdcdcd;
    color: #cdcdcd;
}

.assessment-form {
  margin-top: 0;
}
.assessment-form .page-actions {
    padding: 20px;
}
.assessment-form .form-wrapper {
    background: white;
    border: 1px solid #cdcdcd;
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 20px;
}
.assessment-form .page-wrapper {
    margin-top: 0;
    padding-top: 0;
}

.assessment-row {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
}

.post-content .assessment-row h2 {
    font-weight: 200;
    font-size: 2rem;
}
.post-content .assessment-row h3 {
    margin-top: 0;
    font-size: 2rem;
    color: #1864B5;
    text-transform: uppercase;
}

@media screen and (min-width: 720px) {
    .assessment-row {
        flex-direction: row;
    }

    .assessment-row .col-1, .assessment-row .col-2 {
        width: 50%;
    }
}

.expectation-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expectation-list li {
    margin: 0;
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    margin-bottom: 10px;
}

.expectation-list li .icon {

}

.progress-legend {
  display: flex;
  flex-direction: column;
  font-size: 4em;
  font-weight: bold;
  line-height: 1;
  padding-left: 20px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: white;
}

.section-title {
    font-size: 1.5em;
    border-bottom: 1px solid #cdcdcd;
    padding-bottom: .5em;
    margin-bottom: 1em;
}

.progress-legend>div.active {
}

.circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid #14325e;
  color: #14325e;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  position: relative;
}
.circle.active {
  background-color: #14325e;
  color: #fff;
}

input[type="radio"].fancy-radio {
  position: absolute;
  opacity: 0;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
}

label .input-description {
  cursor: pointer;
}

label.likert-field {
    position:relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.likert-options {
  display: grid;
  grid-template-columns: 50px 50px 50px 50px 50px 1fr;
  margin-bottom: 1.25rem;
}

.question-indicators {
  display:grid;
  grid-template-columns: 40px 40px 40px 40px 40px 1fr;
  gap: 20px;
}

.question-indicators .indicator {
  height: 15px;
  border: 4px solid #14325E;
}

.question-indicators .indicator.active {
  background-color: #14325E;
}


.assessment-form-wrapper {
}

.assessment-form-wrapper input[type="text"],
.assessment-form-wrapper input[type="tel"],
.assessment-form-wrapper input[type="email"] {
    color: #333;
    padding: .25em .5em;
    border-radius: 3px;
}

.assessment-form-wrapper .field-group {
    margin-bottom: 1.25em;
}

.assessment-form-wrapper button:disabled,
.assessment-form-wrapper button[disabled] {
    background: #cdcdcd;
    color: #777;
}

.assessment-form-wrapper .form-field-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, 1fr);
}

.fusion-body .fusion-title.assessment-title {
    width: 100%;
}

.assessment-form-wrapper .page-controls {
    padding-top: 1.5em;
    margin-bottom: 1.5em;
    border-top: 2px dotted #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.assessment-form-wrapper .page-1 .page-controls {
    justify-content: flex-end;
    display: none;
}
.assessment-form-wrapper .page-1 .page-controls.accessory {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.assessment-form-wrapper .title-wrapper {
    margin-top: 20px;
    margin-bottom: 40px;
}
.assessment-form-wrapper .title-wrapper h1 {
    margin:0;
}

.assessment-form {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

.likert-helper-instruction {
    font-size: .85em;
    margin-bottom: 1.25em;
}

.likert-label {
    font-size: 1.25em;
}

.likert-question-inner {
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid #cdcdcd;
}

.progress-legend {
    display: flex;
    flex-direction: column;
    color: #14325E;
    font-size: 4em;
    font-weight: bold;
    line-height: 1;
    padding-left: 20px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
}

.assessment-form-wrapper h2 {
    font-size: 2em;
}

.progress-legend>div.active {
}

.question-controls {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}
.question-controls > div {
    flex-grow: 1;
    text-align: center;
}

.question-controls .next {
    text-align: right;
}
.question-controls .prev {
    text-align: left;
}

.question-controls .legend {
    width: 100%;
    order: 1;
}

.question-controls button, .page-controls button {
    background: var(--button_gradient_top_color);
    color: var(--button_accent_color);
    border-color: var(--button_border_color);
    border-style: solid;
    cursor: pointer;
}

.question-controls button:hover, .page-controls button:hover {
    background: #fff;
}

.page-controls button.finished {
    display: flex;
    position: relative;
    justify-content: center;
}
.page-controls button > span {
    display: block;
}
.page-controls button.finished .process-animation {
    opacity: 0;
    width: 80px;
    height: 10px;
    top: 15px;
    position: absolute;
}
.page-controls button.finished.processing .title {
    opacity: 0;
}

.page-controls button.finished.processing .process-animation {
    opacity: 1;
}

@media screen and (min-width: 461px) {
    .question-controls {
        flex-direction: row;
    }
    .question-controls .prev {
        order: 1;
    }
    .question-controls .legend {
        width: auto;
        order: 2;
    }
    .question-controls .next {
        order: 3;
    }
}

.dot-flashing {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}
.dot-flashing::before, .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.dot-flashing::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}
.dot-flashing::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: #9880ff;
  }
  50%, 100% {
    background-color: rgba(152, 128, 255, 0.2);
  }
}

.special-form-actions {
    min-height: 32px;
}

.field-error-message {
    color: darkred;
}

