html,
body {
  font-family: 'Muli', sans-serif;
  overflow: hidden;
}
html {
  overflow: hidden;
  width: 100%;
}
html body {
  height: 100%;
  position: fixed;
  /* prevent overscroll bounce*/
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  /* iOS velocity scrolling */
}
.preloader {
  background: white url(/game-assets/login-background.jpg) center center no-repeat;
  background-size: cover;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 5444004;
}
.preloader .inside {
  width: 240px;
  height: 100px;
  font-size: 80px;
  position: absolute;
  text-align: center;
  display: inline-block;
  left: 50%;
  margin-left: -120px;
  top: 50%;
  margin-top: -50px;
}
.modal-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 500;
  text-align: center;
  display: none;
  background: transparent url(/game-assets/transp-snow.png) center center no-repeat;
  background-size: cover;
}
.modal-wrap .insider {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
.normal-modal {
  margin: 0 auto;
  max-width: 1200px;
  background: white;
  box-shadow: 0 0 25px -10px black;
}
.normal-modal .inner {
  margin: 35px;
  display: inline-block;
}
.modal-wrap .normal-modal {
  position: relative;
  z-index: 800;
}
.modal-wrap .decor1 {
  left: 0;
  top: 0;
  position: absolute;
  width: 163px;
  height: 329px;
  background: transparent url(/game-assets/decor.png) left top no-repeat;
  background-size: cover;
  z-index: 30;
}
.modal-wrap .decor2 {
  right: 0;
  z-index: 30;
  top: 0;
  position: absolute;
  width: 239px;
  height: 386px;
  background: transparent url(/game-assets/decor2.png) right top no-repeat;
  background-size: cover;
}
.modal-wrap.start .inner {
  max-width: 780px;
  text-align: left;
  position: relative;
  z-index: 60;
}
.modal-wrap.start .normal-modal {
  position: relative;
}
.modal-wrap.start .mtext {
  color: #263652;
  font-size: 22px;
}
.modal-wrap.start .mtext strong {
  font-family: 'Muli Extra Bold', sans-serif;
}
.modal-wrap.start .block2 {
  background: #fdfdfd url(/game-assets/winter-pattern.jpg) right top no-repeat;
  background-size: cover;
}
.modal-wrap.start .instructions {
  color: #263652;
  text-align: left;
  width: 100%;
  font-size: 20px;
}
.modal-wrap.start .instructions .enemies {
  margin-top: 25px;
}
.modal-wrap.start .instructions .enemies .enemy {
  display: inline-block;
  width: 100%;
}
.modal-wrap.start .instructions .enemies .enemy strong {
  font-family: 'Muli Extra Bold', sans-serif;
  font-weight: bold;
}
.modal-wrap.start .instructions .enemies .enemy img {
  height: auto;
  max-width: 100%;
  position: relative;
  top: -20px;
}
.modal-wrap.start .instructions .enemies .enemy .col1 {
  width: 13%;
  float: left;
}
.modal-wrap.start .instructions .enemies .enemy .col2 {
  width: 26%;
  float: left;
}
.modal-wrap.start .instructions .enemies .enemy .col3 {
  width: 60%;
  float: left;
}
.modal-wrap.start .instructions .title {
  margin: 0 0 55px 0;
  padding: 0;
  font-size: 24px;
  font-family: 'Muli Extra Bold', sans-serif;
}
@media (max-width: 1120px) {
  .modal-wrap .decor1 {
    display: none;
  }
}
@media (max-width: 945px) {
  .modal-wrap .decor1 {
    display: none;
  }
  .modal-wrap .decor2 {
    -webkit-opacity: 0.3;
    opacity: 0.3;
  }
}
@media (max-width: 669px) {
  .modal-wrap .instructions .title {
    margin-bottom: 0px !important;
  }
  .modal-wrap .enemies .enemy {
    margin: 25px 0;
  }
  .modal-wrap .enemies .enemy img {
    top: 0 !important;
  }
  .modal-wrap .enemies .enemy .col1 {
    padding-right: 15px;
  }
  .modal-wrap .enemies .enemy .col2,
  .modal-wrap .enemies .enemy .col3 {
    width: 82% !important;
  }
}
@media (max-width: 580px) {
  .modal-wrap .normal-modal .inner {
    margin: 15px;
  }
  .modal-wrap .simple-button {
    margin: 5px 0;
    max-width: 100%;
  }
}
@media (max-width: 411px) {
  .modal-wrap .enemies .enemy .col1 {
    padding-right: 15px;
  }
  .modal-wrap .enemies .enemy .col2,
  .modal-wrap .enemies .enemy .col3 {
    width: 80% !important;
  }
}
.simple-button {
  border: none;
  background: #adb3ba;
  color: white;
  font-size: 20px;
  line-height: 50px;
  min-width: 250px;
  padding: 0 10px;
  font-weight: bold;
  font-family: 'Muli Bold', sans-serif;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 1500;
  text-decoration: none;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.simple-button:hover {
  background: #9ba1a8;
}
.simple-button--mini {
  min-width: auto;
  line-height: 30px;
  font-size: 16px;
}
.simple-button--active {
  background: #8fb509;
}
.simple-button--active:hover {
  background: #7aa009;
}
.modal-wrap.over,
.modal-wrap.leaderboard {
  display: none;
}
.modal-wrap.over .normal-modal,
.modal-wrap.leaderboard .normal-modal {
  position: relative;
  overflow: hidden;
  min-height: 370px;
}
.modal-wrap.leaderboard h1 {
  font-family: 'Muli Bold', sans-serif;
}
.modal-wrap.over .xtitle {
  font-family: 'Muli', sans-serif;
  font-weight: normal;
}
.modal-wrap.over .xtitle strong {
  font-family: 'Muli Bold', sans-serif;
  font-weight: bold;
}
.modal-wrap.over .nicetitle {
  font-family: 'Muli Bold', sans-serif;
}
.modal-wrap.over .nicetitle .score {
  color: #8fb509;
}
.extra1-newsletter #newsletter {
  max-width: 350px;
  margin: 0 auto;
  line-height: 0;
  position: relative;
  padding-right: 15px;
  overflow: hidden;
}
.extra1-newsletter #newsletter button {
  position: absolute;
  right: 0;
  top: 0;
  background: silver;
  color: white;
  border: none;
  -webkit-border-radius: 0;
  border-radius: 0;
  line-height: 38px;
  padding: 0 15px;
  text-transform: uppercase;
  font-weight: bold;
}
.extra1-newsletter #newsletter input {
  border: 2px solid silver;
  width: 100%;
  line-height: 35px;
  padding: 0 80px 0 15px;
  font-size: 20px;
}
.backto {
  position: absolute;
  left: 5px;
  top: 5px;
  z-index: 8000;
  width: auto !important;
}
.leaderboard-list {
  margin: 0;
  padding: 0;
  margin-top: 25px;
  text-align: left;
}
.leaderboard-list .inners {
  padding: 2%;
  width: 96%;
  margin: 0;
  display: inline-block;
}
.leaderboard-list .separ td {
  text-align: center;
  font-size: 74px;
  padding: 0px 0 44px;
  line-height: 18px;
  vertical-align: top;
}
.leaderboard-list .item.me td {
  background: lightgoldenrodyellow;
}
.leaderboard-list .item .img {
  line-height: 0;
}
.leaderboard-list .item tr {
  margin: 4px 0;
}
.leaderboard-list .item td {
  padding: 7px 6px;
  vertical-align: middle;
}
.leaderboard-list .item .id {
  text-align: center;
  font-family: 'Muli Bold', sans-serif;
}
.leaderboard-list .item .score {
  text-align: right;
  font-weight: bold;
  font-family: 'Muli Bold', sans-serif;
}
.leaderboard-list .item img {
  height: 25px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.login-page {
  background: white url(/game-assets/login-background.jpg) center center no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  text-align: center;
  overflow: hidden;
}
.login-page .title {
  font-family: 'Muli', sans-serif;
  text-transform: uppercase;
  font-size: 60px;
  font-weight: lighter;
  color: #516677;
  margin: 20px 0 35px 0;
  padding: 0;
  width: 100%;
  line-height: 1.1em;
}
.login-page .gule {
  position: absolute;
  bottom: 50px;
  left: 0;
  width: 80%;
  padding: 0 10%;
}
.login-page .gule img {
  max-width: 100%;
  height: auto;
}
.login-page .content {
  position: absolute;
  left: 0;
  width: 100%;
  top: 50%;
  margin-top: -230px;
  z-index: 465464646;
}
@media (max-width: 500px) {
  .login-page .title {
    width: auto;
    padding: 0 20px;
    font-size: 30px;
    font-weight: bold;
  }
}
@media (max-height: 500px) {
  .login-page .title {
    width: auto;
    padding: 0 20px;
    font-size: 30px;
    font-weight: bold;
  }
  .login-page .gule {
    -webkit-opacity: 0.5;
    opacity: 0.5;
  }
  .login-page .content {
    margin-top: -100px;
  }
}
.loginBtn {
  box-sizing: border-box;
  position: relative;
  z-index: 564654654;
  width: 13em;
  margin: 0.2em;
  padding: 0 15px 0 46px;
  border: none;
  text-align: left;
  line-height: 54px;
  white-space: nowrap;
  border-radius: 0.2em;
  font-size: 19px;
  color: #FFF;
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
.loginBtn:before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  width: 45px;
  height: 100%;
}
.loginBtn:focus {
  outline: none;
}
.loginBtn:active {
  box-shadow: inset 0 0 0 32px rgba(0, 0, 0, 0.1);
}
/* Facebook */
.loginBtn--facebook {
  background-color: #4C69BA;
  background-image: linear-gradient(#4C69BA, #3B55A0);
  /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
  text-shadow: 0 -1px 0 #354C8C;
}
.loginBtn--facebook:before {
  border-right: #364e92 1px solid;
  background: url('/game-assets/fblogo.png') 10px 15px no-repeat;
}
.loginBtn--facebook:hover,
.loginBtn--facebook:focus {
  background-color: #5B7BD5;
  background-image: linear-gradient(#5B7BD5, #4864B1);
}
