body {
  background-color: #EEEAE5;
  padding: 0;
  margin: 0;
}

.history-widget .container {
  width: 980px;
  margin: 0 auto;
}

.history-widget-wrap .heading-special {
  font-size: 105px;
  font-family: 'als_klementinaregular';
  font-weight: normal;
  margin: 0 0 30px;
  padding: 0;
  text-align: center;
  line-height: 85%;
}

/* history widget */
.history-widget {
  width: 980px;
  height: 0;
  padding-top: 10px;
  position: relative;
  /*overflow: hidden;*/
}

/* MagicScroller */
.magic-scroller-mode1 {
  position: static;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
}

.magic-scroller-mode2 {
  position: fixed;
  top: 0;
  bottom: auto;
  left: auto;
  right: auto;
  width: 100%;
}

.magic-scroller-mode3 {
  position: absolute;
  top: auto;
  bottom: 0;
  left: auto;
  right: auto;
  width: 100%;
}

/* INFO-BLOCK */

.history-widget  .info{
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 280px;
  }

.history-widget  .info h3{
    margin: 0 0 5px 0;
    padding: 0;
    font-size: 21px;
    font-weight: normal;
  }

.history-widget  .info .fact{
    display: none;
    margin-top: 6px;
    font-family: Arial, sans-serif;
    font-style: italic;
    font-size: 13px;
    line-height: 1.5;
	margin-bottom: 13px;
  }

.history-widget  .info h3 a,
.history-widget  .info h3 a:visited{
    color: #000000;
  }

 .history-widget .info .link-pseudo{
    color: #000000;
    border-bottom: 1px dashed #000000;
    cursor: pointer;
  }

.history-widget  .info .more{
    margin-left: 23px;
    font-style: italic;
    font-size: 13px;
    font-family: Arial, sans-serif;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
  }

.history-widget  .info .with-icon{
    position: relative;
  }

.history-widget  .info .with-icon:before{
    content: '';
    position: absolute;
    display: inline-block;
    background-image: url('../img/history/info-icons-sprite.png');
  }

.history-widget .info .with-icon.icon-photo:before{
    width: 40px;
    height: 20px;
    top: 4px;
    left: -38px;
    background-position: -28px -34px;
  }

.history-widget .info .with-icon.icon-facts:before{
    width: 24px;
    height: 24px;
    top: 2px;
    left: -35px;
    background-position: -30px -77px;
  }

.history-widget .info .with-icon.icon-more:before{
    width: 22px;
    height: 14px;
    top: 1px;
    left: -22px;
    background-position: -35px -141px;
  }

.history-widget .info .photo-sample{
    display: none;
    padding: 8px 0 6px;
  }


.history-widget .info h3.icon-facts{
    margin-top: 18px;
  }

/* NEWS-BLOCKS */

  .history-widget .news{
    position: absolute;
    overflow: hidden;
    top: 66px;
    bottom: 30px;
    width: 326px;
  }

  .history-widget .news .news-inner{
  }

  .history-widget .news .period{
    display: none;

  }

  .history-widget .news .news-item{
    position: relative;
    padding: 20px 20px;
    margin: 0 0 15px;

    background-image: url('../img/history/news-bg.png');
    font-family: 'officinaserifcregular';
    font-size: 15px;

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    border-radius: 6px;
  }

  .history-widget .news .news-item h3{
    font-size: 21px;
    font-weight: normal;
    margin: 0 0 11px;
    padding: 0;
  }

  .history-widget .news .news-item p{
    margin: 0 0 20px;
    padding: 0;
  }

  .history-widget .news .news-item a{
    outline: none;
  }

  .history-widget .news .news-item a:link{
    color: black;
  }

  .history-widget .news .news-item a:hover{
    color: #ed7703;
  }

/* SWITCHER */

  .history-widget .switcher{
    text-align: center;
  }

  .history-widget .switcher .switcher-inner{
    display: inline-block;
    position: relative;
    vertical-align: top;
    z-index: 1;
    padding: 5px 0 3px;
    margin: 0 0 20px;
  }

  .history-widget .switcher ul{
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
  }

  .history-widget .switcher ul{
    margin: 0;
    list-style-type: none;
    font-size: 0;
    padding: 0;
  }

  .history-widget .switcher ul li{
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    padding: 0 10px;
    margin: 0 10px 0 0;
    font-size: 17px;
  }

  .history-widget .switcher ul li span{
    border-bottom: 1px dashed #000;
    display: inline-block;
    line-height: 0.9;
  }

  .history-widget .switcher ul li.selected span{
    border: none;
    cursor: default;
  }

  .history-widget .switcher .switcher-slider{
    height: 100%;
    width: 101px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 2px 3px 0 rgba(0, 0, 0, 0.4), 0 2px 1px 1px rgba(255, 255, 255, 0.7);
    -moz-box-shadow: inset 0 2px 3px 0 rgba(0, 0, 0, 0.4), 0 2px 1px 1px rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 2px 3px 0 rgba(0, 0, 0, 0.4), 0 2px 1px 1px rgba(255, 255, 255, 0.7);
    background: #faa627;
    background: -moz-linear-gradient(top, #faa627 0%, #fdd617 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #faa627), color-stop(100%, #fdd617));
    background: -webkit-linear-gradient(top, #faa627 0%, #fdd617 100%);
    background: -o-linear-gradient(top, #faa627 0%, #fdd617 100%);
    background: -ms-linear-gradient(top, #faa627 0%, #fdd617 100%);
    background: linear-gradient(to bottom, #faa627 0%, #fdd617 100%);
  }

/* TIMELINE */

  .history-widget .timeline{
    margin: 0 auto;
    width: 666px;
    height: 50px;
    position: relative;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
  }

  /* serifs */
  .history-widget .timeline .serif{
    position: absolute;
    top: 6px;
    width: 1px;
    height: 13px;
    background: #aaaaaa;
    border-right: 1px solid #fbfaf9;
    margin-left: -1px;
  }

  .history-widget .timeline .serif.serif-1{ left: 141px; }
  .history-widget .timeline .serif.serif-2{ left: 269px; }
  .history-widget .timeline .serif.serif-3{ left: 397px; }
  .history-widget .timeline .serif.serif-4{ left: 525px; }


  /* lines */
  .history-widget .timeline .line{
    position: absolute;
    top: 10px;
    height: 5px;
    left: 13px;
    border-radius: 2px;

  }

  .history-widget .timeline .line.line-1{
    background: url('../img/history/timeline-line-1.gif');
    right: 13px;
  }

  .history-widget .timeline .line.line-2{
    background: url('../img/history/timeline-line-2.gif');
    width: 0;
  }

  /* helper */
  .history-widget .timeline .helper{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 23px;
    cursor: pointer;
  }

  /* slider */
  .history-widget .timeline .slider{
    position: absolute;
    left: 0;
    top: 0;
    width: 29px;
    height: 29px;
    background: url('../img/history/timeline-slider-sprite.png') no-repeat;
    background-position: -29px 0;
    cursor: url('../img/history/hand-1.cur'), pointer;
  }

  .history-widget .timeline .slider:hover{
    background-position: 0 0;
  }

  .history-widget .timeline .slider:active,
  .history-widget .timeline .slider.active,
  .history-widget .timeline .slider.ui-draggable-dragging{
    cursor: url('../img/history/hand-2.cur'), pointer;
  }

  /* labels */
  .history-widget .timeline .label{
    position: absolute;
    bottom: 4px;
    font-family: 'officinaserifcregular';
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
    color: #807f7d;
    cursor: pointer;
  }

  .history-widget .timeline .label.enabled{
    color: black;
  }

  .history-widget .timeline .label.label-1{ left: 13px; }
  .history-widget .timeline .label.label-2{ left: 126px; }
  .history-widget .timeline .label.label-3{ left: 254px; }
  .history-widget .timeline .label.label-4{ left: 382px; }
  .history-widget .timeline .label.label-5{ left: 510px; }
  .history-widget .timeline .label.label-6{ right: 13px; }

/* THREE */
  
  .history-widget .tree-block {
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    top: 70px;
    bottom: 30px;
    overflow: hidden;
  }

  .history-widget .tree-block .grass{
    position: absolute;
    bottom: 0;
    left: 145px;
    width: 566px;
    height: 80px;
    background: url('../img/history/grass.png');
  }

  .history-widget .tree-block .tree-img{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -332px;
    width: 664px;
    background-image: url('../img/history/tree-sprite.jpg');
    background-position: 664px 0;
    background-repeat: no-repeat;
  }

  .history-widget .tree-block .tree-img.t1{ background-position: 0 0; }
  .history-widget .tree-block .tree-img.t2{ background-position: -664px 0; }
  .history-widget .tree-block .tree-img.t3{ background-position: -1328px 0; }
  .history-widget .tree-block .tree-img.t4{ background-position: -1992px 0; }
  .history-widget .tree-block .tree-img.t5{ background-position: -2656px 0; }
  .history-widget .tree-block .tree-img.t6{ background-position: -3320px 0; }

  .history-widget .tree-block .frame{
    display: none;
  }

  .history-widget .tree-block .frame .elem{
    display: none;
    position: absolute;
    background-image: url('../img/history/anim-sprite.png');
    background-repeat: no-repeat;
  }



  /* период 1: птички */
  .history-widget .tree-block .frame.f1 .elem.e1{ background-position: 0 0;      width: 65px;  height: 90px; }
  .history-widget .tree-block .frame.f1 .elem.e2{ background-position: -65px 0;  width: 55px;  height: 44px; }
  .history-widget .tree-block .frame.f1 .elem.e3{ background-position: -120px 0; width: 60px;  height: 60px; }
  .history-widget .tree-block .frame.f1 .elem.e4{ background-position: -290px 0; width: 110px; height: 50px; }
  .history-widget .tree-block .frame.f1 .elem.e5{ background-position: -180px 0; width: 110px; height: 70px; }

  /* период 2: подарочки */
  .history-widget .tree-block .frame.f2 .elem{ background-image: url('../img/history/anim-2-sprite.png'); }
  .history-widget .tree-block .frame.f2 .elem.e1{ background-position: 0 0;      width: 98px;  height: 90px; }
  .history-widget .tree-block .frame.f2 .elem.e2{ background-position: -98px 0;  width: 77px;  height: 90px; }
  .history-widget .tree-block .frame.f2 .elem.e3{ background-position: -175px 0; width: 85px;  height: 90px; }

  /* период 3: медальки */
  .history-widget .tree-block .frame.f3 .elem{ background-image: url('../img/history/anim-3-sprite.png'); }
  .history-widget .tree-block .frame.f3 .elem.e1{ background-position: 0 0;      width: 60px;  height: 100px; }
  .history-widget .tree-block .frame.f3 .elem.e2{ background-position: -60px 0;  width: 60px;  height: 100px; }
  .history-widget .tree-block .frame.f3 .elem.e3{ background-position: -120px 0; width: 70px;  height: 100px; }

  /* период 4: волны wi-fi */
  .history-widget .tree-block .frame.f4 .elem{
    background-image: url('../img/history/anim-4-sprite.png');
    background-repeat: no-repeat;
    background-position: 61px;
  }

 .tree-block .frame.f4 .elem{ width: 61px;  height: 61px; }
 .tree-block .frame.f4 .elem.e1{ left: 346px;  top: 30px; }
 .tree-block .frame.f4 .elem.e2{ left: 768px;  top: 100px; }
 .tree-block .frame.f4 .elem.e3{ left: 766px;  top: 320px; }
 .tree-block .frame.f4 .elem.e1.p1{ background-position: 0 0; }
 .tree-block .frame.f4 .elem.e1.p2{ background-position: -61px 0; }
 .tree-block .frame.f4 .elem.e1.p3{ background-position: -122px 0; }
 .tree-block .frame.f4 .elem.e2.p1{ background-position: 0 -61px; }
 .tree-block .frame.f4 .elem.e2.p2{ background-position: -61px -61px; }
 .tree-block .frame.f4 .elem.e2.p3{ background-position: -122px -61px; }
 .tree-block .frame.f4 .elem.e3.p1{ background-position: 0 -122px; }
 .tree-block .frame.f4 .elem.e3.p2{ background-position: -61px -122px; }
 .tree-block .frame.f4 .elem.e3.p3{ background-position: -122px -122px; }


  /* период 5: прелоадер */
  .history-widget .tree-block .frame.f5 .elem{
    background-image: url('../img/history/anim-5-sprite.png');
    background-repeat: no-repeat;
  }

  .history-widget .tree-block .frame.f5 .elem.e1{ background-position: -202px 0; width: 24px;  height: 24px; left: 486px; top: 236px; }
  .history-widget .tree-block .frame.f5 .elem.e2{ background-position: -202px 0; width: 24px;  height: 24px; left: 508px; top: 246px; }
  .history-widget .tree-block .frame.f5 .elem.e3{ background-position: -202px 0; width: 24px;  height: 24px; left: 516px; top: 268px; }
  .history-widget .tree-block .frame.f5 .elem.e4{ background-position: -202px 0; width: 24px;  height: 24px; left: 508px; top: 289px; }
  .history-widget .tree-block .frame.f5 .elem.e5{ background-position: -202px 0; width: 24px;  height: 24px; left: 486px; top: 298px; }
  .history-widget .tree-block .frame.f5 .elem.e6{ background-position: -202px 0; width: 24px;  height: 24px; left: 464px; top: 289px; }
  .history-widget .tree-block .frame.f5 .elem.e7{ background-position: -202px 0; width: 24px;  height: 24px; left: 456px; top: 268px; }
  .history-widget .tree-block .frame.f5 .elem.e8{ background-position: -202px 0; width: 24px;  height: 24px; left: 464px; top: 246px; }
  .history-widget .tree-block .frame.f5 .elem.e9{ background-position: 0 0; width: 60px;  height: 46px; }
  .history-widget .tree-block .frame.f5 .elem.e10{ background-position: -60px 0; width: 60px;  height: 46px; }
  .history-widget .tree-block .frame.f5 .elem.e11{ background-position: -120px 0; width: 82px;  height: 46px; }












