@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy/Gilroy-Medium.eot');
    src: local('Gilroy Medium'), local('Gilroy-Medium'), url('../fonts/Gilroy/Gilroy-Medium.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy/Gilroy-Medium.woff') format('woff'), url('../fonts/Gilroy/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy/Gilroy-SemiBold.eot');
    src: local('Gilroy SemiBold'), local('Gilroy-SemiBold'), url('../fonts/Gilroy/Gilroy-SemiBold.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy/Gilroy-SemiBold.woff') format('woff'), url('../fonts/Gilroy/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy/Gilroy-ExtraBold.eot');
    src: local('Gilroy ExtraBold'), local('Gilroy-ExtraBold'), url('../fonts/Gilroy/Gilroy-ExtraBold.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy/Gilroy-ExtraBold.woff') format('woff'), url('../fonts/Gilroy/Gilroy-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy/Gilroy-Regular.eot');
    src: local('Gilroy Regular'), local('Gilroy-Regular'), url('../fonts/Gilroy/Gilroy-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy/Gilroy-Regular.woff') format('woff'), url('../fonts/Gilroy/Gilroy-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../fonts/Gilroy/Gilroy-Light.eot');
    src: local('Gilroy Light'), local('Gilroy-Light'), url('../fonts/Gilroy/Gilroy-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/Gilroy/Gilroy-Light.woff') format('woff'), url('../fonts/Gilroy/Gilroy-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MazzardM';
    src: url('../fonts/MazzardM/MazzardM-Medium.ttf');
    src: local('Mazzard M Medium'), local('MazzardM-Medium'), url('../fonts/MazzardM/MazzardM-Medium.ttf') format('embedded-opentype'), url('../fonts/MazzardM/MazzardM-Medium.woff2') format('woff2'), url('../fonts/MazzardM/MazzardM-Medium.woff') format('woff'), url('../fonts/MazzardM/MazzardM-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

html, body {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    letter-spacing: 0.32px;
    font-family: Gilroy, serif;
    height: 100%;
    max-height: 100%;
}

body {
    color: #000000;
    background-color: #f5f5f5;
}

body.active-modal {
    overflow: hidden;
}

body.paymentMethods {
    background-color: #fff;
}

body.paymentMethods.w-pt {
    padding-top: 84px;
}

button {
    border-radius: 48px;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    /*text-transform: uppercase;*/
    background: linear-gradient(135deg, #0074E8 0%, #1429DE 55.21%, #2B0087 100%);
    color: #ffffff;
    white-space: nowrap;
    padding: 24px 48px;
    border: none;
    letter-spacing: 0.32px;
    transition: all 0.3s ease-in-out;
    font-family: MazzardM, serif;
    cursor: pointer;
}

button:disabled {
    background: #EBEBEB;
    cursor: default;
}

a, a:hover {
    text-decoration: underline;
    color: #0080FF;
}

input, textarea {
    border-radius: 32px;
    background: rgba(235, 235, 235, 0.5);
    padding: 19px 24px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(235, 235, 235, 0.5);
    outline: none;
    color: #000000;
}

input:invalid {
    border-color: #ff0000;
}

input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

input[type=email] {
    padding-left: 65px;
    background: url(../images/email.svg) left 20px center no-repeat rgba(235, 235, 235, 0.5);
    background-size: 32px 32px;
}

nav ul, nav ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-wrapper {
    width: 100%;
    max-width: 375px;
    margin: 0 auto;
    padding: 0 32px;
}

body > main > .page-wrapper {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body.paymentMethods .page-wrapper {
    max-width: 384px;
    /*padding: 0;*/
}

strong {
    font-weight: 600;
}

.highlight {
    color: #0074E8;
}

.red {
    color: #F00;
}

.pink {
    color: #FF0080;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: #000000;
    display: block;
    line-height: 1.3;
    font-weight: 500;
    font-family: Gilroy, serif;
    margin: 0 0 26px 0;
}

h1, .h1 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

h2, .h2 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

h3, .h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

h4, .h4 {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}

h5, .h5 {
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

h6, .h6 {
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

.row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

/* grid */
.grid-columns {
    display: grid;
    gap: 32px;
    align-items: flex-start;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    width: 100%;
}

.grid-columns.compact {
    gap: 20px;
}

.grid-columns.grid-columns-1 {
    grid-template-columns: 1fr;
}

.grid-columns.grid-columns-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-columns.grid-columns-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid-columns.grid-columns-2-1 {
    grid-template-columns: 2fr 1fr;
}

.grid-columns.grid-columns-1-2 {
    grid-template-columns: 1fr 2fr;
}

.grid-columns.grid-columns-auto-1 {
    grid-template-columns: auto 1fr;
}

.grid-columns > .grid-entire-row {
    grid-column: 1 / -1;
}

.grid-columns.stretch {
    align-items: stretch;
}

main {
    padding: 0;
    height: 100%;
}

#quiz-container {
    margin: 0 0 110px 0;
}

#slide-header {
    padding: 40px 0 15px 0;
}

#slide-header-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

#slide-header #slide-header-back-button,
#slide-header #slide-header-numbers {
    width: 70px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#slide-header #slide-header-back-button {
    justify-content: flex-start;
}

#slide-header #slide-header-numbers {
    justify-content: flex-end;
}

#slide-header #slide-header-back-button button {
    background: url(../images/arrow-left.svg) center center no-repeat;
    background-size: contain;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 24px;
}

#slide-header #slide-header-numbers {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    gap: 4px;
}

#slide-header #slide-header-numbers #slide-header-numbers-current {
    color: #000000;
}

#slide-header #slide-header-numbers #slide-header-numbers-total {
    color: #bfbfbf;
}

#slide-header.hidden-numbers #slide-header-numbers * {
    display: none;
}

#slide-header.hidden-back-button #slide-header-back-button * {
    display: none;
}

#slide-header.hidden-progress #slide-header-progress {
    visibility: hidden;
}

#quiz-submit-block.hidden-quiz-submit-block {
    display: none;
}

#slide-header #slide-header-progress {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    min-height: 3px;
    background: #BFBFBF;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 32px;
}

#slide-header #slide-header-progress #slide-header-progress-complete {
    height: 3px;
    background: linear-gradient(to right, #0074E8, #002ABF, #430098, #A00090);
    min-width: 1px;
}

#quiz-body {
    min-height: 300px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.67);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: opacity 0.2s ease;
    opacity: 1;
    gap: 26px;
}

#quiz-body em {
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
}

.loading #quiz-body {
    opacity: 0;
}

#quiz-submit-block {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 32px 16px 32px;
    z-index: 3;
}

#quiz-submit-button {
    width: 100%;
    max-width: 311px;
    position: relative;
    z-index: 2;
    box-shadow: 0px 3px 30px 30px rgba(245, 245, 245, 1);
}

#quiz-body .h1,
#quiz-body .h2,
#quiz-body .h3,
#quiz-body .h4,
#quiz-body .h5,
#quiz-body .h6,
#quiz-body h1,
#quiz-body h2,
#quiz-body h3,
#quiz-body h4,
#quiz-body h5,
#quiz-body h6,
#quiz-body p {
    text-align: center;
    margin: 0;
    letter-spacing: 0.3px;
}

#quiz-body p {
    font-weight: 600;
    letter-spacing: 0.15px;
}

#quiz-body .h1:first-child,
#quiz-body .h2:first-child,
#quiz-body .h3:first-child,
#quiz-body .h4:first-child,
#quiz-body .h5:first-child,
#quiz-body .h6:first-child,
#quiz-body h1:first-child,
#quiz-body h2:first-child,
#quiz-body h3:first-child,
#quiz-body h4:first-child,
#quiz-body h5:first-child,
#quiz-body h6:first-child {
    margin-top: 10px;
}

#quiz-body .questions {
    margin: -10px 0 0 0;
    width: 100%;
}

#quiz-body .questions label {
    margin: 0;
}

#quiz-body img {
    max-width: 100%;
}

#quiz-body img + p,
#quiz-body img + h1,
#quiz-body img + h2,
#quiz-body img + h3,
#quiz-body img + h4 {
    margin-top: 32px;
}

#quiz-body .h1 em,
#quiz-body .h2 em,
#quiz-body .h3 em,
#quiz-body .h4 em,
#quiz-body .h5 em,
#quiz-body .h6 em,
#quiz-body h1 em,
#quiz-body h2 em,
#quiz-body h3 em,
#quiz-body h4 em,
#quiz-body h5 em,
#quiz-body h6 em {
    display: block;
    text-align: center;
    margin: 0;
    font-size: 16px;
}

.ask-window-container {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ask-window-background {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(181, 181, 181, 0.50);
    backdrop-filter: blur(6px);
}

.ask-window {
    width: 313px;
    min-height: 184px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.16);
    border-radius: 24px;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.ask-window .ask-window-title {
    color: #818181;
    font-size: 16px;
    font-weight: 400;
}

.ask-window .ask-window-body {
    font-size: 18px;
    color: #000000;
    font-weight: 600;
}

.ask-window .ask-window-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ask-window button {
    padding: 13px 24px;
    color: #818181;
    font-size: 16px;
    line-height: 16px;
    background: #EBEBEB;
    border-radius: 24px;
    outline: none;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.ask-window button:active {
    color: #ffffff;
    background: #0080FF;
}

.ask-window button svg path {
    fill: #818181 !important;
}

.ask-window button:active svg path {
    fill: #ffffff !important;
}

.text-additional{
    margin-top: 24px;
    font-size: 12px;
    color: #818181;
    font-weight: 600;
    text-align: center;
}

.text-additional a{
    color: inherit;
}


/* preloader */
@keyframes waiting-spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.waiting-spinner-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background-color: transparent;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    -background: #fafafa;
}
.waiting-spinner-wrapper .waiting-spinner{
    display: none;
}
.waiting-spinner-wrapper.active{
    opacity: 1;
    z-index: 1000;
}
.waiting-spinner-wrapper.active .waiting-spinner{
    display: block;
    width: 64px;
    height: 64px;
    animation: waiting-spinner 1.2s linear infinite;
    background: url(/images/loader/gradient-loader-blue.svg) center center no-repeat;
    background-size: contain;
}
body.root-page .waiting-spinner-wrapper {
    background: #ffffff;
}
body.root-page .waiting-spinner-wrapper.active .waiting-spinner{
    background: url(/images/loader/gradient-loader-grey.svg) center center no-repeat;
    background-size: contain
}
#preloader-frame{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: -1;
    background-color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease-in-out 0.2s;
}
#preloader-frame.active{
    z-index: 10;
    opacity: 1;
}