
@charset "UTF-8";

@import url(https://fonts.googleapis.com/css?family=Ruda&display=swap);
body {
	background-color: #222;
	color: #CDCDCD;	
	font-family: Ruda;
	margin:0;
	font-size: 0.5cm;
}

a {
	color: #AAF;
}


.selchart {
	position: sticky;
	top: 0;
	left: 0;
	background-color: #222;
	padding: 0.1cm 3.6cm 0.1cm 1cm;
	text-align: center;
	z-index: 10;
}

#logfile {
	width: 100%;
	background-color: black;
	color: #CCC;
	border: 0;
	font-size: 0.3cm;
	overflow: hidden;
	white-space: pre-wrap;
	margin: 0;
}
#logfilearea{
	position:relative;
}
#logfileactivate {
	text-align: center;
	position: absolute;
	right: 0;
	top: -2em;
	margin: auto 0 auto auto;
	font-size: 0.3cm;
	background-color: #555;
	padding: 0.1cm;
	width: 2em;
	z-index: 100;
	
}
.versionarea {text-align: left;position: absolute;left: 0;top: -2em;margin: auto 0 auto auto;font-size: 0.3cm;padding: 0.1cm;width: 50%;z-index: 100;}

select {
	font-size: 0.5cm;
	display:  block;
	/* margin: auto; */
	width:  100%;
	box-sizing: border-box;
	background: black;
	color: #91a3b7;
	font-family: Ruda;
	border: 1px solid #FFF4;
	padding: 3px;
}

select > option[disabled] {
	font-size: 1px;
	background-color: #8ca3ab;
}


#chartarea {
	display:  flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.disable_na_p .disable_na {
	display: none;
}

.has_budget_extra .budgetextra {
	display: table-row;
}

.budgetextra {
	display: none;
}


#chartarea > div {
	width: 16cm;
	margin: 0.2cm 0.2cm 0 0.2cm;
	flex-shrink: 1;
	flex-grow: 1;
	/* min-width: 40%; */
	overflow: auto;
	scrollbar-width: none;
	position: relative;
}


#lastevents table {
		width: 100%;
		font-size: 2.5vw;
		text-align: center;
		border-collapse: collapse;;
}

#lastevents table td {
	border-bottom: 1px dotted #CCC;
	border-right: 1px dotted #CCC;
	padding: 0.2cm 0;
	
}

#lastevents table tr.sell td {
	color: #F88;
}
#lastevents table tr.buy td {
	color: #8F8;
}

#bottom {
	border-top: 1px solid;
	margin-top: 0.5cm;
	font-size:0.7em;
}

#bottom dt {
	display: inline;
	font-weight: bold;
	margin-left: 0.1cm;
	padding-left: 0.3cm;
	white-space: nowrap;

}
#bottom dt:before {
	content: '◆ ';
}

#bottom dd {
	display: inline;
	margin: 0;
	padding-right: 0.1cm;
	border-right: 1px solid;

}

#bottom dd:before {
	content: ' - ';
}

x-table {
	display:block;
	max-width:20cm;
	margin:auto;	
	position: relative;
}

x-trbgr {
	background: linear-gradient(#222222,#191919);
	display:block;
	overflow: hidden;
}
x-tr {
	display:flex;
	position:relative;
	box-sizing:border-box;
}

x-tr.anim {
	animation: 60s slide linear;
	max-height: 0;
	transform: translate(100vw,0);
	animation-fill-mode:forwards;
}
x-trbgr.animout x-tr {
    filter: saturate(0) brightness(0.5);
    animation: 20s fadeout cubic-bezier(0.15, 0.61, 0.58, 1);
    animation-fill-mode: forwards;
}

x-td, .donate {
	display:block;
	flex-grow:1;
	padding: 0.1cm 0;
	text-align:right;
	font-size: 3.1vw;
	max-width: 15%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
}

.donate {
	max-width: none;
	text-align:center;
}


x-tr.sell x-td {
	color: #eaaaaa;
}
x-tr.buy x-td {
	color: #aaeaaa;
}

x-tr.manual x-td {
	opacity: 0.5;	
}

x-tr x-td.pos:nth-child(7) {color: #8fffd3;}
x-tr x-td.neg:nth-child(7) {color: #ff80a0;}
x-tr x-td:nth-child(8).pos {color: #8F8;}
x-tr x-td:nth-child(8).pos::before {content:"+";}
x-tr x-td:nth-child(8).neg {color: #F88;}


x-tr x-td:nth-child(1) {text-align: right;max-width: 6%;font-size: 1.9vw;margin: 0.4em;position: relative;overflow: visible;}
x-tr x-td:nth-child(1) > div {
	position: absolute;
	left:0;
	top: -3px;
	width: 25em;
	z-index: 1000;
	text-align: left;
	background: black;
	padding: 2px;
	border: 1px solid #444;
	box-shadow: 0 0 10px black;
	display:none;
	font-size: 1.5em;
	color: #CCC;
}
x-tr x-td:nth-child(1):hover > div {
	display:block;
}
x-tr x-td:nth-child(2) {text-align: center;max-width: 13%;}
x-tr x-td:nth-child(3) {text-align: center;max-width: 18%;font-size: 3.1vw;margin: 0 0.4em;cursor: pointer;}
x-tr x-td:nth-child(4) {max-width: 4%;text-align: center;}
x-tr x-td:nth-child(8) {text-align: right;max-width: 9%;font-size: 1.9vw;margin: 0.4em;text-overflow: clip;}

@media (min-width: 20cm) {
x-td, x-tr x-td:nth-child(3), .donate {
		font-size: 0.62cm;
}
x-tr x-td:nth-child(1),x-tr x-td:nth-child(8) {
		font-size: 0.38cm;
}
}

.donate img {
	height: 2em;
	vertical-align: middle;
	border-radius: 106px;
	animation: 10s shadow_expand infinite;
}

x-trbgr.hdr {
	border-bottom: 1px solid;
	position: sticky;
	top:0;
	z-index:1	
}

.chart_box {
	
}

.chart_box > .chart {
	position: relative;
	padding-bottom: 34.9%;
	overflow: visible;
	box-sizing: border-box;
}

.chart_box.loading > .chart::after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 2em;
	height: 2em;
	margin: auto;
	border: 5px solid;
	border-bottom: 5px solid #0000;
	border-radius: 2em;
	animation: load3 1.4s infinite linear;
}

.chart_box > .chart > svg {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	/* bottom: 0; */
}

.head {
	display: flex;
	align-items: flex-start;
}

.head >.title > img {
	height: 1.0em;
	width:  1.0em;
	vertical-align: middle;
	padding: 0 0 0.1em 0;
}
.head >.title.emulated > img {
	filter: sepia(1);
}

.summary::-webkit-scrollbar{
	height: 0;		
}

.title {
	font-weight:bold;
	font-size: 1.2em;
	cursor: pointer;
	white-space: nowrap;

}

.title:hover, #home:hover {
	background-color: #3e4c4c;
}

.title:active, #home:active {
	background-color: #8a4864;
}


.info {
	display: block;
	font-size: 0.8em;
	font-style:italic;
	flex-grow:1;
	margin-left: 0.5em;
	white-space: nowrap;
}

.info > div {
	display:inline-block;
	vertical-align: top;
	margin: 0 0.2em;
	position: relative;
	text-align: center;
	}

.info > div.error > div{
	color: #CCC
}
.info > div.error::before {
	content: "!";
    color: yellow;
    display: block;
    position: absolute;
    right: -0.25em;
    top: 0;
    font-size: 0.8em;
    transform: scale(2,1);
}
.info > div.error > div:first-child::before,.info > div.error > div:nth-child(2)::before{content: "("; padding: 0.1em;}
.info > div.error > div:first-child::after,.info > div.error > div:nth-child(2)::after{content: ")"; padding: 0.1em;}

.info >div >  div.error_popup::before {
	content: "!";
	display: block;
	float:left;
	font-size: 1.5em;
	color: yellow;
	width: 1em;
	text-align:center;
	font-weight: bold;
}
.info >div >  div.error_popup::after {
	content: "";
	display:block;
	clear:both;
}

.info >div >  div.error_popup {
	position: absolute;
	left: -3em;
	top: 0;
	background-color: #444;
	border: 1px solid;
	color: #DBA;
	font-size: 0.8em;
	font-style: normal;
	display: none;
	padding: 0.1em;
	width: 30em;
	white-space: normal;
}

.info >div:hover >  div.error_popup {
	display: block;
	z-index:1000;
	text-align: left;
}

.info[hidden] {
	visibility: hidden;
}

.info > div.buy {
	color: #8F8;
}

.trade_buy .info > div.buy, .trade_sell .info > div.sell {
	animation: 1s blink infinite;
}

.achieve  .title {
	animation: 1s blink infinite;
}

.info > div > .size {
	font-size: 0.6em;
	/* max-width: 4em; */
	overflow:hidden;
	text-overflow:ellipsis;
	margin-left:0.1cm;
}
.info > div.last > .size  {
	height: 1em;
	background-color: #333;

}
.info > div > .size > .ometer {
	position: absolute;height:  1em;transition: 5s all;width: 4px;background: #888;
	margin-left:-2px;
	box-sizing:border-box;
	left:50%;
	bottom: 0;
}


.info span.buy_sz::before {
	content: "+"
}


.info span.sell_sz {
	color: #C44;
	font-size: 0.6em;
	max-width: 4em;
	overflow:hidden;
	text-overflow:ellipsis;
	margin-left:0.1cm;
}



.info >div.last {
	color: #88F;
	margin: 0 0.1cm;
}

.info span.last::after {
	content: ", ";
}

.info > div.sell {
	color: #F88;
}

.info div.pos {
	margin-left: 1em;
	font-style:normal;
	color: #A8A
}

.info div.pos div.size {
	text-align:right;
}

.info div.pos div.price::before{
	content: "pos: ";
	vertical-align: sub;
	font-size: 0.7em;
}

#lastevents {min-height: 1em;}

#lastevents::-webkit-scrollbar{
	width: 0;	
	
}

.summary {
}

.summary > div {

}


.summary .daystats > div{
	display: inline-block;
	font-size: 0.5em;
}
.summary .daystats > div > span{
	font-size: 1.5em;
	margin: 0.2em;
}	

.summary .daystats > div > span:first-child{
	font-weight: bold;
}	

.summary .daystats > div > span.pos.plusminus {
	color: #8C8;
}
.summary .daystats > div > span.pos.plusminus::before {
	content: "+";
}
.summary .daystats > div > span.neg.plusminus {
	color: #C88;
}

.summary .daystats > div > span:first-child {
	color: #CCA;
}
.summary .rate {
	position: relative;
	padding-right: 0.5em;
}
.summary .rate::after {
	content:"";
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	width:1.2em;
	height:1.2em;
	background-size:1.2em;
	background-repeat: no-repeat
}
.summary .rate.rateA::after {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAG1BMVEVRAABlRQB8XBeLdD2rgSDYrDnOxq/9zEn6/Ph5RT6SAAAAAXRSTlMAQObYZgAAAMFJREFUKM91ksEKwyAMhnvrOc6xs7AX2G1XR0fPg5W+QenRgiUPMCg+dpuorVr2n8zHnxgTq4qFm6pDNbJMER8EdxWGaEHMLXUKTGFgSwkowwKdoeUcAh86W7juQMMNcQLJAHOADJIUD5KiWNz6B8wx6APQcH933ffF1xBQClhCENgaU0+3DMPofiJ0qoVjKRnABJfRueVB/Rp6/kz5VKeP89C+qPQDqr3FG0wYsqW4jXvgKTdNsqlyUedVnpadfYcVxfafDNUHpYgAAAAASUVORK5CYII=");
}
.summary .rate.rateB::after {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAG1BMVEVhAABkRAB1UwWLZhKgdxq7jijXqDfvwEX9zEn/WeoyAAAAAXRSTlMAQObYZgAAAKNJREFUKM9jYACDDiBgQACODjBoQOMjRDrgAE0BTElHB6oSDmSBBjQFYCUgqgJEtEMEQDpahEBsRQ+wHpBAoiCQ3SIoBhcIFJTo6GgUFAULdKAKdIAFkLRABJAMhQggWduB5i7yBEAOa4OwM+AubRUGWtNuGAEX6FAUVFJSFIIGCIhqFgQCC6Tw6EgxUnaDBRBGEGIEMmY0YEQUZlRiRDZKcgAAcdbGjvv53dIAAAAASUVORK5CYII=");
}
.summary .rate.rateC::after {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAG1BMVEWhAgBnShyRbCjElzjzjx72oSr5tDjquUL9zEkZhef0AAAAAXRSTlMAQObYZgAAAM9JREFUKM99kTEOgzAMRTNQKathKCv0BN06dggVBygSB6ASK3QoI1Ir4mM3NiRxGfqlRMnTtxPbSq1CVFLI2t8j0YgTg9kbCoCjsGhMX89MWFBoy4DWrXdZXthCoHApBihgmtcICxlt+cgxEWToAYd4QCnQ0scg54d1eNLiDuAf0NU78KlGOIWCCZihhNQXw8Bt5ymCjsDSbEDjYip8GGN63KrtTHV395vvEBpS04ceLgzq2NRDBGtPEwatGExwKAlaMcpkBWLWBH6Gr8w1HL8nmpzdi9U14QAAAABJRU5ErkJggg==");
}
.summary .rate.rateD::after {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAG1BMVEUxAABkRQBzUQSBXQuYcBq6kSnRozXltz79zEkWfyX9AAAAAXRSTlMAQObYZgAAAKdJREFUKM9jYACDDiBgQACODjBoQOMjRDrgAE0BTElHB6oSDmSBBjQFYCXoAmAdFSCiHaIHJFAoAmI7isMFDAVBAoLCYAEwUzCjo6NNECyMXcARokUELtAsCiIDLeACKA4hWqAsHSYAdnq7oqCgUAXC6UCnAoEwQqBJ0DS9LFhQAxIgQFIxHCRZKgQLjzYPiHktGWABjCDECGTMaMCIKMyoxIhslOQAADW2xbIpXqAgAAAAAElFTkSuQmCC");
}
.summary .rate.rateE::after {
	background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgBAMAAACBVGfHAAAAG1BMVEUxAAB5BgaUEhS1NjbUUlTmaWn7dHH3ion2nJypQEvEAAAAAXRSTlMAQObYZgAAAKBJREFUKM9jYAADjo6OBgYk0AEG6HyESEcHqggHQqABTQFECQeyQAM2gY4OND3oAhyoAg1ECICpChDRDjEExFIU8ujoaFEUqoAKNAkKinR0OAoKakAFDJVdQzo6XEOMhKECyjATjaACqC4j2mFtGXDvgulmQUELFN8qCgoKwQRAeloFgSACKcSaTMJSnTVgoYweyJjRgBFRmFGJGdnIyQEA06fCcZ4NDKcAAAAASUVORK5CYII=");
}



#indicator {
	width: 0.5cm;
	height: 0.5cm;
	border-radius: 0.5cm;
	background-color: #d83333;
	position: absolute;
	right: 0.2cm;
	top: 0.3cm;
}

#indicator.online {
	background-color: #366d44;
	animation: pulse 10s cubic-bezier(0.05, 0.92, 0.17, 0.84);
}
#indicator.fetching { 
	background-color: #c1c12f;
}


#home {
	position: absolute;
	left: 0.2cm;
	top: 0.2cm;
	text-shadow: 0 0 2px white;
	width:  0.7cm;
	text-align: center;
	font-size: 1.2em;
	font-weight: bolder;
	cursor: pointer;
}

x-tr.hdr [data-name=export_csv] {
	position: absolute;
	left: 0;
	width: 50%;
	text-align: left;
	text-decoration: underline;
	text-underline-position: under;
	cursor: pointer;
	color: #88F;
}

.emulated {
	position:relative;
	/* padding-right: 9px; */
	color: #dcb684;
}
.emulated::after {
	content:"";
	display: inline-block;
	width: 18px;
	height: 18px;
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMzk4Ljc1IDM5OC43NSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzk4Ljc1IDM5OC43NTsiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIHN0eWxlPSJmaWxsOiNhZDg2NTI7IiBwb2ludHM9IjM0My4wMzMsMTg3Ljg3MSAzNzIuNTc2LDE1NS4yOTkgMzQ2LjY1LDEzMS43ODUgMzE3LjA5NSwxNjQuMzcxIDI0MC42NDIsMTgyLjM4IDI0OC42NjcsMjE2LjQ0NyAzMDUuNzE2LDIwMy4wMDkgMjkwLjU0MiwzMTcuMzUyIDI2LjE3NCwzNjQuMDE3IDI5LjIxNiwzOTguNzUgMzUzLjUwNiwzOTguNzUgMzUzLjUwNiwzMDYuMjM3IDMyNi42OTYsMzEwLjk3Ii8+PHBvbHlnb24gc3R5bGU9ImZpbGw6I2FkODY1MjsiIHBvaW50cz0iMTA0LjcwNCwxMjIuMjYyIDEzNy4yOTksMTIyLjI2MiAxMTcuMzk4LDIwNS42NyAxODMuOTA5LDIyMS45MDkgMjAxLjkzOCwzMTMuNDg4IDIzNi4yOCwzMDYuNzI3IDIxMy45MzEsMTkzLjIxIDE1OS41MjMsMTc5LjkyNyAxODEuNjMyLDg3LjI2MiA5MS42NzgsODcuMjYyIDM2Ljc5MiwxMzQuNjg3IDU5LjY3NSwxNjEuMTciLz48cG9seWdvbiBzdHlsZT0iZmlsbDojYWQ4NjUyOyIgcG9pbnRzPSIxNDYuMTEzLDIzNi45MiAxMTIuMDA4LDIyOS4wNTYgMTA3Ljg4NCwyNDYuOTM5IDQzLjUzNiwyMzAuMjg2IDM0Ljc2NywyNjQuMTY5IDEzMy45MTQsMjg5LjgyOSIvPjxwb2x5Z29uIHN0eWxlPSJmaWxsOiNhZDg2NTI7IiBwb2ludHM9IjE5MS44NDksMTM2LjE0IDIzNi42MDIsMTQ2LjM3IDI5NC40NTEsMTE0LjQxIDI3Ny41MjUsODMuNzc0IDIzMS4zNzQsMTA5LjI3MiAxOTkuNjQ4LDEwMi4wMiIvPjxjaXJjbGUgc3R5bGU9ImZpbGw6I2FkODY1MjsiIGN4PSIxODguNDE1IiBjeT0iMzUuNjI5IiByPSIzNS42MjkiLz48L2c+PC9zdmc+Cg==);
	/* right: -10px; */
	/* top: 0px; */
	/* z-index: 2000; */
	background-size: cover;
	margin-left: 3px;
}

#logo {
	position: fixed;
	left:0;
	top:0;
	right:0;
	bottom:0;
	background-color:#CCC;
	z-index:99;
	width: 320px;
	height: 229px;
	margin: auto;
	/* border: 1px solid black; */
	text-align:center;
	color: black;
	box-shadow: 5px 5px 10px 8px #0008;
}

#logo img {
	display: block;
}

.logospin {
	width: 1cm;
	height: 1cm;
	position: absolute;
	bottom: 17px;
	left: 17px;
	animation: load3_show 1s;
}

#logo .line1 {
	font-size: 100px;
	font-weight: bolder;
}


#calculator {
	position:fixed;
	left:0;
	right:0;
	top:1cm;
	z-index:10;
	max-width: 16cm;
	margin:auto;
}

menu li {
	display:block;
	padding: 0.2cm;
	background-color:#444;
	border-radius: 10px 10px 0 0;
	z-index:3;
	box-shadow: 0 -2px 5px black;
	white-space: nowrap;
	cursor: default;
}

menu li:hover {
	background-color: #555;
}

menu li.selected {
	background-color:#888;
	color: white;
	font-weight:bold;
	text-shadow: 0 0 10px black;
	transform: scale(1.05,1.05	);
	z-index:5
}

menu {
	margin:0;
	padding:0;
	display: flex;
	overflow-x: auto;
	overflow-y: hidden;
	-ms-overflow-style: none;
	scrollbar-width: none;
}


#calculator .content {
	border: 1px solid #765;
	background-color:#333;
	/* padding: 0.2cm; */
	box-shadow: 0 0 10px black;
	z-index:4;
	/* height: 100%; */
}

form label {
	display: flex;
	justify-content: space-between;
}

form label > *  {
	display: block;
}

form label > input, form label > select {
	width: 50%; 
	font-size: 0.98rem;
	box-sizing: border-box;
}
#calculator input, #calculator select {
	text-align:right;
	padding-right: 5%;
	background-color: white;
	color: black;
}

#calculator table {
	width: 100%;

}

#calculator table th {
	text-align:left;
}

#calculator .note {
	font-size: 0.8em;
	padding: 1em;
	background-color:#200;
}

#calculator .order_type > * {
	display:none;
	font-weight: bold;
}
#calculator .order_type > .buy {
	color: #8c8;
}


#calculator .order_type > .sell {
	color: #f88888;
}

#calculator .order_type.buy > .buy,#calculator .order_type.sell > .sell {
	display:inline;
}
#calculator  .norm_profit {
	color: #8c8;
}
#calculator  .norm_profit::before {
	content: '+';
}
#calculator table td {
	text-align:right;
}

#calculator .close_butt {
	display: block;
	margin: 0.2cm auto;
	bordeR:  0;
	padding: 0.2cm;
	width: 4cm;
}

form button {
	display: block;
	width: 30%;
	margin-left:auto;
	margin-right:auto;
	margin-top: 0.5cm;
}

#calculator_icon {width: 0.5cm;height:  0.5cm;position: absolute;right: 1.72cm;top: 0.3cm;background-image: url(calculator.svg);background-size: cover;cursor: pointer;}
#setup_icon {width: 0.5cm;height:  0.5cm;position: absolute;right: 0.95cm;top: 0.3cm;background-image: url(setup.png);background-size: cover;cursor: pointer;}
#donate_icon {width: 0.8cm;height: 0.8cm;position: absolute;right: 1.6cm;top: 0.15cm;background-image: url(donate_sml.svg);background-size: cover;cursor: pointer;}
#skin_icon {
	width: 0.6cm;
	height: 0.6cm;
	position: absolute;
	right: 2.6cm;
	top: 0.25cm;
	background-image: url(mode_day.png);
	background-size: cover;
	cursor: pointer;
}

#calculator {
	transition: all 0.3s;
	opacity: 1;
	transform: translate(0,0);
}

#calculator  form {
	max-height: 75vh;
	overflow: auto;
	box-sizing: border-box;
	padding: 6px;
}

#calculator.fade {
	opacity: 0;
	transform: translate(0,-100px);
}

@keyframes slide {
	0% {		
		transform: translate(100vw,0);
		max-height: 0;
		text-shadow: 0 0 0 black;
		background-color: #FF50;
		width:100%;
	padding-right: 0;
	}		
	1% {
	max-height:10em;
	text-shadow: 0 0 0 black;
	background-color: #FFF0;
	padding-right: 0;
	width:100%;

	transform: translate(0,0) scale(1,1);
	transform-origin: 0 50%;
	}
	1.2% {
	transform: scale(0.98,1.1);
	width:110%;
	padding-right: 10%;
	background-color: #FFFF;
	text-shadow: 0 0px 20px white;
	} 
	5% {		
	width:100%;
	padding-right: 0;
	transform: scale(1,1);
	background-color: #FFD4;
			text-shadow: 0 0px 0px white;
	}
	78%{
        width:100%;
    	background-color: #FF54;
	}
	100% {
        width:100%;
		background-color: #FFF0;
		transform: translate(0,0) scale(1,1);
		max-height: 10em;
	}
		

}

@keyframes fadeout {
	0% {
		max-height: 3em;
	}
	95% {
		max-height: 3em;
	}
	100% {
		max-height:0em;
	}
}

@keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.2;
	}
	100% {
		opacity: 1;
	}
}

@keyframes shadow_expand {
	0% {
		box-shadow: 0 0 1px white;
	}
	50% {
		box-shadow: 0 0 100px white;
	}
	100% {
		box-shadow: 0 0 200px #FFF0;
	}
}

table.extended {font-size: 0.8em;max-width: 35em;border-collapse: collapse;margin-top: 1em;margin-left: 0.5em;width: 100%;}
table.extended th {
    text-align: left;
    font-weight: normal;
    vertical-align: top;
}

table  tr > * {
	/* padding: 2px 0.5em; */
	border: 1px solid #222222;
	background-color: #1b1b1b;
	white-space: nowrap;
}
table.extended td.rightalg {
	text-align:right;
}
table.extended td:nth-child(2) {text-align: right;padding-right:0.1em;}
table.extended td.percent {text-align: right;padding-right:0.1em;}
table.extended td.percent b::after {
	content:" %";
	font-weight:normal;
	color: #cdcdcd;
}
table.extended td:nth-child(3) {padding: 0.1em;overflow: hidden;}
table.extended td .color.neg {color: #C66;}
table.extended td .color.pos {color: #6C6;}
table.extended td .color.pos::before {content: "+";}
[onclick] {
	cursor: pointer
}
table.perfmod {
	width: 100%;
	border-collapse: collapse;
}
table.perfmod td{
	text-align: center;
	color: #555;
}
table.perfmod td:first-child{
	color: #ccc;
}
table.perfmod td.pos{
	color: #8c8;
}
table.perfmod td.neg{
	color: #f88;
}

table.perfmod tr.sep > td{
	border-top: 2px solid #888;
}
table.perfmod tr.bold > td{font-weight: bold;background-color: #333;}
table.perfmod tr.ital > td{font-size: 0.9em;}

.perfrep {
	text-align:center;
}

.head > .error_icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	flex-grow: 0;
	position: relative;
	background-size: cover;
	margin-left: 0.5em;
	display: none;
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0ODMuNTM3IDQ4My41MzciPjxwYXRoIGQ9Ik00NzkuOTYzIDQyNS4wNDdMMjY5LjA1IDI5Ljg1NGEzMC4zNiAzMC4zNiAwIDAgMC0yNi43ODItMTYuMDgxaC0uMDNjLTExLjIxNyAwLTIxLjQ5MiA2LjE3LTI2Ljc4MiAxNi4wNUwzLjYwMyA0MjUuMDE2Yy01LjA0NiA5LjQ4NS00Ljc3MyAyMC44NTQuNyAyOS45NzQgNS41MDIgOS4xNSAxNS40MTMgMTQuNzc0IDI2LjA4MyAxNC43NzRINDUzLjEyYTMwLjM3IDMwLjM3IDAgMCAwIDI2LjA4My0xNC43NzRjNS41MDItOS4xNSA1Ljc3Ni0yMC41Mi43Ni0yOS45NDN6TTI0Mi4yNCA0MDguOTY1Yy0xNi43OCAwLTMwLjQtMTMuNjItMzAuNC0zMC40czEzLjYyLTMwLjQgMzAuNC0zMC40YzE2Ljc1IDAgMzAuNCAxMy42MiAzMC40IDMwLjRzLTEzLjYxOCAzMC40LTMwLjQgMzAuNHptMzAuNDMtMTIxLjExYzAgMTYuODEtMTMuNjUgMzAuNC0zMC40IDMwLjQtMTYuNzggMC0zMC40LTEzLjU5LTMwLjQtMzAuNFYxNjYuMjU2YzAtMTYuNzggMTMuNjItMzAuNCAzMC40LTMwLjQgMTYuNzUgMCAzMC40IDEzLjYyIDMwLjQgMzAuNHYxMjEuNTk4eiIgZmlsbD0iI2ZmODA4MCIvPjwvc3ZnPgo=);
}

.head > .error_icon.error {
	display:block;
}

.head > .error_icon > div {
	position: absolute;
	min-width: 19em;
	background-color: #422f18;
	color: #ff7575;
	padding: 5px;
	border:  1px solid;
	box-shadow: 0 0 10px black;
	display: none;
	left:0;
	top: 0;
	font-size: 0.7em;
	z-index: 1000;
}
.head > .error_icon:hover > div {
	display:block;
}

#donate_window {
	position: fixed;
	left:  0;
	top: 100%;
	right: 0;
	width: 30em;
	background: black;
	z-index: 1000;
	margin: auto;
	border: 1px solid #888;
	box-shadow: 0 0 5px black;
	font-size: 3vw;
	transition: all 0.3s;
	opacity: 0; 
}

@media (min-width: 16cm) {
	#donate_window {
	font-size: 0.5cm;
	/* height: 15em; */
}
}

#donate_window.shown {
	top: 20%;
	opacity: 0.999;
}

#donate_window table {
	width: 98%;
	margin: 1%;
	box-sizing: border-box;
}
#donate_window table td {
	text-align:center;
}
#donate_window h2, #donate_window p{
	text-align:center;
	margin: 0.4em;

}
#donate_window button {
	position: absolute;
	right:0;
	top:0;
	background-color:transparent;
	border: 0;
	color:#ccc;
	font-size:150%;
}

#notify {
	position: fixed;
	left: 10px;
	bottom: 10px;
	/* width: 30%; */
	border:  1px solid;
	background-color: #DDA;
	color: black;
	padding: 5px;
	transition: 1s all;
	left: -1000px;
	opacity: 0;
}

#notify img {
	width: 1cm;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
}
#notify img[hidden] {
	display:none;
}

#notify.shown {
	left: 10px;
	bottom: 10px;
	opacity: 1;
	padding: 0.2cm 1cm 0.2cm 0.2cm;
} 

#form_sliding_pos .second {
	color: #afdeff;
}

/* --------------- day mode --------------*/

body.daymode {
	color: #3c3c3c;
	background-color: #f0f0f0;
} 

body.daymode #skin_icon{
	background-image: url(mode_night.png);
}

body.daymode .selchart {
	background-color: #f0f0f0;
} 

body.daymode select {
	background-color: white;
	color: #222;
} 
body.daymode x-trbgr {
	background: linear-gradient(#ffffff,#eeeeee);
}

body.daymode table  tr > * {
    background-color: #ffffff;
    border-color: #ffffff;
}

body.daymode .color.pos {color: green !important;}

body.daymode .color.neg {
	color: red !important;
}

body.daymode x-tr.sell x-td {color: red;}

body.daymode x-tr.buy x-td {
	color: green;
}

body.daymode x-tr x-td.neg:nth-child(7) {
    color: #ff0074;
}

body.daymode x-tr x-td.pos:nth-child(7) {
    color: #005c80;
}

body.daymode x-tr x-td.neg:nth-child(8) {
    color: red;	
}

body.daymode x-tr x-td.pos:nth-child(8) {
    color: green;	
}

body.daymode .stdline {
	stroke: #21642a;
}
body.daymode .stdline2 {
	stroke: #757eff;
}
body.daymode .orderline.buy {stroke: #00b000;}
body.daymode .orderline.sell {
	stroke: red;
}
body.daymode .orderline.last {stroke: blue;}
body.daymode .orderline.current {stroke: #888;}
body.daymode .textorderline {
    fill: #000;
    text-shadow: -2px 0px 2px white, 2px 0px 2px white, 0px -2px 2px white, 0px 2px 2px white;
}
body.daymode .info > div.buy {
    color: green;
}
body.daymode .info > div.sell {color: red;}
body.daymode .info > div.last {color: #00178e;}
body.daymode .info > div.pos {color: #a800de;}
body.daymode .info > div.error > div {color: #4f4c50;}
body.daymode .info >div > div.error_popup {background-color:white;}
body.daymode .info > div.error::before {color: #ff0000;}
body.daymode .info > div.last > .size {
	background-color: #eae6e6;
}
body.daymode .emulated {color: #816600;}
body.daymode .head >.title.emulated > img {
	filter: sepia(1) brightness(0.5);
}
body.daymode .title:hover, body.daymode #home:hover {
	background-color: #d7d7d7;
}
body.daymode table.perfmod td.neg {
	color: red;
}
body.daymode table.perfmod td.pos {
	color: green;
}
body.daymode table.perfmod td:first-child {
	color: black;
}
body.daymode table.perfmod tr.bold > td {
	background-color: white;
}
body.daymode #donate_window {
	background: white;
}
body.daymode a{
	color: blue;
}

select .divider {
	font-size: 1px;
	background-color: #A0A0A040;
}
body.daymode #logfileactivate {background-color: #aaa;}


body.daymode .summary .daystats > div > span.pos.plusminus {
	color: #008d00;
}

body.daymode .summary .daystats > div > span.neg.plusminus {
	color: #ec0000;
}

body.daymode .summary .daystats > div > span:first-child {
	color: #626262;
}
body.daymode table.extended td:nth-child(4) b::after {
    color: #3c3c3c;
}

body.daymode .ohlctrademarker{
	fill: black;
	text-shadow: -2px 0px 2px white, 2px 0px 2px white, 0px -2px 2px white, 0px 2px 2px white;
}
body.daymode .ohlcordermarker {
	text-shadow: 0 0 5px white, 0 0 20px white, 0 0 20px white, 0 0 20px white, 0 0 20px white;
}
body.daymode .ohlcordermarker.sell {
	fill: #b20000;
	stroke: #b20000;
}
body.daymode .ohlcordermarker.buy {
	fill: #289e00;
	stroke: #289e00;
}

body.daymode .ohlc.bull {
	fill:  white;
	stroke: #216435;
}

body.daymode .ohlc.bear {fill: #64212d;stroke: #64212d;}

#news_window {
    position: fixed;    
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;	
    padding: 1em;
    z-index: 2000;
    display: none;
}

#news_window.shown {
	display: block;
}

#news_window >div {
    background-color: #444;
    margin: auto;
    max-width: 20cm;
    max-height: 100%;
    box-sizing: border-box;
    position: relative;
    min-height: 3em;
    box-shadow: 5px 5px 20px black;
    overflow: auto;
}

#news_close {
	position: sticky;
	width:  1cm;
	height:  1cm;
	line-height: 1cm;
	text-align: center;
	margin-left: auto;
	margin-right: 0;
	cursor: pointer;
	font-size: 0.75cm;
	top: 0;
	z-index: 2001;
}

#news_close:hover {
	background-color: #FFF2;
}

#news_data {
	margin: 1%;
	margin-top: -0.25cm;
}

#news_data > div {
	margin-bottom: 1em;
	padding-bottom: 1em;
	border-bottom: 1px dotted;
	position: relative;
}
#news_data > div>div:nth-child(1) {
    position: absolute;
    right: 1em;
    width:  6em;
    text-align: right;
    top: 0;
}
#news_data > div>div:nth-child(2) {font-weight: bold;margin-right: 6em;}
#news_data > div>div:nth-child(3) {
    font-size: 0.8em;
}
#news_window button {
	margin: 1em;
	padding: 0.4em;
}

#news_window .buttons {
	margin: 1em;
	text-align: center;	
}

#newsbox{padding: 0.2em;border-top: 1px solid;border-bottom: 1px solid;position: sticky;bottom: 0;background-color: #5e3204;z-index: 2000;font-weight: bold;color: #e9e9a4;}


#newsbox > a{white-space: nowrap;display: block;text-align: center;overflow: hidden;text-overflow: ellipsis;color: currentColor;}

.loader {
  border-radius: 50%;
  background: #ffffff;
  background: -moz-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -o-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: -ms-linear-gradient(left, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
  background: linear-gradient(to right, #ccccaa 10%, rgba(255, 255, 255, 0) 42%);
  animation: load3 1.4s infinite linear, load3_show 5s cubic-bezier(0.43, 0.03, 0.33, -0.24);
}
.loader:before {
  width: 50%;
  height: 50%;
  background: #ccccaa;
  border-radius: 100% 0 0 0;
  position: absolute;
  top: 0;
  left: 0;
  content: '';
}
.loader:after {
  background: #2c2c2c;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  content: '';
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

@keyframes load3 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes load3_show {
	0% {opacity:0}
	100% {opacity:1}
}

@keyframes pulse {
	0% {background-color: #7aff9c;}
	100% {background-color: #366d44;}
}

[data-name=interval_selector] {
	font-size: 0.8em;
	white-space: nowrap;
	display: flex;	
	justify-content: flex-end;
}

[data-name=interval_selector] a {
	display: block;
	padding: 3px;	
	
}
[data-name=interval_selector] a.selected {
	color: yellow;
	text-decoration:none;
	
}
.tradenow {
	text-align: right;
}
.tradenow div {
    display: inline-block;	
    border: 1px solid #444;
    color: yellow;
    cursor: pointer;
	padding: 0 5px;
}

.tradenow div:hover {
	background-color: #888;
}
@keyframes tradenow {
	0%{color:white;background-color:black;}
	49.9%{color:white;background-color:black;}
	50%{background-color:white;color:black;}
	100%{background-color:white;color:black;}
}

.tradenow div.active {
    	animation: tradenow 1s infinite;
}

.tradenow div.disabled {
        display: none;
}


