/*----------------------------------------------------------------------------*/
/*                        (c) 2015 Ivan Reyné Ferrando                        */
/*                                                                            */
/*                           http://ivanreyne.ninja                           */
/*----------------------------------------------------------------------------*/
@font-face {
  font-family: 'GameFont';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/PaytoneOne.ttf');
}
/* general properties
------------------------------------------------------------------------------*/
body {
  box-sizing: border-box;
  position: absolute;
  top: 0%;
  bottom: 0%;
  right: 0%;
  left: 0%;
  /*    min-width: 360px;
        min-height: 640px;*/

  /*    background-color: #1A1A1A;*/

  background: #000000 url('../img/bk/mn0.png') no-repeat fixed center center;
  font-family: 'GameFont', sans-serif;
  font-size: 100%;
  margin: 0%;
  padding: 0%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  text-shadow: -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  box-sizing: border-box;
  font-weight: bold;
  margin: 0%;
  padding: 0% 0% 1% 0%;
  line-height: 1.25em;
  text-shadow: 3px 3px 0 #000000, -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;
}
p,
div,
span,
ul,
li {
  box-sizing: border-box;
  margin: 0%;
  padding: 0%;
}
p {
  margin-bottom: 1em;
  font-size: 120%;
}
ul {
  list-style: disc outside;
  padding: 0% 0% 0% 10%;
}
h1 {
  font-size: 200%;
}
h2 {
  font-size: 175%;
}
h3 {
  font-size: 125%;
}
h4,
h5 {
  font-size: 100%;
}
img {
  box-sizing: border-box;
  border: 1p none #000000;
}
a {
  color: #ffffff;
  text-decoration: none;
  outline-style: none;
  outline-width: 0;
}
a:hover {
  color: #ffff00;
}
/* main website page
------------------------------------------------------------------------------*/
div#website {
  position: absolute;
  background-color: transparent;
  width: 100%;
  height: 100%;
  font-size: 5%;
  margin: 0%;
  border: 1p none #000000;
  padding: 0%;
  overflow: hidden;
}
/* standard page distribution
------------------------------------------------------------------------------*/
div.stdPage {
  position: relative;
  width: 100%;
  height: 100%;
  /*    background-color: #ff0000;*/

  background: transparent url('../img/bk/mn1.png') no-repeat scroll center center;
  background-size: contain;
  color: #ffffff;
}
div.stdPage h1,
div.stdPage h2,
div.stdPage h3,
div.stdPage h4,
div.stdPage h5 {
  display: block;
  text-align: center;
}
div.stdPage div.title {
  position: absolute;
  top: 10%;
  bottom: 80%;
  left: 0%;
  right: 0%;
}
div.stdPage div.content {
  position: absolute;
  top: 22%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  margin: 0% 10% 5% 10%;
}
div.stdPage div.content h1,
div.stdPage div.content h2,
div.stdPage div.content h3 {
  position: relative;
  margin-top: 2%;
}
div.stdPage div.content h1 a,
div.stdPage div.content h2 a,
div.stdPage div.content h3 a {
  text-shadow: 4px 4px 0 #000000, -1px -1px 1px #000000, 1px -1px 1px #000000, -1px 1px 1px #000000, 1px 1px 1px #000000;
}
div.stdPage div.content .footer {
  position: absolute;
  bottom: 0%;
  left: 0%;
  right: 0%;
  text-align: center;
  margin: 0;
}
div.stdPage div.content.with_ad {
  position: absolute;
  bottom: 25%;
  margin: 0% 10% 5% 10%;
}
div.stdPage div.ad {
  position: absolute;
  top: 75%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  margin: 0% 10% 5% 10%;
}
div.stdPage div.ad a {
  display: block;
  text-align: center;
}
div.stdPage div.nav {
  position: absolute;
  top: 2%;
  bottom: 90%;
  left: 82%;
  right: 3%;
}
div.stdPage div.nav a {
  display: block;
}
div.stdPage div.nav a img {
  width: 100%;
}
div.stdPage div.navBottom {
  position: absolute;
  top: 90%;
  bottom: 98%;
  left: 3%;
  right: 3%;
}
div.stdPage div.navBottom a {
  display: block;
  float: right;
  margin-left: 2%;
}
div.stdPage div.navBottom a img {
  width: 100%;
}
div.stdPage div.navBottom a.disabled {
  pointer-events: none;
}
div.stdPage div.navBottom a.disabled img {
  opacity: 0.55;
}
div.gmPage {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: transparent;
}
div.gmPage .gmWrap {
  position: relative;
  width: 100%;
  height: 100%;
  margin-right: auto;
  margin-left: auto;
}
div.gmPage .gmWrap .gameCanvas {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: transparent;
}
div.gmPage .gmLeft {
  background-color: transparent;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 40%;
  height: 80%;
}
div.gmPage .gmRight {
  background-color: transparent;
  position: absolute;
  top: 0%;
  right: 0%;
  width: 40%;
  height: 80%;
}
div.gmPage .gmDown {
  background-color: transparent;
  position: absolute;
  bottom: 0%;
  left: 0%;
  width: 100%;
  height: 20%;
}
/* main menu
------------------------------------------------------------------------------*/
div.mainMenu a {
  display: block;
  text-align: center;
}
div.mainMenu div.languageEntries {
  position: absolute;
  top: 2%;
  right: 4%;
  width: 60%;
  height: 8%;
  font-size: 100%;
}
div.mainMenu div.languageEntries a {
  float: right;
  width: 14%;
  margin-left: 1%;
}
div.mainMenu div.languageEntries a.quit {
  margin-left: 10%;
}
div.mainMenu div.languageEntries a.quit img {
  background-color: transparent;
}
div.mainMenu div.languageEntries a.quit img:hover {
  background-color: transparent;
}
div.mainMenu div.languageEntries a img {
  width: 100%;
  border-radius: 10%;
  background-color: rgba(0, 0, 0, 0.66);
}
div.mainMenu div.languageEntries a img:hover {
  background-color: #ffff00;
}
.lang_ca div.mainMenu div.languageEntries a.language_ca img,
.lang_en div.mainMenu div.languageEntries a.language_en img,
.lang_es div.mainMenu div.languageEntries a.language_es img,
.lang_fr div.mainMenu div.languageEntries a.language_fr img,
.lang_pt div.mainMenu div.languageEntries a.language_pt img {
  background-color: #ffff00;
}
div.mainMenu h1 {
  font-size: 250%;
}
div.mainMenu div.content.with_ad {
  top: 10%;
  bottom: 40%;
  margin-bottom: 0%;
}
div.mainMenu div.ad {
  top: 60%;
  bottom: 15%;
  margin-bottom: 0%;
}
div.mainMenu div.apps {
  position: absolute;
  top: 85%;
  bottom: 0%;
  left: 0%;
  right: 0%;
  margin: 0% 10% 5% 10%;
}
div.mainMenu div.apps div.app_box {
  display: block;
  position: absolute;
}
div.mainMenu div.apps div.app_box.app_box1 {
  top: 0%;
  bottom: 50%;
  left: 0%;
  right: 50%;
}
div.mainMenu div.apps div.app_box.app_box2 {
  top: 0%;
  bottom: 50%;
  left: 50%;
  right: 0%;
}
div.mainMenu div.apps div.app_box.app_box3 {
  top: 50%;
  bottom: 0%;
  left: 0%;
  right: 0%;
}
div.mainMenu div.apps div.app_box a {
  height: 75%;
  padding-top: 4%;
}
div.mainMenu div.apps div.app_box a img {
  height: 100%;
}
/* choose phase
------------------------------------------------------------------------------*/
div.choose div.content {
  margin: 0% 0% 5% 0%;
}
div.phaseChoose div.phase1 {
  background: transparent url('../img/blocks/bck0f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 6%;
  top: 4%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase2 {
  background: transparent url('../img/blocks/bck1f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 37%;
  top: 4%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase3 {
  background: transparent url('../img/blocks/bck2f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 68%;
  top: 4%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase4 {
  background: transparent url('../img/blocks/bck3f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 6%;
  top: 28%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase5 {
  background: transparent url('../img/blocks/bck4f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 37%;
  top: 28%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase6 {
  background: transparent url('../img/blocks/bck5f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 68%;
  top: 28%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase7 {
  background: transparent url('../img/blocks/bck6f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 6%;
  top: 52%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase8 {
  background: transparent url('../img/blocks/bck7f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 37%;
  top: 52%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase9 {
  background: transparent url('../img/blocks/bck8f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 68%;
  top: 52%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase10 {
  background: transparent url('../img/blocks/bck9f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 6%;
  top: 76%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase11 {
  background: transparent url('../img/blocks/bck10f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 37%;
  top: 76%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div.phase12 {
  background: transparent url('../img/blocks/bck11f.png') no-repeat scroll top center;
  background-size: 80%;
  position: absolute;
  left: 68%;
  top: 76%;
  width: 25%;
  height: 20%;
}
div.phaseChoose div > a {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  bottom: 0px;
}
div.phaseChoose div > a span {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  text-align: center;
}
/* score phase
------------------------------------------------------------------------------*/
div.score div.content.with_ad {
  bottom: 40%;
}
div.score div.ad {
  top: 60%;
}
/* help phase
------------------------------------------------------------------------------*/
div.help .content img {
  width: 25%;
  margin-top: 0.3em;
  margin-right: 0.2em;
}
/* language specific tweaks
------------------------------------------------------------------------------*/
.lang_es .new .title h1 {
  font-size: 175%;
}
/* clears, infos, errors and stuff
------------------------------------------------------------------------------*/
.clear {
  margin: 0%;
  padding: 0%;
  clear: both;
}
.right {
  float: right;
}
.left {
  float: left;
}
.centre,
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.text_left {
  text-align: left !important;
}
.text_right {
  text-align: right !important;
}
.text_centre,
.text_center {
  text-align: center !important;
}
.no_margin_bottom {
  margin-bottom: 0;
}
#debug {
  position: absolute;
  display: none;
  z-index: 1000;
  pointer-events: none;
  font-size: 3%;
  top: 0%;
  left: 0%;
  width: 25%;
  height: 50%;
  background-color: rgba(255, 0, 0, 0.5);
}
