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

body {
	background-color: #010137;

	-webkit-user-select: none;
	-moz-user-select: -moz-none;
	-ms-user-select: none;
	user-select: none;
}

element.style {
	cursor: pointer;
}

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

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

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

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

.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;
	-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);
}

.main_center_column {
	margin: auto;
	max-width: 1024px;	
}

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

.download_apk_white_round_box {
	background-color: #FFFFFF;

	overflow-x: hidden;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;

	margin-top: 5px;

	padding: 5px;
}

.download_apk_white_round_txt_box {
	background-color: #FFFFFF;

	overflow-x: hidden;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;

	margin-top: 5px;

	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 10px;
	padding-right: 5px;
}

.download_apk_button {
	background-color: #4BC970;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;

	margin-top: 5px;
	margin-bottom: 5px;

	padding-top: 5px;
	padding-bottom: 5px;
}

.download_apk_button_txt {
	color: #FFFFFF;
	font-size: 20px;
	text-align: center;
	font-family: FontNexa;
}

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

.download_apk_game_right {
	/*border: 1px solid blue;*/
	padding-top: 5px;
	margin-left: calc(115px + 15px);
	max-height: calc(115px - 10px);
	overflow: hidden;
	text-overflow: ellipsis;
}

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

.main_logo {
	/*border: 1px solid green;*/
	max-width: 500px;
}

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

.games_grid {
	display: grid;
	grid-template-columns: repeat(auto-fill,minmax(300px, 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 {
	/*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 {
	color: #FDB514;
	margin-top: 8px;

	font-size: 16px;
	font-family: FontNexa;
}

.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 {
	/*border: 1px solid black;*/
	position: absolute;
	width: 100px;
	height: 28px;
	bottom: 5%;
	right: 2%;
	/*display: none;*/
}

.game_button_cloud {
	/*border: 1px solid black;*/
	position: absolute;
	width: 32px;
	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;
}

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

.category_button_container {
	/*border: 1px solid green;*/
	display: table;
	width: 100%;
	max-width: 500px;	
}

.category_button_container div {
	/*border: 1px solid red;*/
	padding: 8px;
	display: table-cell;
	text-align: center;
}

.category_button {
	/*border: 1px solid blue;*/
	font-family: FontNexa;
	font-size: 16px;
	font-weight: 700;
	text-align: center;
	display: inline-block;
}

.category_button_back {
	padding: 8px;
	text-align: left
}

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

.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;
}

/*************************************************/
/* 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
/*************************************************/

.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;
}

.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: #FDB514;
/*	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%;
    table-layout: fixed;
}

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

.button_category {
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	text-align: center!important;
	padding: 8px;
	width: 75%;
	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: #FDB514;
	font-size: 14px;
	padding: 8px;
	text-align: center!important;
	font-family: Verdana;
	display: inline-block;
}

.txt_terms {
	color: #c0c0c0;
	font-size: 14px;
	text-align: left;
	font-family: Verdana;
}

/*************************************************/
/* Text that make up bn
/*************************************************/

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

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

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

.txt_join_title {
	color: #e0e0e0;
	font-size: 20px;
	text-align: center;
	font-family: Verdana;
	padding-top: 10px;
	padding-bottom: 12px;	
}

.txt_join {
	color: #c0c0c0;
	font-size: 16px;
	text-align: center;
	font-family: Verdana;
}

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

.txt_join_text {
	color: #FFFFFF;
	font-size: 12px;
	text-align: center;
	font-family: Verdana;
}

div.join_games {
	display: table;
	padding-top: 8px;
	padding-bottom: 8px;	
	padding-left: 5px;
	padding-right: 5px;
	position: relative;
}

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

.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: #4BC970;
	display: table;
	margin: 5px auto;
	width: 70%;
	padding: 5px;
	position: relative;
}

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

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

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