@charset "UTF-8";

#keyboard-container {
    width: 100%;
    padding: 4vh 0 0;
    overflow: hidden;
    border-radius: 0;
    border-top: 0.125vw solid #000;
}

.keyboard {
	margin: 0;
	padding: 0;
    font-size: 2.2vw;
	list-style: none;
}

.key-row {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
}

.keyboard li {    
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.5vw;
    height: 5.5vw;
    margin: 0.15em;
    text-align: center;
    color: #FFF;
    font-weight: 300;
    list-style-type: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    background-color: var(--pokemon-red);
    border: 0.125vw solid var(--pokemon-red);
    border-radius: .25em;
}

.keyboard li.opaque {
	opacity: 0.35;
}

.keyboard li.opaque:hover {
	cursor: default;
	top: 0;
	left: 0;
	/* border: 1px solid #f9f9f9; */
	border: 0
}

.keyboard .delete {
	width: 10vw;
    align-items: flex-end;
    justify-content: flex-end;
}

.keyboard .delete span {
    font-size: 90%;
    padding: 0 0.35em .35em 0;
}

.lastitem {
	margin-right: 0 !important;
}

.newrow {
	clear: left;
}

.keyboard .spacer, .keyboard .spacer:hover {
	cursor: default;
	top: 0;
	left: 0;
	/* border: 1px solid #f9f9f9; */
	border: 0;
}

.uppercase {
	text-transform: uppercase;
}

.keyboard .space {
	width: 15em;
}

.keyboard .extension {
	width: 10%;
}

/*
.keyboard li:hover {
	position: relative;
	top: 1px;
	left: 1px;
	border-color: #e5e5e5;
	cursor: pointer;
}
*/

.keyboard li.active {
    background-color: #ffffff;
    color: var(--pokemon-red);
}

.keyboard .spacer {    
    opacity: 0;
    width: 3.9em;
}

.keyboard .first.spacer {
    width: 4%;
}

.keyboard .second.spacer {
    width: 4.5%;
}

.keyboard .third.spacer {
    width: 10%;
}

.keyboard .fourth.spacer {
	width: 1%;
}

.keyboard .apostrophe {
	width: 10.9%;
}

.keyboard .left-shift {
	width: 4em;
}

.keyboard .word {
    width: 24.25%;
}

.symbol span:last-child {
	display: none;
}

.symbol.uppercase span:first-child {
	display: none;
}
.symbol.uppercase span:last-child {
	display: inline-block;
}

.left-shift.active {
	background-color: #D82D27;
}

.spacer.lastrow {
	width: 13.2%;
}

.spacer.extend {
	width: 11%;
}

.keyboard .at {
	width: 8%;
}

.keyboard li.bottomrow {
	margin-bottom: 0;
}

.keyboard li.hide {
	width: 11.9%;
	background-image: url('../images/icon_hidekeyboard.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 40%;
}