body {
	/*background-color: #010137;*/
	background-color: #FFCE0F;
	margin: 0px;
}

element.style {
	cursor: pointer;
}

@font-face {
    font-family: FontNexa;
    src: url(nexa.otf);
}

.main_column {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;	
}

/*************************************************/
/* Generic rounded white box
/*************************************************/

div.white_box {
	background-color: #FFFFFF;
	display: table;
	margin: 5px auto;
	width: 95%;
	padding: 5px;
	position: relative;
}

div.rounded_box {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	-moz-box-shadow: 0 0 4px rgba(0,0,0,.15);
	-webkit-box-shadow: 0 0 4px rgba(0,0,0,.15);
	box-shadow: 0 0 4px rgba(0,0,0,.15);
}

.show_touch_down {
}

.show_touch_down:active {
	opacity: 0.5;
}

.logo_100_percent {
	width:100%;
}

/*************************************************/
/* Below is for displaying a game
/*************************************************/

.game_icon {
	float: left;
	width: 28%;
	max-width: 125px;
}

.txt_game_properties {
	position: absolute;
	bottom: 5%;
	right: 2%;
/*	float: right; */
/*	vertical-align: bottom; */
	color: #404040;
/*	background-color: #0000ff; */
	font-size: 11px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
}

.txt_hiscore_button {
	position: absolute;
	bottom: 5%;
	right: 2%;
/*	float: right; */
/*	vertical-align: bottom; */
	width: 15%;
	color: #404040;
	background-color: #0000ff;
	font-size: 11px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;

 -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

.txt_hiscore_button:active {
}


.game_icon_container {
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
}

.container_txt_30_percent {
	overflow: visible;
	padding-left: 30%;
	text-align: left;
/*	vertical-align: middle; */
	vertical-align: top;
}

.txt_game_title {
	color: #00587C;
/*	color: #000000; */
/*	background-color: #ff0000; */
	font-size: 16px;
	font-family: FontNexa;
}

.txt_game_text {
	color: #808080;
/*	background-color: #00ff00; */
	font-size: 11px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
}

.txt_game_size {
	color: #c0c0c0;
	line-height: 2.1;
	font-size: 11px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
}

/*************************************************/
/* Below is for showing promotions
/*************************************************/

.card {
  display: flex;
  min-width: 100%;
  max-width: 125%

  height: auto;
  -webkit-overflow-scrolling: touch;

  overflow-x: auto;
}

.card::-webkit-scrollbar {
  display: none;
  -webkit-overflow-scrolling: touch;
}

.card--content {
  min-width: 80%;
  max-width: 200px;
  height: 150px;
}

/*************************************************/
/* Below is for showing category buttons
/*************************************************/

div.button_category_table {
    display: table;
    width: 100%;
    margin-top: 1%;
    margin-bottom: 2%;
}

div.button_category_table span {
    display: table-cell;
    text-align: center;
}

.button_category {
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	text-align: center!important;
	display: inline-block;
}

.button_category-back {
	text-align: left!important;
}

/*************************************************/
/* Text that make up category button
/*************************************************/

.txt_category {
	color: #000000;
	font-size: 16px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
	display: table-cell;
    	vertical-align: middle;	
}

/*************************************************/
/*************************************************/

.button_terms {
	color: #00587C;
	font-size: 14px;
	padding: 8px;
	text-align: center!important;
	font-family: Verdana;
	display: inline-block;
}

.txt_terms {
	color: #1A6890;
	font-size: 14px;
	text-align: left;
	font-family: Verdana;
	margin: 10px;
}

/*************************************************/
/* Text that make up banner
/*************************************************/

div.logo_box {
	background-color: #010137;
	display: table;
	padding-left: 5px;
	padding-right: 5px;
	position: relative;
}

/*************************************************/
/* join page
/*************************************************/

.txt_message {
	font-size: 20px;
	text-align: center;
	font-family: Verdana;
}

.txt_join_button {
	color: #FFFFFF;
	font-size: 16px;
	text-align: center;
	font-family: FontNexa;
	margin-top: 10px;
	margin-bottom: 10px;	
}

.txt_blue {
	color: #FF0000;
	font-family: FontNexa;
}

.txt_light_blue {
	color: #00AAFF;
	font-family: FontNexa;
}

.txt_yellow {
	color: #00587C;
	font-family: FontNexa;
}

.txt_game_text_large {
	color: #808080;
/*	background-color: #00ff00; */
	font-size: 12px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
}

.txt_game_details {
	color: #c0c0c0;
	line-height: 1.8;
	font-size: 12px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
}

.portrait--content {
  min-width: 60%;
  max-width: 192px;
  height: 320px;
}

.landscape--content {
  min-width: 80%;
  max-width: 320px;
  height: 192px;
}

div.download_button {
	background-color: #4BC970;
	display: table;
	margin: 5px auto;
	width: 95%;
	padding: 5px;
	position: relative;
}

.txt_download_button {
	color: #FFFFFF;
	font-size: 20px;
	text-align: center;
	font-family: FontNexa;
	padding-top: 20px;
	padding-bottom: 20px;	
}

div.continue_button {
	background-color: #00587C;
	/*display: block;*/
	margin-left: 5px;
	margin-right: 5px;
	/*width: 100%;*/
	padding: 5px;
	position: relative;
}

div.unsub_button {
	background-color: #C94B4B;
	/*display: table;*/
	margin-left: 5px;
	margin-right: 5px;
	/*width: 70%;*/
	padding: 5px;
	position: relative;
}

div.unsubribe_button {
	background-color: #C94B4B;
	/*display: table;*/
	margin-left: 5px;
	margin-right: 5px;
	/*width: 95%;*/
	padding: 5px;
	position: relative;
}

div.resubscribe_button {
	background-color: #4BC970;
	display: table;
	margin: 5px auto;
	width: 70%;
	padding: 10px;
	position: relative;
}

div.subscribe_button {
	background-color: #4BC970;
	display: table;
	margin: 5px auto;
	width: 95%;
	padding: 5px;
	position: relative;
}

.txt_number {
	color: #64A7DB;
/*	color: #000000; */
/*	background-color: #ff0000; */
	font-size: 20px;
	font-family: FontNexa;
	padding: 5px;
	width: 70%;
}

.hiscore_normal {
	background-color: #FFFFFF;
}

.hiscore_top10 {
	background-color: #CCF2FF;
}

.hiscore_personal {
	background-color: #FDCA03;
}

.hiscore_dummy {
	background-color: #808080;
}

.hiscore_title {
	color: #000000;
	font-size: 13px;
	font-weight: 800;
	font-family: Arial, Helvetica, sans-serif;
}

.hiscore_game_text {
	color: #000000;
	font-size: 12px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
	vertical-align: text-bottom;
}

.hiscore_game_text_dummy {
	color: #606060;
	font-size: 12px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
	vertical-align: text-bottom;
}

div.hiscore_white_box {
	background-color: #006C92;
	display: table;
	margin: 5px auto;
	width: 95%;
	padding: 5px;
	position: relative;
}

div.hiscore_rounded_box {
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	-moz-box-shadow: 0 0 4px rgba(0,0,0,.15);
	-webkit-box-shadow: 0 0 4px rgba(0,0,0,.15);
	box-shadow: 0 0 4px rgba(0,0,0,.15);
}

		.img_play_button {
			position: absolute;
			bottom: 0%;
			right: 0%;
			margin-right: 32%;
			margin-bottom: 5px;
			height: 28%;
		}

		.img_hiscore_button {
			position: absolute;
			bottom: 0%;
			right: 0%;
			margin-right: 5px;
			margin-bottom: 5px;
			height: 28%;
		}

:root {
	--general_margin: 5px;
	--game_icon_size: 90px;
}

.white_round_box {
	background-color: #FFFFFF;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}

.games_grid {
	/*border: 1px solid green;*/
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(340px, 1fr));
}

.game_icon {
	width: 100%;
	height: 100%;

	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
}

.game_container {
	/*border: 1px solid black;*/
	/*background-color: #FF0000;*/
	margin: var(--general_margin);
	position: relative;
	object-fit: fill;
}

.game_left {
	/*border: 1px solid green;*/
	width: var(--game_icon_size);
	height: var(--game_icon_size);
	margin: var(--general_margin);
	float: left;
}

.game_right {
	position: relative;
	/*border: 1px solid blue;*/
	margin-left: calc(var(--game_icon_size) + 10px);
	max-height: calc(var(--game_icon_size) - 10px);
	/*overflow: hidden;*/
	text-overflow: ellipsis;
}

.game_txt_title {
	/*border: 1px solid green;*/
	color: #64A7DB;
	margin-top: 6px;
	font-size: 18px;
	font-family: FontNexa;
}

.txt_ranking {
	/*border: 1px solid blue;*/
	position: absolute;
	margin-top: 6px;
	font-family: FontNexa;
}

.txt_king_of_games_points {
	/*border: 1px solid blue;*/
	position: absolute;
	margin-top: 14px;
	font-family: FontNexa;
	font-size: 12px;
}

.game_txt_text {
	color: #808080;
	margin-top: 2px;

	font-size: 11px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
}

.game_txt_size {
	color: #c0c0c0;
	position: absolute;
	bottom: 8px;
	/*left: calc(var(--game_icon_size) + 10px);*/

	font-size: 11px;
	font-weight: 700;
	font-family: Arial, Helvetica, sans-serif;
	/*line-height: 2.1;*/
}

.game_button_play {
	position: absolute;
	width: 100px;
	height: 28px;
	bottom: 5%;
	right: 2%;
	display: none;
}

.game_touch_down {
}

.game_touch_down:active {
	opacity: 0.5;
	background: #f0f0f0;
}

.banner_container {
	/*background-color: #FF0000;*/
	margin: var(--general_margin);
	position: relative;
	overflow: hidden;
	min-height: calc(var(--game_icon_size) + 10px);
}

.banner {
	/*border: 1px solid black;*/
	height: calc(var(--game_icon_size) + 15px);
	background-position: center center;
	background-repeat: no-repeat;
	background-size:cover;
}


.hiscores_page_game_text {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16;
	color: #00587C;
	/*text-align: center;*/
	/*position: absolute;*/
	margin-left: 5px;
}

/**************************************************************************/

.caroussel {
	/*border: 1px solid blue;*/
	display: flex;
	width: 100%;

	height: auto;
	-webkit-overflow-scrolling: touch;

	overflow-x: auto;
}

.caroussel::-webkit-scrollbar {
	display: none;
	-webkit-overflow-scrolling: touch;
}

.caroussel--content {
	width: 280px;
	height: 160px;
}
