#keyboardInputMaster {
  position:absolute;
  /*font:bold 1.0em SertoJerusalemRegular,Arial,sans-serif;*/
 
  border-top:1px solid #eeeeee;
  border-right:1px solid #cccccc;
  border-bottom:1px solid #cccccc;
  border-left:1px solid #cccccc;
  /*-webkit-border-radius:0.6em;
  -moz-border-radius:0.6em;*/
  border-radius:0.6em;
  /*-webkit-box-shadow:0px 2px 10px #dddddd;
  -moz-box-shadow:0px 2px 10px #dddddd;*/
  box-shadow:0px 2px 6px #dddddd;
  /*opacity:0.95;
  /*filter:alpha(opacity=95);*/
  background-color:#E5E5E5;
  text-align:left;
  z-index:3;
  width:auto;
  height:auto;
  min-width:0;
  min-height:0;
  margin:0px;
  padding:0px;
  line-height:1.2em;
  -moz-user-select:none;
  cursor:default;
}
#keyboardInputMaster * {
/* knapparnas position i  containern */
  position:static;
  color:#000000;
  background:transparent;
  /*font:normal 11px Arial,sans-serif;*/
  /*font:bold 1.0em SertoJerusalemRegular,Arial,sans-serif;*/
  width:auto;
  height:auto;
  min-width:0;
  min-height:0;
  margin:0px;
  padding:0px;
  border:0px none;
  outline:0px;
  vertical-align:baseline;
  line-height:1.2em;
}
#keyboardInputMaster table {
  table-layout:auto;
}

#keyboardInputMaster.keyboardInputSize1,
#keyboardInputMaster.keyboardInputSize1 * {
  font-size:1.0em;font-weight: bold;
}
#keyboardInputMaster.keyboardInputSize3,
#keyboardInputMaster.keyboardInputSize3 * {
  font-size:1.02em;font-weight: bold; 
}
#keyboardInputMaster.keyboardInputSize4,
#keyboardInputMaster.keyboardInputSize4 * {
  font-size:1.05em;font-weight: bold;
}
#keyboardInputMaster.keyboardInputSize5,
#keyboardInputMaster.keyboardInputSize5 * {
  font-size:1.05em;font-weight: bold;
}

/*** Högsta ramen över knapparna***/
#keyboardInputMaster thead tr th {
  padding:0.3em 0.3em 0.1em 0.3em;
  background-color:#E5E5E5;/*#999999;*/
  white-space:nowrap;
  text-align:right;
  border-radius:0.6em 0.6em 0px 0px;
  /*-webkit-border-radius:0.6em 0.6em 0px 0px;
  -moz-border-radius:0.6em 0.6em 0px 0px;*/
  border-radius:0.6em 0.6em 0px 0px;
}
#keyboardInputMaster thead tr th div {
/* headern och div i tbordet där man kan välja språk */
  float:left;
  font-size:1.0em !important;
  height:1.3em;
  font-weight:bold;
  position:relative;
  z-index:3;
  margin-right:0.5em;
  cursor:pointer;
  background-color:transparent;
  
	/*Eget tillägg for få ram kring språkväljar-knappen*/
	border:1px solid #D2D2D4;/*#e5e5e5;*/
	/*-webkit-border-radius:0.3em 0.3em 0.3em 0.3em;
	-moz-border-radius:0.3em 0.3em 0.3em 0.3em;*/
	border-radius:0.3em 0.3em 0.3em 0.3em;
	background-color:#FAFAFA;/*#eeeeee;*/
	/*border-right:1px solid #aaaaaa;*/
	padding:0px 0.2em 0px 0.3em;
	/*Eget tillägg for få ram kring språkväljar-knappen*/
}
#keyboardInputMaster thead tr th div ol {
/*Bakgrund för språkrulllisten rulllist för språkval*/
  position:absolute;
  left:0px;
  top:90%;
  list-style-type:none;
  height:6.0em;/*h'jden for rullisten*/
  overflow-y:auto;
  overflow-x:hidden;
  background-color:#f6f6f6;
  border:1px solid #D2D2D4;/*#999999;*/
  display:none;
  text-align:left;
  width:7em;/*12em*/
  font-size:1.0em !important;/*fontstorlek i rullisten*/
  font-weight:bold;
}
#keyboardInputMaster thead tr th div ol li {
  padding:0.2em 0.4em;
  cursor:pointer;
  white-space:nowrap;
  width:16em;/*12em*/
}
#keyboardInputMaster thead tr th div ol li.selected {
  background-color:#B8DBFF;
}
#keyboardInputMaster thead tr th div ol li:hover,
#keyboardInputMaster thead tr th div ol li.hover {
  background-color:#E5E5E5;/*Hover-färg rullist*/
}
#keyboardInputMaster thead tr th span,
#keyboardInputMaster thead tr th strong,
#keyboardInputMaster thead tr th small,
#keyboardInputMaster thead tr th big {
  display:inline-block;
  padding:0px 0.4em;
  height:1.4em;
  line-height:1.4em;
  
  border-top:1px solid #D2D2D4;/*#e5e5e5;*/
  border-right:1px solid #D2D2D4;/*#5d5d5d;*/
  border-bottom:1px solid #D2D2D4;/*#5d5d5d;*/
  border-left:1px solid #D2D2D4;/*#e5e5e5;*/
  background-color:#FAFAFA;/*#eeeeee;*/
  
  cursor:pointer;
  margin:0px 0px 0px 0.3em;
  /*-webkit-border-radius:0.3em;
  -moz-border-radius:0.3em;*/
  border-radius:0.3em;
  vertical-align:middle;
  -webkit-transition:background-color .15s ease-in-out;
  -o-transition:background-color .15s ease-in-out;
  transition:background-color .15s ease-in-out;
}
#keyboardInputMaster thead tr th strong {
  font-weight:bold;
}
#keyboardInputMaster thead tr th small {
  /*-webkit-border-radius:0.3em 0px 0px 0.3em;
  -moz-border-radius:0.3em 0px 0px 0.3em;*/
  border-radius:0.3em 0px 0px 0.3em;
  border-right:1px solid #aaaaaa;
  padding:0px 0.2em 0px 0.3em;
}
#keyboardInputMaster thead tr th big {
  /*-webkit-border-radius:0px 0.3em 0.3em 0px;
  -moz-border-radius:0px 0.3em 0.3em 0px;*/
  border-radius:0px 0.3em 0.3em 0px;
  border-left:0px none;
  margin:0px;
  padding:0px 0.3em 0px 0.2em;
}
#keyboardInputMaster thead tr th span:hover,
#keyboardInputMaster thead tr th span.hover,
#keyboardInputMaster thead tr th strong:hover,
#keyboardInputMaster thead tr th strong.hover,
#keyboardInputMaster thead tr th small:hover,
#keyboardInputMaster thead tr th small.hover,
#keyboardInputMaster thead tr th big:hover,
#keyboardInputMaster thead tr th big.hover,
#keyboardInputMaster thead tr th div:hover,
#keyboardInputMaster thead tr th div.hover{
/* La till div ovan för få skugga på språkväljar-knappen vid mouse over*/
  background-color:#D2D2D4;
}

#keyboardInputMaster tbody tr td {
  text-align:left;
  padding:0.2em 0.3em 0.3em 0.3em;
  vertical-align:top;
}

/**************Zommar hela t-bordet så det passr skärmbredden**************/
#keyboardInputMaster tbody tr td div {
  text-align:center;
  position:relative;
  /*zoom:1;/*OBS!Tolkas olika av Firefox o chrome ändra inte värdet 1*/
  transform: scale(1.0);
}
#keyboardInputMaster tbody tr td table {
  white-space:nowrap;
  width:100%;
  border-collapse:separate;
  border-spacing:0px;
}
#keyboardInputMaster tbody tr td#keyboardInputNumpad table {
  margin-left:0.2em;
  width:auto;
}
#keyboardInputMaster tbody tr td table.keyboardInputCenter {
  width:auto;
  margin:0px auto;
}
#keyboardInputMaster tbody tr td table tbody tr td {
  vertical-align:middle;
  padding:0px 0.45em;/*0.45em;*/
  white-space:pre;
/************************************/
/* Höjden och ramfärgen på knapparna*/ 
  height:1.8em;/*1.8em*/
    
  border-top:1px solid #D2D2D4;/*#e5e5e5;*/
  border-right:1px solid #D2D2D4;/*#5d5d5d;*/
  border-bottom:1px solid #D2D2D4;/*#5d5d5d;*/
  border-left:1px solid #D2D2D4;/*#e5e5e5;*/
  background-color:#FAFAFA;/*#eeeeee;*/
  cursor:default;
  min-width:0.75em;/*min-width: 0.75em; minibredden på knappen*/
  /*-webkit-border-radius:0.2em;
  -moz-border-radius:0.2em;*/
  border-radius:0.2em;
  -webkit-transition:background-color .15s ease-in-out;
  -o-transition:background-color .15s ease-in-out;
  transition:background-color .15s ease-in-out;
}
#keyboardInputMaster tbody tr td table tbody tr td.last {
  width:99%;
}
#keyboardInputMaster tbody tr td table tbody tr td.space {
  padding:0px 4em;
}
#keyboardInputMaster tbody tr td table tbody tr td.deadkey {
  background-color:#D2D2D4;/*#ccccdd;*/
}
#keyboardInputMaster tbody tr td table tbody tr td.target {
  background-color:#D2D2D4;/*#ddddcc;*/
}
#keyboardInputMaster tbody tr td table tbody tr td:hover,
#keyboardInputMaster tbody tr td table tbody tr td.hover {
  border-top:1px solid  #ABA7A7; 
  border-right:1px solid #ABA7A7;
  border-bottom:1px solid #ABA7A7; 
  border-left:1px solid #ABA7A7;
  background-color:#E5E5E5;
}
#keyboardInputMaster thead tr th span:active,
#keyboardInputMaster thead tr th span.pressed,
#keyboardInputMaster tbody tr td table tbody tr td:active,
#keyboardInputMaster tbody tr td table tbody tr td.pressed {
  border-top:1px solid #D2D2D4;/*#e5e5e5;*/
  border-right:1px solid #D2D2D4;/*#5d5d5d;*/
  border-bottom:1px solid #D2D2D4;/*#5d5d5d;*/
  border-left:1px solid #D2D2D4;/*#e5e5e5;*/
  background-color:#FAFAFA;/*#eeeeee;*/
}

#keyboardInputMaster tbody tr td table tbody tr td small {
  display:block;
  text-align:center;
  font-size:0.6em !important;
  line-height:1.1em;
}

#keyboardInputMaster tbody tr td div label {
  position:absolute;
  bottom:0.2em;
  left:0.3em;
}
#keyboardInputMaster tbody tr td div label input {
  background-color:#D2D2D4;/*#f6f6f6;*/
  vertical-align:middle;
  font-size:inherit;
  width:1.1em;
  height:1.1em;
}
#keyboardInputMaster tbody tr td div var {
  position:absolute;
  bottom:0px;
  right:3px;
  font-weight:bold;
  font-style:italic;
  color:#444444;
}

.keyboardInputInitiator {
	vertical-align:middle;
	cursor:pointer;
}
