/* normalize */

/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
*    user zoom.
*/

html {
    font-family: sans-serif; /* 1 */
    -ms-text-size-adjust: 100%; /* 2 */
    -webkit-text-size-adjust: 100%; /* 2 */
}

/**
* Remove default margin.
*/

body {
    margin: 0;
}

/* HTML5 display definitions
 ========================================================================== */

/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/

audio,
canvas,
progress,
video {
    display: inline-block; /* 1 */
    vertical-align: baseline; /* 2 */
}

/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/

[hidden],
template {
    display: none;
}

/* Links
 ========================================================================== */

/**
* Remove the gray background color from active links in IE 10.
*/

a {
    background-color: transparent;
}

/**
* Improve readability when focused and also mouse hovered in all browsers.
*/

a:active,
a:hover {
    outline: 0;
}

/* Text-level semantics
 ========================================================================== */

/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/

abbr[title] {
    border-bottom: 1px dotted;
}

/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/

b,
strong {
    font-weight: bold;
}

/**
* Address styling not present in Safari and Chrome.
*/

dfn {
    font-style: italic;
}

/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/

h1 {
    font-size: 2em;
    line-height: 1;
    margin: 0.67em 0;
}

/**
* Address styling not present in IE 8/9.
*/

mark {
    background: #ff0;
    color: #000;
}

/**
* Address inconsistent and variable font size in all browsers.
*/

small {
    font-size: 80%;
}

/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* Embedded content
 ========================================================================== */

/**
* Remove border when inside `a` element in IE 8/9/10.
*/

img {
    border: 0;
}

/**
* Correct overflow not hidden in IE 9/10/11.
*/

svg:not(:root) {
    overflow: hidden;
}

/* Grouping content
 ========================================================================== */

/**
* Address margin not present in IE 8/9 and Safari.
*/

figure {
    margin: 1em 40px;
}

/**
* Address differences between Firefox and other browsers.
*/

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
* Contain overflow in all browsers.
*/

pre {
    overflow: auto;
}

/**
* Address odd `em`-unit font size rendering in all browsers.
*/

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Forms
 ========================================================================== */

/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/

/**
* 1. Correct color not being inherited.
*    Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/

button,
input,
optgroup,
select,
textarea {
    color: inherit; /* 1 */
    font: inherit; /* 2 */
    margin: 0; /* 3 */
}

/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/

button {
    overflow: visible;
}

/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/

button,
select {
    text-transform: none;
}

/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
*    and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
*    `input` and others.
*/

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/**
* Re-set default cursor for disabled elements.
*/

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
* Remove inner padding and border in Firefox 4+.
*/

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/

input {
    line-height: normal;
}

/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
*    (include `-moz` to future-proof).
*/

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
* Define consistent border, margin, and padding.
*/

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/

textarea {
    overflow: auto;
}

/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/

optgroup {
    font-weight: bold;
}

/* Tables
 ========================================================================== */

/**
* Remove most spacing between table cells.
*/

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/* reset */

* {
    margin: 0;
    padding: 0;
}

ol, ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

/* typography */

body {
    font-family: Helvetica, Arial, Roboto, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
    background-color: #eee;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Georgia", "Cambria", "Times New Roman", "Times", serif;
    font-weight: 600;
    margin: 0 0 1em;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

p {
    margin: 0 0 1em;
}

h1 {
    font-size: 1.5em;
}

@media screen and (min-width: 60em) {
    h1 {
        font-size: 2.5em;
    }
}

h2 {
    font-size: 1.25em;
}

@media screen and (min-width: 60em) {
    h2 {
        font-size: 1.5em;
    }
}

h3 {
    font-size: 1.125em;
}

@media screen and (min-width: 60em) {
    h3 {
        font-size: 1.25em;
    }
}

h4 {
    font-size: 1em;
}

h5 {
    font-size: .875em;
    text-transform: uppercase;
}

h6 {
    font-size: 0.875em;
}

blockquote {
    border-left: 5px solid #CCC;
    margin-left: 1em;
    margin-bottom: 1em;
    padding: 1em;
}

blockquote * {
    margin: 0;
    padding: 0;
}

/* form styles */

form label {
    box-sizing: border-box;
    display: inline-block;
    width: 33.3%;
    padding: .5em;
    vertical-align: top;
}

form label.no-answer {
    font-style: italic;
}

form input + label {
    width: calc(100% - 2.5em);
}

form input,
form select,
form textarea {
    border: 1px solid #CCC;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 1em;
    padding: .75em;
    transition: border-color 100ms;
    vertical-align: top;
    width: 66.6%;
}

form textarea {
    width: 100%;
}

input:active,
select:active,
textarea:active,
input:focus,
select:focus,
textarea:focus {
    border-color: #5BB5E7;
}

input[disabled="true"]:hover,
select[disabled="true"]:hover,
textarea[disabled="true"]:hover,
input.disabled:hover,
select.disabled:hover,
textarea.disabled:hover,
input[disabled="true"]:focus,
select[disabled="true"]:focus,
textarea[disabled="true"]:focus,
input.disabled:focus,
select.disabled:focus,
textarea.disabled:focus,
input[disabled="true"]:active,
select[disabled="true"]:active,
textarea[disabled="true"]:active,
input.disabled:active,
select.disabled:active,
textarea.disabled:active {
    border-color: #CCC;
}

input[type="checkbox"],
input[type="radio"] {
    font-size: 1em;
    height: 1em;
    margin: .75em;
    vertical-align: middle;
    width: 1em;
}

input[type="checkbox"]:checked + label,
input[type="radio"]:checked + label {
    background-color: #bfedfc;
    font-weight: 500;
}

input[type="date"] {
    width: 33.3%;
}

textarea {
    max-height: 20em;
    resize: vertical;
}

.required {
    font-size: 1.5em;
    left: -.5em;
    opacity: .5;
    position: absolute;
    top: 1.125em;
}

@media screen and (min-width: 60em) {
    .required {
        font-size: 2em;
        top: .875em;
    }
}

.error {
    border-color: red;
    color: red;
}

.accept_other_container textarea {
    display: block;
}

/* question */

.question {
    border-bottom: 1px dotted #CCC;
    margin: 1.5em 0;
    padding: 1.5em 0 3em;
    position: relative;
}

.question.highlighted h3 {
    background-color: #FFFF66;
}

.question_number {
    color: #666;
    font-weight: lighter;
}

/* matrix question */

.matrix {
    margin-bottom: 1em;
    min-width: 100%;
}

.matrix colgroup,
.matrix tbody tr td {
    transition: background 100ms;
}

.matrix colgroup.hover,
.matrix tbody tr.hover td {
    background-color: rgba(0, 0, 0, 0.015);
}

.matrix td,
.matrix .option,
.matrix .label {
    border: 1px solid #DDD;
    padding: 0;
    text-align: center;
}

.matrix td label {
    display: block;
    height: 100%;
    max-width: 100%;
    padding: 0;
    vertical-align: middle;
    width: 100%;
}

.matrix tr:first-of-type th {
    border-bottom: 1px solid #DDD;
    border-right: 1px solid #DDD;
}

.matrix tbody tr:last-of-type td,
.matrix tbody tr:last-of-type th {
    border-bottom: 0;
}

.matrix .option:last-of-type,
.matrix tbody td:last-of-type {
    border-right: 0;
}

.matrix .option {
    vertical-align: bottom;
}

.matrix .label,
.matrix .option {
    border-left: 0;
    border-top: 0;
    line-height: 1;
    padding: .75em;
}

.matrix .label {
    text-align: right;
}

.matrix input {
    border: 0;
    box-sizing: border-box;
    margin: 0.75em;
    vertical-align: top !important;
}

/* pagination */

.pagination {
    *zoom: 1;
    background-color: transparent;
    border-top: 3px double #DDD;
}

@media screen and (min-width: 960px) {
    .pagination {
        margin: 4em -2em 0;
    }
}

.pagination:before,
.pagination:after {
    content: "";
    display: table;
}

.pagination:after {
    clear: both;
}

.pagination label {
    background-color: transparent;
    box-sizing: border-box;
    cursor: pointer;
    padding: .5em;
    text-align: center;
    transition: background 200ms;
    width: 50%;
}

@media screen and (min-width: 960px) {
    .pagination label {
        padding: 2em;
        width: 25%;
    }
}

.pagination label:hover,
.pagination label:focus,
.pagination label:active {
    background-color: #EEE;
    text-decoration: underline;
}

.pagination label[for="previous"] {
    border-right: 1px solid #DDD;
    float: left;
}

.pagination label[for="previous"]:before {
    content: '\00AB';
}

.pagination label[for="next"] {
    border-left: 1px solid #DDD;
    float: right;
}

.pagination label[for="next"]:after {
    content: '\00BB';
}

.pagination input[type="submit"] {
    display: none;
}

/* progress bar */

.progress {
    background: #FAFAFA;
    border-top: 1px solid #CCC;
    box-shadow: 0 4px 0 #DDD inset;
    margin: 0 -2em;
    padding: 2em;
    text-align: center;
}


.progress .bar {
    border: 1px solid #AAA;
    display: block;
    height: .5em;
    margin-bottom: 2em;
    padding: 0;
    width: 100%;
}

.progress .bar div {
    background-color: #00CF00;
    display: inline-block;
    height: .5em;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.progress .bar div.active {
    background-color: #00B9F3;
    box-shadow: 1px 0 0 0 #FFF inset;
}

.progress .bar div ~ div {
    background-color: #DDD;
}

.progress input[type="submit"] {
    display: none;
}

.progress label {
    color: #9d9d9d;
    cursor: pointer;
    font-weight: 600;
}

.progress label:hover {
    color: #333;
}

.progress label,
.progress .label {
    display: block;
    height: 3em;
    line-height: 3em;
    padding: 0;
    text-align: center;
    width: 3em;
}

.progress li {
    background-image: url("https://static.genkgo.com/svg/333333/check.svg");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center center;
    border: 2px solid #9d9d9d;
    border-radius: 3em;
    color: transparent;
    cursor: pointer;
    display: inline-block;
    margin: 0 1em;
    position: relative;
    vertical-align: top;
}

.progress li.active,
.progress li:hover {
    background-image: none;
    border-color: #5b5b5b;
    color: #5b5b5b;
    font-weight: bold;
}

.progress li:hover {
    background-color: #bfedfc;
}

.progress li.active label {
    cursor: default;
}

.progress li.active ~ li {
    background-image: none;
    border-color: transparent;
    color: #666;
    cursor: default;
}

.progress li.active + li {
    background-color: #fff;
    background-image: none;
    border-color: #CCC;
    color: #333;
    cursor: pointer;
}

/* survey page styles */

body.dark {
    background-color: #666;
}

body.light {
    background-color: #eee;
}

.survey {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0 1em;
}

@media screen and (min-width: 960px) {
    .survey {
        width: 960px;
        padding: 0.5em 3em 0;
    }
}

.survey__header {
    padding: 1.5em 0;
}

.survey__header__logo,
.survey__header__title {
    display: inline-block;
    vertical-align: middle;
}

.survey__header__logo {
    height: 6em;
    width: auto;
}

.survey__header__logo img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.survey__header__title {
    line-height: 3em;
    margin-left: 1em;
    font-size: 2em;
    font-weight: 600;
    color: rgba(230, 230, 230, 0.75);
    font-style: italic;
    float: right;
}

#container {
    box-sizing: border-box;
    margin: 1em auto;
    min-height: calc(100vh - 16em);
    background: white;
    padding: 1.5em 1em 0;
}

@media screen and (min-width: 60em) {
    #container {
        padding-left: 2em;
        padding-right: 2em;
    }
}

.title {
    font-size: 1.125em;
}

.description {
    font-style: italic;
    line-height: 1.75em;
}

.description img {
    max-width: 100% !important;
}

@media screen and (min-width: 960px) {
    .description {
        max-width: 75%;
    }
}

.close-this-screen {
    font-style: italic;
    text-align: center;
}

.zebra-striping > li:nth-child(odd) {
    background-color: #f0f0f0;
}

.horizontal-scroll {
    overflow-x: scroll;
    width: 100%;
}