.quiz_section .quiz_row {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #1e1e1e;
  margin-bottom: 16px;
}
.wpcf7-form-control-wrap[data-name=birth_year] {
  width: 150%;
}

.quiz_gdpr {
    max-width: 426px;
    width: 100%;
    margin: 15px auto 0;
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    color: #888888;
    max-width: 673px;
    margin-top: 25px;
}
.quiz_gdpr a {
    text-decoration: none;
    color: #0199de;
    font-weight: 500;
}
.quiz_remark {
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    color: #4A4A4A;
    position: absolute;
    width: 100%;
    bottom: calc(100% + 16px);
}
.quiz_security {
    width: auto;
    height: 15px;
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    margin: 0 auto;
    position: relative;
    color: #5c5c5c;
    margin-top: 20px;
    padding-left: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.quiz_security img {
    margin-right: 10px;
}
.wpcf7-form .quiz_hidden {
    display: none;
}
.wpcf7-form .quiz_shown {
  width: 100%;
  margin: 36px auto 0;
}
.wpcf7-form .quiz_shown p:last-of-type {
  margin-bottom: 0;
}
.wpa-test-msg {
  margin-top: 15px !important;
}
.quiz_shown > p {
  width: 100%;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap input:placeholder {
    color: #000;
    cursor: text !important;
}
.quiz_section {
    padding: 54px 0 50px;
    position: relative;
    overflow: hidden;
    display: none;
}
.quiz_wrapper {
    max-width: 540px;
    background: #f2f2f2;
    margin: 0 auto 0;
    box-sizing: border-box;
    padding: 28px 38px 70px;
}
.quiz_after h2 {
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    margin-top: 33px;
    margin-bottom: 15px;
    color: #000;
    text-align: center;
}
.quiz_after {
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #bbb;
    text-align: center;
    margin-bottom: 54px;
}
.quiz {
    width: 100%;
}
.quiz_page {
    display: none;
}
.quiz_page.active {
    display: block;
}
.quiz_top {
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    position: relative;
    padding-top: 15px;
}
.quiz_title {
    font-weight: 500;
    font-size: 22px;
    line-height: 27px;
    text-align: center;
    color: #0a152b;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.quiz_subtitle {
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    color: #000;
}
.quiz_center {
}
.quiz_bottom {
    padding-bottom: 47px;
    /*border-bottom: 1px solid #eee;*/
    position: relative;
}
.quiz_btn {
  background: #3864eb;
  width: 240px;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  transition: background .2s;
}
.quiz_btn:hover {
  background: #3357c6;
}
.quiz_back {
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    color: #e54a35;
    position: relative;
    display: inline-block;
    padding-left: 20px;
    cursor: pointer;
    position: absolute;
    left: 0;
    top: 0;
}
.quiz_back:before {
    border-right: 4px solid #000;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 0 solid transparent;
    position: absolute;
    content: "";
    left: 7px;
    top: 5px;
}
.quiz_next {
    background: #3864EB;
    padding: 10px 75px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    max-width: 240px;
    width: 100%;
    margin: auto;
    display: block;
    text-decoration: none;
    cursor: pointer !important;
    box-sizing: border-box;
	border-radius: 5px;
    transition: 0.3s background-color;
}
.quiz_next:hover {
    background: #3052ba;
}
html .wpcf7-submit {
  margin-top: 20px !important;
  cursor: pointer !important;
  margin-bottom: 0;
  border: 0;
  font-family: "Montserrat", sans-serif;
  margin: auto;
  display: block;
}
.wpcf7-list-item {
  margin-left: 0;
  max-width: 100%;
}
.wpcf7-acceptance {
  display: block;
  margin-top: 20px;
}
.gdpr_field {
  border: none !important;
  margin: 0;
  height: 21px;
  min-width: 20px;
  visibility: hidden;
}
.gdpr_field + span::before {
  position: absolute;
  width: 18px;
  height: 18px;
  background: white;
  border: 1px solid white;
  left: 0;
  top: 3px;
}
.error-gdpr + span::before {
  border-color: #e527138a;
}
.wpcf7-spinner {
  position: absolute;
}
.gdpr_field:checked + span::after {
  position: absolute;
  left: 2px;
  top: 5px;
  width: 15px;
  height: 15px;
  background: #c1c1c1;
}
.wpcf7-list-item label {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.wpcf7-list-item-label {
  font-weight: 400;
  font-size: 14px;
  color: #333;
}
.quiz_quote {
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
    color: #0a152b;
}
.quiz_quote p {
    margin: 0;
}
.quiz_quote a {
    font-weight: 700;
    font-size: 14.5px;
    line-height: 18px;
    color: #e54a35;
    text-decoration: none;
}
.quiz_date {
  display: flex;
}
.quiz_quote {
    margin-top: 26px;
}
.quiz_field,
.wpcf7-form-control-wrap {
}
.wpcf7-form-control-wrap {
  width: 100%;
  cursor: text;
  display: block;
  margin-top: 7px;
}
.quiz_field-error input,
.quiz_field-error select,
.wpcf7-not-valid {
  border-bottom: 1px solid #e527138a !important;
}
.wpcf7-not-valid-tip {
    display: none !important;
}
.wpcf7-response-output {
    max-width: 500px;
    text-align: center;
    margin: 30px auto 0 !important;
    color: black;
}
div.wpcf7 .ajax-loader {
    width: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
}
.quiz_field:not(.range_field) input,
.quiz_field select,
.wpcf7-form-control-wrap input:not(.gdpr_field) {
  font-family: "Montserrat", sans-serif;
  height: 40px;
  box-sizing: border-box;
  padding: 10px 11px;
  color: #1e1e1e;
  width: 100%;
  font-weight: 500;
  font-size: 16px;
  border: none;
  border-bottom: 1px solid white;
  outline: none;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.wpcf7-form-control-wrap input::placeholder,
.wpcf7-form-control-wrap select::placeholder {
    color: #ccc !important;
    font-weight: 500;
    font-size: 16px;
}
.quiz_shown br {
  display: none;
}
.quiz_fields {
    display: flex;
    justify-content: center;
    margin: 30px 0 48px;
}
.radio_descr {
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    color: #777777c2;
    margin-top: 24px;
}
.birth_fields .quiz_field {
    margin: 0;
}
#quiz_birth_month {
    width: 164px;
    border-right: 0;
    border-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
#quiz_birth_day {
    width: 167px;
}
#quiz_birth_year {
    width: 124px;
    border-left: 0;
    border-radius: 5px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.quiz_field label {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    color: #0a152b;
}
.quiz_field label::before {
    content: "";
    top: 50%;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    margin-right: 8px;
}
.quiz_field label::after {
    content: "";
    width: 20px;
    height: 20px;
    left: 5px;
    top: 5px;
    background: #3864EB;
    position: absolute;
    opacity: 0;
    border-radius: 50%;
}
.quiz_field input:checked + label:after {
    opacity: 1;
}
.radio_field input {
    position: absolute;
    left: -999999px;
}
#quiz_gender_male_wrap {
    margin-right: 12px;
}
#quiz_gender_female_wrap {
    margin-left: 12px;
}
#quiz_height_wrap {
    margin-right: 10px;
}
#quiz_weight_wrap {
    margin-left: 10px;
}
#quiz_health_no_wrap {
    margin-left: 13px;
    max-width: 128px;
}
#quiz_health_yes_wrap {
    margin-right: 13px;
    max-width: 135px;
}
.zip_field.error {
    border: 1px solid #f90707;
}

/* <Range fields> */
.range_field {
    max-width: 620px;
    margin: auto;
    width: 100%;
    position: relative;
    margin-top: 81px;
}
.quiz_page-range .quiz_fields {
    margin-bottom: 58px;
}
.quiz_page-range .quiz_center {
    padding-top: 13px;
}
.range_field input {
    width: 100%;
    display: block;
    margin: 0;
    cursor: pointer;
    -webkit-appearance: none;
    height: 2px;
    background: transparent;
    outline: none;
    position: relative;
    z-index: 3;
}

.range_field input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: white;
    background: black !important;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.1);
    z-index: 100;
    position: relative;
    cursor: pointer;
}

.range_field input::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: white;
    background: black !important;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.1);
    z-index: 100;
    position: relative;
    cursor: pointer;
}
.range_field::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    top: 0;
    background: #EEEEEE;
    z-index: 1;
    
}
.range_field > * {
    font-family: 'Montserrat', sans-serif;
}
.range_badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 500;
    font-size: 25px;
    line-height: 30px;
    bottom: 60px;
    color: #0a152b;
    width: 100%;
    text-align: center;
}
.range_badge b {
    color: #0A152B;
    font-weight: 900;
}
.range_indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
}
.range_indicator-1 {
    left: 6px;
}
.range_indicator-2 {
    left: 50%;
}
.range_indicator-3 {
    right: 6px;
}
.range_indicator span {
    position: absolute;
    bottom: 15px; 
    color: #454C4E;
    font-size: 16px;
    transform: translateX(-50%);
    left: 50%;
}
.range_indicator div {
    height: 22px;
    position: absolute;
    width: 2px;
    background: #454C4E;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}
.range_mask {
    position: absolute;
    height: 4px;
    background: white;
    width: 5px;
    top: -1px;
    z-index: 2;
}
.range_mask-left {
    left: 0;
}
.range_mask-right {
    right: 0;
}
/* </Range fields> */

@media screen and (max-width: 1023px) {
    .quiz_field input,
    .quiz_field select,
    .wpcf7-form-control-wrap input {
        width: 240px;
        /*padding-left: 10px;*/
        /*padding-right: 10px;*/
    }
    .range_field input {
        width: calc(100% + 10px) !important;
        max-width: calc(100% + 10px) !important;
        left: -5px;
    }
    .range_field input::-webkit-slider-thumb {
        width: 22px;
        height: 22px;
        background: #c9c9c9;
        box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.15);
    }
    
    .range_field input::-moz-range-thumb {
        width: 22px;
        height: 22px;
        background: #c9c9c9;
        box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.15);
    }
    .range_indicator div {
        height: 30px;
        top: -15px;
    }
}
@media screen and (max-width: 767px) {
    
    .quiz_page-radio .quiz_fields {
        flex-direction: row;
    }
    .quiz_fields {
        flex-direction: column;
        align-items: center;
    }
    .quiz_field,
    .wpcf7-form-control-wrap {
        margin-bottom: 10px;
    }
    .quiz_field input,
    .quiz_field select,
    .wpcf7-form-control-wrap input {   
    }
}

@media screen and (max-width: 640px) {
  
}
