﻿:root {
  --ButtonColor: white;
  --ButtonBackgroundColor: dodgerblue;
  --ButtonBorderColor: deepskyblue;
  --ButtonColorInactive: lightBlue;
  --ButtonBorderColorHighlight: white;
  --InputTextColor: black;
  --InputBorderColor: gray;
  --DarkBackground: slategray;
  --fontInput: 100 1em "Open Sans", Arial, Helvetica, sans-serif;
  --vh: 0;
}
*,
:before,
:after {
  box-sizing: border-box;
}
label {
  margin: 0;
  padding: 1rem;
}
[data-clipboard] {
  cursor: pointer;
  position: relative;
  text-decoration: none !important;
}
[data-clipboard]:hover {
  color: greenyellow !important;
}
[data-clipboard=copy]::after {
  content: 'Copied';
  border: 1px solid white;
  color: white;
  background-color: black;
  border-radius: 5px;
  position: absolute;
  top: 0;
  padding: 2px;
  line-height: 1em;
  font-size: x-small;
}
input[type=button] {
  border-radius: 5px;
  color: var(--ButtonColor);
  background-color: var(--ButtonBackgroundColor);
  border: solid 1px var(--ButtonBorderColor);
  line-height: 20px;
  padding: 7px;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
}
input[type=text] {
  border-radius: 5px;
}
a {
  color: var(--ButtonColor);
}
div.flexPanel {
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  font-size: small;
}
div.status {
  border-radius: 5px;
  text-transform: uppercase;
}
div.status[data-state=connected] {
  background-color: forestgreen;
}
div.status[data-state=disconnected] {
  background-color: red;
}
img.banner {
  width: 100%;
}
div.allControls {
  padding: 1rem 2rem;
  background-color: var(--DarkBackground);
  color: white;
  line-height: 30px;
  border-radius: 5px;
}
@media only screen and (max-width: 940px) {
  div.allControls {
    padding: 1rem 1rem;
  }
}
.actions {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}
.actions input {
  width: 20%;
}
@media only screen and (max-width: 940px) {
  .actions input {
    width: 100%;
  }
}
.testPanel {
  display: flex;
  column-gap: 15px;
}
@media only screen and (max-width: 940px) {
  .testPanel {
    column-gap: 5px;
    justify-content: space-between;
  }
}
@media only screen and (max-width: 500px) {
  .testPanel {
    row-gap: 5px;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
  }
  .testPanel > input {
    width: 100%;
  }
  .testPanel > div {
    width: 100%;
  }
  .testPanel > div > input {
    width: 100%;
  }
}
.testPanel input[type=button] {
  padding: 0.5em 1em;
  flex-grow: 1;
}
.testPanel > div {
  display: flex;
}
.testPanel > div > input {
  margin: 5px inherit;
  transition: background-color ease-in-out 150ms;
}
.testPanel > div input {
  border-radius: unset;
}
.testPanel > div input:first-child {
  border-radius: 5px 0 0 5px;
}
.testPanel > div input:last-child {
  border-radius: 0 5px 5px 0;
}
.testPanel > div input[type=button][data-checked=true] {
  background-color: var(--ButtonBackgroundColor);
}
.testPanel > div input[type=button][data-checked=false] {
  background-color: var(--ButtonColorInactive);
}
.nav-item {
  border-bottom: 2px solid transparent;
}
.nav-item:hover {
  border-bottom: 2px solid red;
}
.controlPanel {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}
.controlPanel label {
  min-width: 40%;
}
.controlPanel input {
  text-align: center;
}
.controlPanel div {
  text-align: right;
  padding: 5px;
  flex: auto;
}
@media only screen and (max-width: 940px) {
  .controlPanel div {
    flex: 1;
    width: 90%;
    text-align: center;
    padding: 5px;
  }
}
.testForm {
  display: none;
}
#result {
  display: none;
}
#sessionId {
  transition: background-color ease-in-out 250ms;
  border: 1px solid var(--ButtonBorderColor);
  flex: 1;
}
#sessionId:disabled {
  -webkit-text-fill-color: #000000;
  cursor: not-allowed;
  color: white;
  background-color: var(--DarkBackground);
  opacity: 1;
}
.section {
  display: none;
  margin: 10px 0;
  border-radius: 4px;
  font-family: monospace;
  transition: opacity 200ms;
  will-change: opacity;
  font-size: 13px;
}
.sectionHeader {
  display: flex;
  border: 1px solid var(--DarkBackground);
  border-radius: 4px;
  justify-content: space-between;
  padding: 5px;
  flex-direction: column;
  word-break: break-all;
}
@media only screen and (max-width: 940px) {
  .sectionHeader {
    flex-direction: column;
    font-size: unset;
  }
}
.sectionHeader div {
  color: var(--ButtonColor);
  background-color: var(--DarkBackground);
  border-radius: 5px;
  padding: 5px;
  margin: 4px;
  min-width: 180px;
  text-align: center;
}
@media only screen and (max-width: 940px) {
  .sectionHeader div {
    margin: 4px;
  }
}
.sectionHeader div.headerMethod[data-type='POST'] {
  background-color: indianred;
}
.sectionHeader div.headerMethod[data-type='GET'] {
  background-color: darkturquoise;
}
.sectionHeader div.headerMethod[data-type='PUT'] {
  background-color: cornflowerblue;
}
.section > fieldset {
  border-radius: 4px;
  border: 1px solid white;
  margin: 5px 0;
  background-color: var(--DarkBackground);
  color: white;
}
.section legend {
  border-radius: 4px;
  border: 1px solid white;
  width: auto;
  padding: 5px;
  line-height: initial;
  font-size: initial;
  margin: 5px;
  background-color: var(--DarkBackground);
  color: white;
}
.code {
  color: white;
  border-radius: 4px;
  display: block;
  padding: 5px;
  margin: 6px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
.vars {
  display: grid;
  grid-template-columns: 20% 80%;
  padding: 5px;
  margin: 6px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}
@media only screen and (max-width: 940px) {
  .vars {
    grid-template-columns: 40% 60%;
  }
}
.vars > span {
  border-bottom: 1px solid lightgray;
}
.messageHeader {
  border-radius: 4px;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  color: black;
  font-size: xx-small;
  margin-bottom: 5px;
}
.messageText {
  font-size: x-small;
}
div.typeOption {
  margin: 10px 0;
}
input.typeOption {
  display: none;
}
label.typeOption {
  color: var(--ButtonColor);
  background-color: var(--ButtonBackgroundColor);
  border: solid 1px var(--ButtonBorderColor);
  border-radius: 5px;
  line-height: 20px;
  min-width: 10em;
  display: inline-block;
  text-align: center;
  padding: 10px;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
}
input[type="checkbox"] {
  position: relative;
  margin: 1rem 0;
  min-width: 40px;
  min-height: 20px;
  -webkit-appearance: none;
  appearance: none;
  background: lightgray;
  outline: none;
  border: none;
  border-radius: 20px;
  transition: 0.2s;
  box-shadow: inset 0 0 7px gray !important;
  cursor: pointer;
}
@media only screen and (max-width: 940px) {
  input[type="checkbox"] {
    transform: scale(1.2);
  }
}
input[type="checkbox"]:checked {
  background: dodgerblue;
}
input[type="checkbox"]:checked:before {
  left: calc(100% - calc(40px / 2));
}
input[type="checkbox"]:before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  left: 0;
  top: 0;
  background: lightskyblue;
  transform: scale(1.1);
  box-shadow: 0 0 5px gray;
  transition: left 0.2s;
}
input[type="checkbox"]:focus:before,
input[type="checkbox"]:hover:before {
  background: lightblue;
}
input[type="checkbox"]:disabled:before {
  background: gray !important;
}