﻿html {
    touch-action: manipulation;
  }

body {
    font-family: Lucida;
    font-size: small;
}

/* The navigation bar */
#navbarTop {
    overflow: hidden;
    color: white;
    background-color: #333;
    position: fixed; /* Set the navbar to fixed position */
    top: 0; /* Position the navbar at the top of the page */
    width: 350px;
}

#navbarFloor {
    position: fixed;
    top: 450px;
    width: 350px;
}

#errormessage {
    position: fixed;
    top: 500px;
    width: 100%;
}

#keypadArrows{
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 350px;
}

#overlayInfo, #overlayHighScore {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#texths{
    position: absolute;
    top: 150px;
    left: 190px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    width: 370px;
}

button.xxl {
    background:gray;
    color: white;
    height:40px;
    width:90px;
    margin: 5px;
    -moz-box-shadow: inset 0    -10px 10px -10px #000000;
    -webkit-box-shadow: inset 0 -10px 10px -10px #000000;
    box-shadow: inset 0 -10px 10px -10px #000000;
}


.topInfo {
    float: left;
    margin: 10px,0,0,10px;
}

.labelRight {
    float: right;
    margin-left: 10px;
    margin-right: 10px;
}

#buttonsRight {
    position: absolute;
    left: 350px;
}

#buttonsRight button {
    display: block;
}

button {
    margin: 10px;
    width: 65px;
}

.HighScoreSendOk {
    margin: 20px;
    width: 80px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 10px;
  }

  .switchLabel {
      margin-left: 10px;
  }
  
  .switch input {display:none;}
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: black;
  }
  
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  } 



  .hsrow {
    float: left;
    width: 350px;
  }

  .hselement {
    float: left;
      margin: 2px;
  }

  .hsscore {
    clear: both;
    width: 30px;
    text-align: right;
  }

  .hsname {
    width: 90px;
    text-align: left;
  }

  .hscountry {
    width: 70px;
    text-align: left;
  }
  
  .hstimestamp {
    text-align: left;
    font-size: x-small;
    width: 90px;
  }

  .hsInputName {
      width: 100px;
  }
 
  .hsInputCountry {
    width: 150px; 
  }