/* `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";
@textMainBold: "ProximaNova-Extrabld";

div#page {
  position: relative;
  width: 100%;
  min-width: 1200px;
  min-height: 100%;
  .cont {
    position: relative;
    width: 1200px;
    margin: 0 auto;
    height: auto;
    min-height: 100%;
  }
  
}


.start-box {
  height: auto;
  margin-bottom: 40px;
  background-size: cover;
    header {
        height: auto;
        padding-top: 20px;
        position: relative;

        .auth {
          position: absolute;
          right: 278px;
          top: 150px;
          width: 194px;
          height: 183px;
          float: none;
          font-family: @textMainFam;
          font-size: 10px;
          line-height: 12px;
          color: #000;
          text-transform: uppercase;
          margin-top: 230px;
            a {
              color: #000 !important;
            }

        }
        .t-img {
          width: 820px;
          height: 515px;
          margin: 0 auto;
          margin-bottom: 30px;
          background-image: url(../images/start.jpg);
        }
        .t-name {
          font-family: @textMainBold;
          font-weight: bold;
          font-size: 18px;
          line-height: 21px;
          color: #000;
          margin: 0 auto;
          text-align: left;
          width: 1000px;

          /*text-transform: uppercase;*/

          b {
            display: block;
          }
          span {
            font-family: @textMainFam;
            display: block;
            font-weight: normal;
            font-size: 16px;
            line-height: 19px;

          }
        }
    }   
}

.action-box {
  min-height: 100%;
  height: auto;
  padding-bottom: 20px;
  overflow: hidden;

  .t-cont {
    min-height: 100%;
    width: 1000px;
    height: auto;
    margin: 0 auto;
      .hed {
        width: 1000px;
        margin: 0 auto;
        height: 36px;
        margin-bottom: 70px;
        margin-top: 100px;


          span {
            text-align: center;
            font-size: 31px;
            line-height: 37px;
            font-family: @textMainFam;
            font-weight: bold;
            display: block;
          }
          .arrow {
            width: 128px;
            margin-top: 10px;
            height: 40px;
            margin: 0 auto;
            background: url(../images/arrow.png) center top no-repeat;
            background-size: contain;
          }
      } 

      .persons-box {
        h1 {
          font-family: @textMainBold;
          font-size: 30px;
          line-height: 48px;
          text-align: center;
        }
        .person-wr.three-n {
          margin-right: 0;
        }
        .person-wr {
          position: relative;
          width: 299px;
          height: 350px;
          float: left;
          display: block;
          margin-right: 50px;
          margin-bottom: 40px;

            .persone {
              width: 120px;
              height:171px;
              position: absolute;
              top: 22px;
              cursor: pointer;

                img {
                  max-height: 100%;
                  position: relative;
                  z-index: 8;
                }
                .glow {
                  position: absolute;
                  width: 165px;
                  height: 106px;
                  background-image: url(../images/glow.png);
                  z-index: 7;
                  top: 0;
                  margin-top: 67px;
                  margin-left: -24px;
                  display: none;
                }

                &:hover {

                  .glow {
                    display: block;
                  }
                }
              
            }
            .persone.active {
              .glow {
                display: block;
              }
            }
            .persone.wide {
              width: 299px;
              text-align: center;
            }
            .persone:first-child {
              left:40px;
            } 
            .persone:last-child {
              right:35px;
            }
            .desk {
              position: absolute;
              width: 300px;
              height: 158px;
              background: url(../images/parta.png);
              bottom: 0;
              z-index: 10;
            }
        }
        .person-wr.first {
          float: none;
          margin:0 auto;

            .persone.wide {
              left: 0;
              right: 0;
            }
        }
        
        .person-wr.wide {

          .persone.wide {
            left: 10px;

              .glow {
                margin-left: 55px;
              }
          }
        }
      }
      .persons-box.last {
        
        .person-wr:nth-child(3n+3) {
          margin-right:0;

        }
      }
      .txt-cont {
          position: relative;
          p {
            font-family: @textMainFam;
            font-size: 14px;
            line-height: 28px;
              b {
                font-family: @textMainBold;
              }
          }  
          h1 {
            font-size: 36px;
            line-height: 36px;
          }           

          .line {
            width: 1020px;
            height: 16px;
            display: block;
            background:url(../images/line.png);
          }
          i {
            font-family: "PTSerif-Italic";
            font-size: 20px;
            line-height: 24px;
          }
          .img1 {
            position: absolute;
            width: 330px;
            height: 157px;
            right: -40px;
            background: url(../images/picsForText/1.jpg);
            background-size: cover;
            margin-top: -65px;
          }
          .img2 {
            position: absolute;
            width: 271px;
            height: 458px;
            left: -292px;
            background:url(../images/picsForText/3.jpg); 
            background-size: cover;
          }
          .img3 {
            position: absolute;
            width: 268px;
            height: 127px;
            right: 0;
            background:url(../images/picsForText/5.jpg); 
            background-size: cover;
            margin-right: -320px;
            margin-top: -150px;
          }
          .img4 {
            position: absolute;
            width: 141px;
            height: 307px;
            left: 20px;
            background:url(../images/picsForText/4.jpg); 
            background-size: cover;
            margin-left: -200px;
          }
          .img5 {
            position: absolute;
            width: 361px;
            height: 501px;
            right: 20px;
            background:url(../images/picsForText/2.jpg); 
            background-size: cover;
            margin-top: -500px;
            margin-right: -450px;
          }
      }

  }
}

.popup {
  width: 824px;
  height: 348px;
  position: fixed;
  left: 50%;
  top: 50%;
  margin-left: -412px;
  margin-top: -174px;
  background-color: #fff;
  border:solid 2px #000;
  border-radius: 12px;
  padding: 20px 10px 10px 10px;
  box-sizing:border-box;
  box-shadow: 0 3px 10px rgba(0,0,0,0.7);
  z-index: 9999;
  display: none;

    .close-btn {
      display: block;
      position: absolute;
      width: 87px;
      height: 22px;
      right: 20px;
      cursor: pointer;

        span {
          font-family: @textMainFam;
          font-size: 12px;
          text-transform: uppercase;
          margin-right: 5px;
          display: block;
          float: left;
          width: 55px;
          line-height: 25px;
          text-decoration: underline;
        }
        .btn-ico {
          display: block;
          float: left;
          cursor: pointer;
          width: 25px;
          height: 25px;
          background: url(../images/btnClose.png)center center;
        }
        &:hover span {
          text-decoration: none;
        }
    }

    .pop-img {
      width: 200px;
      height: 300px;
      float: left;
      background-color: #ccc;
      background-size: cover;
      margin-right: 15px;
      background-position: center center;
    }
    .pop-title {
      float: left;
      font-family: @textMainBold;
      font-size: 26px;
      line-height: 31px;
      text-transform: uppercase;
      width: 420px;
      float: left;

    }
    .pop-text {
      font-family: @textMainFam;
      font-size: 16px;
      line-height: 19px;
      margin-top: 20px;
      float: left;
      width: 580px;
    }
}
.popup.last {
  width: 656px;
  height: auto;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 30px;
  box-sizing:border-box;
  margin-top: -230px;
  margin-left: -328px;

    .pop-img {
      width:600px;
      height: 300px;
      float: none;
      margin: 0 auto;
      margin-top: 20px;
    }
    .pop-title {
      float: none;
    }
    .pop-text {
      float: none;
    }
    .social {
      float: left;
    }


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

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