@import "preloader.css";

body.loading .loader .progress_bar,
body.loaded .loader .progress_bar {
  background: url("../../media/gim_icon.png") center no-repeat;
  width: 84px;
  height: 82px;
  margin-top: -20px;
  margin-left: -65px;
}

#layout {
  min-width: 1000px;
  overflow: hidden;
}

#main {
  background: url("../../media/gim/bg_gradient.png") 0 0 repeat-x;
  backface-visibility: hidden;
  cursor: hand;
  position: relative;
  min-height: 1826px;
  width: 3210px;
  -webkit-backface-visibility: hidden;
  -webkit-transform: scale(.6);
  -webkit-perspective: 1000px;
  transform: scale(.6);
  top: -365px;
  z-index: 1;
}

#main:before {
  content: "";
  background: url("../../media/gim/top_curves.png") 50% 0 no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1292px;
}

#logo {
  position: relative;
  text-align: center;
  padding-top: 23px;
  z-index: 3;
}
#logo img {
  display: block;
  margin: 0 auto;
}

#homeland_logo {
  position: relative;
  text-align: center;
  padding-top: 50px;
  padding-bottom: 20px;
  z-index: 3;
}
#homeland_logo img {
  display: none;
}
.ru #homeland_logo .ru_name {
  display: inline-block;
}
.en #homeland_logo .en_name {
  display: inline-block;
  margin-top: -48px;
}

#developers {
  text-align: center;
  font-size: 14px;
}

#developers img {
  margin: 0 10px;
}

#developers .name {
  display: none;
  vertical-align: top;
  margin-top: 45px;
}

#developers .name.left {
  text-align: right;
}

#developers .name ins {
  font-size: 12px;
  font-style: italic;
}

.en #developers .en_name {
  display: inline-block;
}

.ru #developers .ru_name {
  display: inline-block;
}

.header {
  position: absolute;
  width: 100%;
}

.header .head {
  text-align: center;
  position: relative;
  right: 520px;
  font: 25px/41px Georgia,serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: normal;
  color: #fffefe;
  margin: 15px auto;
  width: 270px;
  z-index: 3;
}

/**
 * EVENTS
 **/

#events {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100%;
  min-height: 100%;
}

.pik {
  position: absolute;
  left: 50%;
  top: 113px;
  width: 35px;
  height: 102px;
  margin-left: -375px;
}
.pik .img_pik {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_pik.png") 0 0 no-repeat;
}
.pik .point {
  left: 5px;
  top: 40px;
}

.lesa {
  position: absolute;
  left: 50%;
  top: 211px;
  width: 354px;
  height: 666px;
  margin-left: 199px;
}
.lesa .img_lesa {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_lesa.png") 0 0 no-repeat;
}
.lesa .point {
  left: 170px;
  top: 300px;
}

.library {
  position: absolute;
  left: 50%;
  top: 908px;
  width: 383px;
  height: 280px;
  margin-left: -268px;
}
.library .img_library {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_library.png") 0 0 no-repeat;
}
.library .point {
  left: 38px;
  top: 80px;
}

.king {
  left: 50%;
  margin-left: -73px;
  position: absolute;
  top: 1098px;
  width: 70px;
  height: 43px;
  z-index: 2 !important;
}
.king .img_king {
  position: absolute;
  left: -12px;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_king.png") 0 0 no-repeat;
}
.king .point {
  left: -5px;
  top: -30px;
}

.tower {
  position: absolute;
  left: 50%;
  top: 714px;
  width: 196px;
  height: 521px;
  margin-left: -681px;
}
.tower .img_tower {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_tower.png") 0 0 no-repeat;
}
.tower.active { z-index: 1 !important; }
.tower .point {
  left: 4px;
  top: 216px;
}

.pulemet {
  position: absolute;
  left: 50%;
  top: 1106px;
  width: 54px;
  height: 104px;
  margin-left: 575px;
}
.pulemet .img_pulemet {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_pulemet.png") 0 0 no-repeat;
}
.pulemet .point {
  left: -37px;
  top: 45px;
}

.lift {
  position: absolute;
  left: 50%;
  top: 1292px;
  width: 155px;
  height: 186px;
  margin-left: -460px;
}
.lift .img_lift {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_lift.png") 0 0 no-repeat;
}
.lift .point {
  left: 90px;
  top: 100px;
}

.main_hall {
  position: absolute;
  left: 50%;
  top: 1276px;
  width: 252px;
  height: 406px;
  margin-left: -137px;
}
.main_hall .img_main_hall {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_main_hall.png") 0 0 no-repeat;
}
.main_hall.active { z-index: 1 !important; }

.main_hall .point {
  left: 142px;
  top: 58px;
}

.gun {
  position: absolute;
  left: 50%;
  top: 1570px;
  width: 154px;
  height: 146px;
  margin-left: -62px;
}
.gun .img_gun {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_gun.png") 0 0 no-repeat;
}
.gun .point {
  left: 10px;
  top: -18px;
}

.tramvay_bg {
  background: url("../../media/gim/e_tramvay_rails.png");
  position: absolute;
  bottom: 112px;
  left: -2px;
  width: 844px;
  height: 242px;
}

#events .tramvay {
  position: absolute;
  left: 50%;
  top: 1542px;
  width: 290px;
  height: 171px;
  margin-left: -1065px;
}
.tramvay .img_tramvay {
  background: url("../../media/gim/e_tramvay_only.png") 0 0 no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.tramvay.event .point {
  left: 99px;
  top: 95px;
}

.minin {
  position: absolute;
  left: 50%;
  top: 1401px;
  width: 346px;
  height: 424px;
  margin-left: 142px;
}
.minin .img_minin {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_minin.png") 0 0 no-repeat;
}
.minin .point {
  left: 205px;
  top: 168px;
}

.trees {
  position: absolute;
  left: 50%;
  top: 1452px;
  width: 377px;
  height: 243px;
  margin-left: 466px;
}
.trees .img_trees {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_trees.png") 0 0 no-repeat;
}
.trees .point {
  left: 186px;
  top: 120px;
}

.table {
  position: absolute;
  left: 50%;
  top: 1452px;
  width: 377px;
  height: 243px;
  margin-left: 466px;
}
.table .img_table {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_table.png") 0 0 no-repeat;
}

.war {
  position: absolute;
  left: 50%;
  top: 128px;
  width: 613px;
  height: 1237px;
  margin-left: 528px;
}
.war .img_planes {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../../media/gim/e_planes.png") 0 0 no-repeat;
}
.war .img_window {
  position: absolute;
  left: -221px;
  top: 895px;
  width: 127px;
  height: 199px;
  background: url("../../media/gim/e_window.jpg") 0 0 no-repeat;
}
.war.active { z-index: 1 !important; }
.war .point {
  left: 190px;
  top: 280px;
}

#animate {
  position: fixed;
  top: 20px;
  left: 140px;
  z-index: 9999;
}

#stopAnimate {
  position: fixed;
  top: 20px;
  left: 200px;
  z-index: 9999;
}

/**
 * COMMON TOWER
 **/

#gim {
  position: absolute;
  top: 111px;
  left: 0;
  width: 100%;
  z-index: 1;
}

#bubble {
  padding: 40px 50px;
  font-size: 14px;
  z-index: -1;
}

#bubble .bg {
  background: url("../../media/gim/gim_blur.jpg") 0 0 no-repeat;
  height: 2024px;
  width: 3220px;
}

#bubble.text {
  /*transition: ease-in-out 1s;*/
  font-size: 20px;
}

#bubble .year {
  font-size: 18px;
}

#bubble h2 {
  font-size: 21px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.common_gim {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -858px;
}

#bottom_bg {
  position: absolute;
  bottom: 20px;
  left: 50%;
  margin-left: -1608px;
  width: 3220px;
  height: 916px;
  background: url("../../media/gim/bg_bottom.png") 0 0 no-repeat;
}

#f_image {
  display: block;
  margin: auto;
}

#footer {
  margin-top: -806px;
}

.footer_nav {
  padding-top: 190px;
}

body.tramvay #bubble.text {
  z-index: 6 !important;
}

@media (min-width: 1300px) {

  #main {
    -webkit-transform: scale(.8);
    transform: scale(.8);
    top: -183px;
  }
  #footer {
    margin-top: -478px;
  }

  body.tramvay #bubble.text {
    z-index: 6 !important;
  }

  #bubble.text {
    display: block;
    padding: 40px 50px 40px 50px;
    font-size: 17px;
    transition: all .5s;
    z-index: 2;
  }

  #bubble .bg {
    transition: all .5s;
  }

  #bubble.text .year {
    font: 16px 'ALSDirectRegular', Arial sans-serif;
  }

  #bubble.text h2 {
    font: 700 21px 'ALSDirectBold', Arial sans-serif;
    margin-top: 5px;
    margin-bottom: 20px;
  }
}

@media (min-width: 1650px) {
  #main {
    -webkit-transform: scale(1);
    transform: scale(1);
    top: 0;
  }

  #footer {
    margin-top: -142px;
  }

  body.tramvay #bubble.text {
    z-index: 2 !important;
  }

  #bubble.text {
    display: block;
    padding: 40px 50px 40px 50px;
    font-size: 14px;
    transition: all .5s;
    z-index: 2;
  }

  #bubble .bg {
    transition: all .5s;
  }

  #bubble .year,
  #bubble.text .year {
    font: 14px 'ALSDirectRegular', Arial sans-serif;
  }

  #bubble h2,
  #bubble.text h2 {
    font: 700 18px 'ALSDirectBold', Arial sans-serif;
    margin-top: 5px;
    margin-bottom: 20px;
  }
}
