html {
	height: 100%;
}

body {
	min-height: 100%;
}

#main-container {
	background-color: #262626;
	position: absolute;
	bottom: 0;
	top: 50px;
	left: 0;
	right: 0;
}
/* Main */

#main-col {
	position: relative;
	height: 100%;
	overflow: hidden;
	margin-right: 340px;
	z-index: 2;
	box-sizing: border-box;
}
.navbar-default {

-webkit-backdrop-filter: saturate(180%) blur(20px);    
}                    
#tool-bar {                     
	position: absolute;
	padding: 20px;
	right: 340px;
	left: 0;
	z-index: 3;
}

#tool-bar label {
	color: #CCC;
}

#main-col {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100%;
	margin: auto;
	padding-right: 340px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: crosshair;
	display: table;
}

.main-box {
	display: table-cell;
	vertical-align: middle;
}
/* Keyboard */

.keyboard-box {
	display: none;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 375px;
	height: 270px;
}

.color-row:before,
.kb-row:before {
	display: table;
	content: " ";
}

.color-row:after,
.kb-row:after {
	display: table;
	content: " ";
	clear: both;
}

.kb-emoji {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: green;
	z-index: 3;
}

.kb-emoji-bar {
	display: table;
	width: 100%;
	height: 20%;
}

.kb-emoji .emoji-btn {
	height: 20%;
	width: 12.5%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	background-color: #FFF;
}

.kb-emoji .emoji-btn.highlight {
	background-color: transparent;
}

.kb-preview {
	text-align: center;
	background-color: #FFF;
	width: 40%;
	height: 20%;
	position: absolute;
	bottom: 10%;
	left: 30%;
	z-index: 2;
	border-radius: 8px;
	border: 2px solid;
	border-color: #333;
}

.kb-preview div {
	padding-top: 10px;
	font-size: 22px;
}

.kb-result {
	width: 100%;
	height: 20%;
	background-color: #FFFFFF;
	border-top: 2px solid;
	border-top-color: #CCC;
}

.kb-result div.input-word {
	width: 100%;
	height: 30%;
	font-size: 13px;
	color: #000;
	padding-left: 3px;
}

.kb-result .suggest-word {
	width: 100%;
	height: 70%;
	position: relative;
	display: table;
}

.kb-result .suggest-word div {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	font-size: 20px;
}

.kb-result .suggest-word .highlight {
	color: orange;
}

.kb-result .suggest-word .selected {
	background-color: #EEE;
}

.kb-row {
	width: 100%;
	height: 20%;
	background-color: #F0F0F0;
	border: none;
}

.kb-row div {
	text-align: center;
	line-height: 100%;
	height: 100%;
	padding: 6px 3px;
	display: table;
	float: left;
}

.kb-row .kf {
	width: 13%;
}

.kb-row .k11 {
	width: 9.090909%;
}

.kb-row .k10 {
	width: 10%;
}

.kb-row .kf.offset-left {
	margin-left: 2%;
}

.kb-row .kf.offset-right {
	margin-right: 2%;
}

.kb-row .k10.offset-half-left {
	margin-left: 5%;
}

.kb-row p {
	height: 100%;
	position: relative;
	-webkit-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 1);
	-moz-box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 1);
	box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 1);
	border-radius: 4px;
	background-color: white;
	font-size: 18px;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.kb-row p.vice span {
	padding: 1px;
	display: block;
	padding-left: 3px;
	font-size: 8px;
	text-align: left;
	margin-top: -7px;
	margin-bottom: 3px;
}

.kb-row p.highlight {
	background-color: #DDD;
}
/* Right */

#right-col {
	overflow-y: scroll;
	position: absolute;
	right: 0;
	top: 50px;
	bottom: 0;
	width: 340px;
	z-index: 3;
	background: #535353;
	box-shadow: inset 1px 0 0 0 rgba(0, 0, 0, 0.2);
	color: #FFF;
}

.color-row {
	width: 100%;
	padding: 2px;
	margin-bottom: 0px;
}

.color-row input[type='text'] {
	width: 100%;
}

.color-row input[type='color'] {
	width: 36px;
	position: absolute;
	top: 28px;
	right: 6px;
}

.color-row .caption {
	margin-top: 20px;
	text-align: center;
	height: 44px;
	line-height: 44px;
	color: #FFF;
	background-color: #595959;
}

.color-row .footer {
	margin-top: 20px;
	font-size: 12px;
	text-align: center;
	height: 44px;
	line-height: 44px;
	color: #999;
	background-color: transparent;
}

.color-row .col-full {
	position: relative;
	width: 100%;
	padding: 2px 4px;
}

.color-row .col-half {
	position: relative;
	width: 50%;
	float: left;
	padding: 2px 4px;
}

.color-row label {
	color: #CCC;
	font-size: 8px;
}

.color-row input {
	font-size: 8px;
}

.color-row .input-sm {
	height: 27px;
	padding: 5px;
	font-size: 12px;
	border-radius: 3px;
	background-color: #3a3a3a;
	border-color: #303030;
	color: #FFF;
}