@import url(https://engcc.co/experimental/gamepad/games/assets/NotoSansBamum/NotoSansBamum.css?family=NotoSansBamum:400);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800);

body {
	font-family: "Ubuntu";
	font-weight: 300;
	margin: 0;
	padding: 0;
	background-color: #19232d;
	min-height: 100vh;
	overflow-x: hidden;
	overflow-y: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
/* Custom scrollbar*/
::-webkit-scrollbar {
    width: 6px;
}
 /* Track */
::-webkit-scrollbar-track {
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
 /* Handle */
::-webkit-scrollbar-thumb {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #3498db; 
}
::-webkit-scrollbar-thumb:window-inactive {
	background: #3498db; 
}
#bgGraphic{
	background-color: #02060a;
	height: 100vh; 
	width: 120%;
	position: absolute;
	opacity: 0.3;
	filter: blur(5px)
}
#popupbg{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	z-index: 100;
	filter: alpha(opacity=0.5);
	-js-display: flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: none;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	    -ms-flex-direction: row;
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}
#popupbox{
	min-width: 50vw;
	display: none;
	height: 0px; 
	z-index: 104;
	padding-bottom: 25%;
	
}
#box{
	background-color: #2c3e50;
	text-align: center;
	z-index: 105;
	width: 90vw;
	max-width: 800px;
	display: flex;
	align-content: flex-start;
}
.gameinf{
	text-align: left;
	padding: 5px;
	color: #fff;
	display: flex;
	flex-direction: column;
}
.gameinf b{
	text-align: left;
	color: #fff;
}
.gameinf h3{
	color: #fff;
	margin: 5px 10px; 
	position: relative; 
	text-align: left;
}
.gameinf h5{
	color: #95a5a6;
	text-align: left;
	margin: 0px;
	padding: 0px 10px;
}
.gameViewImg{
	width: 30vw;
	height: auto;
	float: left;
	margin: 10px;
}
#buttons{
	display: flex;
	align-items: center;
	flex-direction: row;
	align-self: flex-end;
	align-self: flex-end;
}
#gamecanv{
	display: none;
}
#canvasbox{
	position: relative;
}
#controlBar{
	position: absolute;
	top: 0;
	right: 0;
	margin: 0px 5px 5px 5px;
}
#controlBarItems{
	color: #fff;
	list-style-type: none;
}
#controlBarItems li{
	display: inline-block;
	margin: 5px;
	padding: 5px 10px;
	background-color: #16a085;
	border: #16a085 2px solid;
	border-radius: 5px;
}

#btnsWrapper{
	display: flex;
}
.btn{
	display: flex;
	padding: 5px 10px; 
	background-color: rgb(26, 25, 25);
	margin-right: 6px;
	align-items: center;
	min-width: 150px;
	opacity: 0.9;
	cursor: pointer;
}
.btnKey{
	font-size: 1.2em;
	font-weight: bold;
	padding: 10px;
}
.btnLabel{
	position: absolute;
   	font-size: 1.2em;
	font-weight: bold;
	min-width: 150px;
	text-align: center;
}
#gameDownload, #closeButton, #playGame{
	height: 30px;
	border: #34495e 2px solid;
	border-radius: 5px;
	padding: 5px 10px;
	color: #fff;
	font-size: 0.9em;
	margin: 5px;
	display: flex;
	align-items: center;
	flex-direction: row;
	align-self: flex-end;
}
#gameDownloaded {
	height: 30px;
	background-color: #16a085;
	border: #16a085 2px solid;
	border-radius: 5px;
	padding: 5px 10px;
	color: #fff;
	font-size: 0.9em;
	margin: 5px;
	display: flex;
	align-items: center;
	flex-direction: row;
	align-self: flex-end;
}
#gameDownload:hover, #closeButton:hover, #playGame:hover{
	border: #f1c40f 2px solid;
	color: #f1c40f;
	cursor: pointer;
	border-radius: 5px;
	padding: 5px 10px;
}
#gameDownload svg{
	padding: 5px;
	
}
#gameDownload:hover > svg{
	fill: #f1c40f;
	
}
#profile tr{
	border-bottom: 0px;
}
#profile_pic{
	width: 100px;
	height: 100px;
	padding: 10px 20px;
	margin: 10px auto;
	text-align: center;
	border-radius: 50%;
}
#sidebar {
	-js-display: flex;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	width: 100%;
	overflow: auto;
	margin: 0px;
	text-align: center;
	padding: 7px 0px;
	overflow-y: hidden;
	z-index: 1000;
}
.main {
	display: flex;
	height: 65vh;
}
.main > H3{
	margin: 0;
	padding: 0;
}
.wrapper{
	margin: 2vw auto;
	width: 95%;
	max-width: 1600px;
	position: relative;
	padding: 2vw 0px;
	color: #ecf0f1;
	overflow-x: hidden;
	clear: both;
}
#statusbar{
	position: fixed;
	width: calc(100vw - 2OOpx);
	margin-left: 200px;
	bottom: 0px;
	right: 0px;
	color: #fff;
	height: 15px;
	background-color: #34495e;
}
.top_icons{
	display: flex;
	align-items: center;
	margin-top: 5px;
	float: left;		
}
#logo{
	width: 75%;
	max-width: 350px;
	height: auto;
	margin: 0px 0px;
	padding: 0px;
}
.wrapper > nav {
	display: block;
	float: right;
}
.wrapper > nav > ul { /* Sidebar list level one */
	display: inline-block;
	vertical-align: top;
	list-style-type: none;
	margin: 5px 0px;
	padding: 0;
	text-align: center;
}
.wrapper > nav > ul > li > a{
	display: inline-block;
	vertical-align: top;
	font-size: 0.7em;
	font-weight: bold;
	color: #fff;
	margin: 0px 0px 0px 0px;
	padding: 0px 15px;
	line-height: 33px;
	text-decoration: none;
}
.wrapper > nav > ul > ul { /* Sidebar list level two */
	display: none;
	list-style-type: none;
	margin: 0;
	padding: 0 0 0 0px;
	text-align: center;
}
.wrapper > nav > ul > ul > li > a{
	display: inline-block;
	vertical-align: top;
	font-size: 0.7em;
	color: #95a5a6;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	line-height: 25px;
	text-decoration: none;
}
.wrapper nav ul:hover{
	cursor: pointer;
}
.wrapper nav ul:hover ul{
	cursor: pointer;
	display: inline-block;
	width: 100%;
}
.menu_item_wrapper {
	width: calc(98% - 60px);
	padding-top: 45%;
}
.main > .top_icons > H3 {
	vertical-align: middle;
	color: #fff;
	margin: 0px 0px 5px 0px;
	padding: 0px 0px 0px 30px;
	text-decoration: none;
}
.main > .top_icons > H5 {
	vertical-align: middle;
	color: #95a5a6;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 31px;
	text-decoration: none;
}
#content {
	width: calc(100%);
	max-height: 65vh;
	text-align: left;
}
#controls_info{
	height: 10vh
}
/*game images*/
.menu_item_wrapper {
	position: relative; 
	width: calc(24% - 14px);
	padding-top: 15%;
	margin: 3px 5px; 
	border: 2px solid #1c2731;
	background-color: #1c2731;
	float: left;
}
.menu_item_wrapper:hover{
	background-color: #455A64;
	border: 2px solid #455A64;
	color: #fff;
	opacity: 1; 
	filter: alpha(opacity=100);
}
.menu_img_wrapper {
	position: absolute; 
	width: calc(100% - 4px);
	height: calc(100% - 30px);
	top: 0;
	left: 0;
	margin: 2px;
	overflow: hidden; 
	opacity: 0.8; filter: alpha(opacity=80);
}
.menu_img{
	position: absolute;
	height: 100%; 
	width: 100%;
	top: 0; 
	left: 0;
}
.feature{
	display: inline-block;
	padding: 5px 8px;
	border-radius: 3px;
	background: #2f323a;
	margin: 2px 4px 2px 0px;
	
}
.gameImg{
	height: 70%;
	width: 24%;
	background-size: 100% 100%;
	//border: 2px solid #131313;
	background-color: #1c2731;
}
#connection {
	float: right;
	font-size: 0.7em;
	color: #95a5a6;
	margin-left: 3px;
}
.icon {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 4px;
	fill: #95a5a6;
}
.icon:hover {
	fill: #ecf0f1;
	cursor: pointer;
}
.setType{
	font-size: 0.8em;
	color: #fff;
	width: 35px;
	padding: 1px 3px;
	margin: 0px 2px;
}
/*Table Lists*/
table{
	width: 100%;
	border-collapse: collapse;
}
tr{
	background-color: #25384c85;
	height: 40px;
	color: #95a5a6;
	font-size: 0.9em;
	cursor: "default";
	padding: 5px;
	border-bottom: 2px solid #25384c85;
}
td{
	vertical-align: middle;
	padding: 10px; 
}
tr:hover{
	background-color: #111821;
	cursor: pointer;
}
.content-card{
	background-color: #2c3e50; 
	width: calc(100% - 130px);
	padding: 5px 30px;
	margin-bottom: 10px;
}
#controllerTest > div {
	background-color: #fff;
	color: #000;
	padding: 5px;
	margin: 5px 5px 5px 0px;
	font-size: 0.8em;
	border-radius: 50%;
	opacity: 0.4;
}

/****************MEDIA QUERIES****************/
@media (max-width: 1200px) {
	.menu_item_wrapper {
		width: calc(32% - 20px);
	}
}
@media (max-width: 950px) {
	.menu_item_wrapper {
		width: calc(46% - 20px);
		padding-top: 25%;
	}
}
@media (max-width: 700px) {
	#sidebar {
		display: block;
		width: 100%;
		height: 10vh;
		overflow: auto;
		margin: 0px;
		text-align: center;
		padding: 0px;
		position: relative;
		overflow-y: hidden;
	}
	.main {
		display: block;
		width: 100%;
		margin: 0px 0px 0px 0px;
		padding: 0px;
	}
	#content {
		width: 100%;
		height: 65vh
		text-align: left;
		padding: 30px;
	}
	#sidebar > nav > ul { /* Sidebar list level one */
		display: inline-block;
		vertical-align: top;
		list-style-type: none;
		margin: 15px 15px;
		padding: 0;
		text-align: left;
	}
	#sidebar > nav > ul > li > a{
		display: inline-block;
		vertical-align: top;
		font-size: 0.7em;
		font-weight: bold;
		color: #95a5a6;
		margin: 0px 0px 0px 0px;
		padding: 0px;
		line-height: 33px;
		text-decoration: none;
	}
	#sidebar > nav > ul > ul { /* Sidebar list level two */
		display: inline-block;
		list-style-type: none;
		margin: 0;
		padding: 0 0 0 0px;
		text-align: left;
	}
	#sidebar > nav > ul > ul > li > a{
		display: inline-block;
		vertical-align: top;
		font-size: 0.7em;
		color: #fff;
		margin: 0px 0px 0px 0px;
		padding: 0px;
		line-height: 25px;
		text-decoration: none;
	}
	#box{
		display: flex;
		flex-direction: column;
		width: 400px;
		max-width: 90vw;
	}
	.gameViewImg{
		width: calc(100% - 20px);
		height: auto;
		float: none;
		margin: 10px;
	}
}
@media (max-width: 550px) {
	html {
		overflow-x: hidden;
	}
	#content {
		width: 100%;
		text-align: left;
		padding: 30px;
	}
	.menu_item_wrapper {
		width: calc(98% - 60px);
		padding-top: 45%;
	}
	#popupbox{
		display: none;
		height: 0px; 
		z-index: 104;
		padding-bottom: 56.15%; 
	}
	#box{
		display: flex;
		flex-direction: column;
		width: 400px;
		max-width: 90vw;
	}
	#profile{
		width: 100%;	
	}
}
