/* keyboard - jQuery UI Widget */

.ui-keyboard {
    padding: .3em;
    padding-bottom:0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 16000;
    font-family: arial;
    display: block;
    background-image: url(../../images/keypad-bg.gif) !important;
    background-repeat: repeat-x;
    /*background-size: cover;*/
}
.ui-keyboard-has-focus {
    z-index: 16001;
}
.ui-keyboard div {
    font-size: 10px;
}
.ui-keyboard-button {
    height: 28px;
    min-width: 29px;
    margin: 0;
    cursor: pointer;
    overflow: hidden;
    line-height:2;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    width: 29px;
    background:url(../../images/btn-bg.jpg) !important;
    background-repeat:no-repeat !important;
    background-size: cover !important;
    background-position: left bottom !important;
    -moz-user-focus: ignore;
    
    
    
}

.ui-keyboard-button span {
    padding: 0;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    height: 28px;
    line-height: 2;
}
.ui-keyboard-button-endrow {
    /*clear: left;*/
}
.ui-keyboard-space {
    width:22% !important;
    
    
}
/* see http://nicolasgallagher.com/another-css-image-replacement-technique/ */

.ui-keyboard-space span,
.ui-keyboard-empty span {
    font: 0/0 a;
    text-shadow: none;
    color: transparent;
}
.ui-keyboard-preview-wrapper {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 3px;
}
/* width is calculated in IE, since 99% = 99% full browser width =( */

.ui-keyboard-preview {
    text-align: left;
    margin: 0 0 3px 0;
    display: inline;
    width: 99%;
}
.ui-keyboard-keyset {
    text-align: center;
    white-space: nowrap;
}
.ui-keyboard-keyset button:not(.ui-keyboard-space){
    border-radius:0 !important;
    width:auto !important;
    padding-top:0 !important;
}
.ui-keyboard-space{
    width:22% !important;
    border-radius:0 !important;
    padding-top:0 !important;
}
.ui-keyboard-input {
    text-align: left;
}
.ui-keyboard-input-current {
    /*-moz-box-shadow: 0 0 5px #4d90fe;
    -webkit-box-shadow: 0 0 5px #4d90fe;
    box-shadow: 0 0 5px #4d90fe;*/
}
.ui-keyboard-placeholder {
    /*color: #888;*/
}
/* disabled or readonly inputs, or use input[disabled='disabled'] { color: #f00; } */

.ui-keyboard-nokeyboard {
   /* color: #888;
    border-color: #888;*/
}
.ui-keyboard-space {
    display: inline-block;
    width: 10px !important;
    height: 0;
    cursor: default;
}
.ui-keyboard-NBSP span,
.ui-keyboard-ZWSP span,
.ui-keyboard-ZWNJ span,
.ui-keyboard-ZWJ span,
.ui-keyboard-LRM span,
.ui-keyboard-RLM span {
    /*font-size: 0.5em;
    line-height: 1.5em;
    white-space: normal;*/
}
/* combo key styling - toggles diacritics on/off */

.ui-keyboard-button.ui-keyboard-combo.ui-state-default {
    background-image:url(../../images/btn-bg.jpg);
    /*border-color: #ffaf0f;*/
}
/* (in)valid inputs */

button.ui-keyboard-accept.ui-keyboard-valid-input {
    border-color: #0c0;
    background: #080;
    color: #fff;
}
button.ui-keyboard-accept.ui-keyboard-valid-input:hover {
    background: #0a0;
}
button.ui-keyboard-accept.ui-keyboard-invalid-input {
    border-color: #c00;
    background: #800;
    color: #fff;
    opacity: 0.5;
    filter: alpha(opacity=50);
}
button.ui-keyboard-accept.ui-keyboard-invalid-input:hover {
/*    background: #a00;
*/}
/*** Caret extension definition ***/
/* margin-top => is added to the caret height (top & bottom) */

.ui-keyboard-caret {
/*    background: #c00;
*/    
width: 1px;
    /*margin-top: 3px;*/
}
/*** jQuery Mobile definitions ***/
/* jQuery Mobile styles - need wider buttons because of font size and text-overflow:ellipsis */

div.ui-body.ui-keyboard button.ui-keyboard-button.ui-btn {
    /*padding: 0.5em 1em;
    border-color: transparent;*/
}
.ui-body .ui-keyboard-button {
    width: 3em;
    height: 3em;
    display: inline-block;
}
.ui-body .ui-keyboard-widekey {
    width: 5.5em;
}
.ui-body .ui-keyboard-space {
    width: 15em;
}
.ui-body .ui-keyboard-space span {
    visibility: hidden;
}
/* hides the ellipsis */

.ui-body .ui-keyboard-keyset {
    line-height: 0.5em;
}
.ui-body input.ui-input-text,
.ui-body textarea.ui-input-text {
    width: 95%;
}
/* over-ride padding set by mobile ui theme - needed because the mobile script wraps button text with several more spans */

.ui-body .ui-btn-inner {
    height: 2em;
    padding: 0.2em 0;
    margin: 0;
}
.ui-body .ui-btn {
    margin: 0;
    font-size: 13px;
}
/* mobile default size is 13px */
/* override Bootstrap excessive button padding */

button.ui-keyboard-button.btn {
    padding: 1px 6px;
}
/* enable/disable icons */

button.ui-keyboard-toggle span {
    width: .8em;
    height: .8em;
    display: inline-block;
/*    background-repeat: no-repeat;
*//*    background-position: center center;
*//*    background-size: contain;
*/}
/* unlocked icon (keyboard enabled) */

button.ui-keyboard-toggle span {
    /* light theme unlocked icon - fill: #111 */
    
}
.ui-keyboard-dark-theme button.ui-keyboard-toggle span {
    /* dark theme unlocked icon - fill: #eee */
    
 }
/* locked icon (keyboard disabled) */

button.ui-keyboard-toggle.ui-keyboard-disabled span {
    /* light theme locked icon - fill: #111 */
    
}
.ui-keyboard-dark-theme button.ui-keyboard-toggle.ui-keyboard-disabled span {
    /* dark theme locked icon - fill: #eee */
    
}
.ui-keyboard.ui-keyboard-disabled button:not(.ui-keyboard-toggle),
.ui-keyboard.ui-keyboard-disabled input {
    opacity: 0.5;
}
/*** Alt-Keys Popup extension ***/
/* clickable overlay on top of keyboard to hide the popup */

.ui-keyboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
/*    background: rgba(0, 0, 0, 0.5);
*/}
/* the actual popup styling, class names from the css.container option are also added */

.ui-keyboard-popup {
    display: inline-block;
    /* default buttons are 2em wide + .1em margin on either side (set in .ui-keyboard-button definition);
    so use multiples of 2.2em   for a max-width if you don't want any extra white space on the sides,
    e.g. 5 buttons * 2.2em = 11em, 6 buttons * 2.2em = 13.2em, etc */
    
    max-width: 22em;
    /* 10 buttons */
}
/*** Extender keyboard extension ***/

div.ui-keyboard-extender {
    float: right;
    margin-left: 5px;
}
button.ui-keyboard-extender span {
    width: .9em;
    height: .9em;
    display: inline-block;
    margin-bottom: 3px;
/*    background-repeat: no-repeat;
*//*    background-position: center center;
*//*    background-size: contain;
*/    /* light theme extender icon - fill: #111 */
    
}
.ui-keyboard-dark-theme button.ui-keyboard-extender span {
    /* dark theme extender icon - fill: #eee */
    
 }
/* Media Queries (optimized for jQuery UI themes; may be slightly off in jQuery Mobile themes) */
/* 240 x 320 (small phone)  */

