html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

#guest_mode {
  position: fixed;
  bottom: 0px;
  text-align: center;
  font-size: 1rem;
  background: white;
  border: 1px solid black;
  padding: 3px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.toolbox_icon {
  width: 36px;
  height: 36px;
  position: absolute;
  pointer-events: initial;
  top: 5px;
  left: 5px;
  opacity: 0.25;
  z-index: 10000;
}

.toolbox_icon:hover {
  opacity: 1;
  color: red;
  cursor: pointer;
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}

.toolbox {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(0%, -50%);
  width: 500px;
  height: auto;
  border: 3px solid black;
  border-radius: 8px;
  z-index: 10000;
  background-color: honeydew;
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.5);
  padding: 5px;
  padding-bottom: 2rem;
}

.toolbox .small {
  font-size: 0.7rem;
}

.toolbox #expand_more_options {
  text-align: left;
  padding-right: 5px;
  margin-bottom: 5px;
}

.toolbox #expand_more_options:after {
  content: "\25B6";
  margin-left: 10px;
}

.toolbox #expand_more_options.expanded:after {
  content: "\25BC";
  margin-left: 10px;
}

.toolbox #textarea_employeelist {
  width: 480px;
  height: 200px;
  overflow-y: scroll;
}

.toolbox button {
  cursor: pointer;
}

.toolbox button:hover {
  background-color: #c8ffdc;
}

.toolbox #btn_download_spreadsheet {
  float: right;
  margin-right: 17px;
}

.toolbox #btn_closetoolbox {
  position: absolute;
  right: 5px;
  top: 5px;
}

.toolbox .btn_employeeaction {
  width: 15rem;
}

.toolbox #btn_removeemployee {
  opacity: 0.5;
  pointer-events: none;
}

.toolbox #btn_resetall {
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: inline-block;
  width: 250px;
  overflow: hidden;
  padding: 4px;
  border-radius: 4px;
  background-color: red;
  color: white;
  font-weight: bold;
  border: 2px solid black;
}

.toolbox #btn_resetall:hover {
  background-color: yellow;
  color: black;
}

.toolbox #btn_resetall:hover:before {
  display: inline;
  content: "\26A0 ";
  font-size: 1.5rem;
  position: absolute;
  color: red;
  top: -6px;
  left: 5px;
}

.toolbox #btn_resetall:hover:after {
  display: inline;
  content: "\26A0 ";
  font-size: 1.5rem;
  position: absolute;
  color: red;
  top: -6px;
  right: 5px;
}

.toolbox #toolbox_employeename {
  padding: 5px;
}

.toolbox #btn_logout {
  position: absolute;
  bottom: 5px;
  left: 5px;
  display: inline-block;
  width: auto;
  padding: 4px;
  border-radius: 4px;
}

.toolbox .buttongroup {
  border: 0px solid black;
  display: inline-block;
  width: auto;
  padding: 4px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.1);
}

.toolbox .buttongroup button {
  padding: 4px;
}

.toolbox .btn_adjustwinnings {
  width: 20rem;
}

.toolbox .btn_movement {
  width: 7rem;
  position: relative;
}

.toolbox .btn_movement .btn_icon {
  display: inline-block;
  position: absolute;
  left: 5px;
}

.login {
  width: 300px;
  height: 100px;
  z-index: 10000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #00c828;
  padding: 10px;
  border: 2px solid black;
  border-radius: 8px;
}

.main {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.main .cell {
  box-sizing: border-box;
  display: inline-block;
  width: 50%;
  border: 2px solid #7dcf47;
  height: 100%;
  vertical-align: top;
}

.main .cell.employeenames {
  justify-content: right;
  align-items: right;
  height: 100%;
  overflow-y: scroll;
}

.main .cell.employeenames table {
  width: auto;
  border-spacing: 0px;
  border-collapse: separate;
  float: right;
  margin-right: 2rem;
  position: relative;
}

.main .cell.employeenames th {
  position: sticky;
  top: 0;
  background-color: #386b17;
}

.main .cell.employeenames .highlight {
  background-color: yellow;
}

.main .cell.employeenames .tablecell {
  text-align: right;
  padding: 3px;
  border-left: 1px solid #7dcf47;
  border-right: 1px solid #7dcf47;
  border-top: 1px solid darkgreen;
  border-bottom: 1px solid darkgreen;
  margin: 0px;
}

.main .cell.employeenames .header {
  color: white;
  background-color: #006414;
}

.main .cell.employeenames .header .employeename,
.main .cell.employeenames .header .employeetotalvalue {
  color: white;
}

.main .cell.employeenames .employeename {
  width: auto;
  color: #146414;
  font-weight: bold;
  padding: 0.5rem 1rem 0.5rem 0;
}

.main .cell.employeenames .employeelocation {
  text-align: center;
  width: auto;
}

.main .cell.employeenames .employeeyears {
  text-align: center;
  width: auto;
  min-width: 130px;
}

.main .cell.employeenames .employeemultiplier {
  text-align: center;
}

.main .cell.employeenames .employeespinvalue {
  text-align: center;
  width: auto;
}

.main .cell.employeenames .employeetotalvalue {
  font-weight: bold;
  color: darkgreen;
  text-align: center;
}

.main .employeeid {
  display: none;
}

.main .wheel_container {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  padding-bottom: 60px;
  z-index: 0;
}

.main .wheel_container #wheel_blur {
  display: none;
}

.main .wheel_container .wheel_image {
  position: relative;
  display: block;
  height: 500px;
  width: 500px;
  height: 500px;
  min-width: 500px;
  min-height: 500px;
  margin-top: 30px;
  pointer-events: none;
  margin-left: auto;
  margin-right: auto;
  z-index: 0;
}

.main .wheel_container .ticker {
  z-index: 2;
  display: block;
  position: relative;
  top: 14px;
  width: 24px;
  height: 2px;
  background-color: red;
  margin-left: auto;
  margin-right: auto;
}

.main .wheel_container .ticker-base {
  display: block;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  top: -12px;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 100px;
  background-color: #505050;
}

.main .wheel_container .ticker-needle {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 5px;
  height: 30px;
  top: -24px;
  background-color: black;
}

.main .wheel_container .valuecontainer {
  display: flex;
  align-items: center;
  position: absolute;
  top: 400px;
  width: 100%;
  height: 60px;
}

.main .wheel_container .valuecontainer #valueholder {
  display: flex;
  width: 400px;
  margin: 0 auto 0 auto;
  height: 55px;
  align-items: center;
  justify-content: center;
  background-color: white;
  border: 3px solid green;
  box-shadow: 3px 3px 3px 3px #000000aa;
  border-radius: 3px;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.45rem;
}

.main .wheel_container .valuecontainer #valueholder.spin-done {
  background-color: yellow;
  font-size: 2rem;
  width: 600px;
}

.main .footer {
  display: block;
  position: relative;
  z-index: 50;
  margin-top: -50px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 600px;
  text-align: center;
}

.main .footer .employeename {
  font-weight: bold;
  font-size: 1.5rem;
}

.main .footer .btn_spin {
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: 1rem !important;
  margin-right: 1rem !important;
  width: 10rem;
}

.main .footer .total-winnings {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: black;
}

.main .footer .total-winnings .total-winnings--value {
  color: green;
}

.main .footer .total-winnings .total-winnings--value {
  font-weight: bold;
}

#wheel_blur {
  border-radius: 500px;
}

.buffer_container {
  display: none;
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.rotating {
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}
