#toolsMenu {
	justify-content: left;
	overflow-x: scroll;
	overflow-y: hidden;
	max-width: 100%;
	line-height: 2em;
	font-family: sans-serif;
	letter-spacing: 1px;
	position: relative;
	margin-top: 12px;
	top: 2px;
}
#toolsMenu::-webkit-scrollbar {
	height: 0px;
	display: none;
}
#toolsMenu>div:first-of-type {
	margin-left: 0;
}
#toolsMenu>div[name=consoleLogs].alert {
	background-color: red !important;
}
#toolsMenu>div div {
	display: inline-block;
	background-color: transparent;
	color: inherit;
}
#toolsMenu>div>div {
	display: inline-block;
}
#toolsMenu>div .alertCss {
	z-index: 3;
	width: 24px;
	margin: 0 -15px 5px 5px;
	vertical-align: middle;
	/* filter: drop-shadow(0 0 5px white); */
}
#toolsMenu>div .lockCss {
	z-index: 3;
	width: 23px;
	height: 28px;
	margin: 0 -0.2ch;
	vertical-align: middle;
}
#toolsMenu>div {
	z-index: 1;
	position: relative;
	white-space: nowrap;
	cursor: pointer;
	color: #fff;
	background-color: #999;
	border-radius: 10px 0 0 0;
	margin-left: 18px;
	margin-bottom: -2px;
	padding: 0 0 0 8px;
	border: solid black;
	border-width: 2px 0 0 2px;
}
#toolsMenu>div>div[translateHtml] {
	margin-right: -10px;
}
#toolsMenu>div:hover {
	color: black;
}
#toolsMenu>div[name=consoleLogs].alert::after {
	background-color: red !important;
}
#toolsMenu>div::after {
	/* z-index: 2; */
	z-index: -1; /* text má margin-right: -10px; takže toto musí byť pod ním, aby ho neprekrýval */
	cursor: pointer;
	background-color: #999;
	position: absolute;
	top: 0; right: -25px;
    content: '';
    width: 25px;
    height: 2em;
    margin-top: -2px;
    border-radius: 0 30px 0 0;
    border: solid black;
    border-width: 2px 2px 0 0;
}
#toolsMenu .active {
	color: #000;
	background-color: #fff;
	z-index: 5;
}
#toolsMenu .active::after {
	background-color: #fff;
}
#toolsPages>div {
	z-index: 4;
	padding: 10px;
	box-sizing: border-box;
	overflow-y: scroll;
	overflow-x: hidden;
	position: absolute;
	background-color: white;
	width: 100%;
	height: 100%;
}
#toolsPages>div.active {
	z-index: 5;
}
#toolsPages {
	z-index: 4;
	position: relative;
	height: calc(100% - 506px);
	min-height: 13em;
	border: solid black 2px;
}
.selectBox::after {
	z-index: 1;
	position: absolute;
	top: 0; right: 0;
	line-height: 2.5em;
	content: '\25BC';
	margin-left: -15px;
	font-size: x-small;
}
.selectBox, .button {
	position: relative;
	cursor: pointer;
	height: 1.3em;
	overflow: hidden;
	background-color: white;
	box-shadow: 0 0 5px #999;
	border-radius: 5px;
	border-width: 0;
}
.selectBox.active {
	overflow: visible;
	z-index: 2;
}
.selectBox.active [selected=selected] {
	background-color: greenyellow;
}
.selectBox .showed, .selectBox [useroptions] {
	padding: 0 15px 0 5px;
	height: 1.3em;
	text-align: right;
}
.selectBox>div {
	position: relative;
	z-index: 1;
	background-color: white;
	/* box-shadow: 0 0 5 #999; */
}







#badgets {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: 230px;
	font-family: cursive;
}
#badgets>div {
	width: 15%;
	transition: all 0.3s linear;
}
#badgets .show:not(.smoky) {
	position: absolute;
	top: 0;
	/* left: 0; right: 0; */
	margin: auto;
	z-index: 2;
	width: 100% !important;
	transition: all 0.3s linear;
}
#badgets img {
	width: 100%;
}
#badgets div.smoky>div {
	display: none;
}
#badgets div.smoky img {
	animation: badgetAnimationOut 0.3s linear forwards;
	animation-iteration-count: 1;
}
#badgets>div:not(.smoky) {
	cursor: pointer;
}
#badgets .active {
	width: 35%;
}
#badgets:hover .active {
	/* width: 15%; - spravené cez JS */
}
#badgets>div:hover, #badgets>div.active:hover {
	width: 35%;
}
#badgets>div.smoky:hover img {
	animation: badgetAnimationIn 0.3s linear forwards;
}
@keyframes badgetAnimationIn {
	0% { filter: blur(5px) grayscale(100%); }
	100% { filter: blur(10px) grayscale(100%); }
}
@keyframes badgetAnimationOut {
	0% { filter: blur(10px) grayscale(100%); }
	100% { filter: blur(5px) grayscale(100%); }
}

#badgets>div {
	position: relative;
}
#badgets>div>div {
	position: absolute;
	margin: auto;
	left: 0; right: 0;
}
#textAdept { bottom: 24%; }
#textProgrammer { bottom: 25%; }
#textFighter { bottom: 16%; }
#textVeteran { bottom: 12%; }
#textTerminator { bottom: 15%; }








#levelList {
	height: calc(100% - 17vw);
	min-height: 350px;
}
#levelList>div {
	cursor: pointer;
	position: relative;
	transition: all 1s ease-in-out;
	left: calc(3em + 8px);
	width: calc(3em + 8px);
	box-sizing: content-box;
	display: inline-block;
	vertical-align: top;
}
#levelList .heads {
	position: relative;
	justify-content: space-between;
	margin: 30px 50px 10px 50px;
	padding: 5px;
	font-size: 1.3em;
	font-weight: bold;
	border: solid black;
	border-width: 0 0 2px 0;
	transition: all 0.5s ease-in-out;
	opacity: 0;
	top: 200px;
	/* overflow: hidden; */
}
#levelList .heads div[translateHtml="general.score"]::before {
	content: "\0022EF";
	margin-right: 10px;
}
#levelList .levels {
	position: relative;
	/* height: 0; */
	opacity: 0;
	overflow: hidden;
	transition: all 0.5s ease-in-out;
	margin: 10px 60px;
	top: 200px;
}
#levelList .tabName .lock {
	padding: 0 5px;
	width: 25px;
}
#levelList .tabName>div {
	text-align: center;
	width: 0;
}
#levelList .active .tabName>div {
	width: 100%;
}
#levelList>div .tabName {
	transition: all 1s ease-in-out;
	transform: rotate(90deg) translate(0, 3px);
	transform-origin: left top;
	border: solid black; 
	border-width: 2px;
	border-radius: 10px;
	font-size: 1.7em;
	font-weight: bold;
	padding: 5px;
}
#levelList>div:not(.active) .tabName {
	min-width: 350px;
	white-space: nowrap;
}
#levelList>div.active {
	left: 0; /* top: 0; */
	width: calc(100% - 6em - 20px - 8px);
	border-color: darkgreen;
}
#levelList .active .tabName {
	color: darkgreen;
	border-color: darkgreen;
}
@keyframes tabNameColor { 0% {
	color: green;
	border-color: green;
} }
#levelList .tabName:hover {
	color: green;
	border-color: green;
	animation: tabNameColor 0.2s linear;
}
#levelList>div.active .tabName {
	transform: rotate(0deg);
	width: 100%;
	box-sizing: border-box;
}
#levelList>div.active .levels,
#levelList>div.active .heads {
	/* height: auto; */
	top: 0;
	overflow: visible;
	opacity: 1;
	transition-delay: 0.5s;
}

#levelList .levels>div {
	position: absolute;
	/* min-width: 250px; */
	/* width: 80%; */
	margin: auto;
	left: 0; right: 0;
}
#levelList .levels>div>div {
	font-size: 1.2em;
	padding: 5px 10px;
	border-radius: 10px;
}
#levelList .level.active {
	background-image: linear-gradient(to bottom, rgba(0, 256, 0, 0.3), rgba(0, 0, 0, 0.02));
}
#levelList .level:not(.active):hover {
	background-image: linear-gradient(to bottom, rgba(256, 256, 0, 0.3), rgba(0, 0, 0, 0.02));
}
#levelList .levels>div>div>div {
	display: inline-block;
}
#levelList .levels .name {
	width: calc(100% - 85px);
}
#levelList .levels .score {
	float: right;
	/* width: 40px;
	text-align: right; */
}
#levelList .levels .levelRefresh {
	width: 25px;
	height: 25px;
	margin-top: -5px;
}
#levelList .levels {
    counter-reset: line;
}
#levelList .levels .name:before {
	counter-increment: line;
    content: counter(line) ". ";
}







#userOptions h1 {
	font-family: sans-serif;
	letter-spacing: 1px;
	text-align: center;
	font-weight: bold;
}
#userOptions .columns {
	flex-wrap: wrap;
}
#userOptions .column {
	flex: 1;
	min-width: 190px;
}
#userOptions .column>div {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	position: relative;
	width: 100%;
	line-height: 1.3em;
	margin: 7px 0;
}
#userOptions .column>div>* {
	display: inline-block;
}
#userOptions .column>div>*:nth-child(2) {
	/* height: 1.3em;
	float: right; */
	flex: none;
	margin-left: 10px;
}
#userOptions .columns>div {
	margin: 0 10px;
	padding: 5px;
	background-color: #eee;
	/* box-shadow: 0px 0px 3px #ccc; */
}
/* #userOptions .columns>div:nth-child(1) {
	padding: 5px 20px 5px 10px;
	border-width: 0 1px 0 0;
	border-color: #ccc;
	border-style: solid;
}
#userOptions .columns>div:nth-child(2) {
	padding: 5px 10px 5px 20px;
} */
#userOptions select, #userOptions button {
	font-size: 1em;
}
#userOptions div[shortcutClass] {
	min-height: 50px;
	justify-content: left;
	align-items: center;
}
#userOptions div[shortcutClass]>* {
	/* height: fit-content; */
}
#userOptions div[shortcutClass]>input[type=text] {
	min-width: 180px;
	margin: 0 20px;
	text-align: center;
}
#userOptions div[shortcutClass]>*[shortcut] {
	/* flex: 1; */
	min-width: 225px;
}
#userOptions div[shortcutClass]>*[translateHtml] {
	/* flex: 2; */
	margin: 5px 0;
}
#userOptions *[shortcutVisual] {
	flex-wrap: nowrap;
	justify-content: left;
	cursor: pointer;
}
#userOptions *[shortcutVisual] .not {
	position: relative;
}
#userOptions *[shortcutVisual] .not::after, #userOptions *[shortcutVisual] .not::before {
	content: '';
	margin: auto;
	height: 3px;
	background-color: rgba(255, 0, 0, 0.7);
	position: absolute;
	top: 0; bottom: 0; left: 0; bottom: 0;
	width: 100%;
	transform-origin: center center;
}
#userOptions *[shortcutVisual] .not::after {
	transform: rotate(30deg);
}
#userOptions *[shortcutVisual] .not::before {
	transform: rotate(-30deg);
}
#userOptions *[shortcutVisual]>div {
	margin: 0 3px;
	align-self: center;
}
#userOptions *[shortcutVisual] .keyPlus {
	font-size: x-large;
}
#userOptions *[shortcutVisual] .keySystem {
	padding: 5px 10px;
	/* height: fit-content; */
	border-style: solid;
	border-width: 1px;
}
#userOptions *[shortcutVisual] .keyCharacter, #userOptions *[shortcutVisual] .keySpecial {
	border-radius: 10px;
	padding: 5px 10px;
	/* border-style: inset; */
	/* border-color: #888; */
	border-style: solid;
	border-top-color: #444;
	border-left-color: #444;
	border-right-color: #999;
	border-bottom-color: #999;
	border-width: 1px 5px 10px 5px;
	box-shadow: -3px -3px 10px #aaa;
	background-image: linear-gradient(to right, #ccc, #fff, #ccc);
}
#userOptions *[shortcutVisual] .keyMouse {
	width: 50px;
	height: 35px;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
	border-style: solid;
	border-width: 1px 1px 0 1px;
	border-color: #888;
	box-shadow: 0px -3px 15px #aaa;
	background-image: linear-gradient(to right, #fff, #ccc, #fff);
}
#userOptions *[shortcutVisual] .keyMouse>div {
	width: 20px;
	height: 20px;
	border-style: solid;
	border-width: 0 0 1px 0;
	border-color: black;
	align-self: flex-start;
}
#userOptions *[shortcutVisual] .keyMouse>div:nth-child(2) {
	width: 10px;
	border-width: 0 1px 1px 1px;
}
#userOptions *[shortcutVisual] .leftclick>div:nth-child(1),
#userOptions *[shortcutVisual] .middleclick>div:nth-child(2),
#userOptions *[shortcutVisual] .rightclick>div:nth-child(3) {
	background-color: red;
}








#toolsPages>div#consoleLogs {
	padding: 0;
}
#consoleLogs .clean {
	height: 33px;
	position: relative;
	top: -3px;
	margin: 0 5px;
}
#consoleLogs .consoleLogsIcons {
	position: absolute;
	top: 0;
	right: 0;
}
#consoleLogs .consoleLogsIcons>div {
	display: inline-block;
	padding: 10px 10px;
	vertical-align: bottom;
}
#consoleLogs>.content {
	overflow: auto;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 30px 0 40px 0 !important;
	font-family: Monaco, "Andale Mono", Menlo, Courier, 'Courier New', monospace;
}
#consoleLogs>.content>div:not(.flexFullWidth)>div {
	padding: 5px;
}
#consoleLogs>.content>div.open .functionHistory {
	height: auto;
	margin: 10px 10px 0 30px;
}
#consoleLogs>.content>div .arrow {
	display: inline-block;
}
#consoleLogs>.content>div.open .arrow {
	transform-origin: center center;
	transform: rotate(90deg);
}
#consoleLogs>.content .functionName,
#consoleLogs>.content .robotOrder {
	font-weight: bold;
}
#consoleLogs>.content .functionName,
#consoleLogs>.content .properties,
#consoleLogs>.content .robotOrder {
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
}
#consoleLogs>.content .alert,
#consoleLogs>.content .alert>div {
	display: contents;
}
#consoleLogs>.content .properties {
	margin-left: 10px;
}
#consoleLogs>.content .functionHistory {
	height: 0;
	overflow: hidden;
}
#consoleLogs>.content .functionHistory>div {
	cursor: pointer;
}
#consoleLogs>.content .openableTree {
	display: inline;
}






#toolsMenu>[name=facebook] {
	background-color: #3b5998;
	font-size: x-large;
}
#toolsMenu>[name=facebook]::after {
	background-color: #3b5998;
}
#facebook .facebookLink {
	border: solid black;
	border-width: 0 0 2px 0;
}
#facebook>* {
	margin: 10px;
	font-size: 1em;
}
#facebook>[translateHtml="facebook.title"] {
	margin: 20px;
	font-size: 2em;
	color: #3b5998;
}
#facebook>*:not([translateHtml="facebook.text"]) {
	text-align: center;
}


