body {
    font-family: Gilroy,Helvetica,Arial,sans-serif;
}

.beginView__wrapper {
    height: 100vh;
    background-size: cover;
    display: flex;
    justify-content: end;
    background-image: url(../img/beginBg.webp);
    position: relative;
    color: #fff;
    transition: 1s all;
}

.topShortDescr {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.25;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topShortDescr:before {
    content: '';
    background-image: url(/img/gift.webp);
    width: 37px;
    height: 37px;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}

.beginView__center {
    margin-bottom: 42px;
    padding-top: 22%;
}

.beginView__text {
    border-left: 1px solid hsla(0,0%,100%,.16);
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 32px;
    box-sizing: border-box;
    width: 40%;
    transition: 1s all;
    right: 0;
}

.started .beginView__text{
    right: -100%;
}

.footerContacts .number a {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: #fff;
    text-decoration: none;
}

.footerContacts .company {
    font-size: 10px;
    font-weight: 300;
    line-height: 1.4;
}

h1.title {
    font-size: 30px;
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: normal;
    
}

h2.descr {
    font-size: 18px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    margin-top: 18px;
}

.iti__flag-container {
    display: none;
}

.button {
    background: #d34085;
    border-radius: 40px;
    color: #fff;
    border: none;
    font-size: 16px;
    padding: 18px 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 4px 0 rgb(211 64 133 / 20%);
    cursor: pointer;
}

.button:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    background: -webkit-gradient(linear,left top,right top,color-stop(10%,hsla(0,0%,100%,.1)),color-stop(20%,hsla(0,0%,100%,.2)),to(hsla(0,0%,100%,.6)));
    background: linear-gradient(90deg,hsla(0,0%,100%,.1) 10%,hsla(0,0%,100%,.2) 20%,hsla(0,0%,100%,.6));
    width: 20px;
    -webkit-transform: skewX(-45deg);
    transform: skewX(-45deg);
    left: -20%;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    -webkit-animation-name: blick;
    animation-name: blick;
    -webkit-animation-duration: 6s;
    animation-duration: 6s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.button:hover {
    background: #b72a6b;
}

@-webkit-keyframes blick {
    15%,to {
        left: 110%
    }
}

@keyframes blick {
    15%,to {
        left: 110%
    }
}

.mainQuiz {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.mainQuiz_item {
    margin: 0 auto;
    max-width: 1024px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 570px;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    border: 5px solid #e6e6e6;
    border-radius: 4px;
    -webkit-box-shadow: 0 7px 15px 0 rgb(0 0 0 / 15%);
    box-shadow: 0 7px 15px 0 rgb(0 0 0 / 15%);
    overflow-x: hidden;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.quiz__answer_vars {
    display: flex;
    justify-content: end;
}

.answer_item {
    margin: 0;
    border-radius: 4px;
    border: 1px solid #eaeaea;
    transition: .2s ease-out;
    overflow: hidden;
    margin-right: 20px;
    cursor: pointer;
    width: 20%;
    margin-bottom: 20px;
    transition: 1s all;
    position: relative;
}

.answer_item.answer-image_checked:after {
    content: '';
    display: block;
    position: absolute;
    right: 15px;
    top: 15px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background-color: hsla(0,0%,100%,.5);
    -webkit-box-shadow: .6px 1.9px 6px 0 rgb(211 64 133 / 20%);
    box-shadow: .6px 1.9px 6px 0 rgb(211 64 133 / 20%);
    border: 2px solid rgb(211 64 133);
}

.answer_item.answer-image_checked:before {
    content: "";
    width: 1.25em;
    height: 1.25em;
    -webkit-transition: -webkit-transform .15s ease-out;
    transition: -webkit-transform .15s ease-out;
    transition: transform .15s ease-out;
    transition: transform .15s ease-out,-webkit-transform .15s ease-out;
    border-radius: 50%;
    position: absolute;
    background-color: rgb(211 64 133);
    right: 22px;
    top: 22px;
    display: block;
    z-index: 1;
}
.activeQuiz .answer_item{
    width: 32%;
}

.answer_item:hover,.answer-image_checked {
    border-color: rgb(211 64 133 / 50%);
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,.1);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.1);
}

.quiz__controll {
    border-top: solid 1px #f3f3f3;
    display: flex;
    justify-content: space-between;
    padding: 28px;
}

.answer_item .img img {
    width: 100%;
}

.quiz__title {
    color: #363636;
    font-size: 28px;
    text-align: left;
    margin-bottom: 12px;
    line-height: 1.2;
    padding-top: 30px;
}

.answer_item .name {
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    text-align: left;
    color: #69748c;
}

.quiz__top {
    padding: 0 30px;
}

.quiz__questions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.quiz__sidebar {
    background: #f7f7f7;
    padding: 32px 18px;
    box-sizing: border-box;
    max-width: 260px;
    transition: .8s all;
    right: -30%;
    position: relative;
}

.activeQuiz .quiz__sidebar {
    right: 0;
}

.quiz__sidebar .quiz__admin .avatar {
    width: 70px;
    position: relative;
}

.quiz__sidebar .quiz__admin .avatar img {
    width: 100%;
    overflow: hidden;
    border-radius: 100%;

}

.quiz__sidebar .quiz__admin .avatar:after {
    box-sizing: border-box;
    position: absolute;
    border-radius: 50%;
    -webkit-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    display: block;
    border: 2px solid #fff;
    background-color: #1bb157;
    width: 12px;
    height: 12px;
    top: 54px;
    left: 54px;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0,0,0,.16);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.16);
    content: '';
}

.quiz__sidebar .quiz__admin_talk:after {
    content: '';
    display: block;
    border: 10px solid transparent;
    border-bottom: 8px solid white;
    position: absolute;
    top: -18px;
    left: 26px;
}

.quiz__sidebar .quiz__admin_talk {
    background: #fff;
    -webkit-box-shadow: 0 2px 6px 0 rgb(0 0 0 / 5%);
    box-shadow: 0 2px 6px 0 rgb(0 0 0 / 5%);
    border-radius: 4px;
    -webkit-transition: height .3s linear;
    transition: height .3s linear;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.54;
    padding: 10px;
    position: relative;
    margin-top: 14px;
}

.quiz__sidebar .quiz__admin {
    display: flex;
    align-items: center;
}

.quiz__admin .name {
    font-size: 16px;
    font-weight: 500;
    color: #2d2d52;
    line-height: 1.125;
}

.quiz__admin .descr {
    font-size: 12px;
    color: #69748c;
    font-weight: 200;
    line-height: 1.15;
}

.quiz__sidebar .quiz__admin .name_data {
    margin-left: 16px;
}

.quiz__controll .loadline {
    width: 65%;
}

.line {
    height: 6px;
    position: relative;
    background: #dbdbdb;
    border-radius: 25px;
    -webkit-box-shadow: inset 0 -1px 1px hsla(0,0%,100%,.3);
    box-shadow: inset 0 -1px 1px hsla(0,0%,100%,.3);
}

.quiz__controll .loadline .done {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 8px;
    height: 18px;
}

.quiz__controll .loadline .done span {
    font-size: 14px;
    color: #d34085;
    font-weight: 500;
    margin-left: 10px;
}

.quiz__controll .nextBtn {
    position: relative;
}

.quiz__controll .extra_control {
    font-size: 11.5px;
    bottom: 8px;
    color: #a6a6a6;
    text-align: center;
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
}

.quiz__controll .extra_control span {
    font-weight: bold;
}


button.button:disabled{
    padding: 14px 28px;
}

button:disabled{
    opacity: .7;
    cursor: not-allowed;
}

.quiz__controll .controls {
    display: flex;
    justify-content: space-between;
}

.quiz__controll .btnPrev button {
    width: 44px;
    height: 44px;
    border-radius: 100%;
    border: 1px solid rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    opacity: .7;
    cursor: pointer;
}

.quiz__controll .btnPrev button svg {
    width: 18px;
    fill: currentColor;
}

.quiz__controll .nextBtn svg {
    width: 18px;
    fill: #fff;
    margin-left: 10px;
}

.quiz__controll .nextBtn button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px
}

.mobile{
    display: none;
}


.rulesWrapper{
    display: none;
}

.anotherDescr {
    color: #4a4a4a;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.25;
    margin-top: 16px;
    text-align: center;
    max-width: 660px;
}

.vkLink svg {
    width: 75px;
    fill: #b1b5be;
}
.vkLink {
    margin-top: 24px;
}

.quiz__sidebar-mobile {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 20px 20px 20px 3px;
    color: #2e2e54;
    background: #f0f0f0;
}

.quiz__sidebar-mobile{
    display: none;
}

.quiz__sidebar-mobile .avatar img {
    width: 40px;
    border-radius: 100%;
}

.quiz__sidebar-mobile .quiz__admin {
    display: flex;
    align-items: center;
}

.quiz__sidebar-mobile .name_data {
    display: flex;
    align-items: center;
}

.quiz__sidebar-mobile .quiz__admin_talk {
    color: #2e2e54;
    margin-top: 4px;
    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    line-height: 20px;
}

.quiz__sidebar-mobile  .short_info {
    margin-left: 10px;
}

.quiz__sidebar-mobile .quiz__admin .descr {
    color: #69748c;
    font-weight: 400;
    line-height: 1.25;
    margin: 0 0 0px 8px;
    white-space: nowrap;
    overflow: hidden;
    word-break: break-word;
    text-overflow: ellipsis;
}

.quiz__sidebar-mobile .quiz__admin .descr:before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 2.5px;
    background-color: #11983f;
    margin: 5px 7px 1px 0;
    color: #69748c;
}

.final_form .mainQuiz_item {
    flex-direction: column;
    align-items: center;
    max-width: 1024px;
    width: 100%;
    justify-content: center;
    padding: 0 16%;
}

.doneLoaded {
    display: block;
    height: 100%;
    border-radius: 20px;
    background-image: -webkit-gradient(linear,left top,right top,from(#b72a6b),to(#dd699f));
    background-image: linear-gradient(90deg,#b72a6b,#dd699f);
    -webkit-box-shadow: inset 0 2px 9px rgb(255 255 255 / 30%), inset 0 -2px 6px rgb(0 0 0 / 40%), 0.6px 1.9px 7px 0 rgb(211 64 133 / 50%);
    box-shadow: inset 0 2px 9px hsl(0deg 0% 100% / 30%), inset 0 -2px 6px rgb(0 0 0 / 40%), 0.6px 1.9px 7px 0 rgb(211 64 133 / 50%);
    position: relative;
    width: 0;
    transition: all .3s ease;
}

.doneLoaded:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-image: linear-gradient(-45deg,hsla(0,0%,100%,.08) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.08) 0,hsla(0,0%,100%,.08) 75%,transparent 0,transparent);
    z-index: 1;
    background-size: 20px 20px;
    -webkit-animation: move 1.5s linear infinite;
    animation: move 1.5s linear infinite;
    border-radius: 20px;
    overflow: hidden;
    transition: 1s all;
}

.final_form .doneLoaded {
    width: 95%;
}

@-webkit-keyframes move {
    0% {
        background-position: 0 0
    }

    to {
        background-position: 20px 20px
    }
}

@keyframes move {
    0% {
        background-position: 0 0
    }

    to {
        background-position: 20px 20px
    }
}

.final_form .what_todo {
    margin: 20px 0;
    font-size: 28px!important;
    color: #2e2e54;
    text-align: center;
}

.final_form .descr {
    text-align: center;
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    color: rgb(105,116,140);
}

.final_form .line {
    width: 100%;
}

.final-page__title {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
    color: #69748c;
}

.final_form_sender {
    position: relative;

}

.final_form_sender input#phone {
    border: 1px solid #d34086;
    font-size: 18px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    border-radius: 4px 0 0 4px;
    height: 62px;
    outline: none;
    box-sizing: border-box;
}

.final_form_sender .iti__selected-flag{
    border-right: 1px solid #d10a34;

}

.final_form_sender .top {
    display: flex;
    align-items: center;
}

.final_form_sender .lead-form__agreement {
    margin-top: 20px;
    line-height: 1.25;
    font-size: 12px;
    text-align: left;
    opacity: 0.8;
}

.lead-form__agreement .control-label {
    color: rgb(172 167 199);
    display: block;
    margin-left: 10px;
    font-size: 9px;
    cursor: pointer;
}

.b-checkbox.checkbox {
    display: flex;
    align-items: center;
}

.lead-form__agreement input[type="checkbox"]:checked+.check {
    background-color: #d34085;
    background-size: 0.9rem;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.lead-form__agreement .checkbox input[type="checkbox"]+.check {
    width: 12px;
    height: 12px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid #7a7a7a;
    -webkit-transition: background .15s ease-out;
    transition: background .15s ease-out;
    background: transparent;
}


.lead-form__agreement .b-checkbox.checkbox input[type=checkbox]:checked+.check {
    background-size: 0.7rem!important;
}

.lead-form__agreement .check {
    border: none;
}

.lead-form__agreement input[type="checkbox"]:checked+.check {
    background: #d34085 url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1 1'%3E%3Cpath d='M.04.627L.146.52.43.804.323.91zm.177.177L.854.167.96.273.323.91z' fill='%23fff'/%3E%3C/svg%3E") no-repeat 50%;
    border-color: #d34085;
}

.b-checkbox.checkbox input {
    pointer-events: none;
}

.b-checkbox.checkbox input[type=checkbox] {
    position: absolute;
    left: 0;
    opacity: 0;
    outline: none;
    z-index: -1;
}


.lead-form__agreement a {
    color: rgb(172 167 199);
    text-decoration: none;
}

canvas#canvas {
    width: 300px;
    height: 100px;
    border: 1px solid #000;
}

.final_form_sender .form_title {
    text-transform: uppercase;
    padding-left: 3px;
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: 1.2px;
    text-align: left;
    color: #2e2e54;
    margin-bottom: 4px;
}

.percent:after {
    content: '';
    border: 4px solid transparent;
    border-top: 6px solid #dd699f;
    position: absolute;
    bottom: -8px;
    left: 6px;
}
.percent {
    font-size: 14px;
    color: #dd699f;
    position: absolute;
    right: -14px;
    top: -23px;
    z-index: 9;
    font-weight: 500;
}

.final_form_sender .button svg {
    fill: #fff;
    width: 18px;
    margin-right: 6px;
    margin-top: -2px;
}

.final_form_sender .button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 40px 40px 0;
    height: 62px;
}

.thanksBlock{
    display: none;
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #fff;
}

.thanksText {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.thanksText .title {
    font-weight: 300;
    color: rgb(54 54 54);
    font-size: 2rem;
}

.thanksText .descr {
    color: #4a4a4a;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.25;
    margin-top: 16px;
    text-align: center;
}

.iti__flag {background-image: url("../include/intl-tel-input-master/img/flags.png");}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {background-image: url("../include/intl-tel-input-master/img/flags@2x.png");}
}

@media screen and (max-width: 1200px ){
    .mainQuiz_item {
        height: 100vh;
        max-width: 100%;
        width: 100%;
        justify-content: space-between;
    }
    .answer_item {
        width: 45%;
    }
    .quiz__answer_vars {
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

@media screen and (max-width: 820px ){
    
    .quiz__controll .controls {
        margin-left: 14px;
    }

    .answer_item {
        width: 220px;
    }

    .quiz__sidebar {
        display: none;
    }

    .mainQuiz_item {
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    .quiz__controll .extra_control{
        display: none;
    }

    .quiz__controll .loadline .done span{
        color: #fff;
    }

    .quiz__controll {
        background-color: rgba(0,0,0,.4);
        padding: 12px;
        color: #fff;
    }

    .quiz__sidebar {
        display: none;
    }

    .quiz__top {
        padding: 0 16px;
    }

    .quiz__sidebar-mobile{
        display: flex;
    }
    
    .quiz__answer_vars {
        margin-top: 20px;
    }

    .quiz__title {
        font-size: 22px;
    }

    .answer_item {
        width: 31%;
        margin-right: 0;
        min-width: 295px;
    }

    .beginView__wrapper {
        flex-direction: column;
        background-image: url(../img/bgMob.png);
        background-size: 100%;
        background-repeat: no-repeat;
    }

    h1.title:before {
        background-color: #000;
    }

    .footerContacts {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: end;
        height: 100%;
    }
    .footerContacts .number a {
        font-size: 19px;
        color: #d34086;
        text-align: center;
        display: block;
    }

    .beginView__center {
        border-top: solid 1px rgba(0,0,0,.1);
        margin-top: 16px;
        padding-top: 0;
    }


    h1.title {
        font-weight: 500;
        font-size: 26px;
    }

    h2.descr {
        font-size: 16px;
        font-weight: 500;
        font-style: normal;
        font-stretch: normal;
        line-height: 1.33;
        letter-spacing: normal;
        color: rgb(119 123 149);
    }

    .beginView__text {
        width: 100%;
        background: #fff;
        color: #000;
        height: 70%;
        justify-content: flex-start;
    }

    


}

 @media screen and (max-width: 560px ){
    .final_form_sender input#phone {
        width: 100%;
    }
        .quiz__answer_vars {
            justify-content: center;
        }
        .activeQuiz .answer_item {
            width: 100%;
        }
        .quiz__controll .nextBtn button {
            padding: 9px 7px;
            font-size: 12px;
        }
        .final_form .mainQuiz_item {
            padding: 0 5%;
        }
        .quiz__controll .btnPrev button {
            width: 36px;
            height: 36px;
        }
    }