.containerNarrow {
    margin: auto;
    margin-top: 2rem;
}

.surveyForm {
    max-width: 320px;
    margin: 20px auto;
}

div.question {
    margin-bottom: 25px;
    margin-top: 2rem;
}

.question .question {
    margin-top: 2.5em;
    padding-left: 2em;
}

.questionText {
    display: block;
    font-size: 1.2rem;
}

.questionText.checkbox {
    font-size: 1rem;
}

.question .question {
    display: none;
}

span.fieldError {
    color: #ff0000;
    font-size: 0.8em;
}

.rating {
    display: inline-block;
    display: flex;
}

.rating svg {
    background-color: #ddd;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    padding: 2px;
    width: 2rem;
}

.rating .off svg path {
    fill: #a0a0a0;
}

.rating .on svg path {
    fill: #ffb22c;
}

.rating .on .empty,
.rating .off .full {
    display: none;
}

.rating .off .empty,
.rating .on .full {
    display: inline;
}

.rating a {
    padding-right: 0.25rem;
    text-decoration: none;
}

.imageRadioButton .radioDisplay {
    padding: 4px 10px;
    background-color: gray;
    border-radius: 6px;
    color: white;
    margin-right: 10px;
}

.imageRadioButton label {
}

/*
.imageRadioButton label > input{
    visibility: hidden;
    position: absolute;
}
*/
.imageRadioButton label > input + .radioDisplay {
    /* IMAGE STYLES */
    cursor: pointer;
}
.imageRadioButton label > input:checked + .radioDisplay {
    /* (RADIO CHECKED) IMAGE STYLES */
    background-color: #387bb5;
}

.imageRadioButton {
    margin-top: 4px;
    font-size: 18px;
}

a.rating-clear {
    cursor: pointer;
}

label.radioOption {
    display: block;
}

/* likert scale CSS */
/* pulled from: https://codepen.io/Buttonpresser/pen/qiuIx */

html,
body {
    padding: 0;
    margin: 0;
}
.wrap {
    font: 12px Arial, san-serif;
}

h1.likert-header {
    padding-left: 4.25%;
    margin: 20px 0 0;
}

form .statement {
    display: block;
    font-size: 14px;
    font-weight: bold;
    padding: 30px 0 0 4.25%;
    margin-bottom: 10px;
}

form .likert {
    display: flex;
    border-bottom: 2px solid #efefef;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    border-top: 4px solid #efefef;
}

form .likert:last-of-type {
    border-bottom: 0;
}

form .likert:before {
    content: "";
    position: relative;
    top: 9px;
    left: 9.5%;
    display: block;
    background-color: #efefef;
    height: 4px;
    /* width: 80%; */
}

form .likert li {
    display: inline-block;
    margin-top: -8px;
    text-align: center;
    vertical-align: top;
    width: 19%;
}

form .likert.smallValueLikert li {
    width: 31%;
}

form .likert li input[type="radio"] {
    display: block;
    position: relative;
    top: 0;
    left: 50%;
    margin-left: -6px;
}

form .likert li label {
    text-align: center;
    width: 100%;
}

input.radioOptions {
    margin-bottom: 7px;
}

form .buttons {
    margin: 30px 0;
    padding: 0 4.25%;
    text-align: right;
}

form .buttons button {
    padding: 5px 10px;
    background-color: #67ab49;
    border: 0;
    border-radius: 3px;
}

form .buttons .clear {
    background-color: #e9e9e9;
}

form .buttons .submit {
    background-color: #67ab49;
}

form .buttons .clear:hover {
    background-color: #ccc;
}

form .buttons .submit:hover {
    background-color: #14892c;
}

.field-error {
    background-color: #fff9fb;
    border: 1px dashed #ff0000;
    padding: 1em;
}

.fieldMessage {
    font-size: 0.8em;
}

.fieldMessage-error {
    color: #ff0000;
}

.alert ul {
    margin: 0;
}

label .markdownContainer > p {
    display: inline;
}

.markdownType .markdownContainer p {
    display: block;
    font-size: 1rem;
}

.publicQuestion {
    background-color: white;
    border: 1px solid #17a2b8;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 2rem;
}
