:root {
	--blue: #3593ff;
	--black: #14151a;
	--bg: #24242e;
	--bg-dark: #1d1d25;
	--bg-light: #292a36;
	--bg-lighter: #333443;
	--bg-selected: #007bff;
	--bg-hover: #2d3940;
	--border-light: #37444b;
	--app-border: #37444b;
	--input-background: #16161c;
	--text-light: #698390;
	--text-lighter: #586174;
	--text-gray: #a9a9a9;
	--icon: #698390;
}

* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	outline: 0;
}

html, body {
	direction: ltr;
	max-width: 100%;
	background-color: var(--bg);
	overflow-x: hidden;
}

body {
	margin: 0;
	padding: 0;
	font-family: "Arial", sans-serif;
	font-size: 12px;
	color: #fff;
}

form {
	margin: 0;
	padding: 0;
}

input, textarea {
	font: normal 12px "Arial", sans-serif;
	color: #fff;
}

input, textarea, img, svg, label {
	vertical-align: middle;
}

img {
	border: 0;
}

label {
	cursor: pointer;
}

a:hover {
	text-decoration: none;
}

div.o-h {
	width: 100%;
	overflow: hidden;
}

div.c-b {
	clear: both;
	font-size: 0;
}

/* Theme */
.nohl {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Mobile */
#d-nav {
	display: none;
}

#board {
	position: absolute;
	width: 100%;
	height: 100%;
}

#mt-platform {
	position: relative;
	width: 100%;
	height: 100%;
}

#webterminal {
	position: absolute;
	width: 100%;
	height: 100%;
}

/* Footer Mobile Menu */
#m-menu {
	display: block;
	position: fixed;
	left: 0;
	bottom: 0;
	z-index: 10;
	width: 100%;
	background-color: var(--bg-dark);
}

#m-menu > ul {
	display: block;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
	overflow: hidden;
}

#m-menu > ul > li {
	width: 33.33333%;
	float: left;
}

#m-menu > ul > li > a {
	display: block;
	padding: 5px 0;
	text-align: center;
	text-decoration: none;
	font-size: 10px;
	line-height: 10px;
	color: #fff;
	cursor: pointer;
}

#m-menu > ul > li > a > .icon {
	position: relative;
	margin-bottom: 6px;
	font-size: 0;
	line-height: 26px;
}

#m-menu > ul > li > a > .icon > svg {
	display: inline-block;
}

/* Mobile User Menu */
#m-user-menu {
	display: none;
	position: fixed;
	right: 20px;
	bottom: 52px;
	z-index: 11;
	width: auto;
	background-color: var(--bg-light);
	margin: 0;
	padding: 0;
	list-style: none;
}

#m-user-menu > li {
	border-bottom: 1px solid var(--app-border);
}

#m-user-menu > li:last-child {
	border: 0;
}

#m-user-menu > li > a {
	display: block;
	padding: 10px 15px;
	text-decoration: none;
	font-size: 12px;
	color: #fff;
}

#m-user-menu > li > a > .icon {
	display: inline-block;
	vertical-align: top;
	margin-right: 8px;
}

#m-user-menu > li > a > .icon > svg {
	fill: #fff;
}

/* Desktops;
 >= md */
@media only screen and (min-width: 992px) {
	/* Scrollbar */
	::-webkit-scrollbar {
		width: 17px;
	}

	::-webkit-scrollbar-track {
		background-color: transparent;
	}

	::-webkit-scrollbar-thumb {
		background-color: #d6dee1;
		background-clip: content-box;
		border: 6px solid transparent;
		border-radius: 17px;
	}

	::-webkit-scrollbar-thumb:hover {
		background-color: #a8bbbf;
	}

	#d-nav {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
		width: 120px;
		height: 100%;
		background-color: var(--bg);
		padding: 30px 20px 10px;
		border-right: 10px solid var(--bg-dark);
	}

	#logo {
		display: block;
		text-align: center;
		padding: 10px 0;
		width: fit-content;
	}

	#logo img {
		max-width: 83px;
		max-height: 101px;
	}

	#d-menu {
		display: block;
		position: relative;
		height: calc(100% - 60px);
		margin: 30px 0 0 0;
		padding: 0;
		list-style: none;
	}

	#d-menu > li > a {
		display: block;
		padding: 15px 0;
		text-align: center;
		text-decoration: none;
		font-weight: bold;
		font-size: 12px;
		color: #586174;
		-webkit-transition: all 150ms ease;
		-moz-transition: all 150ms ease;
		-o-transition: all 150ms ease;
		-ms-transition: "all 150ms ease";
		transition: all 150ms ease;
	}

	#d-menu > li > a:hover {
		color: #fff;
	}

	#d-menu > li > a > .icon {
		display: block;
		height: 30px;
		margin-bottom: 5px;
		font-size: 0;
		line-height: 30px;
	}

	#d-menu > li > a:hover > .icon svg path {
		fill: #fff;
		-webkit-transition: all 150ms ease;
		-moz-transition: all 150ms ease;
		-o-transition: all 150ms ease;
		-ms-transition: "all 150ms ease";
		transition: all 150ms ease;
	}

	#board {
		position: fixed;
		top: 0;
		left: 120px;
		width: calc(100% - 120px);
		height: 100%;
	}

	#m-menu {
		display: none;
	}

	iframe {
		border: 0;
	}
}
