/* `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;
}
.clearfix:before,
.clearfix:after,
.container:before,
.container:after {
  content: '.';
  display: block;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}
.clearfix:after,
.container:after {
  clear: both;
}
.clearfix,
.container {
  zoom: 1;
}
.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;
}




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

@fontRegular:ProximaNova-Regular;
@fontThin:ProximaNovaT-Thin;
@fontExtrabold:ProximaNova-Extrabld;
@fontMore: ff-more-web-pro;
@textColor:rgb(44,57,212);


@font-face {
    font-family: 'Cornelius-Bold';
    src: url('webfonts/2CA987_0_0.eot');
    src: url('webfonts/2CA987_0_0.eot?#iefix') format('embedded-opentype'),
         url('webfonts/2CA987_0_0.woff2') format('woff2'),
         url('webfonts/2CA987_0_0.woff') format('woff'),
         url('webfonts/2CA987_0_0.ttf') format('truetype');
}


.sound-mute-btn {
    width: 44px;
    height: 43px;
    background: url(../images/soundBtn.png);
    background-position: 0 0;
    position: fixed;
    z-index: 10000;
    margin: 244px 0 0 39px;
    cursor: pointer;
    &.paused {
        background-position: 0 -86px;
        &:hover {
            background-position: 0 -129px;
        }    
    }
    &:hover {
        background-position: 0 -43px;
    }
}
.social-shares .b-share .b-share__link {
    width: 58px !important;
    height: 58px !important;
    border-radius: 100% !important;
}
.social-shares .b-share .b-share__link .b-share-counter {
    display: none !important;
}
.social-shares .b-share .b-share__link .b-share-icon {
    display: none !important;
}
.social-shares .b-share .b-share__link {
    background-color: transparent !important;
    opacity: 0.5;
    &:hover {
        opacity: 1;
    }
}
.b-share_theme_counter .b-share-btn__vkontakte {
    background: url(../images/vk.png);
}
.b-share_theme_counter .b-share-btn__facebook {
    background: url(../images/facebook.png);
}
.b-share_theme_counter .b-share-btn__twitter {
   background: url(../images/tw.png); 
}

html, body {
    height: 100% !important;
}
body {
    opacity: 0;
    overflow: hidden;
}
#page {
  position: relative;
  width: auto;
  height: 100%;
  min-width: 1200px;
  	.cont {
	    position: relative;
	    width: 1200px;
	    margin: 0 auto;
	    height: 100%;
  	}
}
.right-slide {
    position: fixed;
    z-index: 999999;
    background-color: #fff;
    right: 0;
    height: 100%;
    width: 460px;
    border-left: solid 2px #0018ff;
    .box-sizing;
    padding: 100px 30px 0;
    display: none;
    &.align-left {
        right: inherit;
        left: 0 !important;
    }
    &.show {
        display: block;
    }
    b {
        font-family: 'garamond-premier-pro-caption';
        font-size: 36px;
        line-height: 44px;
        color: #0018ff;
        display: block;
        margin-bottom: 10px;
    }
    span {
        font-family: 'trivia-grotesk';
        font-size: 16px;
        line-height: 26px;
        color: #000;
        display: block;
    }

}
.pages-wrapper {
    min-height: 580px;
    height: 100%;
}
.test-start-page {
    min-width: 1200px;
  	min-height: 580px;
    height: 100%;
    background-color: #0600af;
    padding-top: 60px;
    float: left;
    position: relative;
    .box-sizing;
    .vertical-align-wrapper {
        width: 100%;
        height: 512px;
        position: absolute;
        top: 50%;
        margin-top:-256px; 
    }
    .auth-links {
        color: #fff;
        font-family: @fontRegular;
        font-size: 10px;
        line-height: 18px;
        margin-left: 17.5%;
        position: absolute;
        a {
            text-decoration: underline;
            &:hover {
                text-decoration: none;
            }
        }
    }
    .title {
        width: 611px;
        height: 450px;
        margin-bottom: 30px;
        background: url(../images/font1.png);
        margin-left:20.58333333%;
        float: left;
    }   
    .test-description {
        width: 250px;
        float: left;
        color: #fff;
        font-family: @fontRegular;
        font-size: 14px;
        line-height: 18px;
        margin-left: 5%;
        a {
            text-decoration: underline;
        }   
        span {
            font-family: @fontThin;
            font-size: 16px;
            line-height: 24px;
            text-transform: uppercase;
            letter-spacing: 1.2px;
        }
    }
    .right-scroll-btn {
        width: 75px;
        height: 74px;
        background: url(../images/rightScroll.png);
        background-position: 0 0;
        position: fixed;
        bottom: 25px;
        right: 30px;
        cursor: pointer;
        z-index: 20;
        &:hover {
            background-position: 0 -74px;
        }
    }
    .left-scroll-btn {
        .right-scroll-btn;
        right: inherit;
        left: 30px;
        background: url(../images/leftScroll.png);
    }
}

.vid {
    position: fixed;
    width: 1920px;
    height: 234px;
    top: 170px;
}

.test-action-page {
    width: auto;
	height: 100%;
    min-height: 580px;
	float: left;
    position: relative;
    .whole-wr {
        width: 14571px;
        height: 100%;  
        position: relative;
        padding: 0 40px;
        overflow-y:hidden;
        .whole {
            height: 880px;
            width: 14571px;
            background-image: url(../images/wagonBig.png);
            position: absolute;
            top: 50%;
            margin-top: -390px;
            .plac {
                width: 437px;
                height: 198px;
                background-image: url(../images/Plackart.png);
                position: absolute;
                left: 288px;
                top: 276px;
            }
            .kupe {
                position: absolute;
                width: 227px;
                height: 144px;
                background-image: url(../images/Kupe.png);
                left: 5746px;
                top: 260px;
            }
            .sid {
                position: absolute;
                width: 417px;
                height: 182px;
                background-image: url(../images/Seatiachka.png);
                left: 10523px;
                top: 342px;
            }
        }
    }
}
.test-finish-page {
    height: auto;
    min-height: 100%;
    padding-top: 50px;
    background-color: #FBFCFB;
    box-sizing: border-box;
    padding-bottom: 40px;
    .cont {
        width: 800px !important;
    }
    .result-title {
        width: 730px;
        font-family: 'trivia-grotesk';
        font-size: 50px;
        text-align: center;
        margin: 0 auto;
        margin-bottom: 40px;
    }
    .person-photo-box {
        width: 323px;
        float: left;
        margin-right: 35px;
        .person-photo {
            width: 323px;
            height: 317px;
            background-size: cover;
            border-radius: 2px;
            box-sizing: border-box;
            margin-top: 5px;
        }
        .person-song {
            text-align: center;
            font-family: 'trivia-grotesk';
            font-size: 15px;
            line-height: 22px;
            margin-top: 30px;
            a {
                color: #000;
                text-decoration: underline;
                &:hover {
                    text-decoration: none;
                }
            }
        }
    }
    .person-info {
        width: 440px;
        height: auto;
        float: left;
        font-family: 'trivia-grotesk';
        font-size: 15px;
        line-height: 22px;
        span {
            font-family: Verdana;
            font-size: 20px;
            line-height: 22px;
            color: #000;
            margin-bottom: 10px;
            display: block;
        }
        p {
            margin-bottom: 20px;
        }
    }
}

.show {
    display: block !important;
}
.hide {
    display: none !important;
}
.object.plus[data-type="points"] .point {
    width: 37px;
    height: 37px;
    background-color: transparent;
    background-image: url(../images/plus.png);
    opacity: 0.7;
    &:hover {
        opacity: 1;
    }
    .point-text {
        background-color: #112bff;
        color: #fff;
        top: 5px;
        left: 45px;
        &:before {
            background-color:#112bff;
        }
    }
}

.object.minus[data-type="points"] .point {
    width: 37px;
    height: 37px;
    background-color: transparent;
    background-image: url(../images/minus.png);
    opacity: 0.7;
    &:hover {
        opacity: 1;
    }
    .point-text {
        background-color: #112bff;
        color: #fff;
        top: 5px;
        left: 45px;
        &:before {
            background-color:#112bff;
        }
    }
}
.object[data-type="points"] {
    &:hover {
        z-index: 9990 !important;
    }
}

.object[data-type="points"] .point {
    background-color: rgba(255, 0, 0, 0.5);
    i {
        background-color: #fff;
    }
    .point-text {
        display: none;
        background-color: #fff;
        color: #000;
        width: 400px;
        p {
            font-family: 'trivia-grotesk';
            font-size: 13px;
            line-height: 18px;
        }
        b {
            font-family: 'garamond-premier-pro-caption';
            font-size: 16px;
            margin-bottom: 5px;
            display: block;
        }
        &:before {
            background-color:#fff;
        }
    }
}

.object[data-type="points"] .point:hover .point-text {
    display: none;
}

.object.minus[data-type="points"] .point:hover .point-text,
.object.plus[data-type="points"] .point:hover .point-text, {
    display: block;
}
.object[data-type="points"] .point.align-left:hover .point-text {
    left: -410px;
}




/* SOCIAL BUTTON STYLE */

.social {
  height: 33px;
  position: relative;
  margin-top: 10px;
}
.social span {
  height: 33px;
  margin-right: 15px;
  display: block;
  float: left;
}
.social span.vk {
    width: 113px;
    background: url(../images/vk.png) 0px 0px;
    &:hover {
        background-position: 0px -33px;
    }
}

.social span.tw {
    width: 103px;
    background: url(../images/tw.png) 0px 0px;
    &:hover {
      background-position: 0px -33px;
    }
}

.social-btn {
  cursor: pointer;
}

.comm {
        width: 920px;
        margin: 0 auto;
        margin-top: 20px;
        
        @active_color: #ffca24;

        .most-read {
                color: #000000!important;
        
                a {
                        color: #000000!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: #000000!important;
        
                a {
                        color: #000000!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;
.footer {
	position: relative;
    min-width: 1200px;
    height: 100%;
    min-height: 580px;
    float: left;
    background-color: #fff;
    overflow-y: auto;
    
    .x990x400 {
    	position: absolute;
    	top: 0;
    	left: 0;
    	right: 0;
    	bottom: 0;
    	margin: auto;
    	width: 990px;
    	height: 400px;
    	background: #eee;
    	
    	xmp {
    		display: none;
    	}
    }
}
.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;
            }
          }
        }
      }
    }
  }
}

