/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* SURVEY FORM */

/* Container */
.xsurvey-response-container {
    margin: 50px auto;
}

.xsurvey-response-container .notice-success {
    color: #46b450;
}

.xsurvey-response-container .notice-error {
    color: #dc3232;
}

.xsurvey-response-container > h3 {
    padding: 0.5em 0 0;
}

/* Style the form */
.xsurvey-survey-form {
    background-color: #ffffff;
    padding: 0 20px;
}

/* Style the input fields */
.xsurvey-survey-form input[type="text"] {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    border: 1px solid #aaaaaa;
}

/* Mark input boxes that gets an error on validation: */
.xsurvey-survey-form input.invalid {
    background-color: #ffdddd;
}
/* Mark input boxes that gets an error on validation: */
.xsurvey-survey-form input[type="radio"].invalid {
    background-color: #d02c21;
}
/* Mark input boxes that gets an error on validation: */
.xsurvey-survey-form label {
    display: block;
    font-weight: 400;
}

/* Hide all steps by default: */
.xsurvey-survey-form .tab {
    display: none;
    margin-bottom: 15px;
}

/* Make circles that indicate the steps of the form: */
.xsurvey-survey-form .step {
    height: 20px;
    width: 20px;
    margin: 0 2px;
    background-color: #7d7d7d;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
    font-size: 10px;
    line-height: 20px;
    color: #fff;
}

/* Mark the active step: */
.xsurvey-survey-form .step.active {
    opacity: 1;
}

/* Mark the steps that are finished and valid: */
.xsurvey-survey-form .step.finish {
    background-color: #417daf;
}

/* Next button */
.xsurvey-survey-form button,
.xsurvey-survey-form button:active,
.xsurvey-survey-form button:hover,
.xsurvey-survey-form button:focus {
    margin-top: 5px;
    background-color: #417daf
}

/* Answer alert */
.xsurvey-survey-form .tab p.answer-alert,
.xsurvey-survey-form .tab span.answer-alert {
    color: #dd3d36;
    display: none;
}
.xsurvey-survey-form .tab.invalid p.answer-alert {
    display: block;
}
.xsurvey-survey-form .tab label.invalid span.answer-alert {
    display: inline-block;
}
.xsurvey-survey-form input.email {
    margin-bottom: 15px;
}


.xsurvey-results-form span.answer-alert {
    color: #dd3d36;
    font-weight: 400;
}


/* Survey THEME 2 */

/* Style the form */
.xsurvey-response-container.xsurvey-form-theme2 {
    background-color: #417daf;
    padding: 25px;
}

.xsurvey-response-container.xsurvey-form-theme2 label,
.xsurvey-response-container.xsurvey-form-theme2 h3,
.xsurvey-response-container.xsurvey-form-theme2 p {
    color: #fff;
}

.xsurvey-form-theme2 .xsurvey-survey-form {
    background-color: #417daf;
    padding: 0 20px;
}

/* Style the input fields */
.xsurvey-form-theme2 .xsurvey-survey-form input[type="text"] {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    border: 1px solid #aaaaaa;
}

/* Mark input boxes that gets an error on validation: */
.xsurvey-form-theme2 .xsurvey-survey-form input.invalid {
    background-color: #ffdddd;
}
/* Mark input boxes that gets an error on validation: */
.xsurvey-form-theme2 .xsurvey-survey-form input[type="radio"].invalid {
    background-color: #d02c21;
}
/* Mark input boxes that gets an error on validation: */
.xsurvey-form-theme2 .xsurvey-survey-form label {
    display: block;
    font-weight: 400;
}

/* Hide all steps by default: */
.xsurvey-form-theme2 .xsurvey-survey-form .tab {
    display: none;
    margin-bottom: 15px;
}

/* Make circles that indicate the steps of the form: */
.xsurvey-form-theme2 .xsurvey-survey-form .step {
    height: 20px;
    width: 20px;
    margin: 0 2px;
    background-color: #dddddd;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
    font-size: 10px;
    line-height: 20px;
    color: #333;
}

/* Mark the active step: */
.xsurvey-form-theme2 .xsurvey-survey-form .step.active {
    opacity: 1;
}

/* Mark the steps that are finished and valid: */
.xsurvey-form-theme2 .xsurvey-survey-form .step.finish {
    background-color: #fff;
}

/* Next button */
.xsurvey-form-theme2 .xsurvey-survey-form button,
.xsurvey-form-theme2 .xsurvey-survey-form button:active,
.xsurvey-form-theme2 .xsurvey-survey-form button:hover,
.xsurvey-form-theme2 .xsurvey-survey-form button:focus {
    margin-top: 5px;
    background-color: #fff;
    color: #333;
}

/* Answer alert */
.xsurvey-form-theme2 .xsurvey-survey-form .tab p.answer-alert,
.xsurvey-form-theme2 .xsurvey-survey-form .tab span.answer-alert {
    opacity: 0.9;
    background-color: #fff;
    color: #dd3d36;
    display: none;
}
.xsurvey-form-theme2 .xsurvey-survey-form .tab.invalid p.answer-alert {
    display: block;
}
.xsurvey-form-theme2 .xsurvey-survey-form .tab label.invalid span.answer-alert {
    display: inline-block;
}
.xsurvey-form-theme2 .xsurvey-survey-form input#email {
    margin-bottom: 15px;
}
/* End Survey THEME 2 */
/* END SURVEY FORM */

/* Recaptcha */
.g-recaptcha {
    margin: 15px 0;
}
/* End Recaptcha */
