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

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

@textMainColor:rgb(255,170,11);
@textMainFam: "ProximaNova-Regular";

div#page {
  position: relative;
  width: 100%;
  min-width: 1200px;
  height: 100%;
  .cont {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    height: auto;
    min-height: 100%;
  }
}
.start-box {
  height: auto;
  min-height: 100%;
  background-color: #505050;
  background-size: cover;

    header {
        height: 200px;
        background: @textMainColor;
        text-align: center;
        padding-top: 20px;

        .t-name { 
            width: 977px;
            height: 192px;   
            background: url(../images/zahod.png) left top no-repeat;
            background-color:@textMainColor;
            margin: 0 auto;
        }
        
    }
    .des-wr {
        width: 1000px;
        margin: 0 auto;
        margin-top: 30px;

       .l-descrip {
           width: 250px;
           height: auto;
           float: left;
           margin-right: 35px;
           margin-left: 80px;

           a {
               font-family: "ProximaNova-Regular";
               font-size: 15px;
               line-height: 18px;
               color: @textMainColor !important;
           }
           .t-small {
               font-family: "ProximaNova-Regular";
               font-size: 14px;
               line-height: 16px;
               color: #fff;
               margin-top: 30px;
           }
       }
       .description {
            float: left;

           .name-text {
             display: block;
             width: 600px;
             margin-top: 20px;
             color: #fff;
             font-family: "ProximaNova-Regular";
             font-size: 26px;
             line-height: 36px;
             text-align: left;
            
           }
           .t-authors {
             width: 450px;
             height: auto;
             float: none;
             color: @textMainColor;
             line-height: 18px;
             font-size: 15px;
             text-align: left;
             font-family: "ProximaNova-Regular";

             a {
               display: block;
               color: rgb(255,233,0);
               display: inline-block;
             }
           }
           .start-btn {
                width: 144px;
                height: 66px;
                line-height: 66px;
                text-align: center;
                font-family: "ProximaNova-Regular";
                border:solid 1px @textMainColor;
                color: @textMainColor;
                text-transform: uppercase;
                font-size: 15px;
                margin-left: -2px;
                margin-top: 50px;
                margin-bottom: 60px;
                border-radius: 30px;
                cursor: pointer;

                -webkit-transition: all 0.3s;
                -moz-transition: all 0.3s;
                -ms-transition: all 0.3s;
                -o-transition: all 0.3s;
                transition: all 0.3s;

                &:hover {
                    background-color:@textMainColor;
                    color: #fff;
                }
           }
       } 
    }
    
    
}
.test-repeat {
    width: 144px;
    height: 66px;
    line-height: 66px;
    text-align: center;
    font-family: "ProximaNova-Regular";
    border:solid 1px @textMainColor;
    color: @textMainColor;
    text-transform: uppercase;
    font-size: 15px;
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 60px;
    border-radius: 30px;
    cursor: pointer;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;

    &:hover {
      background-color:@textMainColor;
      color: #fff;
    }
}
.action-box,
.result-box {
  height: 100%;
  background-color:#505050;
  
  .question,
  .result {
    width: 560px;
    height: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -280px;
    margin-top: -240px;
    
   
    .q-crt {
      width:90px;
      height: 20px;
      margin: 0 auto;
      font-family: @textMainFam;
      font-size: 11px;
      color: @textMainColor;
      text-align: center;
      margin-bottom: 30px;
    }
    .r-img,
    .q-img {
      width: 280px;
      height: 150px;
      margin: 0 auto;
      margin-bottom: 40px;
    }
    .r-text,
    .q-text {
      width: 100%;
      height: auto;
      text-align: center;
      color: #fff;
      font-family: @textMainFam;
      font-size: 30px;
      line-height: 36px;
      text-transform: uppercase;
    }
    .q-btn-wr {
      width: 256px;
      height: 51px;
      margin: 0 auto;
      margin-bottom: 20px;
      margin-top: 55px;

      .q-btn {
        width: 111px;
        height: 51px;
        border-radius: 30px;
        box-sizing:border-box;
        border:solid 1px @textMainColor;
        color: @textMainColor;
        font-family: @textMainFam;
        font-size: 15px;
        line-height: 18px;
        float: left;
        text-align: center;
        line-height: 51px;
        cursor: pointer;

        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;


        &:first-child {
          margin-right: 30px;
        }
        &:hover {
          background-color:@textMainColor;
          color: #fff;
        }
      }
    }
    .r-img {
        background-color: #505050;
        height: auto;

        img {
            max-width: 100%;
        }
    }
  }
  .result {
    width: 700px;
    margin: 0 auto;
    height: auto;
    position: relative;
    margin-top: 0px;
    padding-top: 170px;
    left: 0;
    top: 0;
  }
  .share-line {
    height: 90px;
    background-color: @textMainColor;
    width: 100%;
    position: relative;
    margin-top: 50px;
  }
}

.result-box {

    min-height: 100%;
    height: auto;
    padding-bottom: 20px;

  .cont {
    min-height: 400px !important;
  }
}

.social {
  width: 330px;
  height: 35px;
  margin: 0 auto;
  padding-top: 28px;

  .social-btn {
    cursor:pointer;
  }

  .vk {
    width: 145px;
    height: 35px;
    background: url(../images/vk.png);
    float: left;
    

    &:hover {
      background: url(../images/vk_hover.png);
    }
  }
  .tw {
    width: 145px;
    height: 35px;
    background: url(../images/twitter.png);
    float: left;
    margin-right: 30px;

    &:hover {
      background: url(../images/twitter_hover.png);
    }
  }
}

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