
#survey-header {
    text-align: center;
    padding-top: 30px;
}


@media only screen and (min-width: 768px) {
    #survey-header-image {
        display: inline-block;
        vertical-align: middle;
        width: 50%;
    }


    #survey-intro {
        display: inline-block;
        vertical-align: middle;
        width: 50%;
        text-align: left;
    }

}

.survey-listing {
    display: none;
    padding: 5px 0px;
    border-top: 1px solid #ccc;
}

#toggleListings {
    color: #00843d;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 0px;
}

.optional-label {
    font-size: 14px;
    font-weight: normal;
    font-style: italic;
}

#toggleListings:hover {
    color: #0274be;
}

#survey-content .gform_wrapper {
    padding: 20px 0 0px 0;
    margin: 0px 0;
}

#survey-content h1 {
    color: black;
}

#survey-content label,
#survey-content legend{
    font-size: 24px;
}

#survey-content .gfield {
    margin-bottom: 30px;
}

#survey-content select {
    width: auto;
    min-width: 280px;
}

#survey-content .gfield_description {
    margin-top: 0px;
}

#survey-content legend {
    margin-bottom: 0px;
}

#survey-content select,
#survey-content input[type="text"],
#survey-content textarea {
    background: #F7F7F7;
    border-radius: 5px;
}


#gform_submit_button_23,
#gform_submit_button_24 {
    width: 100%;
    background: #079248;
    color: white;
    padding: 20px;
    font-weight: bold;
}

#gform_submit_button_23:hover,
#gform_submit_button_24:hover {
    background: #e23535;
}

/* First Question */

#field_23_20 .gfield_radio,
#field_24_20 .gfield_radio {
    margin: 10px;
    display: block;
}

#field_23_20 .gfield_radio input[type="radio"],
#field_24_20 .gfield_radio input[type="radio"] {
    opacity: 0;
    position: fixed;
    width: 0;
}

#field_23_20 .gfield_radio label,
#field_24_20 .gfield_radio label {
    display: inline-block;
    background-color: #fff;
    padding: 10px 20px;
    font-family: sans-serif, Arial;
    font-size: 16px;
    border: 2px solid #079248;
    border-radius: 4px;
    width: 150px;
    text-align: center;
    color: #079248;
    cursor: pointer;
    font-weight: bold;
}

#field_23_20 .gfield_radio label:hover,
#field_24_20 .gfield_radio label:hover {
    background-color: #dfd;
}

#field_23_20 .gfield_radio input[type="radio"]:focus + label,
#field_24_20 .gfield_radio input[type="radio"]:focus + label {
    border: 2px dashed #444;
}

#field_23_20 .gfield_radio input[type="radio"]:checked + label,
#field_24_20 .gfield_radio input[type="radio"]:checked + label {
    background-color: #079248;
    border-color: #079248;
    color: white;
}

#field_23_20 .gchoice,
#field_24_20 .gchoice {
    display: inline-block;
}

/* Start Rating */

#input_23_23 .gfield_radio,
#input_24_21 .gfield_radio {
    display: flex;
    justify-content: space-between;
}

#input_23_23 .gchoice,
#input_24_21 .gchoice {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

#input_23_23 .gfield-choice-input,
#input_24_21 .gfield-choice-input {
    display: none;
}

#input_23_23 .gfield-choice-input:checked + .gform-field-label,
#input_23_23 .gfield-choice-input + .gform-field-label:hover,
#input_24_21 .gfield-choice-input:checked + .gform-field-label,
#input_24_21 .gfield-choice-input + .gform-field-label:hover {
    color: gold;
}

#input_23_23 .gform-field-label,
#input_24_21 .gform-field-label {
    font-size: 50px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s ease;
}

#input_23_23 .gform-field-label::before,
#input_24_21 .gform-field-label::before {
    content: "★";
    font-weight: 900;
}

#input_23_23 .gform-field-label span,
#input_24_21 .gform-field-label span {
    display: none;
}
