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

div#page {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 1200px;
  min-height: 600px;

  .cont {
    position: relative;
    width: 100%;
    min-width: 1200px;
    margin: 0 auto;
    height: 100%;
  }
}
.test-start-page {
  height: 1050px;
  header {
    width: 1000px;
    height: 640px;
    margin: 0 auto;
    background: url(../images/start.jpg) center top no-repeat;
    .auth {
      position: relative;
      right: 65px;
      top: 550px;
      font-family: "ProximaNova-Regular";
      font-size: 12px;
      float: right;
    }
  }
  .start-text {
    /*position: absolute;*/
    width: 654px;
    height: 133px;
    background: url(../images/boxStroke.png);
    margin: 0 auto;
    /*left:800px;*/
    /*margin-left: -327px;*/
    margin-top: 90px;
    padding: 20px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: "ProximaNova-Regular";
    line-height: 19px;
    font-size: 16px;


  }
  .com-box {
    display: block;
    /*position: absolute;*/
    width: 440px;
    height: 70px;
    margin: 0 auto;
    left:50%;
    /*margin-left: -220px;*/
    margin-top: 40px;
    background: url(../images/com.png) left top no-repeat;
    padding-left: 90px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: "ProximaNova-Regular";
    font-size: 12px;
    line-height: 14px;
    padding-top: 10px;
    color: #000;
    text-decoration: none;
  }
  .start-btn {
    width: 112px;
    height: 112px;
    display: block;
    margin: 0 auto;
    background-color: #000;
    border-radius: 100%;
    font-family: "ProximaNova-Regular";
    font-size: 14px;
    line-height: 112px;
    text-align: center;
    /*position: absolute;*/
    /*left: 50%;*/
    /*margin-left: -56px;*/
    /*top: 50%;*/
    margin-top: 40px;
    cursor: pointer;
    color: #fff;

  }
}
.test-end-page {
  .cover-box {
    padding-top: 60px;
    .com-box {
      display: block;
      /*position: absolute;*/
      width: 600px;
      margin: 0 auto;
      left:50%;
      /*margin-left: -220px;*/
      margin-top: 40px;
      padding-left: 0;
      box-sizing: border-box;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      font-family: "ProximaNova-Regular";
      font-size: 16px;
      line-height: 18px;
      padding-top: 10px;
      padding-bottom: 10px;
      color: #000;
      text-decoration: none;
      text-align: center;
      border-top:solid 1px #000;
      border-bottom:solid 1px #000;
      margin-top: 60px;
      .logo {
        width: 173px;
        height: 62px;
        margin: 0 auto;
        background: url(../images/logoCDH.jpg) left top no-repeat;
        display: block;
        margin-bottom: 10px;
      }
    }
  }
}
.test-cont-page,
.test-end-page {
  height: 100%;
  
  .cover-box {
    position: relative;
    width: 1000px;
    height: 100%;
    min-height: 100%;
    background: url(../images/stroke.png) top left no-repeat;
    margin: 0 auto;
    margin-top: 0px;
    .end-info {
      width: 550px;
      height: 100px;
      margin: 0 auto;
      font-family: "Georgia";
      font-size: 80px;
      line-height: 96px;
      color: rgb(226,12,9);
      text-align: center;
    }
    .result-text {
      font-family: "ProximaNova-Extrabld";
      font-size: 14px;
      line-height: 16px;
      margin: 0 auto;
      display: block;
      width: 100px;
      height: 20px;
      text-align: center;
      
    }
    .end-info-text {
      width: 550px;
      height: auto;
      margin: 0 auto;
      font-family: "ProximaNova-Regular";
      font-size: 20px;
      line-height: 24px;
      color:#000;
      text-align: left;
      font-style: italic;
      text-align: center;
    }
    .social {

      width: 300px;
      height: 35px;
      margin: 0 auto;
      margin-top: 40px;
    }
    .social span {
      width: 140px;
      height: 35px;
      float: left;
    }
    .social span.vk {
      background: url(../images/vk.png);
    }
    .social span.vk:hover {
      background: url(../images/vk_hover.png);

    }
    .social span.tw {
      background: url(../images/twitter.png);
      float: right;
    }
    .social span.tw:hover {
      background: url(../images/twitter_hover.png);
    }
    .cover-type {
      position: absolute;
      width: 200px;
      min-height: 50px;
      top: 200px;
      left: 30px;
      text-align: right;
      font-family: "ProximaNova-Regular";
      font-size: 12px;
      line-height: 14px;
      .crt {

      }
      span {
        display: block;
        text-transform: uppercase;
      }
    }
    .covers {
      display: block;
      position: absolute;
      width:400px;
      height: 500px;
      left: 250px;
      top: 100px;
      
      img {
        max-width: 100%;
      }
    }
    .answers {
      display: block;
      width: 315px;
      height: 185px;
      position: absolute;
      left: 680px;
      top: 250px;
      font-family: "ProximaNova-Regular";
      font-size: 18px;
      line-height: 21px;
      .heading {
        text-transform: uppercase;
        margin-bottom: 20px;  
      }
      .item {
        display: block;
        margin-top: 10px;
        cursor: pointer;
        i {
          font-style: normal;  
        }
        &.right {
          color: rgb(48,180,74);
        }
        &.error {
          color: rgb(233,50,60); 
          text-decoration: line-through;
        }
      }
    }
    .next-btn {
      display: block;
      position: absolute;
      left: 660px;
      top: 400px;
      width: 166px;
      height: 154px;
      background: url(../images/btnNextQ.jpg);
      cursor: pointer;
      display: none;
      &:hover {
        background: url(../images/btnHover.jpg);
      }
      &:active {
        background: url(../images/btnPush.jpg) center center no-repeat; 
      }
    }
  }
}
.test-cont-page {
  height: 700px;
}
.social-btn {
  cursor: pointer;
}
.test-end-page {
  height: 700px;
}
.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;
                                        }
                                }
                        }
                }
        }
}
