/*
elner
https://material.io/resources/color/#!/
31. 10. 2020, 7:49
*/

* {
	padding: 0;
	margin: 0;
	border: 0;
}
*:focus {
	outline: none;
}
html {
	background-color: #fff;
}
body {
	font-family: 'Open Sans', sans-serif;
	font-size: 12px;
	color: #212121;
}
html, body {
	height: 100%;
}
table {
	table-layout: auto;
	border-collapse: collapse;
}
div#main {
	display: grid;

  height: 100vh;
	grid-template-columns: 1fr;
	grid-template-rows: 94px 1fr 59px;
	grid-template-areas: 'header' 'content' 'footer';
}
div#header {
	display: grid;
	grid-template-columns: 10px 1fr 10px;
	grid-template-rows: 1fr;
	grid-template-areas: 'header-left header-center header-right';
	grid-area: header;
	border-bottom: 1px #eee solid;
}
div#header-left {
	grid-area: header-left;
}
div#header-center {
	grid-area: header-center;
}
div#header-center h1 {
	display: none;
}
div#header-center p {
	font-size: 36px;
	line-height: 54px;
	text-align: center;
	display: block;
	padding: 20px;
}
div#header-center p a {
	color: #212121;
	text-decoration: none;
}
div#header-right {
	grid-area: header-right;
}

/* ---------------------------------------------------------------------------------------------------- */

div#content {
	grid-area: content;
	position: relative;
	min-width: 1240px;
	min-height: 516px;
}
div#content-center {
	float: none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 1240px;
	height: 516px;
	margin: -258px 0 0 -620px;
	border: 1px #eee solid;
}
div#content-board {
	display: block;
	padding: 20px 21px 21px 21px; /* POZICOVANI */
	border-bottom: 1px #eee solid;
}
ul.keyboard-layout {
	display: grid;
	grid-template-columns: repeat(150, 5px);
	grid-template-rows: repeat(5, 80px);
	grid-gap: 3px;
	list-style: none outside none;
}
ul.keyboard-layout li.key {
	grid-column: span 10;
	position: relative;
	color: #03a9f4;
	border: 1px #eee solid;
	box-sizing: border-box;
}
ul.keyboard-layout li.key strong {
	font-size: 18px;
	font-weight: normal; /* RESET */
	line-height: 28px;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 28px;
	margin: -14px 0 0 -20px;
	text-align: center;
	z-index: 1;
}
ul.keyboard-layout li.key em {
	font-size: 18px;
	font-style: normal; /* RESET */
	line-height: 28px;
	text-align: left;
	position: absolute;
	top: 5px;
	left: 5px;
	width: 20px;
	text-align: center;
}
ul.keyboard-layout li.key span {
	font-size: 18px;
	line-height: 28px;
	text-align: left;
	position: absolute;
	top: 5px;
	right: 5px;
	width: 20px;
	text-align: center;
}
ul.keyboard-layout li.key cite {
	font-size: 18px;
	font-style: normal; /* RESET */
	line-height: 28px;
	text-align: left;
	position: absolute;
	bottom: 5px;
	left: 5px;
	width: 20px;
	text-align: center;
}
ul.keyboard-layout li.key code {
	font-family: 'Open Sans', sans-serif; /* RESET */
	font-size: 18px;
	line-height: 28px;
	text-align: left;
	position: absolute;
	bottom: 5px;
	right: 5px;
	width: 20px;
	text-align: center;
}
ul.keyboard-layout li.key abbr {
	font-size: 18px;
	font-weight: normal; /* RESET */
	line-height: 28px;
	position: absolute;
	bottom: 5px;
	left: 50%;
	width: 20px;
	height: 28px;
	margin: 0 0 0 -10px; /* RESET */
	text-align: center;
}
ul.keyboard-layout li.backspace {
	grid-column: span 20;
}
ul.keyboard-layout li.backspace strong {
	left: 15px;
	width: 120px;
	margin: -14px 0 0 0; /* RESET */
	text-align: left;
}
ul.keyboard-layout li.tab {
	grid-column: span 14;
}
ul.keyboard-layout li.tab strong {
	left: 15px;
	width: 60px;
	margin: -14px 0 0 0; /* RESET */
	text-align: left;
}
ul.keyboard-layout li.backslash {
	grid-column: span 16;
}
ul.keyboard-layout li.capslock {
	grid-column: span 17;
}
ul.keyboard-layout li.capslock strong {
	line-height: 22px;
	left: 15px;
	width: 60px;
	height: 44px;
	margin: -22px 0 0 0; /* RESET */
	text-align: left;
}
ul.keyboard-layout li.enter {
	grid-column: span 23;
}
ul.keyboard-layout li.enter strong {
	left: 15px;
	width: 80px;
	margin: -14px 0 0 0; /* RESET */
	text-align: left;
}
ul.keyboard-layout li.leftshift {
	grid-column: span 22;
}
ul.keyboard-layout li.leftshift strong {
	left: 15px;
	width: 60px;
	margin: -14px 0 0 0; /* RESET */
	text-align: left;
}
ul.keyboard-layout li.rightshift {
	grid-column: span 28;
}
ul.keyboard-layout li.rightshift strong {
	left: 15px;
	width: 80px;
	margin: -14px 0 0 0; /* RESET */
	text-align: left;
}
ul.keyboard-layout li.leftctrl {
	grid-column: span 16;
}
ul.keyboard-layout li.leftctrl strong {
	left: 15px;
	width: 60px;
	margin: -14px 0 0 0; /* RESET */
	text-align: left;
}
ul.keyboard-layout li.leftwin {
	grid-column: span 12;
}
ul.keyboard-layout li.leftwin strong {
	font-size: 24px;
	line-height: 36px;
	height: 36px;
	margin: -18px 0 0 -20px;
}
ul.keyboard-layout li.leftalt {
	grid-column: span 12;
}
ul.keyboard-layout li.space {
	grid-column: span 58;
}
ul.keyboard-layout li.rightalt {
	grid-column: span 12;
}
ul.keyboard-layout li.rightalt strong {
	width: 80px;
	margin: -14px 0 0 -40px; /* RESET */
}
ul.keyboard-layout li.rightwin {
	grid-column: span 12;
}
ul.keyboard-layout li.rightwin strong {
	font-size: 24px;
	line-height: 36px;
	height: 36px;
	margin: -18px 0 0 -20px;
}
ul.keyboard-layout li.clipboard {
	grid-column: span 12;
}
ul.keyboard-layout li.clipboard strong {
	font-size: 24px;
	line-height: 36px;
	height: 36px;
	margin: -18px 0 0 -20px;
}
ul.keyboard-layout li.rightctrl {
	grid-column: span 16;
}
ul.keyboard-layout li.rightctrl strong {
	left: 15px;
	width: 60px;
	margin: -14px 0 0 0; /* RESET */
	text-align: left;
}











ul.keyboard-layout li.al-key strong {
	color: #3f51b5;
}
ul.keyboard-layout li.le-key strong {
	color: #03a9f4;
}
ul.keyboard-layout li.cz-key span,
ul.keyboard-layout li.cz-key code {
	color: #9c27b0;
}
ul.keyboard-layout li.en-key em,
ul.keyboard-layout li.en-key cite {
	color: #f44336;
}








ul.keyboard-layout li.al-hide strong {
	color: #eee;
}
ul.keyboard-layout li.le-hide strong {
	color: #eee;
}
ul.keyboard-layout li.cz-hide span,
ul.keyboard-layout li.cz-hide code {
	color: #eee;
}
ul.keyboard-layout li.en-hide em,
ul.keyboard-layout li.en-hide cite {
	color: #eee;
}







ul.keyboard-layout li.ra-key {
	border-color: #8bc34a;
	background-color:  #f1f8e9;
}
ul.keyboard-layout li.ra-key abbr {
	color: #558b2f;
}



ul.keyboard-layout li.ra-hide abbr {
	color: #eee;
}



ul.keyboard-layout li.ra-hide {
border-color: #eee;
	background-color:  #fff;
}






ul.keyboard-layout li.key:hover {
	border-color: #ffc107;
}

















div#content-set {
	display: block;
}
div#content-set ul {
	font-size: 0; /* RESET */
	letter-spacing: 0; /* RESET */
	word-spacing: 0; /* RESET */
	display: block;
	list-style: none outside none;
	text-align: center;
	padding: 20px 0;
}
div#content-set ul li {
	font-size: 12px; /* RESET */
	display: inline-block;
	padding: 0 30px 0 8px;
}
div#content-set ul li label {
	line-height: 18px;
	display: inline-block;
	vertical-align: middle;
	text-align: left;
	padding-left: 8px;
	cursor: pointer;
}
div#content-set ul li:hover label {
	color: #f44336;
}

/* ---------------------------------------------------------------------------------------------------- */

div#footer {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: 1fr;
	grid-template-areas: 'footer-left footer-center footer-right';
	grid-area: footer;
	border-top: 1px #eee solid;
}
div#footer-left {
	grid-area: footer-left;
}
div#footer-left p {
	display: block;
	padding: 20px;
	text-align: left;
	line-height: 18px;
}
div#footer-left p a {
	color: #03a9f4;
	text-decoration: none;
}
div#footer-left p a:hover {
	color: #212121;
	text-decoration: underline;
}
div#footer-center {
	grid-area: footer-center;
}
div#footer-center ul {
	display: block;
	padding: 20px;
	text-align: center;
	list-style: none outside none;
}
div#footer-center ul li {
	display: inline-block;
}
div#footer-center ul li a {
	font-size: 0; /* SET */
	font-style: normal; /* RESET */
	vertical-align: middle;
	color: #03a9f4;
	text-decoration: none;
}
div#footer-center ul li a:after {
	font-family: 'Material Design Icons';
	font-size: 14px;
	content: '\F0C68';
	vertical-align: middle;
}
div#footer-center ul li a:hover {
	color: #212121;
}
div#footer-center ul li#github a:after {
	content: '\f02a4';
}
div#footer-center ul li#codepen a:after {
	content: '\f0175';
}
div#footer-center ul li#mdi-icon a:after {
	content: '\f0001';
}
div#footer-right {
	grid-area: footer-right;
}
div#footer-right p {
	display: block;
	padding: 20px;
	text-align: right;
	line-height: 18px;
}