/* `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;
}

div.page {

}
.clearfix:before,
.clearfix:after,
.rt-container:before,
.rt-container: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;
}
body.dis {
  overflow: hidden;
}
#page {
  width: 100%;
  height: 100%;
  min-width: 1200px;
}
.start-test-box,
.finish-test-box,
.quest-test-box {
  height: 100%;
}

.cont {
  position: relative;
  width: 100%;
  min-width: 1200px;
  margin: 0 auto;
  height: 100%;
}
.quest-test-box {
  position: relative;
  background:url(../images/bg.png) no-repeat;
  background-size: cover;
}
.box-pos {
  width: 100%;
  height: 600px;
  margin-top: -300px;
  top:50%;
  position:absolute;
}
.quest-test-box .timer {
  position: absolute;
  width: 36px;
  height: 36px;
  left: 42px;
  top: 0;
  border-radius: 100%;
}
svg {
  display: block;
}

#loader { 
  fill: rgba(0,0,0,0.1);
}

#border { 
  fill: #000 
}
.quest-test-box .lives {
  display: block;
  width: 200px;
  height: 66px;
  position: absolute;
  right: 40px;
  top: 0;
}

.quest-test-box .lives .live-img {
  display: block;
  width: 44px;
  height: 66px;
  float: left;
  position: relative;
  background: url(../images/error.png);
  opacity: 0.2;
  margin-right: 20px;
  
  &.used {
  	opacity: 1;
  }
}
.box-pos header {
  width: 600px;
  margin: 0 auto;
  /* margin-bottom: 210px; */
  position: absolute;
  left: 50%;
  margin-left: -300px;
}
.box-pos header h1 {
  font-size: 42px;
  line-height: 50px;
  color: #000;
  text-align: center;
  font-family: 'GaramondPremrPro-ItCapt';
}
.start-test-box {
  background: url(../images/bg.png);
  height: auto;
  min-height: 100%;
  background-size: cover;
  background-position: 0 1px;
}
.start-test-box header {
  width: 1200px;
  height: 852px;
  display: block;
  background: url(../images/1.png);
  background-size: cover;
  margin: 0 auto;
}
.start-test-box .author {
  font-size: 14px;
  line-height: 16px;
  color: #000;
  font-family: "ProximaNova-Regular";
  display: block;
  width: 150px;
  height: 150px;
  position: relative;
  left: 620px;
  top: 670px;
}
.start-test-box .author a {
  color: rgb(0,0,255);
  text-decoration: inline;
}
.start-test-box .author a:hover {
  text-decoration: none;
}
.start-test-box .test-descript {
  width: 780px;
  margin: 0 auto;
  height: 360px;
  font-size: 16px;
  font-family: "ProximaNova-Regular";
  line-height: 24px;
  text-align: center;  
}

.start-test-box .test-start-btn-wr {
  width: 420px;
  height: 285px;
  margin: 0 auto;
  margin-bottom: 150px;
}
.start-test-box .test-start-btn {
  display: block;
  position: absolute;
  width: 420px;
  height: 285px;
  background: url(../images/2.png);
  cursor: pointer;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.start-test-box .test-start-btn:hover {
  opacity: 0;
}
.start-test-box .test-start-btn2 {
  position: absolute;
  cursor: pointer;
  background: url(../images/2_hover.png);
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
  width: 420px;
  height: 285px;
  opacity: 0;
}
.start-test-box .test-start-btn2:hover {
  opacity: 1;
}
.start-test-box h1 {
  display: block;
  width: 200px;
  height: 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-top: -15px;
  margin-left: -100px;
  font-size: 12px;
  text-align: center;
}
.start-test-box h1 span {
  display: inline;
}
.timeline-wr {
  display: block;
  width: 100%;
  height: 220px;
  background-color: rgba(255, 255, 255, 0.5);
  margin-top: 260px;
  position: relative;
}
.history .timeline {
  width: 98%;
  height: 2px;
  border-top: dotted 1px #000;
  margin-top: 110px;
  position: absolute;
  display: block;
  z-index: 2;

}
.history .timeline:after  {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 8px;
  right: -6px;
  top: -5px;
  background: url(../images/line-tr.png);
}
.timeline-wr .segment-box .segments {
  padding:0;
  margin: 0;
  display: block;
  position: relative;
}
.timeline-wr .segment-box .segments li.seg {
  position: absolute;
  z-index: 6;
  height: 220px;
  display: block;
  margin: 0;
  background-color: rgba(0,0,0,0.18);
  cursor: pointer;
  width: 1px;
  margin-left: -1px;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  -ms-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
  transition: background-color 0.2s;
}

.timeline-wr .segment-box .segments li.seg .time-start-point {
  position: absolute;
  z-index: 6;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color: #fff;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin-top: 104px;
  margin-left: -5px;
  border:solid 1px #000;
}
.timeline-wr .segment-box .segments li.seg.correct .time-start-point {
  background-color: rgb(255,255,0);
}
.timeline-wr .segment-box .segments li.seg.correct .time-start-point:before {
  content: "";
  display: block;
  position: absolute;
  width: 33px;
  height: 33px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 100%;
  border:solid 1px #000;
  margin-left: -11px;
  margin-top: -11px;
}
.timeline-wr .segment-box .segments li.seg .point-active-line {
  display: none;
  width:1px;
  background-color: #000;
  height: 125px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  z-index: 6;
}
.timeline-wr .segment-box .segments li.seg.top.active .point-active-line,
.timeline-wr .segment-box .segments li.seg.bottom.active .point-active-line,
.timeline-wr .segment-box .segments li.seg.correct .point-active-line {
  display: block;
}
.timeline-wr .segment-box .segments li.seg.bottom .point-active-line {
  margin-top: 160px;
  height: 80px;
}
.timeline-wr .segment-box .segments li.seg.top .point-active-line {
  margin-top: -22px;

}
.timeline-wr .segment-box .segments li.seg.correct .point-active-line {
  margin-top: -110px;
  height: 213px;
}

.timeline-wr .segment-box .segments li.seg .point-text-wr {
  display: none;
  position: absolute;
  width: 200px;
  height: 50px;
  margin-left: -100px;
}
.timeline-wr .segment-box .segments li.seg.top.active .point-text-wr,
.timeline-wr .segment-box .segments li.seg.correct .point-text-wr,
.timeline-wr .segment-box .segments li.seg.bottom.active .point-text-wr {
  display: table;
}
.timeline-wr .segment-box .segments li.seg.top .point-text-wr {
  top: -92px;
  margin-top: 0;
}
.timeline-wr .segment-box .segments li.seg.bottom .point-text-wr {
  margin-top: 20px;
}
.timeline-wr .segment-box .segments li.seg.correct .point-text-wr {
  top: -180px;
}
.timeline-wr .segment-box .segments li.seg .point-text  {
  position: relative;
  display: table-cell;
  vertical-align: top;
  text-align: center;
  font-size: 16px;
  line-height: 19px;
  font-family: "GaramondPremrPro-Capt";
}
.timeline-wr .segment-box .segments li.seg.bottom .point-text  {
  vertical-align: top;
}
.timeline-wr .segment-box .segments li.seg.top  .point-text {
  vertical-align: bottom;
}
.timeline-wr .segment-box .segments li.seg.correct .point-text {
  vertical-align: bottom;
}
.timeline-wr .segment-box .segments li.seg .time-date { 
  display: block;
  font-size: 12px;
  font-family: 'ProximaNova',Arial;
  color: #000;
  line-height: 14px;
  position: absolute;
  text-align: center;
  width: 50px;
  margin-left: -25px;
  z-index: 6;
}

.timeline-wr .segment-box .segments li.seg.top .time-date { 
  top: 130px;
}
.timeline-wr .segment-box .segments li.seg.bottom .time-date { 
  top: 130px;
}
.timeline-wr .segment-box .segments li.seg.correct .time-date { 
  top: 130px;
}

.question-info-box {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  height: 100%;
  padding-top: 40px;
  background-color: #000;
  z-index: 999999;
  min-height: 100%;
  height: auto;
}
.question-info-box .box-pos {
  position: absolute;
  width: 1120px;
  min-height:500px;
  left: 50%;
  top: 50%;
  margin-left: -560px;
  margin-top: -250px;
}
.question-info-box  .q-info-left-b {
  width: 180px;
  margin-right: 40px;
  float: left;
}
.question-info-box  .q-info-left-b .data {
  font-size: 58px;
  line-height: 70px;
  color: #ffff00;
  font-family: "GaramondPremrPro-ItCapt";
}
.question-info-box  .q-info-left-b .q-info-image-wr  {
  width: 170px;
  height: 250px;
  display: block;
  margin-top: 50px;

} 
.question-info-box  .q-info-left-b .q-info-image-wr img {
  max-width: 100%;
}
.question-info-box  .q-info-right-b {
  float: left;
  display: block;
  width: 900px;
}
.question-info-box .q-info-right-b h1 {
  font-size: 46px;
  line-height: 56px;
  color: #fff;
  margin-bottom: 60px;
  max-width: 620px;
  font-weight: normal;
  font-family: "GaramondPremrPro-ItCapt";
}
.question-info-box  .q-info-right-b .q-info-text-wr {
  position: relative;
}
.question-info-box  .q-info-right-b .q-info-text-wr .q-info-text {
  font-size: 14px;
  line-height: 22px;
  color: #fff;
  font-family: "ProximaNova-Regular", Arial;
  width: 620px;
  display: block;
  float: left;
}
.next-btn-box {
  position: absolute;
  float: left;
  width: 242px;
  height: 144px;
  display: block;
  top: 50%;
  margin-top: -62px;
  right: 0;
  margin-right: -20px;
}
.next-btn-box .next-btn {
  opacity: 0.7;
  display: block;
  float: left;
  width: 243px;
  height: 144px;
  background: url(../images/next-btn.png);
  text-align: center;
  cursor: pointer;
}
.next-btn-box .next-btn:hover {
  opacity: 1;
}
.next-btn-box .next-btn b {
  font-weight: normal;
  color: #ffff00;
  font-size: 30px;
  line-height: 36px;
  width: 183px;
  display: inline-block;
  margin-top: 35px;
  margin-left: -10px;
  font-family: "GaramondPremrPro-ItCapt";
}
.hint-text-box {
  position: relative;
  top: -50px;
}
.hint-text-box .hint-text {
  display: block;
  float: left;
  font-family: "ProximaNova";
  font-size: 14px;
  line-height: 16px;
  position: absolute;
}
.hint-text-box .hint-text.last {
  right: 160px;
} 
.hint-text-box .hint-text.center {
  left: 580px;
  color: red;
  text-align: center;
  top: -15px;
} 
.hint-text-box .hint-text.first {
  left: 160px;
} 
.hoverEl {
  position: absolute;
  height: 220px;
  background: yellow;
  cursor: pointer;
  display: none;
}
.light-box {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  background: rgba(0,0,0,0.66);
  top: 0;
  z-index: 999;
}
.light-box .box-pos {
  height: 390px;
  margin-top: -195px;
}
.light-box .info {
  width: 550px;
  height: 280px;
  margin: 0 auto;
  color: #fff;
  font-family: "GaramondPremrPro-ItCapt";
  font-size: 46px;
  line-height: 56px;
  text-align: center;
}
.light-box .btn {
  opacity: 0.7;
  width: 150px;
  height: 100px;
  text-align: center;
  font-size: 46px;
  line-height: 100px;
  border: solid 5px;
  color: yellow;
  margin: 0 auto;
  font-family: "GaramondPremrPro-ItCapt";
  cursor: pointer;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.light-box .btn:hover {
  opacity: 1;
}
.finish-test-box {
  background: url(../images/bg.png);
  background-size: cover;
  position: relative;
  height: auto;
  min-height: 100%;
  padding-bottom: 100px;
  padding-top: 50px;
}
.finish-test-box .result {
  width: 590px;
  height: 160px;
  margin: 0 auto;
  font-family: "GaramondPremrPro-ItCapt";
  line-height: 49px;
  font-size: 41px;
  text-align: center;
}
.finish-test-box .share {
  width: 310px;
  height: 35px;
  margin: 0 auto;
  margin-top: 20px;
}
.finish-test-box .share span {
  float: left;
  width: 145px;
  height: 35px;
  cursor: pointer;
}
.finish-test-box .share span.vk {
  background: url(../images/vk.png);
}
.finish-test-box .share span.vk:hover {
  background: url(../images/vk_hover.png);
}
.finish-test-box .share span.tw {
  background: url(../images/twitter.png); 
}
.finish-test-box .share span.tw:hover {
  background: url(../images/twitter_hover.png); 
}
.finish-test-box .login {
  display: block;
  width: 650px;
  height: 150px;
  margin: 0 auto;
  border-top:solid 1px #000;
  border-bottom:solid 1px #000;
  margin-top: 20px;
  font-family: "GaramondPremrPro-ItCapt";
  font-size: 22px;
  line-height: 150px;
  text-align: center;
}
.finish-test-box .login .mess {
  display: block;
  height: 55px;
  text-align: center;
  font-family: "GaramondPremrPro-ItCapt";
  font-size: 22px;
  line-height: 26px;
  margin-top: 35px;
}

.finish-test-box .login #uLogin {
  width: 120px;
  height: 35px;
  margin: 0 auto;
  margin-bottom: 40px;
  margin-top: -50px;
}
.finish-test-box .login .login-for div {
  width: 34px;
  height: 34px;
  float: left;
  margin-right: 4px;
  cursor: pointer;
}
.finish-test-box .login .login-for div:last-child {
  margin-right: 0;
}
.finish-test-box .login .login-for div.fb {
  background: url(../images/social/fb.png);
}
.finish-test-box .login .login-for div.tw {
  background: url(../images/social/twitter.png);
}
.finish-test-box .login .login-for div.vk {
  background: url(../images/social/vk.png);
}
.finish-test-box .login .login-for div.fb:hover {
  background: url(../images/social/fb_hover.png);
}
.finish-test-box .login .login-for div.tw:hover {
  background: url(../images/social/twitter_hover.png);
}
.finish-test-box .login .login-for div.vk:hover {
  background: url(../images/social/vk_hover.png);
}
.finish-test-box .table-score {
  width: 800px;
  height: auto;
  margin: 0 auto;
  margin-top: 30px;
}
.finish-test-box .table-score header {
  font-size: 41px;
  line-height: 49px;
  font-family: "GaramondPremrPro-ItCapt";
  text-align: center;
  height: 50px;
  margin-bottom: 20px;
  display: block;
  width: 540px;
  margin: 0 auto;
}
.finish-test-box .table-score .t-body {
  font-family: "GaramondPremrPro-ItCapt";
  font-size: 22px;
  line-height: 20px;
  margin-top: 30px;
}
.finish-test-box .table-score .t-body .table-head {
  display: table;
  width: 100%;
}
.finish-test-box .table-score .t-body .table-head span.cell {
  padding-bottom: 20px;
}
.finish-test-box .table-score span.cell {
  display: table-cell;
}
.finish-test-box .table-score span.cell.c-1 {
  width: 30%;
}
.finish-test-box .table-score span.cell.c-2 {
  width: 30%;
}
.finish-test-box .table-score span.cell.c-3 {
  width: 40%;
  text-align: left;
}
.finish-test-box .table-score span.cell.c-4 {
  width: 18.125%;
  text-align: center;
}
.finish-test-box .table-score  span.cell.c-5 {
  width: 15%;
}
.finish-test-box .table-score .t-row {
  display: table;
  width: 100%;
  border-top: dotted 1px #000;
  height: 108px;
}
.finish-test-box .table-score .t-row span.cell {
  vertical-align: middle;
} 
.finish-test-box .table-score .t-row span.cell i {
  font-style: normal;
  display: table-cell;
  line-height: 26px;
  width: 195px;
  height: 60px;
  vertical-align: middle;
  text-align: left;
  padding-left: 25px;
}
.g-foto-cell {
  display: table-cell;
  height: 110px;
  width: 51px;
  vertical-align: middle;
}
.g-foto {
  display: inline-block;
  width: 51px;
  height: 51px;
  background-color:#f1f1f1;
  border:solid 2px #000;
  border-radius: 100%;
  line-height: 26px;
  overflow: hidden;
}
.g-foto img {
  max-width: 100%;
  width: 100%;
}

.records-view {
  display: block;
  width: 300px;
  height: 40px;
  line-height: 40px;
  font-family: "GaramondPremrPro-ItCapt";
  font-size:21px;
  text-align: center;
  border:solid 5px yellow;
  color: yellow;
  position: relative;
  top: -60px;
  cursor: pointer;
  opacity: 0.7;
  margin: 0 auto;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;

}
.records-view:hover {
  opacity: 1;
}
.main-records-tab .close-btn {
  position: absolute;
  right: 40px;
  top: 40px;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  border:solid 3px #000;
  text-align: center;
  box-sizing:border-box;
  cursor: pointer;
  opacity: 0.5;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  -ms-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  transition: opacity 0.3s;

}
.main-records-tab .close-btn i {
  font-family: "Arial";
  font-size: 35px;
  line-height: 35px;
  color: #000;
  -moz-transform: rotate(45deg); 
  -webkit-transform: rotate(45deg); 
  -o-transform: rotate(45deg); 
  transform: rotate(45deg);
  width: 20px;
  display: block;
  margin: 0 auto;
  margin-left: 7px;
  margin-top: -1px;


}
.main-records-tab .close-btn:hover {
  opacity: 1;
}
.main-records-tab {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255, 1);
  top: 0;
  left: 0;
}
.main-records-tab .r-tab-wr {
  width: 800px;
  height: 70%;
  padding-bottom: 50px;
  margin: 0 auto;
  margin-top: 100px;
}
.main-records-tab .r-tab-wr .r-table {
  margin: 0;
  padding: 0;
  height: 100%;
}
.r-table .t-head {
  display: table;
  width: 100%;
}

.r-table .t-body {
  height: 100%;
  overflow-y:scroll;
}
.t-head span.t-cell {
  padding-bottom: 20px;
}
.main-records-tab .r-tab-wr .r-table .row {
  display: table;
  width: 100%;
  border-top: dotted 1px #000;
  height: 108px;
}
.main-records-tab .r-tab-wr .r-table .t-cell:nth-child(1) {
  width: 30%;
  text-align: left;
}
.main-records-tab .r-tab-wr .r-table .t-cell:nth-child(2) {
  width: 30%;
  text-align: left;
}
.main-records-tab .r-tab-wr .r-table .t-cell:nth-child(3) {
  width: 40%;
}
.main-records-tab .r-tab-wr .r-table .t-cell {
  display: table-cell;
  text-align: center;
  font-family: "GaramondPremrPro-ItCapt";
  font-size: 22px;
  line-height: 20px;
  vertical-align: middle;
}
.foto-cell {
  display: table-cell;
  height: 110px;
  width: 51px;
  vertical-align: middle;
}
.foto-cell .foto img {
  max-width: 100%;
  width: 100%;
}
.foto-cell .foto {
  display: inline-block;
  width: 51px;
  height: 51px;
  background-color: #f1f1f1;
  border: solid 2px #000;
  border-radius: 100%;
  line-height: 26px;
  overflow: hidden;
}
.r-table .t-cell i {
  font-style: normal;
  display: table-cell;
  line-height: 26px;
  width: 195px;
  height: 60px;
  vertical-align: middle;
  text-align: left;
  padding-left: 25px;
}
/*******************/
.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;
}

/*================================*/

@width: 1200px;
@h_height: 220px;
@yellow: #fffd56;

#page {
    position: relative;
    width: 100%;
    height: 100%;
    min-width: @width;
    min-height: 600px;
    
    .f-container {
      width: @width;
      margin: 0 auto;
      position: relative;
    }
    
    .action {
      position: relative;
      height: 100%;
      overflow: hidden;
      
      .history {
        position: absolute;
        width: 100%;
        min-width: @width;
        height: @h_height;
        top: 50%;
        margin-top: -@h_height / 2;
        cursor: pointer;
        background-color: rgba(255, 255, 255, 0.5);
        
        &.disabled {
          pointer-events: none;
        }
        
        .highlight {
          position:  absolute;
          height: 100%;
          background-color: #fffe90;
          pointer-events: none;
          z-index: 1;
        }
        
        .checklight {
          position:  absolute;
          height: 100%;
          background-color: @yellow;
          pointer-events: none;
          z-index: 1;
        }
        
        .true-line {
          position: absolute;
          z-index: 2;
          top: 0;
          pointer-events: none;
          height: 100%;
          width: 1px;
          .box-scale(0);
          
          &.visible {
          	.box-scale(1);
          	.transition;
          }
          
          .point {
            @size: 13px;
            z-index: 6;
            position: absolute;
            left: 0;
            top: 50%;
            margin-left: -@size / 2;
            margin-top: -@size / 2;
            width: @size;
            height: @size;
            border: 1px solid #000000;
            background-color: @yellow;
            .box-sizing;
            .border-radius;

            &:before {
              content: '';
              position: absolute;
              width: 35px;
              height: 35px;
              border-radius: 100%;
              border:solid 1px;
              left: -13px;
              top: -13px;
            }
          }
          
          .year {
            position: absolute;
            width: 100px;
            height: 40px;
            line-height:  20px;
            text-align: center;
            margin-left: -50px;
            left: 50%;
            top: 100%;
            margin-top: 20px;
            padding-top:10px;
            font-family:"ProximaNova-Regular";
            font-size: 12px;
            
            &:after {
              content: '';
              position: absolute;
              width: 1px;
              height: 124px;
              background-color: #000000;
              left: 49px;
              top: -123px;
            }
          }
          
          .hint {
            position: absolute;
            width: 600px;
            height: 40px;
            line-height:  20px;
            text-align: center;
            margin-left: -300px;
            left: 50%;
            top: 0;
            margin-top: -60px;
            text-align: center;
            font-size: 16px;
            line-height: 19px;
            font-family: "GaramondPremrPro-Capt";
            
            &:after {
              content: '';
              position: absolute;
              width: 1px;
              height: 163px;
              background-color: #000000;
              left: 299px;
              top: 30px;
            }
          }
        }
        
        .line {
          position: absolute;
          z-index: 2;
          top: 0;
          pointer-events: none;
          height: 100%;
          width: 1px;
          background-color: #d2d8d0;
          
          .point {
            @size: 13px;
          
            position: absolute;
            left: 0;
            top: 50%;
            margin-left: -@size / 2;
            margin-top: -@size / 2;
            width: @size;
            height: @size;
            border: 1px solid #000000;
            background-color: #ffffff;
            .box-sizing;
            .border-radius;
          }
          
          .year {
            position: absolute;
            width: 50px;
            height: 20px;
            line-height:  20px;
            text-align: center;
            margin-left: -25px;
            top: 50%;
            left: 50%;
            font-family:"ProximaNova-Regular";
            font-size: 12px;
          }
          
          .hint {
            position: absolute;
            width: 600px;
            height: 20px;
            line-height:  20px;
            text-align: center;
            margin-left: -300px;
            left: 50%;
            display: none;
            text-align: center;
            font-size: 16px;
            line-height: 19px;
            font-family: "GaramondPremrPro-Capt";
          }
          
          &:nth-child(odd) {
            .year {
              margin-top: -36px;
            }
            
            .hint {
              top: 100%;
              padding-top: 20px;
              
              &:after {
                content: '';
                position: absolute;
                left: 299px;
                height: 124px;
                width: 1px;
                background-color: #000000;
                top: -103px;
                display: none;
              }
            }
          }
          
          &:nth-child(even) {
            .year {
              margin-top: 16px;
            }
            
            .hint {
              top: 0;
              margin-top: -40px;
              
              &:after {
                content: '';
                position: absolute;
                left: 299px;
                height: 125px;
                width: 1px;
                background-color: #000000;
                top: 20px;
                display: none;
              }
            }
          }
          
          &:last-of-type {
            .year {
              display: none!important;
            }
            
            .hint {
              display: block!important;
            }
          }
          
          /*&:first-of-type {
            .hint {
              margin-left: 0;
              text-align: left;
            }
          }
          
          &:last-of-type {
            .hint {
              margin-left: -200px;
              text-align: right;
            }
          }*/
          
          &.active {
            .hint {
              display: block;
              
              &:after {
                display: block;
              }
            }
          }
        }
      }
    }
    
    .footer {
      margin-top: 100px;
    }
}

.again {
	margin-top: 10px;
	
	.again-btn {
		width: 400px;
		padding: 20px;
		cursor: pointer;
		margin: 0 auto;
		font-family: 'GaramondPremrPro-ItCapt';
		font-size: 22px;
		text-align: center;
		
		&:hover {
			text-decoration: underline;
		}
	}
}

.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;
                                        }
                                }
                        }
                }
        }
}



/*.wrapper {
  position: relative;
  margin: 40px auto;
  background: white;
}

.wrapper, .wrapper * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wrapper {
  width: 36px;
  height: 36px;
}

.wrapper .pie {
  width: 50%;
  height: 100%;
  transform-origin: 100% 50%;
  position: absolute;
  background: #0088cc;
  border: 5px solid rgba(0,0,0,0.5);
}

.wrapper .spinner {
  border-top-left-radius: 100% 50%;
  border-top-right-radius: 100% 50%;
  border-bottom-right-radius: 100% 50%;
  border-bottom-left-radius: 100% 50%;
  z-index: 200;
  border-right: none;
  animation: rota 5s linear infinite;
}

.wrapper:hover .spinner,
.wrapper:hover .filler,
.wrapper:hover .mask {
  animation-play-state: running;
}

.wrapper .filler {
  border-radius: 0 100% 100% 0 / 0 50% 50% 0;
  left: 50%;
  opacity: 0;
  z-index: 100;
  animation: opa 5s steps(1, end) infinite reverse;
  border-left: none;
}

.wrapper .mask {
  width: 50%;
  height: 100%;
  position: absolute;
  background: inherit;
  opacity: 1;
  z-index: 300;
  animation: opa 5s steps(1, end) infinite;
}

@keyframes rota {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
@keyframes opa {
  0% {
    opacity: 1;
  }

  50%, 100% {
    opacity: 0;
  }
}*/
