.test-wrapper {
    font-family: 'Gotham Pro', sans-serif;
    font-size: 22px;
    line-height: 32px;
    color: #000;
    width: 794px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.test-wrapper *,
.test-wrapper *:before,
.test-wrapper *:after {
    box-sizing: inherit;
}

.test-wrapper:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: -88px -123px;
    background: url('../images/pattern.png') 0 0 repeat;
}

.test-wrapper__inner {
    padding: 44px 75px;
    background: #fff;
    min-height: 563px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.test-wrapper a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
    outline: none !important;
}

.test-wrapper a:hover {
    color: #B50032;
    text-decoration: none;
}

.test-title {
    font-family: 'Times New Roman', serif;
    font-weight: normal;
    font-size: 40px;
    line-height: 46px;
}

.test-btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    overflow: visible;
    outline: none !important;
    margin: 0;
    background: #000;
    border: 2px solid #000;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    line-height: 20px;
    font-weight: 500;
    padding: 13px 34px;
    min-width: 185px;
    height: 50px;
}

.test-btn:not([disabled]):hover {
    background: #fff;
    color: #000;
    text-decoration: none;
}

.test-btn:not([disabled]):active {
    background: #CBCBCB;
    border-color: #CBCBCB;
    color: #000;
    text-decoration: none;
}

.test-btn[disabled] {
    opacity: .2;
    cursor: default;
    cursor: not-allowed;
}

.test-section {
    display: none;
}

.test-section.is-active {
    display: block;
}

.test-lead {

}

.test-lead__title {
    margin-bottom: 24px;
}

.test-lead__text {
    margin: 0 auto 43px;
    max-width: 450px;
}

.test-lead__btn {

}

.test-steps {

}

.test-step {
    display: none;
}

.test-step.is-active {
    display: block;
}

.test-step__num {
    font-size: 24px;
    line-height: 23px;
    color: #B50032;
    margin-bottom: 26px;
}

.test-step__title {
    margin: 0 auto 27px;
    max-width: 530px;
    font-size: 36px;
    line-height: 41px;
}

.test-step__timer {
    font-size: 24px;
    line-height: 23px;
    color: #A4A4A4;
    margin-bottom: 30px;
}

.test-step__timer.is-error {
    color: #B50032;
}

.test-step__timer.is-success {
    color: #6ABD00;
}

.test-step__content {
    margin: 0 auto 50px;
}

.test-step__btn {

}

.test-list {
    font-size: 22px;
    line-height: 32px;
}

.test-list__item {
    margin-bottom: 41px;
}

.test-list__label {
    display: block;
    text-align: left;
    cursor: pointer;
    position: relative;
    padding: 0 0 0 52px;
}

.test-list__input {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

.test-list__text {

}

.test-list__text:before,
.test-list__text:after {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
}

.test-list__text:before {
    width: 30px;
    height: 30px;
    border: 2px solid #B50032;
    background: #fff;
    border-radius: 50%;
}

.test-list__text:after {
    width: 20px;
    height: 20px;
    margin: 5px 0 0 5px;
    background: #B50032;
    border-radius: 50%;
    opacity: 0;
}

.test-list__input:checked + .test-list__text:after {
    opacity: 1;
}

.test-list__input:disabled + .test-list__text {
    opacity: .3;
}

.test-list__input.is-error + .test-list__text {
    color: #B50032;
}

.test-list__input.is-success + .test-list__text {
    color: #6ABD00;
}

.test-list__input.is-error + .test-list__text:before,
.test-list__input.is-success + .test-list__text:before {
    border-color: currentColor;
}

.test-list__input.is-success + .test-list__text:after {
    background: currentColor;
}

.test-list__input.is-error + .test-list__text:after {
    background: url('../images/icon-error.svg') center center no-repeat;
    border-radius: 0;
}

.test-success {

}

.test-success__title {
    margin-bottom: 17px;
}

.test-success__promocode {
    margin: 34px 0 31px;
    position: relative;
}

.test-promocode {
    display: inline-block;
    font-family: 'PT Serif', serif;
    font-size: 48px;
    line-height: 64px;
    color: #B50032;
    cursor: pointer;
}

.tooltip {
    padding: 8px;
    width: 130px;
    border-radius: 6px;
    position: absolute;
    left: 50%;
    bottom: 100%;
    background: #F9C9D1;
    background: linear-gradient(to bottom, #FAD9DF 0%, #F9C9D1 100%);
    font-size: 14px;
    line-height: 17px;
    font-weight: normal;
    text-transform: none;
    margin: 0 0 0 -65px;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease-in-out;
}

.tooltip:before {
    content: '';
    position: absolute;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #F9C9D1;
    left: 50%;
    margin-left: -5px;
    bottom: -5px;
}

.tooltip.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-10px);
}

.test-success__text {
    margin: 0 auto;
    max-width: 554px;
}

.test-success__small {
    font-size: 16px;
    line-height: 15px;
    margin: 0 auto;
    max-width: 500px;
}

.test-error {

}

.test-error__title {
    margin-bottom: 42px;
}

.test-error__text {
    margin-bottom: 57px;
}

.test-error__btn {

}

.test-timeout {

}

.test-timeout__title {
    margin-bottom: 29px;
}

.test-timeout__text {
    margin-bottom: 31px;
}

.test-timeout__btn {

}

@media (max-width: 991.98px) {
    .test-wrapper {
        width: 735px;
    }

    .test-wrapper__inner {
        padding-left: 46px;
        padding-right: 46px;
    }
}

@media (max-width: 767.98px) {
    .test-wrapper {
        width: 100%;
    }

    .test-wrapper__inner {
        padding: 44px 20px 58px;
    }

    .test-title {
        font-size: 36px;
        line-height: 41px;
    }

    .test-list {
        font-size: 18px;
        line-height: 26px;
    }

    .test-list__text:before,
    .test-list__text:after {
        top: -2px;
    }
}