.multiplayer {
  font-family: Arial;
  padding: 5px;
  margin-top: 0px;
}

.multiplayer button {
  background-color: #005387;
  color: #fff;
  border: 0px;
  padding: 3px;
  margin: 3px;
  border-radius: 3px;
}

.multiplayer .custom_button {
  display: block;
}

#hotspots_div {
  overflow-y: scroll;
  max-height: 300px;
}

#msg_box {
  background-color: #383e42;
  color: #fff;
  height: 175px;
  margin-bottom: 5px;
  margin-top: 5px;
  overflow-y: scroll;
  border-radius: 5px;
}

#presenter_text #userlist {
  padding-left: 10px;
}

.multiplayer .title {
  font-size: large;
  font-weight: bolder;
}

#open_close_icon {
  position: absolute;
  right: -15px;
  top: -15px;
  transform: scale(0.5) rotate(180deg);
  -webkit-transform: scale(0.5) rotate(180deg);
}

#open_close_icon.closed {
  transform: scale(0.5) rotate(90deg);
  -webkit-transform: scale(0.5) rotate(90deg);
}

#setup_open_close_icon {
  float: right;
  position: relative;
  top: -22px;
  transform: scale(0.5) rotate(180deg);
  -webkit-transform: scale(0.5) rotate(180deg);
}

#mapspot.hidden {
  display: none;
}

#setup_content.hidden {
  display: none;
}

#setup_open_close_icon.closed {
  transform: scale(0.5) rotate(90deg);
  -webkit-transform: scale(0.5) rotate(90deg);
}

.multiplayer table #tr_laser {
  display: none;
}

.multiplayer table #tr_laser.enabled {
  display: table-row;
}

.multiplayer table #tr_presenter {
  display: none;
}

.multiplayer table #tr_presenter.enabled {
  display: table-row;
}

/* toggle switch */
.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.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: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: #005387;
}

input:checked+.slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* loading animation */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 61px;
  height: 13px;
  transform: scale(50%);
  -webkit-transform: scale(50%);
  overflow: hidden;
}

.lds-ellipsis div {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #383e42;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 0px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 0px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 24px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 48px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

.modal.show {
  display: block;
}

/* Modal Content */
.modal-content {
  background-color: rgba(158, 162, 162);
  background-color: rgba(158, 162, 162, 0.9);
  margin: auto;
  padding: 20px;
  border: 3px solid rgb(56, 62, 66);
  border-radius: 5px;
  width: 80%;
  position: relative;
}

/* The Close Button */
.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 5px;
  right: 15px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-content textarea {
  max-width: 100%;
  width: 100%;
  height: 200px;
}