/*--- default ---*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Lora', Arial, sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.formassager {    display: none;}
img {
    max-width: 100%;
    height: auto;
}

.container {
    padding: 0 20px;
}

.container-inside {
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
}

@font-face {
    font-family: "Lora";
    font-weight: normal;
    font-style: normal;
    src: url('/fonts/Lora-Regular.otf') format('OpenType');
    src: url('/fonts/Lora-Regular.eot'),
         url('/fonts/Lora-Regular.woff')format("woff"),
         url('/fonts/Lora-Regular.svg')format("svg"),
         url('/fonts/Lora-Regular.ttf')format("truetype");
}

@font-face {
    font-family: "Lora";
    font-weight: 700;
    font-style: normal;
    src: url('/fonts/Lora-Bold.otf') format('OpenType');
    src: url('/fonts/Lora-Bold.eot'),
         url('/fonts/Lora-Bold.woff')format("woff"),
         url('/fonts/Lora-Bold.svg')format("svg"),
         url('/fonts/Lora-Bold.ttf')format("truetype");
}

/*--- default ---*/

.test-page-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.test-page-bg::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: -1;
}

/* --- INTRO PAGE --- */

.finish-page .test-page--wrapper {
    height: inherit;
    padding: 180px 0;
}

.test-page--wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100vh;
}

.test-page--in {
    max-width: 800px;
    margin: 0 50px;
}

.intro-page .test-page--in  {
    margin: 0;
}

.intro-page .question {
    text-transform: uppercase;
}

.question {
    text-align: center;
    color: #fce001;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.4;
}

.question-descr {
    font-size: 20px;
    margin-top: 40px;
    margin: 40px auto 0 auto;
    color: #fce001;
}

.question-descr p {
    margin-bottom: 15px;
}

.question-descr p:last-child {
    margin-bottom: 0;
}

.begin-test-btn--wrapper {
    text-align: center;
}

.begin-test-btn {
    display: inline-block;
    padding: 15px 45px;
    background: #FCE001;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 30px;
    border: 1px solid #475f82;
    cursor: pointer;
    -webkit-transition: all 250ms ease;
    transition: all 250ms ease;
    margin-top: 40px;
}

.begin-test-btn:hover {
    background: transparent;
    color: #fff;
}

.arrow-left,
.arrow-right{
    position: absolute;
    width: 74px;
    height: 74px;
    left: 10px;
    background: url(/images/arrow-sprite.png) no-repeat 0px 0px;
    right: auto;
    top: 50%;
    font-size: 0;
    z-index: 10;
/*    margin: 10px;*/
    margin-top: -37px;
    cursor: pointer;
    opacity: 0.5;
}
.arrow-right{
    left: auto;
    right: 10px;    
    background-position: -84px 0px;
}
.arrow-left:hover,
.arrow-right:hover{
    opacity: 1;
}
.arrow-left.disabled,
.arrow-right.disabled{
    text-align: right;
    display: none;
    cursor:default;
}

/*@media screen and (max-width: 880px) {
    .arrow-left,
    .arrow-right {
        top: initial;
        bottom: -80px;
    }

    .arrow-left {
        left: 50%;
        margin-left: -100px;
    }

    .arrow-right{
        left: auto;
        right: 50%;
        margin-right: -100px;
    }
}*/

@media screen and (max-width: 580px) {
    .arrow-left,
    .arrow-right{
        width: 55px;
        height: 55px;
        background: url(/images/arrow-sprite.png) no-repeat -9px -84px;
    }
    .arrow-right{  
         background-position: -74px -84px;
    }
}
/* --- INTRO PAGE --- */


/* --- TEST PAGE --- */

.answers-block ul {
    margin: 40px 0 0 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.answers-block ul li {
    cursor: pointer;
    list-style: none;
    height: 100%;
    font-size: 18px;
    margin: 10px;
    color: #fff !important;
    position: relative;
    text-align: left;
    padding-left: 40px;
    padding-top: 3px;
    transition: all 250ms ease;
}

.answers-block ul li span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    background: #FCE001;
    border-radius: 50%;
    opacity: 0;
    transition: all 250ms ease;
}

.answers-block ul li span {
   transition: all 250ms ease; 
}

.answers-block ul li:hover {
    color: #fbcbc1 !important;
}

.answers-block ul li:hover span {
   transform: scale(1.2);
}

.answers-block ul li:hover span::before {
    opacity: 1;
}

/* - answer-v1 - */

.answer-v1 li {
    color: #fff;
}

.answer-v1 li span {
    width: 30px;
    height: 30px;
    border: 2px solid #FCE001;
    border-radius: 50px;
    vertical-align: middle;
    position: absolute;
    left: 0;
    top: 0;
}

.answer-v1 li.active span::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    background: #fbcbc1;
    border-radius: 50%;
}


/* - answer-v1 - */


/* - answer-v2 - */

.answer-v2 li {
    z-index: 1;
}

.answer-v2 li div {
    position: relative;
}

.answer-v2 li.active div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.answer-v2 li.active div::after {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: url(/images/check.png) no-repeat center;
}

.answer-v2 li div img {
    display: block;
    margin: 0 auto;
}



/* - answer-v2 - */


/* - answer-v3 - */

.answer-v3 li {
    color: #fff;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 3px;
}

.answer-v3 li.active {
    border: 1px solid #fff;
}



/* - answer-v3 - */


/* - answer-v4 - */

.answer-v4 li img {
    display: block;
    margin: 0 auto;
}

.answer-v4 li span {
    display: block;
    padding: 10px;
    color: #fff;
    width: 200px;

}

.answer-v4 li.active span {
    background: #5fb0c2;
    color: #fff;
}

.answer-v4 li div {
    position: relative;
}

.answer-v4 li.active>div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
}

.answer-v4 li.active>div::after {
    content: "";
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: url(/images/check.png) no-repeat center;
}



/* - answer-v4 - */

.preview-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.preview-image img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.preview-text {
    color: #fff;
    margin-top: 15px;
    line-height: 1.4;
}



/* --- TEST PAGE --- */


/* --- FINISH PAGE --- */

.congrats-text {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    color: #fce001;
    text-align: center;
    line-height: 1.4;
}

.congrats-descr,
.result-text {
    margin-top: 40px;
    font-size: 19px;
    color: #fff;
}

.result-text b {
    font-size: 24px;
    background: #fbcbc1;
    padding: 5px 10px;
    color: #333;
}

.result-text p {
    margin-top: 0px;
    text-indent: 0px;
}

.result-text span {
    color: #fff;
}

.result-text ul {
    margin: 20px 0 0 45px;
    list-style: none;
}

.result-text ul li {
    margin-bottom: 8px;
}

.result-text ul li:last-child {
    margin-bottom: 0;
}

.result-text ul li::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
    width: 20px;
    height: 20px;
/*     background: url(/images/flower.png) no-repeat; */
} 

.finish-video,
.join-to-team {
    margin-top: 40px;
}

.join-to-team {
    text-align: center;
}

.join-to-team a {
    display: inline-block;
    padding: 15px 45px;
    background: #FBCBC1;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 30px;
    border: 1px solid #FBCBC1;
    -webkit-transition: all 250ms ease;
    transition: all 250ms ease;
    color: #333;
}

.join-to-team a:hover {
    background: transparent;
    color: #fff;
}

.finish-bottom-text {
    background: rgba(251, 203, 193, 0.45);
    padding: 10px;
    border-radius: 2px;
    border: 3px solid rgba(251, 203, 193, 0.55);
}

@media screen and (max-width: 880px) {
    .finish-page .arrow-left {
        left: 0;
        margin: 0;
        top: 70px;
    }
}


/* --- FINISH PAGE --- */

@media screen and (max-width: 880px) {
    .test-page--wrapper {
        height: inherit;
        min-height: 660px;
        padding: 40px 0;
    }
}

@media screen and (max-width: 700px) {
    .answer-v4 li span, 
    .answer-v4 li div,
    .answer-v2 li div {
		width: 200px;
		margin: 0 auto;
	} 
}

@media screen and (max-width: 480px) {
    .question,
    .congrats-text {
        font-size: 16px;
    }
    .congrats-text {
        padding: 0 40px;
    }
    .question-descr,
    .congrats-descr,
    .result-text {
        font-size: 16px;
    }

    .test-page--in {
        max-width: 100%;
        margin: 0;
    }

    .answers-block ul li {
        width: 100%;
        font-size: 15px;
    }

    .test-page--in {
    	max-width: 100%;
    }

    .answers-block ul li {
        width: 100%;
    }

    .test-page--wrapper {
        min-height: 600px;
    }

    .arrow-left, .arrow-right {
        top: 80px;
    }

    .question-page .container{
        padding: 0 10px;
    }
}


/* --- chess block --- */

.chess-block ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.chess-block ul li {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background: #fff0;
    padding: 20px;
    width: calc(50% - 10px);
    margin: 5px;
}

.chess-block ul li:last-child {
    margin: 5px;
}

.chess-block ul li::before {
    display: none;
}

.chess-block ul li .prod-rec--text {
    margin-right: 20px;
}

.chess-block ul li .prod-rec--text p {
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    text-indent: 0;
    margin-top: 0;
}

.chess-block ul li .prod-rec--text .prod-rec--link {
    margin-top: 20px;
}

.chess-block ul li .prod-rec--text .prod-rec--link a {
    display: block;
    text-align: center;
    border: 3px solid #fce001;
    border-radius: 3px;
    padding: 5px;
    font-size: 25px;
    text-transform: uppercase;
    color: #fce001;
    font-weight: bold;
    -webkit-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    transition: all 250ms ease;
}

.chess-block ul li .prod-rec--text .prod-rec--link a:hover {
    background: #FBCBC1;
}

.chess-block ul li .prod-rec--image {
    width: 100%;
    border: 3px double #fbcbc1;
}

.chess-block ul li .prod-rec--image img {
    display: block;
}

@media screen and (max-width: 800px) {
    .chess-block ul li {
        width: 100%;
    }
    .chess-block ul li:last-child {
        margin-bottom: 0;
    }
}

@media screen and (max-width: 600px) {
    .begin-test-btn {
        padding: 15px 15px;
        font-size: 12px;
    }
}

@media screen and (max-width: 520px) {
    .chess-block ul li {
        flex-direction: column;
    }
    .chess-block ul li .prod-rec--text {
        margin: 20px 0 0 0;
        order: 1;
    }
    .chess-block ul li .prod-rec--text p {
        text-align: center;
    }
}
/* --- chess block --- */