body {
  background-color: #d4d4d4;
  background-image: url(../img/woodb.jpg);
  font-family: Arial;
  color: #353535;
  overflow: hidden;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
  touch-action: none;
  margin: 0; }

#kf-gamecont {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 11px;
  width: 156px;
  height: 36px;
  -webkit-backface-visibility: hidden; }

.ball-container.color1 .ball {
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 10px), radial-gradient(circle at 10px 10px, #666666, #000 31px); }
.ball-container.color1 .handle-left, .ball-container.color1 .handle-right, .ball-container.color1 .handle-top, .ball-container.color1 .handle-bottom {
  background-color: #333333;
  border: 1px solid #333333; }

.ball-container.color2 .ball {
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 10px), radial-gradient(circle at 10px 10px, #43ffff, #003d3d 31px); }
.ball-container.color2 .handle-left, .ball-container.color2 .handle-right, .ball-container.color2 .handle-top, .ball-container.color2 .handle-bottom {
  background-color: #20a8a8;
  border: 1px solid #20a8a8; }

.ball-container.color3 .ball {
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 10px), radial-gradient(circle at 10px 10px, #43ff43, #003d00 31px); }
.ball-container.color3 .handle-left, .ball-container.color3 .handle-right, .ball-container.color3 .handle-top, .ball-container.color3 .handle-bottom {
  background-color: #20a820;
  border: 1px solid #20a820; }

.ball-container.color4 .ball {
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 10px), radial-gradient(circle at 10px 10px, #ffff42, #3d3d00 31px); }
.ball-container.color4 .handle-left, .ball-container.color4 .handle-right, .ball-container.color4 .handle-top, .ball-container.color4 .handle-bottom {
  background-color: #a8a820;
  border: 1px solid #a8a820; }

.ball-container.color5 .ball {
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 10px), radial-gradient(circle at 10px 10px, #ff4242, #3d0000 31px); }
.ball-container.color5 .handle-left, .ball-container.color5 .handle-right, .ball-container.color5 .handle-top, .ball-container.color5 .handle-bottom {
  background-color: #a82020;
  border: 1px solid #a82020; }

.ball-container.color6 .ball {
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 10px), radial-gradient(circle at 10px 10px, #ff42ff, #3d003d 31px); }
.ball-container.color6 .handle-left, .ball-container.color6 .handle-right, .ball-container.color6 .handle-top, .ball-container.color6 .handle-bottom {
  background-color: #a820a8;
  border: 1px solid #a820a8; }

.ball-container.color7 .ball {
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 10px), radial-gradient(circle at 10px 10px, #4242ff, #00003d 31px); }
.ball-container.color7 .handle-left, .ball-container.color7 .handle-right, .ball-container.color7 .handle-top, .ball-container.color7 .handle-bottom {
  background-color: #2020a8;
  border: 1px solid #2020a8; }

.ball-container.color8 .ball {
  background: radial-gradient(circle at 10px 10px, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 10px), radial-gradient(circle at 10px 10px, #ffffff, #3d3d3d 31px); }
.ball-container.color8 .handle-left, .ball-container.color8 .handle-right, .ball-container.color8 .handle-top, .ball-container.color8 .handle-bottom {
  background-color: #a8a8a8;
  border: 1px solid #a8a8a8; }

.ball-container {
  width: 34px;
  height: 34px;
  position: absolute; }
  .ball-container .ball {
    border-radius: 50%;
    height: 30px;
    width: 30px;
    position: absolute;
    left: 2px;
    top: 2px;
    z-index: 2; }
  .ball-container .handle-left, .ball-container .handle-right, .ball-container .handle-top, .ball-container .handle-bottom {
    display: none;
    box-sizing: border-box;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
    /* hacks for chrome */ }
  .ball-container .handle-left, .ball-container .handle-right {
    position: absolute;
    width: 15px;
    height: 8px;
    top: 13px;
    z-index: 1; }
  .ball-container .handle-left {
    left: 0; }
  .ball-container .handle-right {
    right: 0; }
  .ball-container .handle-top, .ball-container .handle-bottom {
    position: absolute;
    height: 15px;
    width: 8px;
    left: 13px;
    z-index: 1; }
  .ball-container .handle-top {
    top: 0; }
  .ball-container .handle-bottom {
    bottom: 0; }

.ball-container.ghost {
  opacity: 0.2; }

#kf-aholder0, #kf-aholder1 {
  opacity: 1;
  filter: opacity(55%);
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px); }

#kf-aholder0.flashing-playing, #kf-aholder1.flashing-playing {
  -webkit-animation-duration: 500ms;
  -webkit-animation-name: flashing;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-duration: 500ms;
  animation-name: flashing;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1; }

@-webkit-keyframes flashing {
 }

@-moz-keyframes flashing {
 }

@-ms-keyframes flashing {
 }

@keyframes flashing {
 }

.ball-container.left .handle-left {
  display: block; }

.ball-container.right .handle-right {
  display: block; }

.ball-container.top .handle-top {
  display: block; }

.ball-container.bottom .handle-bottom {
  display: block; }

#kf-bcont, #kf-ncont {
  border-radius: 6px;
  border: 1px solid #dbdbdb;
  box-shadow: 0 0 0 2px #adadad;
  padding: 4px;
  margin: 2px;
  background: url(../img/woodb2.jpg); }

#kf-board {
  top: -34px; }

#kf-bcont {
  position: relative;
  background: url(../img/woodb2.jpg);
  image-rendering: pixelated;
  background-size: 100%; }

#kf-ncont {
  width: 35px;
  height: 68px;
  margin: auto;
  margin-top: 9px; }

#kf-padding {
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
  z-index: 0;
  overflow: hidden; }

#kf-overlaytable {
  z-index: 5;
  border-radius: 6px;
  position: absolute;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  background: url(../img/woodb2.jpg);
  background-size: 100%;
  text-align: center;
  display: table; }

#kf-overlay {
  display: table-cell;
  border-radius: 6px;
  vertical-align: middle; }

#kf-next-ball1 {
  top: 0;
  left: 1px; }

#kf-next-ball2 {
  top: 34px;
  left: 1px; }

#kf-board, #kf-next {
  position: relative; }

#kf-level {
  position: relative;
  z-index: 2;
  line-height: -moz-block-height; }

.kf-levelprogress {
  box-sizing: border-box;
  width: 100%;
  padding-top: 3px;
  padding-bottom: 3px;
  background: url(../img/woodb2.jpg);
  border: 1px solid #dbdbdb;
  box-shadow: 0 0 0 2px #adadad;
  border-radius: 3px;
  font-size: 15px;
  position: relative; }

#kf-progress {
  height: 100%;
  border-radius: 3px 0px 0px 3px;
  width: 0%;
  position: absolute;
  top: 0;
  z-index: 1;
  background: linear-gradient(to bottom, #0e0, #0a0); }

#kf-boardcont {
  padding-right: 10px;
  position: relative;
  float: left; }

#kf-infocont {
  width: 104px;
  height: 400px;
  position: relative;
  float: right; }

#kf-ocause {
  font-size: 32px;
  margin-bottom: 18px;
  display: none; }

#kf-resume {
  display: none; }

.kf-xbutton {
  box-sizing: border-box;
  display: block;
  width: 104px;
  text-align: center;
  background: url(../img/woodb2.jpg);
  border: 1px solid #dbdbdb;
  box-shadow: 0 0 0 2px #adadad;
  color: #353535;
  padding: 5px;
  border-radius: 6px;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  z-index: 2;
  margin-bottom: 9px; }

.kf-xbutton:hover, .kf-xbutton:active, .kf-xbutton.selected {
  color: #353535;
  cursor: pointer; }

.kf-xbutton.menu {
  width: 85%;
  margin-bottom: 8px;
  border: 1px solid #dbdbdb;
  background: none;
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
  font-size: 22px; }

.kf-xbutton:active {

 }

.kf-buttonsep {
 }

#kf-pausegame2 {
  display: none; }

.kf-stat {
  text-align: center;
  margin-bottom: 4.5px; }
  .kf-stat header {
    box-sizing: border-box;
    display: inline-block;
    background: url(../img/woodb2.jpg);
    border: 1px solid #dbdbdb;
    box-shadow: 0 0 0 2px #adadad;
    padding: 3px;
    width: 100%;
    text-align: center;
    font-size: 15px; }

.kf-stat.kf-buttonstat {
  position: absolute;
  bottom: 5px; }

.kf-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(128, 128, 128, 0.5);
  z-index: 3000;
  text-align: center;
  display: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none; }
  .kf-overlay .align {
    display: inline-block;
    vertical-align: middle;
    height: 100%; }

.kf-dialog {
  display: inline-block;
  vertical-align: middle;
  margin: auto;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.78);
  background-color: #cacaca;
  width: 330px;
  text-align: left; }
  .kf-dialog header, .kf-dialog footer {
    background-color: #cacaca;
    font-size: 20px; }
  .kf-dialog header {
    padding: 8px;
    border-bottom: 2px solid #ffffff; }
  .kf-dialog main {
    padding: 6px;
    padding-top: 12px;
    padding-bottom: 17px;
    font-size: 18px;
    min-height: 100px;
    text-align: center; }
  .kf-dialog footer {
    border-top: 2px solid #ffffff;
    overflow: auto;
    padding: 8px; }
  .kf-dialog footer .kf-xbutton {
    float: right;
    margin-bottom: 0px; }
  .kf-dialog footer .kf-xbutton:active {
    float: right;
    margin-top: 1px;
    margin-bottom: -1px; }

#kf-loading-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #0b0b0b;
  color: #aaa;
  display: table;
  text-align: center; }
  #kf-loading-overlay span {
    display: table-cell;
    vertical-align: middle;
    font-size: 24px; }
