html {
    height: 100%;
}
body {
    height: 100%;
}
.wrap-page{
    display: flex;
    flex-direction: column;
    height: 100%;
}
.content-page{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.content-page > .container {
    flex: 1 0 auto;
}
.quiz-bottom {
    flex: 0 0 auto;
}
.quiz-form{
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: space-between;
}



.step-block {
    display: none;
}

.step-block.show {
    display: block;
}

.wrap-progress {
    display: flex;
}
.js-step-info{
    margin-bottom: 20px;
}
#progress-bar {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    stroke: #000;
    stroke-width: 2px;
    fill: transparent;
}
#circle{
    animation-duration: 750ms;
}

#circle-bg {
    stroke: #F2F2F2;
    stroke-width: 2px;
}

.quiz-bottom-block {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-bottom: 30px;
}

.js-text-progress {
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 13px;
}

.js-progress {
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.quiz-name {
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 12px;
}

.quiz-sign {
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.btn-quiz-next {
    border-radius: 40px;
    background: #171717;
    color: #FFF;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    height: 38px;
    border: none;
    padding: 0 30px;
    min-width: 110px;
    margin-left: 10px;
}
.btn-quiz-next[disabled] {
    opacity: 0.7;
}

.btn-quiz-back {
    border-radius: 40px;
    background: #F2F2F2;
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    height: 38px;
    border: none;
    padding: 0 30px;
    min-width: 110px;

}

.btn-start-quiz {
    color: #FFF;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    border-radius: 40px;
    background: #171717;
    height: 38px;
    line-height: 38px;
    border: none;
    padding: 0 30px;
    min-width: 115px;

}

.question-title {
    color: #171717;

        font-family: "Gotham", sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
}

.question-sign {
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 10px;
}

.single-text {
    max-width: 400px;
    width: 100%;
    border: none;
    border-bottom: 1px solid #EFEFEF;
    background: transparent;
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}

.single-text::placeholder {
    color: #8B8B8B;
}

.quiz-bottom {
    border-top: 1px solid #EFEFEF;
    width: 100%;
    margin-bottom: 60px;
}

.option-wrap {
    display: flex;
    margin: 0 -5px;
    flex-wrap: wrap;
}

.option-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-width: 200px;
    max-width: 240px;
    background: #F2F2F2;
    cursor: pointer;
    min-height: 60px;
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    text-align: center;
    position: relative;
    margin: 5px;
}

.option-item > img{
    border-top: 1px solid #EFEFEF;
    border-left: 1px solid #EFEFEF;
    border-right: 1px solid #EFEFEF;
    box-sizing: content-box;
    /*max-width: calc(100% - 2px);*/
}

.option-item-input {
    opacity: 0;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    line-height: 0;
    position: absolute;
}

.option-item-input-bg {
    display: block;
    width: 100%;
    height: 60px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: 0;
}

.option-item .option-item-input:checked + .option-item-input-bg {
    background: #171717;
}

.option-text {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    line-height: 18px;
    padding: 0px 20px;
}

.option-item .option-item-input:checked + .option-item-input-bg + .option-text {
    color: #FFF;
}

.option-item-desc{
    background: #F2F2F2;
    display: block;
    margin-bottom: 9px;
    padding: 20px;
    min-height: 60px;
}
.option-item-desc-title{
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 20px;
    position: relative;
}
.option-item-desc-text{
    color: #8B8B8B;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    position: relative;
}
.option-item-desc{
    position: relative;
    cursor: pointer;
}
.option-item-desc .option-item-input:checked + .option-item-input-bg {
    background: #171717;
    height: 100%;
}
.option-item-desc .option-item-input:checked+.option-item-input-bg+.option-item-desc-title{
    color: #fff;
}
.quiz-head{
    max-width: 690px;
    margin-bottom: 18px;
}
.quiz-submit {
    border-radius: 40px;
    background: #171717;
    color: #FFF;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    height: 38px;
    min-width: 220px;
    text-align: center;
    border: none;
    padding: 0 30px;
    margin: 30px 0;
}
.quiz-submit[disabled] {
    opacity: 0.7;
}

.block-attention{
    border-radius: 34px;
    min-height: 34px;
    line-height: 16px;
    padding: 9px 18px 9px 35px;
    background: url(../images/icons/attention.svg) no-repeat 10px center #F2F2F2;
    display: inline-block;
    margin: 8px 0;
}
.wrap-upload-file{
    margin: 20px 0 60px 0;
    max-width: 664px;
}
.custom-input-variant{
    display: flex;
    align-items: end;
    justify-content: space-between;
    padding: 5px;
    min-width: 200px;
    max-width: 210px;
    width: 100%;
    position: relative;
}
.box {
    font-size: 1.25rem; /* 20 */
    background-color: #fff;
    position: relative;
    padding: 24px 20px;
    margin: 30px 0;
}

.box.has-advanced-upload {
    outline: 2px dashed #EFEFEF;
    /*outline-offset: -10px;*/

    -webkit-transition: outline-offset .15s ease-in-out, background-color .15s linear;
    transition: outline-offset .15s ease-in-out, background-color .15s linear;
}

.box.is-dragover {
    /*outline-offset: -20px;
    outline-color: #c8dadf;*/
    background: #F2F2F2;
}

.box__dragndrop,
.box__icon {
    display: none;
}

.box.has-advanced-upload .box__dragndrop {
    display: block;
    color: #171717;
    text-align: center;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.box.has-advanced-upload .box__icon {
    width: 100%;
    height: 54px;
    fill: transparent;
    display: block;
    margin-bottom: 20px;
}

.box.is-uploading .box__input,
.box.is-success .box__input,
.box.is-error .box__input {
    visibility: hidden;
}

.box__uploading,
.box__success,
.box__error {
    display: none;
}

.box.is-uploading .box__uploading,
.box.is-success .box__success,
.box.is-error .box__error {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;

    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.box__uploading {
    font-style: italic;
}

.box__success {
    -webkit-animation: appear-from-inside .25s ease-in-out;
    animation: appear-from-inside .25s ease-in-out;
}

.question-sign ul{
    padding-left: 20px;
}
.question-sign ul li{
    position: relative;
    padding-left: 10px;
}


.question-sign ul li:before{
    position: absolute;
    top: 9px;
    left: 0px;
    content: '';
    width: 3px;
    height: 3px;
    display: block;
    background: #000;
}

@-webkit-keyframes appear-from-inside {
    from {
        -webkit-transform: translateY(-50%) scale(0);
    }
    75% {
        -webkit-transform: translateY(-50%) scale(1.1);
    }
    to {
        -webkit-transform: translateY(-50%) scale(1);
    }
}

@keyframes appear-from-inside {
    from {
        transform: translateY(-50%) scale(0);
    }
    75% {
        transform: translateY(-50%) scale(1.1);
    }
    to {
        transform: translateY(-50%) scale(1);
    }
}

.box__restart {
    font-weight: 700;
}

.box__restart:focus,
.box__restart:hover {
    color: #39bfd3;
}

.js .box__file {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.js .box__file + label {
    max-width: 80%;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}

.js .box__file + label:hover strong,
.box__file:focus + label strong,
.box__file.has-focus + label strong {
    color: #39bfd3;
}

.js .box__file:focus + label,
.js .box__file.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.js .box__file + label * {
    /* pointer-events: none; */ /* in case of FastClick lib use */
}

.no-js .box__file + label {
    display: none;
}

.no-js .box__button {
    display: block;
}

.box__button {
    font-weight: 700;
    color: #e5edf1;
    background-color: #39bfd3;
    display: none;
    padding: 8px 16px;
    margin: 40px auto 0;
}

.box__button:hover,
.box__button:focus {
    background-color: #0f3c4b;
}

.box__file-size {
    color: #B0B0B0;
    text-align: center;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    display: block;
}

.add-file{
    color: #171717;
        font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    border-radius: 40px;
    background: #F2F2F2;
    height: 38px;
    min-width: 180px;
    padding: 0 30px;
    border: none;
    margin: 0 auto 20px;
    display: block;
}

.files-uploaded{
    margin-top: 30px;
}
.form__field-wrap{
    margin: 12px 0 35px 0;
}
.contact-field{
    padding: 10px 0 0px 0;
    line-height: 10px;

}

.form__field-wrap.not-valid .form__field-legend{
    color: #FF0C00;
}
.form__field-wrap.not-valid .contact-field {
    border-bottom: 1px solid #FF0C00;
}

.quiz-body{
    margin-bottom: 30px;
}
.block-buttons-step{
    display: flex;
}
.multi-text {
    background: transparent;
    border: 1px solid #EFEFEF;
    height: 230px;
    max-width: 665px;
    width: 100%;
    resize: none;
    border-radius: 0;
    padding: 15px 20px;
}

.multi-text+.placeholder-input,.single-text+.placeholder-input{
    color: #8B8B8B;
    text-align: center;
    font-family: "Gotham", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: -1;
}

.custom-input-variant .single-text+.placeholder-input{
    top: unset;
    bottom: 5px;
    left: 8px;
}
.multi-text+.placeholder-input{
    top: 5px;
    left: 20px;
}
.multi-text.notempty+.placeholder-input,.single-text.notempty+.placeholder-input{
    display: none;
}

.quiz-sign a{
    text-decoration: underline;
}
.quiz-sign a:hover{
    text-decoration: underline;
}

.position-relative{
    position: relative;
}

.normalise-font {
    font-size: 1.04167vw;
    line-height: 1.38889vw;
    text-size-adjust: 100%;
}
@media (max-width: 1024px) {
    .normalise-font {
        font-size: 4.0625vmin;
        line-height: 5.3125vmin;
    }
}
@media (min-width: 1800px) {
    .normalise-font {
        font-size: 15px;
        line-height: 20px;
    }
}


@media (max-width: 768px) {
    .option-wrap-images {
        flex-wrap: nowrap;
        overflow-x: scroll;
    }
    .quiz-body {
        overflow: hidden;
    }

    /* полоса прокрутки (скроллбар) */
    .option-wrap-images::-webkit-scrollbar {
        width: 24px; /* ширина для вертикального скролла */
        height: 2px; /* высота для горизонтального скролла */
        background-color: #F2F2F2;
        padding: 0 6px;
    }

    /* ползунок скроллбара */
    .option-wrap-images::-webkit-scrollbar-thumb {
        background-color: #171717;
    }

    .option-wrap-images::-webkit-scrollbar-thumb:hover {
        background-color: #253861;
    }
    .box {
        width: calc(100% - 4px);
        margin: 30px auto 30px;
    }

}

@media (max-width: 437px) {
    .option-wrap > div{
        width: 100%;
    }

    .btn-quiz-back, .btn-quiz-next {
        padding: 0 20px;
        min-width: 100px;
    }
}
