/* reset */
	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,hgroup,menu,nav,output,
	ruby,section,summary,time,mark,audio,video
	{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
	article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}
	body{line-height:1;}
	ol,ul{list-style:none;}
	blockquote,q{quotes:none;}
	blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
	table{border-collapse:collapse;border-spacing:0;}
	*{margin: 0;}

/* By default ... */
	table { border-collapse: separate; border-spacing: 0px; empty-cells: show; }
	body {background: #fff; font: 78%/130% 'Lato', sans-serif; margin: 0 auto; padding: 0; }
	body, td, th, tr {color: #fff;}

/* Container
--------------------------------------------------------------------------- */
.container {
	width: 1280px;
	max-width: 90%;
	margin: 0 auto;
}

/* Fonts
--------------------------------------------------------------------------- */
@font-face {
	font-family: "Montserrat";
	src: url("fonts/Montserrat/Montserrat-Regular.otf");
}

.only-desktop {
    display: none;
    position: absolute;
    background-color: grey;
    top: 10px;
    right: 10px;
    padding: 10px;
    width: 180px;
    z-index: 100;
}

@media only screen and (max-width : 1920px) {
}
@media only screen and (max-width : 1024px) {
}
@media only screen and (max-width : 768px) {
    .only-desktop {
        display: block;
    }
    .game-header nav {
        display: none;
    }
}
@media only screen and (max-width : 480px) {
}

/* Button
--------------------------------------------------------------------------- */
button {
    display: inline-block;
    position: relative;
    background: transparent;
    padding: 5px 10px;
    border: 2px solid #d84e46;
    margin: 0;
    border-radius: 5px;

    color: #d84e46;
    font-family: "Montserrat", sans-serif;
}
button:hover {
    background: #d84e46;
    color: white;

    cursor: pointer;
}
button:active {
    opacity: 0.8;
}

button.share.facebook {
    border-color: #406ABD;
    color: #406ABD;
}
button.share.facebook:hover {
    border-color: #406ABD;
    background: #406ABD;
    color: white;
}

button.share.twitter {
    border-color: #4EB8E9;
    color: #4EB8E9;
}
button.share.twitter:hover {
    border-color: #4EB8E9;
    background: #4EB8E9;
    color: white;
}

/* Game
--------------------------------------------------------------------------- */
.game {
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

/* Game HEADER
----------------------------------------- */
.game-header {
	display: block;
	position: absolute;
	background-color: #111111;
	width: 100%;
	height: 100px;
	top: 0;
	left: 0;
	right: 0;
	box-sizing: border-box;

	color: white;
}
.game-header .container {
	display: block;
	position: relative;
	height: 80px;
	padding: 10px;
}
.game-header img {
	display: block;
	position: relative;
	float: left;
	height: 100%;
}
.game-header nav {
	display: block;
	position: relative;
	float: right;
}

.game-header nav .nav-box {
	display: block;
	position: relative;
	float: right;
	text-align: right;
}

.game-header nav ul {
	list-style: none;
}
.game-header nav ul li {
	position: relative;
	float: left;
	padding: 10px;
}
.game-header nav ul li:nth-child(1) span {
	border: 2px solid #d84e46;
	border-radius: 5px;
	padding: 4px 8px;
}
.game-header nav ul li a,
.game-header nav ul li span {
	color: white;
	text-decoration: none;
}
.game-header nav ul li a:hover,
.game-header nav ul li span:hover {
	cursor: pointer;
	opacity: 0.5;
}

#game-color-light,
#game-color-dark {
	display: block;
	position: relative;
	width: 25px;
	height: 25px;
	border-radius: 5px;
	box-sizing: border-box;
	border: 1px solid grey;
	margin: 10px;
}
#game-color-light:hover,
#game-color-dark:hover {
	cursor: pointer;
	border: 2px solid grey;
}
#game-color-light {
	background: white;
}
#game-color-dark {
	background: black;
}

.game-euros {
	display: block;
	position: relative;
	float: left;
	padding-left: 10px;

	font-size: 12px;
	line-height: 80px;
}
.game-euros span {
	color: #21C6E0;
	font-size: 20px;
	font-weight: bold;
}

/* Game FOOTER
----------------------------------------- */
.game-footer {
	display: block;
	position: absolute;
	background-color: #111111;
	width: 100%;
	height: 60px;
	bottom: 0;
	left: 0;
	right: 0;

	color: white;
	text-align: center;
}
.game-footer span {
	line-height: 60px;
}

/* Game ABOUT
----------------------------------------- */
.game-about,
.game-trophies {
	display: block;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 99;
	transition: 0.2s ease;
	opacity: 0;
	pointer-events: none;
	overflow-y: auto;
}
.game-about.active,
.game-trophies.active {
	opacity: 1;
	pointer-events: auto;
}

.game-about--mask,
.game-trophies--mask {
	display: block;
	position: fixed;
	background: rgba(0,0,0,0.8);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.game-about--content,
.game-trophies--content {
	display: block;
	position: relative;
	background: white;
	padding: 40px;
	width: 640px;
	max-width: 100%;
	box-sizing: border-box;

	color: black;
}
.game-trophies--content {
	width: 960px;
}

.game-about--content h2,
.game-trophies--content h2 {
	padding-bottom: 20px;
	font-size: 1.6em;
	line-height: 1.2;
}
.game-trophies--content h2 {
	text-align: center;
}
.game-trophies--content span {
	display: block;
	position: relative;
	padding-bottom: 10px;
	text-align: center;
	color: #d84e46;
	font-size: 24px;
	line-height: 1.2;
}
.game-trophies--content span {
	padding-bottom: 20px;
}
.game-trophies--content table {
	width: 100%;
	color: black;
}
.game-trophies--content th {
	color: lightslategrey;
	text-align: center;
	padding: 10px;
}
.game-trophies--content td {
	color: black;
	text-align: center;
	padding: 10px;
}
.game-trophies--content tr:nth-child(even) {
	background-color: lightgrey;
}

.game-about--close,
.game-trophies--close {
	display: block;
	position: absolute;
	background: url('../img/close.png') no-repeat;
	background-size: contain;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	cursor: pointer;
	opacity: 0.5;
}
.game-about--close:hover,
.game-trophies--close:hover {
	opacity: 1;
}

/* Game CONTENT
----------------------------------------- */
.game-content {
	display: block;
	position: absolute;
	background-color: #191919;
	width: 100%;
	top: 100px;
	bottom: 60px;
	left: 0;
	right: 0;
	overflow: hidden;
}

.game-centered {
	display: block;
	position: absolute;
	max-width: 90%;
	max-height: 100%;
	top: 50%;
	left: 50%;
	-webkit-transform: translateX(-50%) translateY(-50%) scale(1.0);
	transform: translateX(-50%) translateY(-50%) scale(1.0);
}
.gamecore {
	display: block;
	position: relative;
	width: 1280px;
	max-width: 100%;
}
.gamecore::after {
	content: "";
	display: block;
	padding-top: 56.25%;
}
.gamecore-inner {
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}
.gamecore-inner canvas {
	margin-top: 0 !important;
}

/* titles */
	h1, h2, h3, h4, h5, h6 {color: #fff; font-size: 1em; margin: 0; padding: 0; }
	h1{color: #0098b5; font-size: 1.5em; font-style:bold;font-weight:bold;}
	h2{color: #0098b5; font-size: 1.05em; font-style:bold;font-weight:bold;}
	h3{color: #0098b5; font-size: 1.0em; font-style:bold;font-weight:bold;}
	h4{color: #0098b5; font-size: 1.0em;}
	h5{color: #0098b5; font-size: 1.0em;}
	h6{color: #0098b5; font-size: 1.0em;}

/* bold */
	b{font-style:bold; font-weight:bold;}

/* links */
	a{font-weight:bold;color: #0098b5;}
	a:link, a:visited	{ color: #c40;	text-decoration: none; }
	a:hover				{ color: #f50;	text-decoration: underline; cursor: pointer; }

/* height auto */
	img, object, embed, canvas, video, audio, picture {
		max-width: 100%;
		height: auto;
	}

/* design */
	html, body{
		height:100%;
		width:100%;
		padding:0;
		margin:0;
		font: 100%/130% 'Montserrat', sans-serif;
		background: #ffffff;
	}

/* responsive style */
	@media screen and (max-width: 1000px){
		div.theader-menu{
			position: fixed;
			left: 0px;
			right: 0px;
			height:20px;
			background-color:#ffffff;
			align:center;
		}
	}
	
/* large resolution */
@media screen and (min-width: 1000px){
	div.theader-menu{
		position: fixed;
		left: 0px;
		right: 0px;
		height:20px;
		background-color:#ffffff;
		align:center;
	}
}
@media screen and (max-aspect-ratio: 16/9){
	div.arcade-tl{
		position: fixed;
		left:0px;
		width:20px;
		top:30px;
		height:40px;
		background-color:#ff7f00;
	}
	div.arcade-top{
		position: fixed;
		left:20px;
		right:20px;
		top:30px;
		height:40px;
		background-color:#00ffff;
	}
	div.arcade-tr{
		position: fixed;
		right:0px;
		width:20px;
		top:30px;
		height:40px;
		background-color:#ff7f00;
	}
	div.arcade-left{
		position: fixed;
		left:0px;
		width:20px;
		top:70px;
		bottom:65px;
		background-color:#ff00ff;
	}
	div.arcade-right{
		position: fixed;
		right:0px;
		width:20px;
		top:70px;
		bottom:65px;
		background-color:#ff00ff;
	}
	div.arcade-bl{
		position: fixed;
		left:0px;
		width:20px;
		bottom:25px;
		height:40px;
		background-color:#ff7f00;
	}
	div.arcade-bottom{
		position: fixed;
		left:20px;
		right:20px;
		bottom:25px;
		height:40px;
		background-color:#00ffff;
	}
	div.arcade-br{
		position: fixed;
		right:0px;
		width:20px;
		bottom:25px;
		height:40px;
		background-color:#ff7f00;
	}
}

/*div.game{
	position: fixed;
	left:20px;
	right:20px;
	top:70px;
	bottom:70px;
	padding-bottom: 0.58%;
	background: rgba(0,0,0, 1.0);
}*/

@media screen and (min-aspect-ratio: 16/9){
	div.arcade-left{
		position: fixed;
		left:0px;
		width:100px;
		top:30px;
		bottom:25px;
		background-color:#ff00ff;
	}
	div.arcade-right{
		position: fixed;
		right:0px;
		width:100px;
		top:30px;
		bottom:25px;
		background-color:#ff00ff;
	}
	div.arcade-top{
		
	}
	div.arcade-bottom{
		
	}
}


/*div.gamecore{
	position:absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background: rgba(0,0,0, 1.0);
}*/

div.footer {
	position:fixed;
	bottom:0px;
	height: 25px;
	left:0px;
	right:0px;
	background: #000;
	color: #fff;
	padding: 0 0 0 0px;
	font-size: 0.8em;
}



div.theader-menu-text
{
	position: fixed;
	left: 50px;
	right:0px;
	top: 1px;
	height: 18px;
	background-color:#ffffff;
	color: #000;
	font: 100%/130% 'Lato', sans-serif;
}

.theader-p-menu a:link, a:visited	{ text-decoration: none; }
.theader-p-menu a:hover				{ text-decoration: underline; cursor: pointer; }
.theader-td-menu h2{color: #111; font-size: 1.0em; font-style:bold;font-weight:bold;}



ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #fff;
}

ul.topnav li {float: left;}

ul.topnav li a {
  display: inline-block;
  color: #c50;
  text-align: center;
  padding: 5px 5px;
  text-decoration: none;
  transition: 0.3s;
  font-size: 1.0em;
}

ul.topnav li a:hover {background-color: #50c0f0;}

ul.topnav li.icon {display: none;}

@media screen and (max-width:680px) {
  ul.topnav li:not(:first-child) {display: none;}
  ul.topnav li.icon {
    float: right;
    display: inline-block;
  }
}

@media screen and (max-width:680px) {
  ul.topnav.responsive {position: relative;}
  ul.topnav.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.topnav.responsive li {
    float: none;
    display: inline;
  }
  ul.topnav.responsive li a {
    display: block;
    text-align: left;
  }
}
