* { margin: 0; padding: 0; box-sizing: border-box; }
body { font: 13px Helvetica, Arial; background: black; -webkit-user-select: none; }
#messages { list-style-type: none; margin: 0; padding: 0; font-size: 20px; color: white; }
#messages li { padding: 5px 10px; }
#messages li:nth-child(odd) { background: black; }



#projector-page {
  background: black;
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  overflow: hidden;
}
.projector-container {
  position:absolute;
  display: table;
  width: 100%;
  color: white;
  font-size: 6.0vmin;
}
#projector-outer {
  position: absolute;
  left: 0px;
  bottom: 12.0vh;
  width: 100%;
  z-index: 200;
}

.projector-content {
  text-align:center;
  display: table-cell;
  vertical-align: middle;
  white-space: pre-wrap;
  z-index: 100;
}

#projector-main {
  position: absolute;
  width: 100%;
  height: 99.9%;
  top: 0;
}
#projector-video {
  position: absolute;
  width: 100%;
  height: 99.9%;
  top: 0;
  z-index: 1;
}

.ui-draggable-dragging .projector-container {
  border: 1px dashed white;
}



:-moz-full-screen,
:-webkit-full-screen,
:fullscreen
{
  background: black;
}
#projector-buttons {
  width: 100%;
}

button {
  font-size: 4.5vmin;
  padding: 0.5em;
  color: white;
  background: none;
  border: 2px solid white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  min-width: 2.2em;
  min-height: 1em;
  z-index: 500;
  opacity: 0;
  transition : opacity 500ms ease-in-out;
}

.swal2-modal button,
.show-buttons button {
  opacity: 1;
}
.status-box {
  opacity: 0;
  transition : opacity 500ms ease-in-out;
}

.disconnected .status-box,
.show-buttons .status-box {
  opacity: 1;
}


#projector-buttons button:focus {
  background: gray;
  border-color: red;
  outline: none;
}

#projector-buttons .colorbtn {
  min-width: 2.5em;
  border: 0.2em solid white;
}

input {
  width: 129px;
  height: 86px;
  font-size: 40px;
  text-align: center;
  border-radius: 10px;
  opacity: 0;
  transition : opacity 500ms ease-in-out;
}

.show-buttons input {
  opacity: 1;
}


#buttons-center {
  position: absolute;
  margin: 10px auto;
  width: 80%;
  left: 10%;
  text-align: center;
  z-index: 501;
}
#buttons-left {
  position: absolute;
  margin: 10px auto;
  width: 96%;
  left: 2%;
  text-align: left;
  z-index: 501;
}


.margin-right {
  margin-right: 40px;
}
.margin-left {
  margin-left: 40px;
}


#fontsize-plus {        position: absolute; top: 10px; left: 10px; }
#fontsize-minus {       position: absolute; bottom: 10px; left: 10px; }
#videosize-plus {        position: absolute; top: 70px; left: 0px; font-size: 25px; z-index: 50000; }
#videosize-minus {       position: absolute; top: 140px; left: 0px; font-size: 25px; z-index: 50000;}
#subtitles      { font-size: 2em; }
#brightness-plus {  position: absolute; top: 10px; right: 10px; }
#brightness-minus { position: absolute; bottom: 10px; right: 10px; }
#language { position: relative; }

.button-top {  top: 10px; }
.button-bottom {  top: inherit; bottom: 0px; }

.connection-status-old {
  position: absolute;
  top: 50%;
  margin-top: -10px;
  left: 50px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background: grey;
}
.connected .connection-status-old {
  background: greenyellow;
}

.connected .wifiText {
  color: greenyellow
}
.disconnected .connection-status {
  background: orangered;
}
.disconnected .wifiText {
  color: orangered
}

#prepText {
  display: none;
}
.is-prep-client #prepText {
  display: block;
}

#skip-btn {
  background: lightcoral;
  padding: 20px;
  position: absolute;
  width: 200px;
  height: 100px;
  left: 50%;
  top: 50%;
  margin-left: -100px;
  margin-top: -50px;
}


#progressbar {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 20;
  height: 5px;
  background: none;
  border: none;
}

.status-box {
  padding-right: 20px;
  color: white;
  font-size: 20px;
  width: 140px;
  text-align: right;
  float: right;
}
#status-box-spacer {
  float: left;
}



.video-wrap {
  zoom: 0.6;
}
.video-wrap video {
  min-height: 130vh;
}
/*
.video-wrap::before {
  content: "Video";
  position: absolute;
  font-size: 5em;
  top: 30px;
  left: 70px;
  color: white;
  opacity: 0;
  transition : opacity 500ms ease-in-out;
}

.show-buttons .video-wrap::before {
  opacity: 0.9;
}
*/

.ui-draggable video {
  border: 1px solid transparent;
  transition : border 500ms ease-in-out;
}

.show-buttons .ui-draggable video {
  border: 1px solid white;
}

.ui-draggable-dragging video {
  border: 1px dashed white;
}



@media (min-resolution: 50000dpi) {
  #projector-buttons button {
    font-size: 14px;
  }
}


.refnumbers {
  position: absolute;
  left: 5%;
  bottom: 5%;
  color: yellow;
  font-size: 2em;
  z-index: 5;
}


.swal2-popup {
  background: #2e2e2e !important;
}
.swal2-html-container {
  color: white !important;
}

.swal2-loader {
  border-color: #c42727 transparent #c42727 transparent !important;
}

.client-ios .stage {
  display: flex;
  height: 90vh;
  color: white;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swal2-title {
  color: white !important;
}


.client-ios .swal2-html-container span {
  display: block;
  padding-bottom: 1em;
}

.client-ios-button-wrap {
  text-align: center;
}

.client-ios-button{
  border: 1px solid white;
  padding: 5px;
  border-radius: 5px;
  opacity: 1;
}

.is-cropped {
  object-fit: cover;
  width: 100%;
  height: 250px;
  object-position: center top;
  transition: object-position 2500ms;
}
.is-cropped.bottom {
  object-position: center bottom;
}
.pointer-arrow {
  position: absolute;
  width: 100px;
  left: calc(50% - 52px);
  color: red;
  animation: MoveUpDown 1400ms ease-in-out infinite;
  margin-bottom: 40px;
  font-size: 60px;
}

.is-cropped.yOffset {
  height: 200px;
  object-position: center -25px;
}

.is-full-width{
  max-width: 100%;
}

.is-full-height{
  height: 100%;
}

@keyframes MoveUpDown {
  0%, 100% {
    bottom: 0;
  }
  50% {
    bottom: 3px;
  }
}

.rotate-device {
  position: absolute;
  font-size: 100px;
  color: white;
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
  align-items: center;
  transition: transform 1s;
  animation: Rotate 5s ease-in-out infinite;
}

@keyframes Rotate {
  0% {
    transform: rotate(0deg);
  }
  20% {
    transform: rotate(90deg);
  }
  85% {
    transform: rotate(90deg);
  }
  95% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}


@media screen and (orientation:landscape) {
  .swal2-title {
    padding: 0;
    font-size: 1em;
  }

  .is-cropped {
    height: 130px;
  }

  /*.pointer-arrow {
    display: none;
  }*/
  .rotate-device {
    display: none;
  }
}