* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: sans-serif;
}

body {
    font-size: 16px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.header {
    position: relative;
    padding: 20px 50px;
    /* margin-bottom: 20px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__line {
    width: 100%;
    height: 1px;
    /* background-color: var(--primary-color); */
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -1px;
}

.logo {
    max-width: 135px;
    /*background-color: #fff;*/
    display: inline-block;
    position: relative;
    padding: 0 15px;
    z-index: 2;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.question {
    padding: 25px 35px;
    position: relative;
    margin-bottom: 30px;
}

.question-edging {
    background-color: var(--primary-color);
    border-radius: 40px;
    color: #fff;
}

.question-edging::after {
    position: absolute;
    content: '';
    top: -25px;
    left: 0;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 30px solid var(--primary-color);
}

.main {
    /* padding: 0 66px 100px; */
}

.answer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.no-center {
    align-items: flex-start;
    margin: 0 300px;
}

._btn {
    outline: none;
    border-radius: 40px;
    border: 1px solid var(--primary-color);
    min-width: 282px;
    max-width: 100%;
    padding: 15px 25px;
    margin-bottom: 15px;
    font-size: 14px;
    position: relative;
    color: #555;
    transition: all .5s ease;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.85);
}

.answer__item {
    min-width: 100px;
    padding: 15px 25px 15px 33px;
    text-align: left;
    width: 100%;
}

.answer__item::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 5.5px;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    border: 1px solid var(--primary-color);
    transition: all .5s ease;
}

.answer__item::before {
    /* content: ''; */
    position: absolute;
    top: 50%;
    left: 8.5px;
    border-radius: 50%;
    width: 13px;
    height: 13px;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    transition: all .5s ease;
}
.answer__item._active::before {
    content: '';
}

.answer__item._active {
    border-color: var(--primary-color);
    background-color: var(--primary-color-light);
    color: #fff;
}

.answer__item._active::before {
    background-color: var(--primary-color);
}

.answer__item._active::after {
    border-color: var(--primary-color);
}

.answer__item[data-type=checkbox]::after {
    border-radius: 20%;
}

.answer__item[data-type=checkbox] {
    border: none;
    text-align: left;
}

.answer__item[data-type=checkbox]::before {
    border-radius: 20%;
    border-bottom: 5px solid var(--primary-color);
    border-right: 5px solid var(--primary-color);
    background-color: transparent;
    height: 16px;
    transform: translateY(-60%) rotate(45deg);
}

.loading {
    width: 100%;
}

.text-progress {
    font-size: 14px;
    color: gray;
    width: 100%;
}

.line-progress {
    background-color: var(--primary-color);
    height: 2px;
}

.line-progress--current {
    background-color: var(--secondary-color);
    width: 10%;
    height: 100%;
}

.next {
    text-align: right;
}

.center__btn {
    background-color: var(--primary-color);
    border-radius: 40px;
    padding: 15px 25px;
    font-size: 14px;
    display: inline-block;
    color: #fff;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
}

.next__btn {
    background-color: var(--primary-color);
    border-radius: 40px;
    padding: 15px 25px;
    font-size: 14px;
    display: inline-block;
    color: #fff;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
    border-bottom-right-radius: 0px;
}

.btn__block {
    min-width: 282px;
    text-align: center;
}

.input__filed {
    cursor: auto;
}

.option:not(:last-child) {
    border-bottom: 1px solid var(--primary-color);
}

.option {
    padding: 5px 0;
}

.select {
    position: relative;
    z-index: 2;
}

.select._active .options {
    margin-top: 0;
    opacity: 1;
    visibility: visible;
}

.options {
    position: absolute;
    top: 100%;
    left: 50%;
    background-color: #fff;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    margin-top: 20px;
    transition: all .5s ease;
    opacity: 0;
    visibility: hidden;
}

.option--current {}

@media (max-width: 992px) {
    .no-center {
        margin: 0 100px;
    }
}

@media (max-width: 500px) {
    .main {
        /* padding: 0 30px 100px; */
    }

    .question {
        padding: 22px;
    }

    .header {
        display: flex;
        justify-content: center;
    }

    .no-center {
        margin: 0;
    }

    .anwer__input, .answer__select, .options._btn  {
        width: 100%;
    }

    .anwer__input ._btn {
        width: 100%;
        max-width: none;
    }

    .btn__block__wrap {
        width: 100%;
    }

    .btn__block {
        width: 100%;
        max-width: none;
    }
}

.prev__btn {
    background-color: var(--primary-color);
    border-radius: 40px;
    padding: 15px 25px;
    font-size: 14px;
    display: inline-block;
    color: #fff;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
    border-bottom-left-radius: 0px;
}

.answer-text {
    flex-direction: row;
    flex-wrap: wrap;
    line-height: 2.5 !important;
}
.answer-text ._btn {
    line-height: 2.5 !important;
    height: 40px;
}

.answer-text .input__filed {
    margin: 0 10px;
    width: 200px;
    min-width: auto;
}

.countdown {
    background-color: #fff;
    color: var(--primary-color);
    z-index: 2;
    padding: 0 10px;
}

.question__text {
    text-align: center;
    font-size: 20px;
}

.line-progress {
    margin-bottom: 20px;
}

.question__text a {
    color: #fff !important;
    text-decoration: underline;
}

.next a:hover, .prev a:hover {
    color: var(--menu-text-hover-color);
}

p {
    margin: 0px;
}

.chosen-container {
    outline: none;
    border-radius: 40px;
    border: 1px solid var(--primary-color);
    min-width: 282px;
    max-width: 100%;
    padding: 15px 25px !important;
    margin-bottom: 15px;
    font-size: 14px;
    position: relative;
    color: #555;
    transition: all .5s ease;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.85);
}
.chosen-single {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
}
