* {
    box-sizing: border-box;
}
html {
    background-color: #edeef7;
}
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
}
body {
    font-family: 'Proxima Nova', 'Helvetica Neue', 'Helvetica', sans-serif;
    font-size: 14px;
    background: #ffd500; /* Old browsers */
    background: -moz-linear-gradient(top,  #ffd500 0%, #ffd500 300px, #edeef7 300px, #edeef7 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #ffd500 0%,#ffd500 300px,#edeef7 300px,#edeef7 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #ffd500 0%,#ffd500 300px,#edeef7 300Px,#edeef7 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd500', endColorstr='#edeef7',GradientType=0 ); /* IE6-9 */
    background-repeat: no-repeat;
    position: relative;
    margin: 0;
    padding-top: 80px;
}
body:after {
    content: "";
    position: absolute;
    left: 30px;
    top: 50px;
}
form {
    word-wrap: break-word;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#content-in {
    background-color: #fff;
    width: 100%;
    max-width: 850px;
    min-height: 250px;
    margin: 0 auto;
    margin-bottom: 40px;
    overflow: hidden; /* fix top margin */
    padding: 0 40px;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
}
h1 {
    font-weight: 700 ;
    font-size: 28px;
    margin-top: 40px;
    line-height: 40px;
    color: #1c1733;
    text-rendering: optimizelegibility;
    background-color: #FFF;
}
h2, h3 {
    text-rendering: optimizelegibility;
    margin: 10px 0;
    color: #1c1733;
}
h2 {
    font-weight: 600;
    font-size: 20px;
    margin-top: 0;
    line-height: 40px;
}
h3 {
    font-weight: 400;
    line-height: 20px;
}
label, input, button, select, textarea {
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
}
label {
    display: block;
    margin-bottom: 15px;
    padding: 0;
}
label img{
    pointer-events: none;
}
input[type="radio"], input[type="checkbox"] {
    margin: 4px 0 0;
    line-height: normal;
    width: auto;
}
textarea, input {
    box-shadow: none;
    margin: 0;
    border-radius: 1px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    padding: 8px 10px;
    color: #2e364d;
    background-color: white;
    border: 1px solid #d8ddef;
    line-height: normal;
    width: 100%;
    resize: none;
    word-break: normal;
}
textarea:active, textarea:focus,
input:active, input:focus {
    border-color: #00b7db;
}
textarea:hover {
    border-color: #c3cbe7;
}
textarea::-webkit-input-placeholder {
    color: #7477b0;
    opacity: 0.75;
}
textarea:-moz-placeholder {
    color: #7477b0;
    opacity: 0.75;
}
textarea::-moz-placeholder {
    color: #7477b0;
    opacity: 0.75;
}
textarea:-ms-input-placeholder {
    color: #7477b0;
    opacity: 0.75;
}
.required {
    color: #ffd500;
    font-size: 22px;
}
.question-wrapper, .form-actions{
    margin: 0 -40px;
}
.question-wrapper {
    border-bottom: 1px solid #ebedf1;
}
.question-wrapper:nth-child(2) .question-section {
    border-top: 1px solid #ebedf1;
    margin-top: 40px;
}
.question {
    padding: 20px 40px 30px 40px;
}
.question.question-section {
    padding: 10px 40px 10px 40px !important;
    box-sizing: border-box;
    background-color: #fafbfd;
    text-align: center;
    text-transform: uppercase;
    color: #686b9e;
    font-weight: 700;
    font-size: 13px;
}
.radio, .checkbox {
    min-height: 20px;
    cursor: pointer;
}
.radio:last-child, .checkbox:last-child {
    margin-bottom: 0;
}
.radio span.text, .checkbox span.text {
    font-weight: 500;
    font-family: Roboto, sans-serif;
    color: #686b9e;
    position: relative;
    top: -2px;
    margin-left: 10px;
    vertical-align: top;
}
.radio input[type="radio"], .checkbox input[type="checkbox"] {
    margin-left: -20px;
}
.radio input, .checkbox input {
    opacity: 0;
    transform: translate(20px);
}
/** OTHER **/
.text .icon-ok {
    display: none;
}
/** BUTTON **/
.form-actions {
    background-color: #f7f8ff;
    padding: 20px 40px;
}
button {
    width: 100%;
    border: 1px solid #28a6d4;
    background-color: #2dbaee;
    border-radius: 2px;
    text-align: center;
    color: #ffffff;
    padding: 10px 0;
    font-weight: 600;
    cursor: pointer;
}
/** RADIO **/
input:checked ~ .radio-filled,
input:checked ~ .check-filled {
    display: inline;
}
input:checked ~ .radio-empty,
input:checked ~ .check-empty {
    display: none;
}
.radio-filled, .check-filled {
    display: none;
}
.radio input:checked ~ .text,
.checkbox input:checked ~ .text {
    color: #1c1733;
}
/** MATRIX **/
.question-matrix {
    position: relative;
}
.question-matrix table {
    width: 100%;
    border-spacing: 2px;
}
.question-matrix tbody tr.matrix-answers:first-child {
    background-color: #ffffff;
}
.question-matrix tbody tr:nth-child(odd) {
    background-color: #f8f7fd;
}
.question-matrix tbody tr td {
    font-size: 13px;
    font-weight: 400;
    font-family: "Roboto";
    min-width: 100px;
    text-align: center;
    background-color: inherit;
    padding: 10px 10px;
}
.question-matrix tbody tr td:first-child {
    min-width: 180px;
    width: 180px;
    text-align: left;
    font-weight: 500;
}
.matrix-table-wrapper {
    overflow-x: auto;
}

/** SCROLLBAR **/
::-webkit-scrollbar {
    -webkit-appearance: none;
}
::-webkit-scrollbar:vertical {
    width: 11px;
}
::-webkit-scrollbar:horizontal {
    height: 11px;
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid #ffffff;
    background-color: rgba(46, 54, 77, 0.4);
}
::-webkit-scrollbar-thumb:hover {
    background-color: rgba(46, 54, 77, 0.6);
}
/** STARS **/
ul.stars {
    overflow: hidden;
    width: 0;
    height: 0;
}
ul.stars li {
    float: left;
    padding-right: 15px;
}
ul.stars {
    overflow: auto;
}
.icon-star:before {
    margin: 0 0.2em;
    font-size: 120%;
}
.star {
    color: #b1b2ca;
    cursor: pointer;
    font-size: 20px;
    display: inline-block;
    padding: 0 1px;
}
.star.hover {
    color: #ffcd00;
}
.star.active {
    color: #ffcd00;
}
.errors {
    color: #a00;
    padding: 10px 0 0 0;
}
.help-inline {
    padding: 10px 0;
}
.question-wrapper.error {
    border-left: 3px solid #a00;
}
