html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

strong, b {
  font-weight: 500;
}

em, i {
  font-style: italic;
}

sup, sub {
  position: relative;
  top: -0.6em;
  font-size: 65% !important;
  line-height: 1em !important;
}

sub {
  top: auto;
  bottom: -0.3em;
}

article, aside, details, figcaption, figure,
footer, header, menu, nav, section, main {
  display: block;
}

html {
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55em;
  color: #07183a;
  min-width: 320px;
  height: 100%;
}

*, *:before, *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-focus-ring-color: rgba(0, 0, 0, 0);
  outline: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

p {
  margin: 16px 0;
}

p.text-center {
  text-align: center;
}

.mt0 {
  margin-top: 0 !important;
}

.mb0 {
  margin-bottom: 0 !important;
}

button {
  border: none;
  cursor: pointer;
  outline: none !important;
}

.btn {
  position: relative;
  z-index: 4;
  display: table;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25em;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 8px 36px 11px;
  max-width: 100%;
  min-width: 100px;
  background: #3bc206;
  border: 2px solid #3bc206;
  border-radius: 3px;
  cursor: pointer;
}

.btn.btn-danger {
  background: #ff4141;
  border-color: #ff4141;
}

.no-touchevents .btn {
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.btn.full-width {
  width: 100%;
}

.btn::-moz-focus-inner {
  border: 0;
}

.no-touchevents .btn:not(:disabled):hover {
  color: #3bc206;
  background: transparent;
}

.no-touchevents .btn:not(:disabled):hover.btn-danger {
  color: #ff4141;
}

.no-touchevents .btn:not(:disabled):active {
  -webkit-box-shadow: inset 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 3px 6px 0 rgba(0, 0, 0, 0.16);
}

.btn:disabled {
  opacity: 0.7;
  cursor: default;
}

#game-box {
  position: relative;
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 100%;
  background: #fff url("../images/game-background.png") repeat center;
  background-size: cover;
}

#game-box .align-m {
  display: table-cell;
  vertical-align: middle;
  padding: 24px 16px;
}

@media screen and (max-width: 780px) {
  #game-box .align-m {
    padding: 16px;
  }
}

@media screen and (max-width: 480px) {
  #game-box .align-m {
    padding: 0;
  }
}

.game-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 20px;
  width: 1080px;
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  -webkit-box-shadow: 0 10px 40px 0 #e0e7ef;
  box-shadow: 0 10px 40px 0 #e0e7ef;
  -webkit-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
}

@media screen and (max-width: 900px) {
  .game-content {
    width: 100%;
    max-width: 600px;
  }
}

@media screen and (max-width: 480px) {
  .game-content {
    padding: 32px 4px 16px 10px;
  }
}

@media screen and (max-width: 480px) and (max-height: 630px) {
  .game-content {
    -webkit-box-shadow: none;
    box-shadow: none;
  }
}

.opened-popup .game-content {
  visibility: hidden;
  opacity: 0;
}

@media screen and (max-width: 480px) and (max-height: 630px) {
  body:not(.opened-popup) #game-box {
    background: #fff;
  }
}

.game-info {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-line-pack: start;
  align-content: flex-start;
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  width: 374px;
  padding: 14px 11px 0 44px;
}

@media screen and (min-width: 901px) and (max-width: 1100px) {
  .game-info {
    width: 320px;
  }
}

.header {
  position: relative;
  z-index: 1;
  margin: 0 0 29px;
}

.header .title {
  margin: 0 0 8px;
}

.level-box {
  position: relative;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.55em;
  padding: 0 0 0 18px;
}

.level-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 4px;
  width: 3px;
  background: #3bc206;
}

.level-box p {
  margin: 0;
}

.data-tbl {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: 0 0 43px;
}

.data-tbl .row {
  display: table-row;
}

.data-tbl .col {
  display: table-cell;
  vertical-align: text-bottom;
  padding: 11px 16px 11px 0;
}

@media screen and (max-width: 900px) {
  .data-tbl .col {
    padding: 6px 16px 6px 0;
  }
}

@media screen and (max-width: 480px) {
  .data-tbl .col {
    padding: 4px 16px 4px 0;
  }
}

.data-tbl .col:first-child {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 20px;
  color: #515d75;
  width: 58px;
}

.time {
  font-weight: 700;
  font-size: 30px;
  line-height: 1em;
}

.total-score {
  font-weight: normal;
  font-size: 18px;
  line-height: 1em;
}

.total-score .score-value {
  font-weight: 700;
  margin-left: 5px;
  margin-right: 5px;
}

.total-score .score-value:first-of-type {
  margin-left: 0;
}

.game-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  line-height: 18px;
  color: #515d75;
}

.game-controls .control-item {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin: 0;
  cursor: pointer;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
}

.no-touchevents .opened-popup .game-controls .control-item {
  -webkit-transition: none;
  transition: none;
}

.game-controls .control-item svg {
  display: inline-block;
  vertical-align: middle;
  margin: -2px 2px 0 0;
}

.game-controls .control-item svg * {
  fill: #ff2020;
}

.game-controls .control-item:nth-child(odd) {
  margin-right: 24px;
}

.game-controls.mobile-controls {
  display: none;
  margin-top: 24px;
}

@media screen and (max-width: 900px) {
  .game-controls {
    display: none;
  }
  .game-controls.mobile-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.no-touchevents .control-item:hover {
  color: #ff2020;
}

.game-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  margin-top: auto;
  height: auto;
  padding-top: 32px;
}

.game-img img {
  height: 100%;
}

.game-content > .game-img {
  display: none;
}

@media screen and (max-width: 900px) {
  .game-content {
    display: block;
    padding: 16px;
  }
  .game-content > .game-img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 48px 0 16px;
  }
  .game-info {
    width: 100%;
    max-width: none;
    padding: 10px 6px 0 0;
    margin: 0 0 24px;
  }
  .game-info .game-img {
    display: none;
  }
  .header {
    margin: 0 0 16px;
  }
  .data-tbl {
    margin: 0;
  }
}

@media screen and (max-width: 480px) {
  .game-content {
    padding: 12px 10px;
  }
  .game-info {
    padding-top: 0;
    margin: 0 0 18px;
  }
  .header {
    margin: 0 0 8px;
  }
  .level-box {
    font-size: 16px;
  }
  .time {
    font-size: 26px;
  }
}

.game-field-wrap-outer {
  position: relative;
  -ms-flex-item-align: start;
  align-self: flex-start;
  width: calc(100% - 380px);
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

@media screen and (min-width: 901px) and (max-width: 1100px) {
  .game-field-wrap-outer {
    width: calc(100% - 326px);
  }
}

@media screen and (max-width: 900px) {
  .game-field-wrap-outer {
    width: 100%;
  }
}

.game-field-wrap-inner {
  position: relative;
  height: 0;
  padding-bottom: 100%;
  margin: 0 auto;
  background: #eaeef5;
  -webkit-box-shadow: 0 0 20px 0 rgba(130, 160, 189, 0.25);
  box-shadow: 0 0 20px 0 rgba(130, 160, 189, 0.25);
}

.game-field {
  position: absolute;
  left: -3px;
  right: -3px;
  top: -3px;
  bottom: -3px;
}

.game-field.paused::after {
  content: '';
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.gem {
  position: absolute;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
}

.gem::before, .gem::after {
  content: '';
  position: absolute;
}

.gem::before {
  left: 3px;
  right: 3px;
  top: 3px;
  bottom: 3px;
  border: 1px solid #fff;
  background: #fff;
}

.gem::after {
  left: 13%;
  right: 13%;
  top: 13%;
  bottom: 13%;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.gem.ready {
  opacity: 1;
}

@media screen and (max-width: 1100px) {
  .game-field {
    left: -2px;
    right: -2px;
    top: -2px;
    bottom: -2px;
  }
}

.gem.selected::before {
  border-color: currentColor;
  -webkit-box-shadow: 0 0 6px 0 currentColor;
  box-shadow: 0 0 6px 0 currentColor;
}

.gem-simple::before {
  background: currentColor !important;
}

.gem.remove::before {
  border: 0;
  background: currentColor !important;
}

.gem.remove::after {
  background: none !important;
}

.gem.type0::before {
  color: #5197ff;
}

.gem.type1::before {
  color: #76e2a7;
}

.gem.type2::before {
  color: #fd9e28;
}

.gem.type3::before {
  color: #c1cad7;
}

.gem.type0.variant0::after {
  background-image: url("../images/00.svg");
}

.gem.type0.variant1::after {
  background-image: url("../images/01.svg");
}

.gem.type0.variant2::after {
  background-image: url("../images/02.svg");
}

.gem.type1.variant0::after {
  background-image: url("../images/10.svg");
}

.gem.type1.variant1::after {
  background-image: url("../images/11.svg");
}

.gem.type1.variant2::after {
  background-image: url("../images/12.svg");
}

.gem.type2.variant0::after {
  background-image: url("../images/20.svg");
}

.gem.type2.variant1::after {
  background-image: url("../images/21.svg");
}

.gem.type2.variant2::after {
  background-image: url("../images/22.svg");
}

.gem.type3.variant0::after {
  background-image: url("../images/30.svg");
}

.gem.type3.variant1::after {
  background-image: url("../images/31.svg");
}

.gem.type3.variant2::after {
  background-image: url("../images/32.svg");
}

.gem.type3.variant3::after {
  background-image: url("../images/33.svg");
}

.gem.type3.variant4::after {
  background-image: url("../images/34.svg");
}

.gem.type3.variant5::after {
  background-image: url("../images/35.svg");
}

.gem.type3.variant6::after {
  background-image: url("../images/36.svg");
}

.gem.type3.variant7::after {
  background-image: url("../images/37.svg");
}

.gem.type0.variant2::after,
.gem.type1.variant1::after,
.gem.type3.variant2::after,
.gem.type3.variant4::after {
  left: 10%;
  right: 10%;
  top: 10%;
  bottom: 10%;
}

.gem.type1.variant2::after,
.gem.type3.variant0::after,
.gem.type3.variant1::after,
.gem.type3.variant3::after,
.gem.type3.variant5::after {
  left: 20%;
  right: 20%;
  top: 20%;
  bottom: 20%;
}

.gem.type3.variant1::after,
.gem.type3.variant6::after {
  left: 23%;
  right: 23%;
  top: 23%;
  bottom: 23%;
}

.game-field.paused .gem::before {
  border-color: #fff !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.game-field.paused .gem::after {
  background: none !important;
}

.opened-popup {
  overflow: hidden;
}

#popup-box {
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  min-width: 320px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
}

.opened-popup #popup-box {
  visibility: visible;
  opacity: 1;
}

#popup-box .container {
  font-size: 0;
  text-align: center;
  height: 100%;
  max-width: none;
  overflow: hidden;
  overflow-y: auto;
  padding: 0 15px;
}

#popup-box .container::before {
  content: '';
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 0;
  margin: 0 -2px 0 0;
}

@media screen and (max-width: 480px) {
  #popup-box .container {
    padding: 0;
  }
}

#popup-box .popup {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 28px;
  text-align: left;
  color: #394661;
  width: 700px;
  max-width: 100%;
  padding: 40px 35px 20px;
  margin: 24px auto;
  background: #fff;
  border-radius: 5px;
  -webkit-box-shadow: 0 8px 35px 0 #e0e7ef;
  box-shadow: 0 8px 35px 0 #e0e7ef;
  overflow: hidden;
  -webkit-transition: all .4s ease;
  transition: all .4s ease;
  -webkit-transform: translate3d(0, -40px, 0);
  transform: translate3d(0, -40px, 0);
  opacity: 0;
}

#popup-box .popup.hidden {
  display: none;
}

#popup-box .popup.visible {
  display: inline-block;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

#popup-box .popup .title {
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4em;
  text-align: center;
  color: #07183a;
  margin: 0 auto 24px;
  max-width: 560px;
}

#popup-box .popup p {
  margin: 16px auto;
  text-align: center;
}

#popup-box .popup p, #popup-box .popup ul {
  max-width: 560px;
}

#popup-box .popup ul {
  margin: 0 auto;
}

#popup-box .popup .popup-img {
  margin: 20px auto 0;
}

#popup-box .popup .btn {
  margin: 40px auto 25px;
}

#popup-box .popup .buttons {
  margin: 40px auto 25px;
  text-align: center;
}

#popup-box .popup .buttons .btn {
  display: inline-block;
  margin: 0 5px 3px;
}

@media screen and (max-width: 480px) {
  #popup-box .popup {
    width: auto;
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media screen and (max-width: 480px) {
  #popup-box .popup {
    padding-top: 30px;
    padding-bottom: 15px;
    font-size: 14px;
    line-height: 20px;
  }
  #popup-box .popup .title {
    font-size: 18px;
    margin-bottom: 14px;
  }
  #popup-box .popup p {
    margin: 14px auto;
  }
  #popup-box .popup .popup-img {
    margin: 16px auto 0;
  }
  #popup-box .popup .btn {
    display: block;
    width: 100%;
    margin: 22px auto 16px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
  }
  .buttons #popup-box .popup .btn {
    margin-top: 6px;
  }
}

#popup-box .popup.wide-popup {
  padding: 75px 30px 40px;
  width: 1080px;
}

#popup-box .popup.wide-popup .level {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.25em;
  text-align: center;
  color: #07183a;
  margin: 0 auto 36px;
}

#popup-box .popup.wide-popup .popup-img {
  margin: 70px auto 60px;
}

#popup-box .popup.wide-popup.game-over p {
  text-align: center;
}

#popup-box .popup.wide-popup.game-over .popup-img {
  margin: 50px auto 44px;
}

@media screen and (max-width: 780px) {
  #popup-box .popup.wide-popup {
    padding-top: 50px;
  }
  #popup-box .popup.wide-popup .level {
    font-size: 38px;
  }
  #popup-box .popup.wide-popup .popup-img {
    margin: 45px auto 30px;
  }
}

@media screen and (max-width: 480px) {
  #popup-box .popup.wide-popup {
    margin: 0;
    padding-top: 25px;
    padding-bottom: 15px;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    height: 100%;
    font-size: 0;
    overflow: hidden;
    overflow-y: auto;
  }
  #popup-box .popup.wide-popup::before {
    content: '';
    position: relative;
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0;
    margin: 0 -2px 0 0;
  }
  #popup-box .popup.wide-popup .popup-inner {
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  #popup-box .popup.wide-popup .level {
    font-size: 24px;
    margin: 0 auto 16px;
  }
  #popup-box .popup.wide-popup .popup-img {
    margin: 30px auto 25px;
  }
  #popup-box .popup.wide-popup.game-over .popup-img {
    margin: 30px auto 15px;
  }
}

@media screen and (max-width: 480px) and (max-height: 630px) {
  #popup-box .popup.wide-popup.game-over .popup-img {
    display: none;
  }
}

#popup-box .popup .total-score-popup {
  font-size: 120%;
}

#popup-box .popup .total-score-popup strong {
  font-family: "Open Sans", sans-serif;
  font-size: 160%;
  font-weight: 700;
  margin-left: 15px;
  color: #07183a;
}

#popup-box .popup .simple-share-container {
  text-align: center;
  margin: 30px auto 40px;
}

@media screen and (max-width: 480px) {
  #popup-box .popup .simple-share-container {
    margin: 15px auto 20px;
  }
}

@font-face {
  font-family: 'ssicons';
  src: url("../fonts/ssicons.eot?24999819");
  src: url("../fonts/ssicons.eot?24999819#iefix") format("embedded-opentype"), url("../fonts/ssicons.woff?24999819") format("woff"), url("../fonts/ssicons.ttf?24999819") format("truetype"), url("../fonts/ssicons.svg?24999819#ssicons") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "ssicons";
  font-style: normal;
  font-weight: normal;
  display: inline-block;
  text-decoration: inherit;
  text-align: center;
  font-variant: normal;
  text-transform: none;
  line-height: 1em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-download:before {
  content: '\e800';
}

.icon-twitter:before {
  content: '\e801';
}

.icon-facebook:before {
  content: '\e802';
}

.icon-github:before {
  content: '\e803';
}

.icon-google-plus:before {
  content: '\e804';
}

.icon-linkedin:before {
  content: '\e805';
}

.icon-vk:before {
  content: '\e806';
}

.icon-share:before {
  content: '\e807';
}

.icon-share-square:before {
  content: '\e808';
}

.icon-pinterest:before {
  content: '\e809';
}

.icon-odnoklassniki:before {
  content: '\e80a';
}

.simple-share span {
  display: inline-block;
  font-size: 1em;
  text-decoration: none;
  margin-right: 0.4em;
  margin-left: 0.4em;
  padding: 0;
  min-width: 35px;
  line-height: 33px;
  border: 1px solid;
  text-align: center;
  background-color: #40494f;
  color: white;
  cursor: pointer;
  border-radius: 3px;
}

@media screen and (max-width: 480px) {
  .simple-share span {
    font-size: 1.5em;
    min-width: 44px;
    line-height: 42px;
  }
}

.no-touchevents .simple-share span:hover::before {
  opacity: 0.7;
}

.simple-share span.icon-twitter {
  background-color: #1da1f2;
}

.simple-share span.icon-facebook {
  background-color: #3b5998;
}

.simple-share span.icon-google-plus {
  background-color: #dd4b39;
}

.simple-share span.icon-linkedin {
  background-color: #0077b5;
}

.simple-share span.icon-vk {
  background-color: #45668e;
}

.simple-share span.icon-pinterest {
  background-color: #bd081c;
}

.simple-share span.icon-odnoklassniki {
  background-color: #ed812b;
}

/*# sourceMappingURL=../maps/game.css.map */
