.df {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
}
.gift-icon-position {
    transform: translateY(53%);
}
.wrapDiscount img{
    width: 52px;
}
.buttonPopup {
    position: fixed;
    bottom: 0;
    left: 50%;
    padding: 10px;
    background-color: #3EB5F1;
    color: #fff;
}

label.labelWrapAnswer {
    cursor: pointer;
}

#buttonStepFirst {
    text-decoration: underline;
    cursor: pointer;
}

button#buttonStepSecond {
    text-decoration: underline;
    cursor: pointer;
}

button#buttonSecondBack {
    text-decoration: underline;
}


/* popup begin */


/* оверлей */

.cd-popup {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    /*overflow-y: scroll;*/
    padding-bottom: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
    z-index: 1000000;
}

.cd-popup.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s 0s, visibility 0s 0s;
    overflow-y: auto;
}

.cd-popup-container {
    position: relative;
    width: 90%;
    max-width: 470px;
    margin: 10em auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-40px);
    -webkit-backface-visibility: hidden;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    transition-duration: 0.3s;
}

.cd-popup-container .cd-popup-close {
    position: absolute;
    z-index: 100;
    top: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    color: transparent;
    white-space: nowrap;
    transition: all 0.4s;
}

.cd-popup-container .cd-popup-close:hover {
    transform: rotate(90deg);
    transition: all 0.4s;
}

.cd-popup-container .cd-popup-close::before,
.cd-popup-container .cd-popup-close::after {
    content: "";
    position: absolute;
    top: 12px;
    width: 24px;
    height: 1px;
    background-color: #555;
}

.cd-popup-container .cd-popup-close::before {
    transform: rotate(45deg);
    left: 0px;
}

.cd-popup-container .cd-popup-close::after {
    transform: rotate(-45deg);
    right: 0px;
}

.is-visible .cd-popup-container {
    transform: translateY(0);
}

/* popup end */


/* шаги */

.popupStep {
    position: relative;
    padding: 30px 15px;
}

.popupStep.hide {
    display: none;
}

.wrapDiscount {
    position: absolute;
    left: -25px;
    top: -18px;
    background: #ffffff;
    padding: 7px 13px;
    border-radius: revert;
    z-index: 20;
    max-width: 80px;
    border: 1px solid #f3f3f3;
}

.text1 {
    font-size: 11px;
}

.text2 {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.wrapDiscountArrow {
    height: 22px;
    text-align: center;
}

.discountArrow {
    position: relative;
    margin-left: -10px;
    -webkit-animation: animeArows 0.8s linear infinite;
    animation: animeArows 0.8s linear infinite;
}

@-webkit-keyframes animeArows {
    100% {
        -webkit-transform: translateY(5px);
    }
}

@keyframes animeArows {
    100% {
        transform: translateY(5px);
    }
}

.discountArrow:after,
.discountArrow:before {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    border-left: 2px solid #E64F4F;
    border-bottom: 2px solid #E64F4F;
    z-index: 10;
    top: 0;
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.discountArrow:before {
    top: 5px;
}

.wrapNumberStep {
    position: absolute;
    background: #d0d0d0;
    padding: 5px;
    left: -14px;
    top: 62px;
    z-index: 15;
    border-radius: unset;
    color: #333;
}

.text5 {
    color: red;
    font-size: 20px;
}

.ml1 {
    /* margin-left: 75px; */
}

.text7 {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
    text-align: center;
}

.text8 {
    font-size: 12px;
    color: #878787;
    margin-bottom: 16px;
    text-align: center;
}

.text9 {
    font-size: 16px;
    color: #000;
    padding-left: 0;
    font-weight: 600;
    position: relative;
    text-align: center;
}

.wrapAnswers {
    justify-content: center;
    margin: 15px auto;
}

.wrapAnswer {
    flex: 0 0 120px;
    /* border-radius: 5px; */
    margin: 10px 12px;
    position: relative;
    transition: all 0.4s;
}

.checkboxInputAnswer {
    display: none;
    opacity: 0;
}

.wrapImgAnswer {
    width: 100%;
    height: 110px;
}

.wrapImgAnswer img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
 }

.textAnswer {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    /* Safari */
    flex-wrap: wrap;
    -webkit-justify-content: center;
    /* Safari */
    justify-content: center;
    -webkit-align-items: center;
    /* Safari */
    align-items: center;
    text-align: center;
    vertical-align: middle;
    min-height: 30px;
    line-height: 1;
    background: #ffffff;
    font-size: 14px;
    /* border-radius: 0 0 5px 5px; */
    transition: all 0.4s;
}

.textAnswer span {
    border-bottom: 0px dashed #000080;
    color: #729f42;
}

.checkboxInputAnswer:checked~.labelWrapAnswer>.textAnswer {
    background: #729f42;
}

.checkboxInputAnswer:checked~.labelWrapAnswer>.textAnswer>span {
    color: #ffffff;
}

.labelWrapAnswer {
    width: 100%;
    height: 100%;
    display: block;
    transition: all 0.4s;
    /* box-shadow: 0 0 2px 4px rgb(114 159 66); */
    border: 4px solid #729f42;
    border-radius: 0px;
    margin-bottom: 0;
    filter: grayscale(100%);
}
.psevdoCheckbox {
    display: none;
    width: 34px;
    height: 34px;
    position: absolute;
    right: -10px;
    top: 90px;
    border-radius: 100px;
    background-color: #fff;
    -webkit-box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.5);
    transition: all 0.4s;
}

.psevdoCheckboxInset {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.psevdoCheckboxInset:before {
    content: '';
    display: block;
    z-index: 50;
    position: absolute;
    width: 14px;
    height: 5px;
    border: 3px solid #C2C2C2;
    top: 10px;
    left: 10px;
    transition: all 0.4s;
    border-top-style: none;
    border-right-style: none;
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    transition: all 0.4s;
    width: 20px;
    height: 8px;
    top: 10px;
    left: 8px;
}
.checkboxInputAnswer:checked~.labelWrapAnswer {
    /* box-shadow: 0 0 2px 4px rgb(114 159 66); */
    transition: all 0.4s;
    filter: grayscale(0%);
}

.checkboxInputAnswer:checked~.labelWrapAnswer .psevdoCheckbox {
    background-color: #3eb5f1;
}

.checkboxInputAnswer:checked~.labelWrapAnswer .psevdoCheckbox .psevdoCheckboxInset:before {
    border-color: #fff;
}

.wrapButtonStep {
    text-align: right;
    padding: 0 15px;
}

.popupSecondStep .wrapButtonStep {
    -webkit-justify-content: space-between;
    /* Safari */
    justify-content: space-between;
}

.buttonQuiz {
    display: inline-block;
    background-color: #ffffff;
    padding: 10px 33px 10px 20px;
    color: #333;
    font-size: 15px;
    position: relative;
    transition: all 0.4s;
    border-width: 0;
    margin-top: 20px;
}

input.buttonQuiz.buttonSendForm {
    display: inline-block;
    background-color: #5e9127;
    color: #ffff;
    padding: 10px 20px 10px 20px;
    font-size: 15px;
    position: relative;
    transition: all 0.4s;
    border-width: 0;
}

.buttonQuiz:disabled {
    color: #a9a9a9;
}

.buttonStep:after {
    position: absolute;
    content: '>>';
    width: 16px;
    top: 27%;
    right: 10px;
    z-index: 50;
}

button#buttonSecondBack::after {
    display: none;
}
.buttonQuizBack {
    display: inline-block;
    background-color: #ffffff;
    padding: 10px 33px 10px 14px;
    color: #333;
    font-size: 15px;
    position: relative;
    transition: all 0.4s;
    border-width: 0;
    margin-top: 20px;
}

#formQuiz>div.popupStep.popupLastStep>div.tr {
    text-align: center;
    font-weight: bold;
}

.buttonQuizBack {
    cursor: pointer;
}

.text11.afterSend-js.sp {
    margin-bottom: 10px;
}

.text11.afterSend-js.promoko {
    font-size: 20px;
    line-height: 2;
    margin-bottom: 20px;
    color: #333;
}

#formQuiz>div.popupStep.popupLastStep>div.tr>div:nth-child(3) {
    color: #a2a2a2;
}
.buttonQuizBack:before {
    /* position: absolute; */
    content: '<<';
    width: 16px;
    top: 27%;
    right: 10px;
    z-index: 50;
    margin-right: 6px;
}

.popupLastStep .text2 {
    margin-top: 5px;
}

.text10 {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    color: #333;
    max-width: 300px;
}

.wrapFieldform {
    text-align: center;
    margin-top: 30px;
}

.wrapModalField {
    position: relative;
    width: 95%;
    max-width: 260px;
    margin: 30px auto;
}

.ModalFieldIcon {
    position: absolute;
    height: 60px;
    width: 60px;
    z-index: 3;
    border-radius: 10000000px;
    top: -6px;
    right: auto;
    box-shadow: 0 0 5px 1px rgb(194 194 194 / 37%);
    background-color: #fff;
    left: -22.5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 21px;
    transition: all 0.4s;
}
.ModalFieldIcon img{
    max-width: 60px;
    max-height: 60px;
}
.ModalFieldIcon svg {
    max-width: 40px;
    max-height: 40px;
    position: absolute;
    top: 50%;
    margin-top: -20px;
    left: 50%;
    margin-left: -20px;
}

.ModalFieldIcon path {
    fill: #3eb5f1;
    transition: all 0.4s;
}

.modalField {
    display: block;
    width: 100%;
    background-color: #ffffff;
    padding: 10px;
    outline: none;
    text-align: center;
    color: #000;
    font-size: 13px;
    font-weight: 400;
    border: 4px solid transparent;
    transition: all 0.4s;
    box-shadow: 0 0 5px 1px rgb(194 194 194 / 37%);
}

.modalField:focus {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    background: #fff;
    border: 4px solid transparent;
}

.modalField:invalid:not(:placeholder-shown) {
    /*border: 4px solid #cee9f6;*/
}

.modalField:valid:not(:placeholder-shown) {
    border: 4px solid #cee9f6;
}

.wrapTextCondition {
    padding: 8px 13px;
    background-color: #f3f3f3;
}

.text15 {
    color: #797979;
    font-size: 13px;
    text-align: center;
    text-decoration: underline;
}
.afterSendHide-js.hide {
    display: none;
}

.afterSend-js.hide {
    display: none;
}

.buttonPopap {
    bottom: -50px;
    top: auto;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: #fff;
    font-size: 14px;
    /* line-height: 16px; */
    border: none;
    padding: 25px 0px;
    margin: 0;
    position: fixed;
    border-radius: 5px 5px 0 0;
    max-width: 60%;
    /* width: unset; */
    outline: none;
    /* box-shadow: 0 -1px 10px #cee9f6; */
    z-index: 200000;
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    font-weight: bold;
    text-transform: none;
    transition: all 0.4s;
}

.buttonPopap.active {
    bottom: 0px;
    transition: bottom 1s;
}

.buttonPopap.hide,
.buttonPopap.hide.active {
    bottom: -150px;
    transition: bottom 1s;
}

.buttonPopap:hover {
    background: #258abd;
    transition: all 0.4s;
    cursor: pointer;
}

.wrapImgButtonPopup {
    position: absolute;
    /* background-color: #fff;*/
    border-radius: 50px;
    width: 56px;
    height: 56px;
    left: -81rem;
    top: -5rem;
    /*box-shadow: 0 2px 8px #cee9f6;*/
    background: linear-gradient(to right, rgb(152, 229, 115), rgb(122, 229, 69));
}
@media (max-width: 768px){
    .wrapImgButtonPopup {
        width: 40px;
        height: 40px;
    }
}
.wrapImgButtonPopup img {
    width: 20px;
    height: 20px;
    margin-top: 7px;
}

@media only screen and (max-width: 480px) {
    .popupStep {
        padding-top: 40px;
    }
    #buttonSecondBack {
        font-size: 10px;
    }
    button#buttonStepSecond {
        font-size: 10px;
    }
}

@media only screen and (max-width: 420px) {
    .popupStep {
        padding: 40px 0;
    }
    .ml1 {
        margin-right: 10px;
    }
}

.form__full__popup {
    display: flex;
}


.content__popup {
    height: 100%;
    display: grid;
    grid-template-areas:
        "a a a a"
        "b b c c"
        "b b c c";
}


.p__full__popup {
    grid-area: a;
}

.cnvid {
    grid-area: b;
    margin-right: 10px;
}
.vct {
    grid-area: c;
    margin-left: 10px;
}


p.h_form_popup_p {
    margin-bottom: 50px !important;
    font-size: 14px;
}

#popup__ars__btn {
    background: #719F41;
    color: #fff;
    padding: 16px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 5px;
    border: 0;
}

@media (max-width: 769px) {
    .content__popup {
        display: flex;
    }

    .cnvid {
        margin: 0;
    }

    .vct {
        order: -1 !important;
        margin-left: 0;
    }
}