* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font:
    13px Helvetica,
    Arial;
}

#controls {
  position: fixed;
  width: 100%;
  bottom: 0px;
  box-shadow: 0px 0px 15px gray;
  background: white;
  z-index: 2;
}

#auth-form {
  width: 100%;
  line-height: 29px;
}

.help-buttons {
  display: block;
  position: absolute;
  bottom: 100%;
  right: -155px;
  text-align: center;
  width: 160px;
  transition: right 200ms;
  padding: 5px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: -2px -2px 10px -2px rgba(0, 0, 0, 0.5);
  z-index: 20;
}
.help-buttons:before {
  content: '◀';
  display: block;
  position: absolute;
  top: 50%;
  left: -20px;
  margin-top: -20px;
  height: 40px;
  width: 20px;
  border-radius: 10px 0px 0px 10px;
  background: rgba(0, 0, 0, 0.2);
  line-height: 40px;
  color: white;
  font-size: 20px;
}

.help-buttons .btn {
  display: block;
  width: 100%;
  margin: 5px 0px;
}

.help-buttons hr {
  margin: 10px 0px;
}

.tip {
  color: gray;
  font-size: 10px;
  text-align: justify;
}

#controls:hover .help-buttons {
  right: 0px;
}

.token-form {
  display: flex;
}

#access-token {
  padding: 5px;
  width: 500px;
  flex: 0 1 auto;
}

#use-access-token {
}

#faq {
  float: right;
}

.send-form {
  position: relative;
  display: flex;
  background: #000;
  width: 100%;
  padding: 3px;
}
.send-form + .send-form {
  padding-top: 0px;
}

.send-form input {
  display: inline-block;
  border: 0;
  padding: 10px;
}
.send-form input + input {
  margin-left: 3px;
}

.send-form__module {
  width: 15%;
  flex: 0 1 auto;
}

.send-form__action {
  width: 15%;
  flex: 0 1 auto;
}

.send-form__params {
  flex: 1 1 auto;
}

.send-form input[type='submit'] {
  flex: 0 0 auto;
  width: 90px;
  padding: 10px;
}

.floating-button {
  display: block;
  position: absolute;
  border: 1px solid gray;
  background: white;
  font-weight: bold;
  text-align: center;
  z-index: 1;
  user-select: none;
  width: auto;
}
.floating-button:hover {
  cursor: pointer;
  box-shadow: 0px 0px 10px yellow;
}

#swap {
  left: 14%;
  line-height: 30px;
  transform: rotate(-90deg);
  bottom: 0;
  width: 30px;
  height: 30px;
  margin-bottom: -15px;
  border-radius: 50%;
}

#useat {
  top: 0;
  right: 95px;
  width: 50px;
  font-size: 10px;
}
.format-button,
.copy-button,
.collapse-button {
  right: 0px;
  top: 0px;
  font-size: 12px;
  line-height: 12px;
  padding: 1px 2px;
}

.copy-button {
  right: 45px;
}

.collapse-button {
  right: 80px;
}

#messages {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-bottom: 120px;
}

#messages li {
  padding: 5px 10px;
  margin: 1px 0px;
}
#messages li code,
#messages li pre {
  display: block;
}

#messages li.collapsed pre,
#messages li.collapsed code {
  display: inline-block;
  vertical-align: bottom;
}

#messages li code {
  position: relative;
  word-break: break-word;
}

#messages li.collapsed code {
  max-height: 30px;
  overflow: hidden;
}
#messages li.collapsed code:after {
  content: '';
  display: block;
  width: 100%;
  border-top: 1px dashed gray;
  position: absolute;
  top: 29px;
}

/*#messages li:nth-child(odd) {
    background: #eee;
}*/
#messages .response {
  background: #eee;
}

#messages .time {
  font-size: 12px;
  background-color: green;
  color: #fff;
}

#messages .sending {
  font-size: 12px;
  color: #666;
  margin-left: 20px;
}
.response {
  position: relative;
}

.repeat {
  display: inline-block;
}
.repeat:hover {
  cursor: pointer;
  text-decoration: underline;
}

pre {
  white-space: pre-wrap;
}

.btn {
  min-width: 100px;
  padding: 5px;
  cursor: pointer;
}

/*#api {color:#fff;}*/
