.custom-select {
  display: inline-block;
  padding: 6px 36px 6px 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #cfd2da;
  vertical-align: middle;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC) no-repeat right 12px center;
  background-color: #494b54;
  background-clip: padding-box;
  background-size: 8px 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none;
  padding-right: 12px;
  width: auto;
  display: block;
  padding: 0 15px;
}

.custom-select {
  padding-right: 40px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEX////////////////1pQ5zAAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC);
}

html {
  height:100%;
}

body {
  height: calc(100% - 60px);
}

div.wrapper {
  height: 100%;
}

a {
  /* color: #c3c3c3; */
  text-decoration: none;
}

a:hover,
a:focus {
  color: #c3c3c3;
  outline: none;
}

th {
  font-weight: normal;
}

section.status {
  color: #fff;
  margin-left: 200px;
  position: absolute;
  bottom: 0;
  width: calc(100% - 200px);
  padding: 10px 20px;
  border-top:1px solid #888;
  opacity: 0.8;
  pointer-events:none;
}

section.fullheight {
  height:100%;
}

section.status::before {
  content: '▼';
  position: absolute;
  right: 0px;
  border: 1px solid #888;
  top: -1px;
  padding: 2px 6px;
  cursor: pointer;  
  pointer-events:auto;
}
section.status.closed {
  height: calc(1em + 12px);  
}
section.status.closed > div {
  display: none;
}
section.status.closed::before {
  content: '▲';
}
.nomargin section.status {
  margin-left:0;
}

section.nostatus + section.status {
  display: none;
}

code {
  display: block;
  word-break: break-word;
  line-height: 1.8em;
  padding: 10px;
}

.row+.row {
  margin-top: 10px;
}

input.float[type="checkbox"] {
  float:left;
  margin-right: 0.5em;
}
input.float[type="checkbox"] + label {
  user-select: none;
}

input::placeholder {
  font-style: italic;
  color: #949ba2;
}

.form-control {
  color: #fff;
}

.form-control.aligned {
  width: 300px;
  display: inline-block;
}

.control-label {
  color: #949ba2;
}    

table.dataTable {
  border-collapse: collapse;
}

table.dataTable thead th, table.dataTable thead td {
  font-size: 0.8em;
}

table.dataTable tbody th, table.dataTable tbody td {
  font-size: 0.9em;
  padding: 3px 5px 4px 10px;
  font-family: monospace;
  font-weight: bold;
}

.dataTables_wrapper option {
  color: #333;
}

button + button {
  margin-left: 10px;
}

.dataTables_wrapper div.dataTables_filter {
  margin-bottom:5px;
  font-size: 0.8em;
}

.dataTables_wrapper .dataTables_filter input  {
  color: #fff;
  font-weight: bold;
}

.dataTables_wrapper .dataTables_info {
  color: #666;
}

.navbar-default .navbar-brand {
  background-color: #2f323b;
}

.navbar-brand>img {
  margin: 0 auto;
}

ul.statuslist {
  list-style: none;
  padding-inline-start: 10px
}

ul.statuslist > li {
  padding:5px 0px
}

ul.statuslist > li > table {
  margin: 5px 0 0 20px;
  border: 1px solid #888;
  padding: 5px 0;
  display: block;
}

ul.statuslist > li > table td {
  font-family: monospace;
  padding: 0 10px;
}

ul.statuslist > li > span:first-child {
  padding: 0 5px 0 0;
  min-width: 400px;
  display: inline-block;
}
ul.statuslist > li > span:nth-child(2) {
  display: inline-block;
  min-width: 100px;
}

ul.statuslist > li > span + span {
  padding: 0 0 0 5px;  
  font-weight: bold;  
}

ul.statuslist > li > span + span.ok {
  color: lightgreen;
}

ul.statuslist > li > span + span.notok {
  color: red;  
}

.content.iframe {
  height: 100%;
  background-color: #fff;
  padding: 0;
}

.content.iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}

ul.apilist {
  list-style: none;
  padding-inline-start: 10px
}

ul.apilist > li > ul.opened {
  max-height:8000px;
  transition: max-height 0.75s ease-in;
}

ul.apilist > li {
  font-weight: bold;
  color: #fff;
}

ul.apilist > li > span {
  cursor: pointer;
  user-select: none;
}

ul.apilist > li > ul {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  padding-inline-start: 10px
}

ul.apilist > li > ul > li > span {
  cursor: pointer;
  user-select: none;
  color: #949ba2;
  font-weight: normal;
}

.apilist .luna-nav.nav {
  position: relative;
}

.apilist .luna-nav.nav .sub-nav-icon {
  position: absolute;
}

.apilist span.type, .apilist a.description {
  padding: 0 4px;
}

h3 a.description {

}

div.apicall {
  margin: 5px 0 5px 10px;
  padding: 0px 10px;
  font-size: 11px;
  max-height: 0;
  overflow: hidden;
}

div.apicall.opened {
  max-height:8000px;
  transition: max-height 0.75s ease-in;
  border: 1px solid #aaa;
}

div.apicall > h3 {
  font-size: 1em;
}

div.apicall label {
  min-width: 100px;
  text-align: right;
  padding: 10px 10px 0 0;
  vertical-align: top;
}

div.apicall input + .signature {
  font-size:0.8em;
  padding: 0 0 0 10px;
  font-style: italic;
}

div.apicall div.response {
  position: relative;
}

div.apicall div.response > p {
  position: absolute;
  padding: 5px 0 5px 10px;
  line-height: 2.0em;
  background-color: #eee;
  width: 100%;
}

div.apicall div.response > p + pre {
  font-size: 1em;
  margin: 10px 0 0 0;
  padding: 40px 0 10px 20px;
  word-break: break-word;
  white-space: break-spaces;  
}

button + span {
  padding: 0 5px;
  font-size: 0.8em;
}

span.balance {
  font-weight: bold;
  color:lightgreen;
}

div.callhistory {
  padding: 5px;
  border: 1px solid #8668a8;
  border-radius: 5px;
  font-size: 0.8em;
}

div.callhistory > .title {
  margin: -5px -5px 0 -5px;
  background-color: #8668a8;
  padding: 5px;
  color: #fff;
  position: relative;
  pointer-events:none;
}

div.callhistory > .title::after {
  content: 'X';
  position: absolute;
  right: 5px;
  top: 5px;
  cursor: pointer;
  pointer-events:auto;
}

div.callhistory > ul {
  list-style: none;
  padding-inline-start: 10px;
  margin-bottom: -5px;
}

div.callhistory > ul > li {
  padding: 5px 10px;
  border-top: 1px solid #8668a8;
  margin: 0 -5px 0 -15px;
}

div.callhistory > ul > li b {
  color: #8668a8;
}

div.callhistory > ul > li span.status {
  padding:0 5px;
}
div.callhistory > ul > li.callok::before {
  content: '✔';
  color: lightgreen;
  padding-right:5px;
  width: 1.5em;
  display: inline-block;
}
div.callhistory > ul > li.callok,
div.callhistory > ul > li.callerror {
  padding-left: 10px;
}
div.callhistory > ul > li.callerror::before {
  content: '⚠';
  color: red;
  padding-right: 5px;
  width: 1.5em;
  display: inline-block;
  font-size: 1.5em;
  font-weight: bold;
}
div.callhistory > ul > li.callerror span.status {
  color: red;
  font-weight: bold;
}
div.callhistory > ul > li span.steptext {
  border: 1px solid #000;
  background-color: darkmagenta;
  color: yellow;
  padding: 0 5px;
}

div.showresponse {
  padding: 0 5px;
  float: right;
  position: relative;
}
div.showresponse span {
  user-select: none;
  cursor: pointer;
}
div.showresponse span.doclose {
  display: none;
}
div.showresponse > code {
  display: none;
  white-space: pre-wrap;
}
div.showresponse.opened {
  display: block;
  float: none;
}
div.showresponse.opened span.doopen {
  display: none;
}
div.showresponse.opened span.doclose {
  display: block;
  position: absolute;
  right: 5px;
  top: -19px;
  background-color: #24262d;
  padding: 2px 5px;
}
div.showresponse.opened > code {
  display:block;
}
ul.codesamples {
  list-style: none;
  padding-inline-start: 10px;
  margin-bottom: -5px;
}
ul.codesamples > li {
  border: 1px solid #808080;
  padding: 2px 5px 2px 10px;
  margin: 7px 0;
}
ul.codesamples > li div.title {
  font-size: 1.5em;
}
ul.codesamples > li div.showresponse {
  margin-top: -25px;
}
ul.codesamples > li div.showresponse.opened {
  margin-top: 0px;
  margin-left: -15px;
  margin-right: -10px;
}

.splashbg {
  height: calc(100%);
}

.splashbg:before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.1;
  background-image: url('../img/splash.png');
  background-repeat: no-repeat;
  background-position: 50% 0;
}

span.deleteticket, span.delete, span.edit {
  cursor: pointer;
}

span.getgamerounddetails, span.getgameroundresult {
  cursor: pointer;
  color: #f6a821;
  padding:0px 5px;
  display:inline-block;
}

span.getgameroundanaylsis {
  cursor: pointer;
  color: greenyellow;
  padding:0px 5px;
  display:inline-block;
}

span.strandgameround {
  cursor: pointer;
  color: red;
  font-style: italic;
  padding:0px 5px;
  display:inline-block;
}
span.autoclosegameround {
  cursor: pointer;
  color: blue;
  font-style: italic;
  padding:0px 5px;
  display:inline-block;
}

span.signature {
  color: lightseagreen;
  padding: 0 5px;
  font-style: italic;
}

textarea.code {
  letter-spacing: 3px;
  font-family: monospace;
}

input[type="date"] {
  margin: 0 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #f8bb52 !important;
}

div.leftcol {
  display: inline-block;
  margin-right:20px;
  vertical-align: top;
}

div.leftcol + div {
  display: inline-block;
}

div.curtain {
  display: none;
}

div.curtain.working {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 50%;
  position: fixed;
  top: 0;
  left: 0;
  cursor: wait;
}

table.billingOverview tr.odd {
  background-color: #fff !important;
}
table.billingOverview tr td  {
  font-weight: normal;
}
table tr td b.category {
  font-weight: bold;
  font-size: 1.2em;
}
table tr td b.categorysum {
  font-weight: bold;
  font-size: 1.2em;
}
table tr td b.totalsum {
  font-weight: bold;
  font-size: 1.2em;
}
.chosen-container {
  margin-left: 10px;
  display:block;
}
select + .chosen-container.chosen-container-single .chosen-single {
  background:#494b54;
  color: #fff;
  height: 35px;
  padding: 5px 0 0 8px;
  font-size: 14px;
}

.navbar-default .navbar-brand img {
  max-width:170px;
  max-height: 60px;
}