/* `XHTML, HTML4, HTML5 Reset
----------------------------------------------------------------------------------------------------*/

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
dialog,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
font,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
main,
mark,
menu,
meter,
nav,
object,
ol,
output,
p,
pre,
progress,
q,
rp,
rt,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video,
xmp {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

html,
body {
  height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
/*
  Override the default (display: inline) for
  browsers that do not recognize HTML5 tags.

  IE8 (and lower) requires a shiv:
  http://ejohn.org/blog/html5-shiv
*/
  display: block;
}

b,
strong {
/*
  Makes browsers agree.
  IE + Opera = font-weight: bold.
  Gecko + WebKit = font-weight: bolder.
*/
  font-weight: bold;
}

img {
  color: transparent;
  font-size: 0;
  vertical-align: middle;
/*
  For IE.
  http://css-tricks.com/ie-fix-bicubic-scaling-for-images
*/
  -ms-interpolation-mode: bicubic;
}

ol,
ul {
  list-style: none;
}

li {
/*
  For IE6 + IE7:

  "display: list-item" keeps bullets from
  disappearing if hasLayout is triggered.
*/
  display: list-item;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td,
caption {
  font-weight: normal;
  vertical-align: top;
  text-align: left;
}

q {
  quotes: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

sub,
sup,
small {
  font-size: 75%;
}

sub,
sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

svg {
/*
  For IE9. Without, occasionally draws shapes
  outside the boundaries of <svg> rectangle.
*/
  overflow: hidden;
}

.clear {
        clear: both;
}

.social-share {
        margin-top:  50px;
        margin-left: 20px;
        position: fixed;
        z-index: 1000;
        
        &.pie {
                display: block;
        }
}

.cover {
        background-size: cover;
        background-position: center center;
}

.transition(@duration:600ms, @target:all) {
        -webkit-transition: @target @duration ease;
        -moz-transition: @target @duration ease;
        -o-transition: @target @duration ease;
        transition: @target @duration ease;
}

.box-sizing {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
}

.border-radius( @value: 1000px ) {
        -webkit-border-radius: @value;
        border-radius: @value;
    background-clip: padding-box;
}

.box-scale(@value) {
  -webkit-transform: scale(@value);
     -moz-transform: scale(@value);
      -ms-transform: scale(@value); 
       -o-transform: scale(@value);
          transform: scale(@value);
}

.transform-origin( @x, @y ) {
        transform-origin: @x @y;
        -ms-transform-origin: @x @y;
        -moz-transform-origin: @x @y;
        -o-transform-origin: @x @y;
        -webkit-transform-origin: @x @y;
}


.no-select {
        -webkit-user-select: none;
        -moz-user-select: none;
}

@fontRegular:ProximaNova-Regular;
@fontThin:ProximaNovaT-Thin;
@fontExtrabold:ProximaNova-Extrabld;
@textColor:#000;

.clearfix:before,
.clearfix:after {
  content: '.';
  display: block;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}
.clearfix:after,
.rt-container:after {
  clear: both;
}
.clearfix,
.rt-container {
  zoom: 1;
}

div#page {
  position: relative;
  width: 100%;
  height: auto;
  min-width: 1200px;
  overflow: hidden;
  min-height: 100%;
  background: url(../images/bg.jpg);
  background-size: cover;
  .cont {
    position: relative;
    width: auto;
    width: 800px;
    margin: 0 auto;
    height: auto;
  }
}
.test-start-page {
  	padding-top: 60px;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    .box-sizing;
    .head-img {
      width: 200px;
      height: 160px;
      background: url(../images/start.gif);
      margin: 0 auto;
      margin-bottom: 40px;
    } 
    .title {
      font-family: 'Georgia';
      font-size: 30px;
      line-height: 28px;
      text-align: center;
      color: #fff;
    }
    .subtitle {
      .title;
      font-size: 18px;
      margin-bottom: 25px;
    }
    .description {
      .title;
      font-size: 16px;
      margin-bottom: 25px;
    }
    .auth {
      .description;
      a {
        color: #f3f56a;
      }
    }    

}
.footer {
  background-color: #fff;
}
.test-action-page {
  height: auto;
  .questions {
    width: 600px;
    margin: 0 auto;
    .item {
      margin-top: 50px;
      .title {
        font-family: 'Georgia';
        font-size: 30px;
        color: #fff;
        line-height: 28px;
        margin-bottom: 30px;
        .crt {
          display: block;
          float: left;
          margin-right: 10px;
        }
        .text {
          display: block;
          text-decoration: underline;
          float: left;
          width: 540px;
        }
      }
      .answers {
        .answer-item {
          font-family: 'Georgia';
          padding-left: 100px;
          font-size: 18px;
          line-height: 28px;
          color: #fff;
          margin-bottom: 30px;
          cursor: pointer;
          position: relative;
          display: inline-block;
          &:before {
            content: '';
            display: none;
            width: 35px;
            height: 33px;
            background: url(../images/answer-heart.png);
            position: absolute;
            left:50px;
          }
          &.img {
            background-size: contain;
            width: 180px;
            height: 180px;
            margin-right: 20px;
            float: left;
            padding: 0;
            background-repeat: no-repeat;
            &:before {
              display: none !important;
            }
            &:hover {
              opacity: 0.7;
            }
          }
          &.active {
            color: #fffc00;
            &:before {
              display: block;
            }
          }
          &:hover:not(.active) {
            color: #fffc00;
            opacity: 0.5;
            &:before {
              display: block;
            }
          }
        }
      }
    }
  }
}


.find-a-partner {
        display: block;
        width: 383px;
        height: 184px;
        margin: 40px auto;
        cursor: pointer;
        background: url(../images/btnFinish.png);
        &.disable {
          opacity: 0.5;
        }
        &:hover:not(.disable) {
          height: 178px;
          background-position: 0 -184px;
          margin-bottom: 46px;
        }
    }
.test-finish-page {
    text-align: center;
    .test-start-page;
    padding-bottom: 30px;
    
    .result-small-title {
      font-family: 'Georgia';
      font-size: 16px;
      line-height: 48px;
      color: #fff;
      text-align: center;
    }
    .result-partner-name {
      .result-small-title;
      font-size: 42px;
    }
    .result-partner-img {
      display: inline-block;
      margin: 30px auto;
    }
    .result-partner-description {
      .result-small-title;
      width: 600px;
      line-height: 28px;
      text-align: center;
      margin:0 auto;
      margin-bottom: 30px;
    }

  	.repeat-btn {
  		width: 265px;
  		height: 108px;
  		cursor: pointer;
  	    
  	    background-image: url(../images/btnMore.png);
  	    
  	    float: left;
  	    margin-left: 255px;
  	    margin-right:98px;
  	    cursor: pointer;
  	    
  		&:hover {
  			background-position-y: -109px;
  		}
  	}
    .link-in-btn {
      .find-a-partner;
      background-image: url(../images/btnWhatLover.png);
    }
}




/* SOCIAL BUTTON STYLE */

.social {
  display: inline-block;
  width: auto;
  margin: 0 auto;
  background-color:#fff;
  padding: 20px 25px 12px 25px;
}
.social span {
  width: 150px;
  height: 35px;
  float: left;
  margin-right: 15px;
}

.social span.fb {
  width: 114px;
  height: 40px;
  background: url(../images/socialButtons.png) -20px 0px ;
  &:hover {
    background-position: -20px -40px;
  }
}
.social span.vk {
  float: left;
  width: 131px;
  height: 40px;
  background: url(../images/socialButtons.png) -164px 0;
  &:hover {
    background-position: -164px -40px;
  }
}
.social span.tw {
  float: left;
  width: 110px;
  height: 40px;
  background: url(../images/socialButtons.png) -327px 0;
  margin-right: 0;
  &:hover {
    background-position: -327px -40px; 
  }
}




.social-btn {
  cursor: pointer;
}

.comm {
        width: 920px;
        margin: 0 auto;
        margin-top: 20px;
        
        @active_color: #ffca24;
        
        .comments {
        	background-color: rgba(255, 255, 255, 0.8)!important;
        	
        	.comments-wrapper {
        		padding: 0px 20px 10px 20px!important;
        	}
        }

        .most-read {
                color: #ffffff!important;
        
                a {
                        color: #ffffff!important;
                }
                margin-bottom: 30px;
        
                .container {
                        width: 920px!important;
                        margin: 0 auto;
                
                        .label {
                                padding: 30px 0px;
                                font-family: PTSansPro-Caption;
                                font-size: 19px;
                        }
                
                        .item {
                                width: 200px;
                                float: left;
                                margin-left: 40px;
                        
                                .image {
                                        display: block;
                                        width: 200px;
                                        height: 200px;
                                        background-size: cover;
                                        background-position: 50% 50%;
                                }
                                
                                .title {
                                        display: block;
                                        padding: 10px 0px;
                                        font-family: PTSerif-Regular;
                                        font-size: 18px;
                                        line-height: 20px;
                                        color: #000000;
                                        text-decoration: none;
                                }
                                
                                .lead {
                                        font-family: PTSansPro-Caption;
                                        font-size: 12px;
                                        line-height: 13px;
                                }
                                
                                &:nth-child(2) {
                                        margin: 0px;
                                }
                                
                                &:hover {
                                        .title {
                                                color: @active_color;
                                        }
                                }
                        }
                }
        }
        
        .same-read {
                color: #ffffff!important;
        
                a {
                        color: #ffffff!important;
                }
                margin-bottom: 30px;
                
                .container {
                        width: 920px;
                        margin: 0 auto;
                        
                        .label {
                                padding: 30px 0px;
                                font-family: PTSansPro-Caption;
                                font-size: 19px;
                        }
                        
                        .item {
                                width: 300px;
                                height: 100px;
                                margin-bottom: 30px;
                                float: left;
                                
                                .image {
                                        display: block;
                                        width: 100px;
                                        height: 100px;
                                        float: left;
                                        background-size: cover;
                                        background-position: 50% 50%;
                                        .transition;
                                }
                                
                                .info {
                                        float: left;
                                        width: 170px;
                                        padding: 0px 15px;
                                        
                                        .rubrics {
                                                margin-bottom: 15px;
                                                
                                                 a {
                                                        color: #000000;
                                                        text-decoration: none;
                                                        font-family: MonoCondensed-Bold;
                                                        font-size: 11px;
                                                        line-height: 13px;
                                                        
                                                        &:hover {
                                                                color: @active_color;
                                                        }
                                                 }
                                        }
                                        
                                        .title {
                                                margin-bottom: 20px;
                                                display: block;
                                                font-family: PTSerif-Regular;
                                                font-size: 20px;
                                                line-height: 21px;
                                                color: #000000;
                                                text-decoration: none;
                                                
                                                &:hover {
                                                        color: @active_color;
                                                }
                                        }
                                }
                                
                                &:hover {
                                        .title {
                                                color: @active_color;
                                        }
                                }
                        }
                }
        }
}


@red: #c1000f;
@green: #00b739;
@blue: #0620f4;

.visual-data {
  width: 800px;
  margin: 0 auto;
  position: relative;
  /*display: none;*/

  .place-container {
    
    .place {
      position: relative;
      height: 150px;
    
      .bar {
        @height: 50px;
      
        position: relative;
        height: @height;
        background-color: @blue;
        overflow: hidden;
      
        .runner {
          width: 0px;
          height: 100%;
          position: relative;
          background-color: #000000;
          .transition;
        
          .you {
            position: absolute;
            height: @height;
            top: 0;
            line-height: @height;
            left: 100%;
            width: 100px;
            margin-left: 0px;
            color: @blue;
            font-size: 24px;
          }
        }
        
        .worse-percent {
          position: absolute;
          line-height: @height;
          height: @height;
          width: 100px;
          top: 0px;
          left: 0px;
          color: #ffffff;
          font-size: 34px;
          padding-left: 20px;
        }
        
        .better-percent {
          position: absolute;
          line-height: @height;
          height: @height;
          width: 100px;
          top: 0px;
          left: 100%;
          margin-left: -100px;
          color: #ffffff;
          font-size: 34px;
        }
      }
      
      .worse-count {
        position: absolute;
        width: 200px;
        top: 70px;
        left: 0px;
        text-align: left;
        font-family: ProximaNova-Extrabld;
        font-size: 16px;
        line-height: 20px;
      }
      
      .better-count {
        position: absolute;
        width: 200px;
        top: 70px;
        left: 100%;
        margin-left: -200px;
        text-align: right;
        font-family: ProximaNova-Extrabld;
        font-size: 16px;
        line-height: 20px;
      }
    }
  }
  
  .distribution-container {
    position: relative;
    
    .text-two {
      font-size: 28px;
      line-height: 30px;
      margin-bottom: 15px;
      text-align: left;
      font-family: @fontRegular;
    }
  
    .distribution {
      @height: 250px;
    
      width: 100%;
      padding-bottom: 30px;
      position: relative;
      height: @height + 50px;
      
      .field {
        height: @height;
        position: relative;
        background-color: #ffffff;
      }
      
      .bars {
        position: relative;
        text-align: center;
        height: @height;
        top: -@height;
        cursor: pointer;
      
        .bar {
          position: relative;
          background-color: #000000;
          display: inline-block;
          margin-right: 15px;
          opacity: 0.8;
          
          &:last-of-type {
            margin-right: 0px;
          }
          
          .value {
            width: 100%;
            position: absolute;
            height: 22px;
            top: -22px;
            font-size: 18px;
            text-align: center;
          }
          
          .number {
            font-size: 18px;
            position: absolute;
            width: 100%;
            height: 22px;
            top: 100%;
            text-align: center;
          }
          
          .hint {
            overflow: hidden;
            padding: 0px;
            background-color: #050505;
            color: #fff;
            font-family: @fontRegular;
            font-size: 14px;
            line-height: 20px;
            width: 130px;
            position: absolute;
            top: 0px;
            left: 0px;
            padding: 10px;
            display: none;
            z-index: 100;
          }
          
          &:hover {
            opacity: 1;
          
            .hint {
              display: block;
            }
          }
        }
      }
    }
  }
}
.footer {
      position: relative;
      z-index: 8;
    }
@media (min-width:641px) {
  .answer-item {
    &.img {
      &:nth-child(1) {
        &.active {
          background-image: url(../images/imgQuestion/1a.png) !important;
        }
      }
      &:nth-child(2) {
        &.active {
          background-image: url(../images/imgQuestion/2a.png) !important;
        }
      }
      &:nth-child(3) {
        &.active {
          background-image: url(../images/imgQuestion/3a.png) !important;
        }
      }
      &:nth-child(4) {
        &.active {
          background-image: url(../images/imgQuestion/4a.png) !important;
        }
      }
      &:nth-child(5) {
        &.active {
          background-image: url(../images/imgQuestion/5a.png) !important;
        }
      }
      &:nth-child(6) {
        &.active {
          background-image: url(../images/imgQuestion/6a.png) !important;
        }
      }
      &:nth-child(7) {
        &.active {
          background-image: url(../images/imgQuestion/7a.png) !important;
        }
      }
      &:nth-child(8) {
        &.active {
          background-image: url(../images/imgQuestion/8a.png) !important;
        }
      }
      &:nth-child(9) {
        &.active {
          background-image: url(../images/imgQuestion/9a.png) !important;
        }
      }
    }
  }
  
}
@media (max-width:640px) {
  .test-action-page .questions .item .answers .answer-item.active:before {
    display: none !important;
  }
    #hearts {
      display: none !important;
    }
    .social-shares {
        display: none;
    }
    .social {
      width: 100%;
      background-color: #fff;
      .box-sizing;
      text-align: center;
    }
    .social span.fb {
      float: left;
    }
    .social span {
      margin: 0 auto;
      display: inline-block;
      float: none !important;
    }
    html, body {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    #page {
        min-width: 320px !important;
        .cont {
            width: 87.5% !important;
            padding:0 6.25% !important;
        }
    }

    .test-start-page {
        width: 100%;
        min-width: 320px;
        padding-top: 20px;
        background: url(../images/mobile-bg.jpg);
        background-position: center -80%;
        .links {
          display: none;
        }
        .head-img {
            width: 97px;
            background-size: contain;
            height: 87px;
            margin: 0 auto;
            background-position: center;
            background-repeat: no-repeat;
            margin-bottom: 20px;
        }
        .start-btn {
          width: 184px !important;
          height: 71px !important;
          position: relative !important;
          margin: 0 auto !important;
          background-size: 100%;
          top: 400px !important;
          right:auto !important;
          &:hover {
            background-position: 0 -100% !important;
          }
        }
        .title {
            width: 100%;
            font-size: 20px !important;
            padding: 0;
            box-sizing: border-box;
            line-height: 16px !important;
            margin-bottom: 10px;
            br:first-of-type {
              display: block !important;
            }
        }
        .title-description {
            width: 100%;
            font-size: 18px;
            padding: 0 6.25%;
            box-sizing: border-box;
            line-height: 26px;
        }
        .test-description-wrapper {
            width: 100%;
            height: 490px;
            .description-text {
                position: relative;
                top: 100px;
                float: none;
                width: 100%;
                margin: 0;
                font-size: 14px;
            }
            .auth-links {
                position: relative;
                float: none;
                top: -200px;
                text-align: center;
                margin: 0;
                width: 100%;
                font-size: 12px;
                line-height: 18px;

            }
            .start-btn {
                margin-top: 65px;
            }

        }
    }
    .test-start-page .description {
      margin-bottom: 15px;
    }
    .test-start-page .auth {
      font-size: 12px;
    }
    .test-action-page {
        width: 100%;
        min-width: 320px;
        background: url(../images/mobile-bg.jpg);
        background-size:cover;
        
    }
    .test-action-page .questions {
      width: 100%;
    }
  
    .test-start-page .subtitle {
      font-size: 16px;
      line-height: initial;
    }
    .test-action-page .questions .item {
      margin-top: 20px;
      /*width: 87.5% !important;
      padding:0 6.25% !important;*/
    }
    .test-action-page .questions .item .answers .answer-item {
      padding: 3px 0;
      margin-bottom: 3px;
      font-size: 16px;
      background-color: rgba(0,0,0,0.2);
      text-align: center;
      font-size: 15px;
      line-height: 16px;
    }
    .test-action-page .questions .item .answers .answer-item:hover:before {
      display: none !important;
    }
    .test-action-page .questions .item .answers .answer-item.img {
      width: 100%;
      float: none;
      background-size: cover;
      height: 70px;
    }
    .test-action-page .questions .item .answers .answer-item.img.active {
      border: solid 5px #000;
      box-sizing: border-box;
    }
    .test-action-page .questions .item .answers .answer-item.img:hover {
      opacity: 1 !important;
    }
    .test-finish-page .result-partner-img {
      width: 87.5%;
      padding: 0 6.25%;
    }
    .test-finish-page .result-partner-img img {
      max-width: 100%;
    }
    .test-finish-page .result-partner-description {
      width: 87.5%;
      padding: 0 6.25%;
    }
    .find-a-partner {
      width: 234px;
      height: 112px;
      background-size: 100%;
    }
    .find-a-partner:hover {
      width: 234px !important;
      height: 112px !important;
      background-position: 0 0 !important;
      background-size: 100% !important;
    }
    .test-finish-page .link-in-btn {
      width: 234px;
      height: 112px;
      background-size: 100%; 
    }
    .test-finish-page .link-in-btn:hover {
      background-position: 0 0 !important;
      width: 234px !important;
      height: 112px !important;
      background-size: 100% !important; 

    }
    .test-action-page .questions .item .title .crt {
      float: none;
      text-align: center;
    }
    .test-action-page .questions .item .title .text {
      width: 100%;
      text-align: center;
      margin-top: 5px;
      width: 87.5% !important;
      padding:0 6.25% !important;
    }
    .test-action-page .questions .item .title {
      font-size: 16px;
      line-height: 18px;
      margin-bottom: 15px;
    }
    .answer-item {
      width: 100%;
    }
    .test-finish-page {
        width: 100%;
        min-width: 320px;
        background: url(../images/mobile-bg.jpg);
        background-size:cover;
        .result-title {
            width: 100%;
        }
        .person-photo-box {
            width: 260px;
            float: none;
            margin: 0 auto;
            margin-bottom: 30px;
            .person-photo {
                width: 260px;
                height: 260px;
            }
        }
        .person-info {
            width: 100%;
            font-size: 13px;
            line-height: 19px;
            span {
                font-size: 16px;
                line-height: 22px;
            }
            p {
                margin-bottom: 30px;
            }

        }
    }
    .footer {
      background-color: #fff;
        .comm {
            width: 100%;
            .most-read {
                display: none;
            }
            .block-comments {
                display: none;
            }
            .some-materials {
                width: 100%;
                .cell {
                    width: 100%;
                }
            }
            /*.comments {
                display: none;
            }*/
        }
    }
    .test-start-page header .tti {
      position: absolute;
      font-family: ProximaNova-Regular;
      font-size: 14px;
      line-height: 26px;
      color: red;
      left: 20px;
      top: 540px;
    }

    .test-start-page header .auth {
      font-family: ProximaNova-Regular;
      font-size: 10px;
      line-height: 15px;
      margin-bottom: 20px;
      color: #000000;
      text-align: left;
      margin-top: 40px;
      float: left;
      position: absolute;
      top: 505px;
      right: 26px;
    }
    .test-start-page header .bt-section {
      width: 100%;
      margin-top: 150px;
      height: auto;
    }
    .test-start-page header .bt-section .head-text {
      width: 100%;
      font-size: 14px;
      line-height: 20px;
      padding-top: 20px;
      float: none;
    }
    .test-start-page header .bt-section .start-btn {
      margin-top: 40px;
      float: none;
      margin:  0 auto;
    }
    div#page .test-action-page .cont,
    div#page .test-finish-page .cont {
      padding: 0 !important;
      width: 100% !important;
    }
    .question_wrapper .question_text_wrapper {
      width: 87.5% !important;
      padding:0 6.25% !important;
      padding-top: 40px;
    }
    .question_wrapper .question_text_wrapper .text {
      font-size: 22px;
      line-height: 31px;
      padding-top: 40px;
      padding-bottom: 40px;
    }
    .question_wrapper .question_text_wrapper .text img {
      max-width: 100%;
    }
    .question_wrapper .question_answers_box {
      margin-top: 0;
      width: 100%;
      border-radius: 0;
      padding: 20px 0px;
    }
    .question_wrapper .question_answers_box h2 {
      font-size: 22px;
      line-height: 28px;
      margin-bottom: 30px;
    }
    .question_wrapper .question_answers_box .answer_item {
      float: none;
      width: 100%;
      width: 87.5% !important;
      margin: 0 6.25% !important;
      box-sizing: border-box;
      padding: 15 10px;
      .box-sizing;
      height: auto !important
    }
    .question_wrapper .question_answers_box .answer_item .answer_text {
      width: 100%;
      height: 70px;
      width: 400px;
    }
    .test-finish-page .result-img {
      width: 280px;
      height: 280px;
      background-repeat: no-repeat;
    }
    .test-finish-page .result-text-box {
      width: 100%;
      margin-top: 40px;
    }
    .test-finish-page .result-img-box {
      width: 100%;
      background-size: contain;
      background-position: center top;
      height: 300px;
      position: relative;
      top: 20px;
    }
    .test-finish-page .result-img .mask {
      width: 280px;
      height: 280px;
      background-size: contain;
      background-repeat: no-repeat;
    }
    .test-finish-page .repeat-btn {
      display: none;
    }
    .test-finish-page {
      padding-top: 20px;
    }
    .test-finish-page .result-title {
      font-size: 35px;
      line-height: 35px;
    }
    .test-finish-page .result-text {
      width: 87.5%;
      padding: 6.25%;
    }
    .test-finish-page .result-title {
      position: relative;
      z-index: 3;
      top: -10px;
      color: #fff;
      text-align: center;
      font-size: 26px;
      position: absolute;
      width: 100%;
      text-align: center;
      left: 0;
    }
    .test-finish-page .instruction-box {
      border-radius: 0;
      width: 100%;
      padding-bottom: 10px;
      height: auto;

    }
    .test-finish-page .instruction-box .instrction-img {
      display: none;
    }
    .test-finish-page .instruction-box .result-instruction {
      width: 87.5%;
      margin-left: 0;
      padding: 0 6.5%;
    }
}






.transition(@transition: all linear .25s) {
  -webkit-transition: @transition;
  -moz-transition: @transition;
  -o-transition: @transition;
  -ms-transition: @transition;
  transition: @transition;
}

.transform(@transform: inherit) {
  -webkit-transform: @transform;
  -moz-transform: @transform;
  -o-transform: @transform;
  -ms-transform: @transform;
  transform: @transform;
}

.transform-origin(@transform-origin: left top) {
  -webkit-transform-origin: @transform-origin;
  -moz-transform-origin: @transform-origin;
  -o-transform-origin: @transform-origin;
  -ms-transform-origin: @transform-origin;
  transform-origin: @transform-origin;
}

.animation(@parameters) {
  -webkit-animation: @parameters;
  -moz-animation: @parameters;
  -o-animation: @parameters;
  -ms-animation: @parameters;
  animation: @parameters;
}
@keyframes love1 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 5px;
  }
  25% {
    font-size: 8px;
    opacity: 1;
    padding-left: 10px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 18px;
    opacity: 1;
    padding-left: 10px;
  }
  100% {
    font-size: 28px;
    opacity: 0;
    line-height: 28px;
    padding-left: 5px;
  }
}
@-moz-keyframes love1 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 5px;
  }
  25% {
    font-size: 8px;
    opacity: 1;
    padding-left: 10px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 18px;
    opacity: 1;
    padding-left: 10px;
  }
  100% {
    font-size: 28px;
    opacity: 0;
    line-height: 28px;
    padding-left: 5px;
  }
}
@-webkit-keyframes love1 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 5px;
  }
  25% {
    font-size: 8px;
    opacity: 1;
    padding-left: 10px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 18px;
    opacity: 1;
    padding-left: 10px;
  }
  100% {
    font-size: 28px;
    opacity: 0;
    line-height: 28px;
    padding-left: 5px;
  }
}
@-o-keyframes love1 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 5px;
  }
  25% {
    font-size: 8px;
    opacity: 1;
    padding-left: 10px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 18px;
    opacity: 1;
    padding-left: 10px;
  }
  100% {
    font-size: 28px;
    opacity: 0;
    line-height: 28px;
    padding-left: 5px;
  }
}
@-ms-keyframes love1 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 5px;
  }
  25% {
    font-size: 8px;
    opacity: 1;
    padding-left: 10px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 18px;
    opacity: 1;
    padding-left: 10px;
  }
  100% {
    font-size: 28px;
    opacity: 0;
    line-height: 28px;
    padding-left: 5px;
  }
}
@keyframes love2 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 4.16666667px;
  }
  25% {
    font-size: 9.6px;
    opacity: 1;
    padding-left: 0px;
  }
  50% {
    padding-left: 8.33333333px;
  }
  75% {
    font-size: 21.6px;
    opacity: 1;
    padding-left: 0px;
  }
  100% {
    font-size: 33.6px;
    opacity: 0;
    line-height: 33.6px;
    padding-left: 4.16666667px;
  }
}
@-moz-keyframes love2 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 4.16666667px;
  }
  25% {
    font-size: 9.6px;
    opacity: 1;
    padding-left: 0px;
  }
  50% {
    padding-left: 8.33333333px;
  }
  75% {
    font-size: 21.6px;
    opacity: 1;
    padding-left: 0px;
  }
  100% {
    font-size: 33.6px;
    opacity: 0;
    line-height: 33.6px;
    padding-left: 4.16666667px;
  }
}
@-webkit-keyframes love2 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 4.16666667px;
  }
  25% {
    font-size: 9.6px;
    opacity: 1;
    padding-left: 0px;
  }
  50% {
    padding-left: 8.33333333px;
  }
  75% {
    font-size: 21.6px;
    opacity: 1;
    padding-left: 0px;
  }
  100% {
    font-size: 33.6px;
    opacity: 0;
    line-height: 33.6px;
    padding-left: 4.16666667px;
  }
}
@-o-keyframes love2 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 4.16666667px;
  }
  25% {
    font-size: 9.6px;
    opacity: 1;
    padding-left: 0px;
  }
  50% {
    padding-left: 8.33333333px;
  }
  75% {
    font-size: 21.6px;
    opacity: 1;
    padding-left: 0px;
  }
  100% {
    font-size: 33.6px;
    opacity: 0;
    line-height: 33.6px;
    padding-left: 4.16666667px;
  }
}
@-ms-keyframes love2 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 4.16666667px;
  }
  25% {
    font-size: 9.6px;
    opacity: 1;
    padding-left: 0px;
  }
  50% {
    padding-left: 8.33333333px;
  }
  75% {
    font-size: 21.6px;
    opacity: 1;
    padding-left: 0px;
  }
  100% {
    font-size: 33.6px;
    opacity: 0;
    line-height: 33.6px;
    padding-left: 4.16666667px;
  }
}
@keyframes love3 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 2.5px;
  }
  25% {
    font-size: 16px;
    opacity: 1;
    padding-left: 5px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 36px;
    opacity: 1;
    padding-left: 5px;
  }
  100% {
    font-size: 56px;
    opacity: 0;
    line-height: 56px;
    padding-left: 2.5px;
  }
}
@-moz-keyframes love3 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 2.5px;
  }
  25% {
    font-size: 16px;
    opacity: 1;
    padding-left: 5px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 36px;
    opacity: 1;
    padding-left: 5px;
  }
  100% {
    font-size: 56px;
    opacity: 0;
    line-height: 56px;
    padding-left: 2.5px;
  }
}
@-webkit-keyframes love3 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 2.5px;
  }
  25% {
    font-size: 16px;
    opacity: 1;
    padding-left: 5px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 36px;
    opacity: 1;
    padding-left: 5px;
  }
  100% {
    font-size: 56px;
    opacity: 0;
    line-height: 56px;
    padding-left: 2.5px;
  }
}
@-o-keyframes love3 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 2.5px;
  }
  25% {
    font-size: 16px;
    opacity: 1;
    padding-left: 5px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 36px;
    opacity: 1;
    padding-left: 5px;
  }
  100% {
    font-size: 56px;
    opacity: 0;
    line-height: 56px;
    padding-left: 2.5px;
  }
}
@-ms-keyframes love3 {
  0% {
    font-size: 0;
    opacity: 0;
    padding-left: 2.5px;
  }
  25% {
    font-size: 16px;
    opacity: 1;
    padding-left: 5px;
  }
  50% {
    padding-left: 0px;
  }
  75% {
    font-size: 36px;
    opacity: 1;
    padding-left: 5px;
  }
  100% {
    font-size: 56px;
    opacity: 0;
    line-height: 56px;
    padding-left: 2.5px;
  }
}
#hearts {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100px;
  height: 100px;
  text-align: center;
}
.heart {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
}
.heart1 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
  height: 100px;
  line-height: 100px;
  margin-left: 30px;
  opacity: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: rotate(-6deg);
  -moz-transform: rotate(-6deg);
  -o-transform: rotate(-6deg);
  -ms-transform: rotate(-6deg);
  transform: rotate(-6deg);
  -webkit-animation: love1 0.7s infinite ease-in-out;
  -moz-animation: love1 0.7s infinite ease-in-out;
  -o-animation: love1 0.7s infinite ease-in-out;
  -ms-animation: love1 0.7s infinite ease-in-out;
  animation: love1 0.7s infinite ease-in-out;
}
.heart2 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
  height: 110px;
  line-height: 110px;
  margin-left: 30px;
  opacity: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: rotate(6deg);
  -moz-transform: rotate(6deg);
  -o-transform: rotate(6deg);
  -ms-transform: rotate(6deg);
  transform: rotate(6deg);
  -webkit-animation: love3 0.7s infinite ease-in-out 0.3s;
  -moz-animation: love3 0.7s infinite ease-in-out 0.3s;
  -o-animation: love3 0.7s infinite ease-in-out 0.3s;
  -ms-animation: love3 0.7s infinite ease-in-out 0.3s;
  animation: love3 0.7s infinite ease-in-out 0.3s;
}
.heart3 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
  height: 80px;
  line-height: 80px;
  margin-left: 30px;
  opacity: 0;
  -webkit-animation: love2 0.6s infinite ease-in-out 0.6s;
  -moz-animation: love2 0.6s infinite ease-in-out 0.6s;
  -o-animation: love2 0.6s infinite ease-in-out 0.6s;
  -ms-animation: love2 0.6s infinite ease-in-out 0.6s;
  animation: love2 0.6s infinite ease-in-out 0.6s;
}
.heart4 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
  height: 90px;
  margin-left: 30px;
  line-height: 90px;
  opacity: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: rotate(-6deg);
  -moz-transform: rotate(-6deg);
  -o-transform: rotate(-6deg);
  -ms-transform: rotate(-6deg);
  transform: rotate(-6deg);
  -webkit-animation: love1 0.7s infinite ease-in-out;
  -moz-animation: love1 0.7s infinite ease-in-out;
  -o-animation: love1 0.7s infinite ease-in-out;
  -ms-animation: love1 0.7s infinite ease-in-out;
  animation: love1 0.7s infinite ease-in-out;
}
.heart5 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
  height: 100px;
  margin-left: 30px;
  line-height: 80px;
  opacity: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: rotate(6deg);
  -moz-transform: rotate(6deg);
  -o-transform: rotate(6deg);
  -ms-transform: rotate(6deg);
  transform: rotate(6deg);
  -webkit-animation: love2 0.6s infinite ease-in-out 0.3s;
  -moz-animation: love2 0.6s infinite ease-in-out 0.3s;
  -o-animation: love2 0.6s infinite ease-in-out 0.3s;
  -ms-animation: love2 0.6s infinite ease-in-out 0.3s;
  animation: love2 0.6s infinite ease-in-out 0.3s;
}
.heart6 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
  height: 110px;
  margin-left: 30px;
  line-height: 90px;
  opacity: 0;
  -webkit-animation: love3 0.7s infinite ease-in-out 0.6s;
  -moz-animation: love3 0.7s infinite ease-in-out 0.6s;
  -o-animation: love3 0.7s infinite ease-in-out 0.6s;
  -ms-animation: love3 0.7s infinite ease-in-out 0.6s;
  animation: love3 0.7s infinite ease-in-out 0.6s;
}
.heart7 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
  height: 90px;
  line-height: 90px;
  margin-left: 30px;
  opacity: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: rotate(6deg);
  -moz-transform: rotate(6deg);
  -o-transform: rotate(6deg);
  -ms-transform: rotate(6deg);
  transform: rotate(6deg);
  -webkit-animation: love2 0.7s infinite ease-in-out 0.3s;
  -moz-animation: love2 0.7s infinite ease-in-out 0.3s;
  -o-animation: love2 0.7s infinite ease-in-out 0.3s;
  -ms-animation: love2 0.7s infinite ease-in-out 0.3s;
  animation: love2 0.7s infinite ease-in-out 0.3s;
}
.heart8 {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 30%;
  vertical-align: bottom;
  color: #FC7283;
  height: 100px;
    margin-left: 30px;
  line-height: 100px;
  opacity: 0;
  -webkit-transform-origin: 50% 100%;
  -moz-transform-origin: 50% 100%;
  -o-transform-origin: 50% 100%;
  -ms-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  -webkit-transform: rotate(-6deg);
  -moz-transform: rotate(-6deg);
  -o-transform: rotate(-6deg);
  -ms-transform: rotate(-6deg);
  transform: rotate(-6deg);
  -webkit-animation: love1 0.7s infinite ease-in-out;
  -moz-animation: love1 0.7s infinite ease-in-out;
  -o-animation: love1 0.7s infinite ease-in-out;
  -ms-animation: love1 0.7s infinite ease-in-out;
  animation: love1 0.7s infinite ease-in-out;
}