/* stylesheet but preferably a <link> to a CSS file */

div.question {
    margin-bottom: 25px;
}

.question .question {
    margin-top: 1em;
    padding-left: 2em;
}

.questionText {
    font-size: 130%;
}

.question .question .questionText {
    font-size: 120%;
}

span.fieldError {
    color: #FF0000;
    font-size: 0.8em;
}

.rating-input .glyphicon-star, .rating-input .glyphicon-star-empty {
    font-size: 20px;
    padding: 6px;
    background-color: #ddd;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    margin-right: 4px;
    margin-bottom: 5px;
}

.rating-input .glyphicon-star {
    background-color: #ffb22c;
}


.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: 16px;
}

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 {
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    border-bottom: 2px 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;
    width: 19%;
    text-align: center;
    vertical-align: top;
}

form .likert.smallValueLikert li {
    width: 31%;
}

form .likert li input[type=radio] {
    display: block;
    position: relative;
    top: 0;
    left: 50%;
    margin-left:-6px;
    margin-top: 0;
}

form .likert li label {
    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;
}