@font-face {
    font-family: "Clear Sans";
    src: url("ClearSans-Light-webfont.eot");
    src: url("ClearSans-Light-webfont.eot?#iefix") format("embedded-opentype"),
         url("ClearSans-Light-webfont.svg#clear_sans_lightregular") format("svg"),
         url("ClearSans-Light-webfont.woff") format("woff");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Clear Sans";
    src: url("ClearSans-Regular-webfont.eot");
    src: url("ClearSans-Regular-webfont.eot?#iefix") format("embedded-opentype"),
         url("ClearSans-Regular-webfont.svg#clear_sansregular") format("svg"),
         url("ClearSans-Regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Clear Sans";
    src: url("ClearSans-Bold-webfont.eot");
    src: url("ClearSans-Bold-webfont.eot?#iefix") format("embedded-opentype"),
         url("ClearSans-Bold-webfont.svg#clear_sansbold") format("svg"),
         url("ClearSans-Bold-webfont.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}


html, body {
  margin: 0;
  padding: 0;
  background: #eff8fa;
  color: #656e77;
  font-family: "Clear Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px; }

body {
  margin: 80px 0; }

.heading:after {
  content: "";
  display: block;
  clear: both; }

h1.title {
  font-size: 50px;
  font-weight: bold;
  margin: 0;
  display: block;
  float: left; }

@-webkit-keyframes move-up {
  0% {
    top: 25px;
    opacity: 1; }

  100% {
    top: -50px;
    opacity: 0; } }
@-moz-keyframes move-up {
  0% {
    top: 25px;
    opacity: 1; }

  100% {
    top: -50px;
    opacity: 0; } }
@keyframes move-up {
  0% {
    top: 25px;
    opacity: 1; }

  100% {
    top: -50px;
    opacity: 0; } }
.scores-container {
  float: right;
  text-align: right; }

.bomb-container, .time-container , .best-time-container{
  position: relative;
  display: inline-block;
  background: #a0adbb;
  padding: 15px 25px;
  font-size: 18px;
  height: 18px;
  line-height: 35px;
  font-weight: bold;
  border-radius: 3px;
  color: white;
  margin-top: 8px;
  text-align: center; }
  .bomb-container:after, .time-container:after , .best-time-container:after {
    position: absolute;
    width: 100%;
    top: 10px;
    left: 0;
    text-transform: uppercase;
    font-size: 11px;
    line-height: 11px;
    text-align: center;
    color: #dae4ee; }
  .bomb-container .score-addition, .time-container .score-addition, .best-time-container  .score-addition {
    position: absolute;
    right: 30px;
    color: red;
    font-size: 25px;
    line-height: 25px;
    font-weight: bold;
    color: rgba(119, 110, 101, 0.9);
    z-index: 100;
    -webkit-animation: move-up 600ms ease-in;
    -moz-animation: move-up 600ms ease-in;
    animation: move-up 600ms ease-in;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both; }

.bomb-container:after {
  content: "Mine"; }

.time-container:after {
  content: "Time"; }
.best-time-container:after {
  content: "Best"; }
p {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.65; }

a {
  color: #656e77;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer; }

strong.important {
  text-transform: uppercase; }

hr {
  border: none;
  border-bottom: 1px solid #d8d4d0;
  margin-top: 20px;
  margin-bottom: 30px; }

.container {
  width: 500px;
  margin: 0 auto; }

@-webkit-keyframes fade-in {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }
@-moz-keyframes fade-in {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }
@keyframes fade-in {
  0% {
    opacity: 0; }

  100% {
    opacity: 1; } }
.game-container {
  margin-top: 40px;
  position: relative;
  padding: 6px;
  cursor: default;
  background: #a0adbb;
  border-radius: 4px;
  width: 500px;
  height: 500px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }
  .game-container .game-message {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(218, 228, 238, 0.8);
    z-index: 100;
    text-align: center;
    -webkit-animation: fade-in 800ms ease 1200ms;
    -moz-animation: fade-in 800ms ease 1200ms;
    animation: fade-in 800ms ease 1200ms;
    -webkit-animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    animation-fill-mode: both; }
    .game-container .game-message p {
      font-size: 60px;
      font-weight: bold;
      height: 60px;
      line-height: 60px;
      margin-top: 222px; }
    .game-container .game-message .lower {
      display: block;
      margin-top: 59px; }
    .game-container .game-message a {
      display: inline-block;
      background: #667a8f;
      border-radius: 3px;
      padding: 0 20px;
      text-decoration: none;
      color: #f9f6f2;
      height: 40px;
      line-height: 42px;
      margin-left: 9px; }
      .game-container .game-message a.keep-playing-button {
        display: none; }
    .game-container .game-message.game-won {
      background: rgba(237, 194, 46, 0.7);
      color: #f9f6f2; }
      .game-container .game-message.game-won a.keep-playing-button {
        display: inline-block; }
    .game-container .game-message.game-won, .game-container .game-message.game-over {
      display: block; }

.grid-container {
  position: absolute;
  z-index: 1; }

.grid-row {
  margin-bottom: 6px; }
  .grid-row:last-child {
    margin-bottom: 0; }
  .grid-row:after {
    content: "";
    display: block;
    clear: both; }

.game-container-1 .grid-container .grid-row .grid-cell {
    width: 55.75px;
    height: 55.75px;}
	
.grid-cell {
  width: 106.25px;
  height: 106.25px;
  margin-right: 6px;
  border-radius: 4px;
  background: rgba(228, 238, 248, 0.7); }
  .grid-cell:last-child {
    margin-right: 0; }

.cover-container {
  position: absolute;
  z-index: 3; }
	
.tile-container {
  position: absolute;
  z-index: 2; }

.tile, .tile .tile-inner {
  width: 107px;
  height: 107px;
  line-height: 116.25px; }

  

.tile {
  position: absolute;
  -webkit-transition: 100ms ease-in-out;
  -moz-transition: 100ms ease-in-out;
  transition: 100ms ease-in-out;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform; }
  .tile .tile-inner {
    border-radius: 3px;
    background: rgba(0,0,0,0);
    text-align: center;
    font-weight: bold;
    z-index: 10;
    font-size: 55px; }
  .tile.tile-1 .tile-inner {
    color: #00F;}
  .tile.tile-2 .tile-inner {
    color: #0c0;}
  .tile.tile-3 .tile-inner {
    color: #e00;}
  .tile.tile-4 .tile-inner {
    color: #007;}
  .tile.tile-5 .tile-inner {
    color: #700;}
  .tile.tile-6 .tile-inner {
    color: #089;}
  .tile.tile-7 .tile-inner {
    color: #222;}
  .tile.tile-8 .tile-inner {
    color: #656e77;}
  .tile.tile-bomb .tile-inner {
    color: #444;
	background: rgba(255,100,100,1);}
  .tile.tile-cover .tile-inner {
    color: #f9f6f2;
    /*color: #f9f6f2;*/
    background: rgba(95, 145, 220, 1);}
  
@-webkit-keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } }
@-webkit-keyframes disappear {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } 
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

}
@-moz-keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } }
@-moz-keyframes disappear {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } 
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

}
@keyframes appear {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } }
@keyframes disappear {
  0% {
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } 
  100% {
    opacity: 0;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

}
.tile-new .tile-inner {
  -webkit-animation: appear 200ms ease 100ms;
  -moz-animation: appear 200ms ease 100ms;
  animation: appear 200ms ease 100ms;

  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  animation-fill-mode: both; 
}
.cover-opening .tile-inner{
  opacity: 0; 
  -webkit-animation: disappear 200ms ease 100ms;
  -moz-animation: disappear 200ms ease 100ms;
  animation: disappear 200ms ease 100ms;

  -webkit-animation-fill-mode: backwards;
  -moz-animation-fill-mode: backwards;
  animation-fill-mode: backwards; 
}
.cover-opened .tile-inner{
  opacity: 0; 
}
@-webkit-keyframes pop {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2); }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } }
@-moz-keyframes pop {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2); }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } }
@keyframes pop {
  0% {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0); }

  50% {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    transform: scale(1.2); }

  100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1); } }
.tile-merged .tile-inner {
  z-index: 20;
  -webkit-animation: pop 200ms ease 100ms;
  -moz-animation: pop 200ms ease 100ms;
  animation: pop 200ms ease 100ms;
  -webkit-animation-fill-mode: backwards;
  -moz-animation-fill-mode: backwards;
  animation-fill-mode: backwards; }

.above-game:after {
  content: "";
  display: block;
  clear: both; }

.game-intro {
  float: left;
  line-height: 42px;
  margin-bottom: 0; }

  
.restart-button , .hard-button, .normal-button, .easy-button, .flag-button{
  display: inline-block;
  background: #667a8f;
  border-radius: 3px;
  padding: 0 20px;
  text-decoration: none;
  color: #f9f6f2;
  height: 40px;
  line-height: 42px;
  display: block;
  text-align: center;
  float: right; }
  
  .flag-button-on{
	background: #Df6a46;
  }

.game-explanation {
  margin-top: 50px; }

@media screen and (max-height: 9990px) {
  html, body {
    font-size: 15px;
	height: 100%;
	width: 100%	}
  body {
    margin: 0 0 0 0;
	padding:0 ;}
  .body {
	width: 424px;
	height: 658px;
    padding: 20px 20px 0 20px ; }

  h1.title {
    font-size: 27px;
    margin-top: 7px; }

  .container {
    width: 424px;
    margin: 0 auto; }

  .bomb-container, .time-container , .best-time-container {
    margin-top: 0;
    padding: 15px 10px;
    min-width: 26px; }

  .heading {
    margin-bottom: 10px; }

  .game-intro {
    width: 55%;
    display: block;
    box-sizing: border-box;
    line-height: 1.65; }
  
  .restart-button, .hard-button, .normal-button, .easy-button, .flag-button {
    width: 18%;
    padding: 0;
    display: block;
    box-sizing: border-box;
    margin-top: 2px;
    margin-left: 2px;	}
  .normal-button{
    width: 22%;
  }
  .flag-button{
    width: 15%;
	margin-left: 0px;
	float: left;
  }
  .game-container {
    margin-top: 17px;
    position: relative;
    padding: 4px;
    cursor: default;
    background: #a0adbb;
    border-radius: 4px;
    width: 424px;
    height: 424px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .game-container .game-message {
      display: none;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background: rgba(218, 228, 238, 0.8);
      z-index: 100;
      text-align: center;
      -webkit-animation: fade-in 800ms ease 1200ms;
      -moz-animation: fade-in 800ms ease 1200ms;
      animation: fade-in 800ms ease 1200ms;
      -webkit-animation-fill-mode: both;
      -moz-animation-fill-mode: both;
      animation-fill-mode: both; }
      .game-container .game-message p {
        font-size: 60px;
        font-weight: bold;
        height: 60px;
        line-height: 60px;
        margin-top: 222px; }
      .game-container .game-message .lower {
        display: block;
        margin-top: 59px; }
      .game-container .game-message a {
        display: inline-block;
        background: #667a8f;
        border-radius: 3px;
        padding: 0 20px;
        text-decoration: none;
        color: #f9f6f2;
        height: 40px;
        line-height: 42px;
        margin-left: 9px; }
        .game-container .game-message a.keep-playing-button {
          display: none; }
      .game-container .game-message.game-won {
        background: rgba(237, 194, 46, 0.7);
        color: #f9f6f2; }
        .game-container .game-message.game-won a.keep-playing-button {
          display: none; }
      .game-container .game-message.game-won, .game-container .game-message.game-over {
        display: block; }

  .grid-container {
    position: absolute;
    z-index: 1; }

  .grid-row {
    margin-bottom: 4px; }
    .grid-row:last-child {
      margin-bottom: 0; }
    .grid-row:after {
      content: "";
      display: block;
      clear: both; }

  .game-container-1 .grid-container .grid-cell {
    width: 48.5px;
    height: 48.5px;}
  .game-container-2 .grid-container .grid-cell {
    width: 24px;
    height: 24px;}	 
  .game-container-3 .grid-container .grid-cell {
    width: 17px;
    height: 17px;}	 
	
  .grid-cell {
    width: 57.5px;
    height: 57.5px;
	position: absolute;
    border-radius: 3px;
    background: rgba(228, 238, 248, 0.7); }

  .cover-container {
  position: absolute;
  z-index: 3; }
  .tile-container {
    position: absolute;
    z-index: 2; }

  .tile-d-1, .tile-d-1 .tile-inner {
    width: 48.5px;
    height: 48.5px;
    line-height: 48.5px;
    font-size: 24px;	}
	
    .cover-d-1, .cover-d-1 .tile-inner {
    width: 49.5px;
    height: 49.5px; 
line-height: 48.5px;
    font-size: 24px;	}

  .tile-d-2, .tile-d-2 .tile-inner {
    width: 24px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;	}
      .cover-d-2, .cover-d-2 .tile-inner {
    width: 25px;
    height: 25px;
 line-height: 24px;
    font-size: 12px;	}
  .tile-d-3, .tile-d-3 .tile-inner {
    width: 17px;
    height: 17px;
    line-height: 17px;
    font-size:8px;	}
	    .cover-d-3, .cover-d-3 .tile-inner {
    width: 18px;
    height: 18px;
line-height: 17px;
    font-size:8px;		}

  .game-message p {
    font-size: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    margin-top: 130px !important; }
  .game-message .lower {
    margin-top: 30px !important; } }

	
	
	
	
	
	
	
	

	
	
	
footer{
    position: relative;
    height: 100px;

    z-index: 2000;
    bottom: 0px;
    width: 420px;
    margin-top: 16px;
}
