:root 
{
	--graph-gridlines:rgba(109, 198, 255, 0.1);
	--main-color:#21b600;/* #21b6db; */
	--row-odd:#000000;
	--row-even:#111111;
	--row-height: 80px;
	--trapezoid-width: 300px;
	--trapezoid-wings: 20px;
	--duration: 10s;
}
body
{
  font-family: 'Abel', sans-serif;
  font-size: 22px;
/*   font-size: 1.5vw; */
  background: black;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
h1, h2, h3, a
{
	color: white;
}

/* ------------------------------- HELPERS */
.hidden 
{
	display:none;
}
.blur
{
	-webkit-filter: blur(3px);
	-moz-filter: blur(3px);
	-o-filter: blur(3px);
	-ms-filter: blur(3px);
	filter: blur(3px);
}

/* ------------------------------- TOP LABELS */
.top-label
{
	position: absolute;
	margin: 0;
	top: 0;
	height: 60px;
	color: white;
}
.trapezoid 
{
	position: absolute;
	z-index: -1;
	margin: auto;
	margin-top: 0px;
	top: 0;
	left: 0;
	right: 0;
	text-align: center;
	border-top: 50px solid var(--main-color);
	border-left: var(--trapezoid-wings) solid transparent;
	border-right: var(--trapezoid-wings) solid transparent;
	height: 0;
	width: var(--trapezoid-width);
}

.logo
{
	margin: 10px;
	white-space: normal;
	height: 45px;
}
.bar-name
{
	word-wrap: normal;
	white-space: nowrap;
	margin: 2px;
	text-align: left;
	font-size: 1.2em;
	padding: 
}
.timer
{
	display: block;
	font-size: 1.2em;
	margin: 0px;
	padding: 7px;
	padding-left: 50px;
	left: calc(50% - var(--trapezoid-width) / 2 - var(--trapezoid-wings) );
}
.timer-label
{
	float: right;
/* 	left: calc(50% + 14px); */
	top: 10px;
	background-color: black;
	padding-top: 0px;
	padding-left: 5px;
	padding-right: 10px;
	padding-bottom: 0px;
	margin: 0px;
	margin-top: -2px;
	margin-left: 10px;
	font-size: 1.2em;
	border-radius: 10px;
	color: white;
	text-align: center;
	width: 66px;
/* 	height: 1em; */
/* 	line-height: 0px; */
}
.www-url
{
	margin: 6px;
	right: 0;
	text-align: right;
	display:inline;
}
/* ------------------------------- MARKET CRASH AND RECALC */
.fullscreen-bg 
{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	z-index: 110;
}

.fullscreen-bg__video 
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #202020;
}

canvas 
{
/*
	-moz-user-select: all;
	-webkit-user-select: all;
	-ms-user-select: all;
*/
	width: 100%;
}
#recalc-anim
{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width:	 100%;
	height: 100%;
	margin: 0px;
	z-index: 109;
}

/* ------------------------------- ROOT TABLE */
.root-table
{
	margin: 0px;
	margin-top: 70px;
	padding-top: 70px;
	padding: 0px;
	height: 100%;
}	
.root-td
{
	width: 50%;
	margin: 0px;
	padding: 0;
	padding-bottom: auto!important;
}

table /* hold for all tables */
{
	border-collapse: collapse;
	width: 100%;
}
table table /* only for inner tables */
{
	margin: 0;
	padding: 0;
/* 	table-layout: fixed; */
}	
table table thead th 
{
	text-align: center;
	padding: 4px;
	color: white;
	background-color: var(--main-color);
	font-size: 1.2em;
	height: 25px;
}
table table td 
{
	text-align: left;
	padding: 0px;
	padding-left: 0px;
	color: white;
	font-size: 1.2em;
}
table table tbody .chart-column
{

/* 	display: inline-block; */
/* 	min-height: 100%; */
/* 	min-width: 100%; */
	width: 25%;
	padding: 0px;
	margin: 0px;
	height: var(--row-height) !important;
	background-image: repeating-linear-gradient(-180deg,transparent,transparent 9px, var(--graph-gridlines) 9px,var(--graph-gridlines) 10px),repeating-linear-gradient(90deg,transparent,transparent 9px, var(--graph-gridlines) 9px, var(--graph-gridlines) 10px);
	background-size: 10px 10px;
}

table table tbody tr
{
	height: var(--row-height) !important;
	/*height: calc( var(--row-height) - 2 * var(--row-padding)); 80px; */
}
table table tbody tr:nth-child(even)
{
	background-color: var(--row-even);
/* 	height: 100%; */
}
table table tbody tr:nth-child(odd)
{
	background-color: var(--row-odd);
/* 	height: 100%; */
}
table table thead th:nth-child(1)
{
	padding-left: 14px;
	text-align: left;
}
table table td:nth-child(1)
{
	padding-left: 14px;
}
table table td:nth-child(2)
{	
	padding-right: 8px;
	width: 30%;
}
table table td:nth-child(3)
{
	padding-right: 10px;
	width: 25%;
}

/* ------------------------------- TICKER TAPE */
.marquee 
{
	z-index: 100;
	position: fixed;
	margin-bottom: 2px;
	background-color: black;
	bottom: 0;
	border: 4px solid white;
	border-top-width: 6px;
	border-bottom-width: 0px;
	border-left-width: 100px;
	width: 100%;
	font-size: 1.5em;
	overflow: hidden;
	color: var(--main-color);
}
.dxn
{
	position: fixed;
	margin: 0;
	bottom: 0;
	left: 0px;
	z-index: 101;
	width: 147px;
	height: 46px;
}

/* ------------------------------- PRICE CHANGE */
.positive
{
	padding:0px 0px 0px 3px; text-align:center; vertical-align:center;
	color: lime;		
}
.negative
{
	padding:0px 0px 0px 3px; text-align:center; vertical-align:center;
	color: red;
}
.neutral
{
	padding:0px 0px 0px 3px; text-align:center; vertical-align:center;
	color: white;
}

.positive svg, .negative svg, .neutral svg { margin:0; display:block; }

.price { float:left; display:inline-block; vertical-align: middle; text-align: right; width: 50%; white-space: pre;}
.change { float:right; display:inline-block; vertical-align: middle; text-align: left; width: 50%; white-space: pre; }

.splitter {
	z-index: 99;
	position: absolute;
	left: calc(50% - 2.5px);
	top:90px;
	height: calc(100% - 90px);
	text-align: left;
	border-left: 5px solid var(--main-color);

}


.info
{
	position: absolute;
	top: 150px;
	left: calc(50% - 280px);
/* 	margin-top: 100px; */
	background: black;
	z-index: 100;
	display: block;
	border-style: solid;
	border-color: var(--main-color);/* #02a64f; */
	border-radius: 20px;
	-moz-border-radius: 20px;
	font-size: 24px;
	width: 560px;
	padding: 10px;
	box-shadow: 0px 0px 150px 150px rgba(10, 10, 10, 0.8);
/* 	border-collapse: collapse; */
}
#footer {
	z-index: 100;
	display: block;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #00af4a;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1.5em;
}
#footer:hover 
{ 
	background: rgba(255, 109, 52, 0.57); 
}
/*
@media all and (max-width:1400px) 
{
	table table tbody .chart-column, table table td:nth-child(3)
	{
		width: 15%;
	}
}
*/


@media (orientation : portrait) 
{
	.root-table, .root-td
	{
		display: block; 
	}
	.root-td
	{
		width: 100%;
	}
	.splitter, .second-head, .www-url
	{
		display: none; 
	}
	.trapezoid 
	{
		border-right: 0 solid transparent;
	}
	.timer
	{
		padding-left: calc( var(--trapezoid-wings) + var(--trapezoid-wings) );
		left: calc(100% - var(--trapezoid-width) - var(--trapezoid-wings) );
	}	
}


@media screen and (max-width:900px)
{
	.root-table, .root-td/* , table table, table tr  */
	{
		display: block; 
	}
	.root-td
	{
		width: 100%;
	}
	.splitter, .second-head, .www-url
	{
		display: none; 
	}
	.trapezoid 
	{
		border-right: 0 solid transparent;
	}
	.timer
	{
		padding-left: calc( var(--trapezoid-wings) + var(--trapezoid-wings) );
		left: calc(100% - var(--trapezoid-width) - var(--trapezoid-wings) );
	}
}
@media screen and (max-width:600px)
{
	.chart-column
	{
		display: none; 
	}
	table table td:nth-child(2)
	{
		width: 35%;
		padding-right: 10px;
	}
	table table tbody tr
	{
		height: var(--row-height) !important;
	}

}
