body {
  margin: 0;
}

.tester {
  display: inline-block;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.tester-left {
  flex: 0 1 auto;
  max-width: 100%;
  float: left;
  width: 800px;
}

.tester-right {
  float: right;
  flex: 0 1 auto;
  max-width: 800px;
  width: 380px;
}

.tester-head {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  text-align: center;
  flex: 1 1 auto;
}

.tester-head-box {
  max-width: 800px;
  flex: 1 1 auto;
  margin: auto;
  align-items: center;
}

.tester-title {
  font-family: 'Anton', sans-serif;
  float: right;
  font-size: 60px;
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
  text-shadow:
    1px 1px 2px #e46627,
    1px -1px 2px #e46627,
    -1px 1px 2px #e46627,
    -1px -1px 2px #e46627;
  color: white;
}

.tester-wrapper {
  width: 100%;
  display: inline-block;
  display: flex;
}

.tester-logo {
  padding: 10px 0;
  height: 100px;
  flex: 1 1 auto;
  margin-right: 22px;
  display: inline-block;
  display: flex;
  align-items: center;
  min-width: 380px;
}

.tester-logo img {
  width: 100%;
  text-align: center;
  max-width: 380px;
  display: block;
}

.tester-player {
  display: inline-block;
  height: 360px;
  flex: 1 1 640px;
  width: 74%;
}

.tester-overall {
  flex: 1 1 160px;
  border-left: 1px solid #e46627;
  display: inline-block;
  display: flex;
  flex-direction: column;
  background: #010001;
  min-width: 140px;
  width: 20%;
  height: 360px;
}

.tester-compatible {
  height: 50%;
  flex: 1 1 50%;
  position: relative;
  border-bottom: 1px solid #e46627;
}

.tester-compatible-text,
.tester-p2p-text {
  position: absolute;
  bottom: 0;
  font-size: 22px;
  text-align: center;
  line-height: 1.1;
  width: 100%;
  text-transform: uppercase;
  font-family: 'Anton', sans-serif;
  text-shadow:
    1px 1px 0 #e46627,
    1px -1px 0 #e46627,
    -1px 1px 0 #e46627,
    -1px -1px 0 #e46627;
  margin-bottom: 6%;
  white-space: pre;
}

.tester-compatible-status,
.tester-p2p-status {
  height: 35%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
  margin-top: 18%;
}

.tester-compatible-status.loading,
.tester-p2p-status.loading {
  background: url(../img/loader.gif) no-repeat center/contain;
}

.tester-p2p-status.timeout {
  background: url(../img/warning.png) no-repeat center/contain;
}

.tester-compatible-status.ok,
.tester-p2p-status.ok {
  background: url(../img/checkmark.png) no-repeat center/contain;
}

.tester-compatible-status.notok,
.tester-p2p-status.notok {
  background: url(../img/cross.png) no-repeat center/contain;
}

.tester-p2p-status.timeout {
  position: relative;
}

.tester-p2p-status.timeout:after {
  content: 'Timeout';
  color: yellow;
  position: absolute;
  bottom: -15px;
  width: 100%;
  text-align: center;
  left: 0;
}

.tester-p2p {
  height: 50%;
  flex: 1 1 50%;
  position: relative;
}

.tester-stats {
  flex: 0 0 auto;
  position: relative;
  border-top: 1px solid rgb(228 102 39);
  /*color: rgb(255 255 255);*/
  font-family: sans-serif;
  font-size: 22px;
  padding: 5px 0;
  text-shadow:
    1px 1px 0 #e46627,
    1px -1px 0 #e46627,
    -1px 1px 0 #e46627,
    -1px -1px 0 #e46627;
}

.tester-info {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: left;
}

#troubleshooting-info {
  overflow: hidden;
  height: 0;
  transition: height 0.3s;
  font-size: 14px;
}

.troubleshooting-expand {
  height: initial !important;
}

.tester-chart {
  width: 100%;
  height: 250px;
  border-top: 3px solid #e46627;
  margin-bottom: 20px;
}

.tester-tests {
  margin-bottom: 160px;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.tester-group {
  flex: 1 1 auto;
  margin: 0 10px 10px;
  display: inline-block;
}

.tester-group-title {
  font-family: 'Anton', sans-serif;
  position: relative;
  padding: 5px 12px;
  font-size: 24px;
  text-align: left;
  background: #e46627;
  color: white;
}

.tester-group-wrapper {
  background: #dedede;
  margin-top: 5px;
  padding: 10px 10px;
}

.camera-btn-disabled {
  opacity: 0.7;
  cursor: default;
}

.camera-status-info {
  color: #333;
  font-style: italic;
  display: inline-block;
  margin-left: 8px;
}

.tester-test {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  font-family: monospace;
}

.tester-test-name {
  text-decoration: none;
  color: black;
  font-family: monospace;
  cursor: default;
  float: left;
}

span.tester-test-name {
  font-size: 12px;
  font-family: monospace;
}

[class^='tester-result-'],
[class*=' tester-result-'] {
  height: 100%;
  float: right;
  width: 16px;
  flex: 0 0 16px;
}

.tester-result-ok {
  background: url(../img/checkmark.png) no-repeat center/contain;
}

.tester-result-notok {
  background: url(../img/cross.png) no-repeat center/contain;
}

.tester-result-fail {
  background: url(../img/question.png) no-repeat center/contain;
}

.tester-result-loading {
  background: url(../img/loaderIp.gif) no-repeat center/contain;
}

@media (max-width: 600px) {
  .tester {
    max-width: 600px;
  }

  .tester-logo {
    margin: auto;
    height: 42px;
    min-width: 0;
    max-width: 130px;
    padding: 0;
  }

  .tester-logo img {
    margin: auto;
  }

  .tester-title {
    height: 83px;
    width: 100%;
  }

  .tester-player {
    height: 160px;
    width: 61%;
  }

  .tester-overall {
    width: 37%;
    min-width: 0;
    height: 160px;
  }

  .tester-compatible-status,
  .tester-p2p-status {
    margin-top: 4%;
  }

  .tester-compatible-text,
  .tester-p2p-text,
  .tester-stats {
    font-size: 12px;
  }

  .tester-tests {
    max-width: 600px;
  }

  .tester-group {
    width: 100%;
    max-width: initial;
  }
}

@media (max-width: 400px) {
  .tester-tests {
    max-width: 400px;
  }
}

@media (max-width: 1200px) {
  .tester-right {
    width: 100%;
  }
  /*.tester-tests {*/
  /*width: 270px;*/
  /*}*/

  /*.tester-right {*/
  /*flex-wrap: nowrap;*/
  /*}*/

  /*.tester-group {*/
  /*max-width: 400px;*/
  /*width: 100%;*/
  /*}*/
}

.gap {
  line-height: 6px;
}

.expand {
  color: darkcyan;
}

.expand-button {
  cursor: pointer;
  user-select: none;
}

#player > div,
#player > video {
  width: 100%;
  height: 100%;
}

#indicationImage {
  width: 20px;
  height: 20px;
  margin-left: 5px;
  margin-bottom: -5px;
}

.tester-configuration {
  border-top: 3px solid #e46627;
}

.tester-configuration-title {
  margin-top: 10px;
  font-size: 18px;
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, sans-serif;
}

.tester-configuration-content {
  margin-bottom: 20px;
  margin-top: 10px;
  display: flex;
  align-content: flex-start;
  gap: 5px;
  font-size: 15px;
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, Helvetica, sans-serif;
}
