html, body {
    width: 100%;
    height: 100%;
}

iframe {
    border: 0;
}

.form-signin {
    max-width: 400px;
    padding: 15px;
    margin: 20px auto;
}

.form-signin .alert {
    margin: 0;
}

.form-signin label,
.form-signin input[type='submit'],
.form-signin .copyright {
    margin-top: 20px;
    width: 100%;
}

.form-signin .copyright {
    display: inline-block;
    text-align: center;
    color: #777;
}

.form-signin .logo {
    width: 100%;
    height: 82px;
    display: block;
    background: #fff url(/static/gfx/logo.png) no-repeat center center;
    background-size: 333px 42px;
}

.form-signin ul {
    margin: 0;
    padding: 10px 0 0 20px;
}

.form-signin ul li {
    margin: 0;
    padding: 0;
    color: #a94442;
}

.save-btn:hover>a>span {
    color: #388ccd;
}

.delete-btn:hover>a>span {
    color: #cd4947;
}

.jumbotron, nav.navbar {
    margin-bottom: 0;
}

.view-container {
    width: 100%;
    height: calc(100% - 50px);
}

.full-width {
    width: 100%;
}

.col-view {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    border-right: solid 1px #eee;
}

.col-view .col-view {
    height: 100%;
}

.col-view:last-child {
    border-right: none;
}

.col-view.flex {
    display: flex;
    flex-direction: column;
}

.no-details {
    background: #eee;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    padding: 150px 0;
    text-align: center;
}

.no-details.white-background {
    background: #fff;
}

.no-details i.glyphicon {
    display: block;
    padding-bottom: 40px;
    font-size: 48px;
    color: #333;
}

.no-details strong {
    font-size: 18px;
}

.details.col-view h2 {
    padding: 50px;
    margin: 0;
    background: #eee;
}

.details.col-view .content {
    padding: 25px;
    display: block;
    overflow: hidden;
}

.details.col-view .table {
    margin-top: 25px;
}

.details.col-view .table th,
.details.col-view .table td {
    padding: 6px 25px;
}

.details.col-view .table td {
    font-family: monospace;
}

.details.col-view textarea {
    height: 150px;
}

.table-search-container {
    -webkit-box-flex: 1;
    flex: 1;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
}

.bottom-bar {
    height: 41px;
    border-top: solid 1px #eee;
}

.bottom-bar,
.search-bar {
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.search-bar {
    border-bottom: solid 1px #eee;
    padding-top: 5px;
    padding-bottom: 5px;
}

.bottom-bar .left,
.bottom-bar .middle,
.bottom-bar .right {
    float: left;
    height: 100%;
    display: block;
    overflow: hidden;
    line-height: 40px;
}

.bottom-bar .left,
.bottom-bar .right {
    width: 25%;
}

.bottom-bar .right {
    text-align: right;
}

.bottom-bar .middle {
    width: 50%;
    text-align: center;
}

.bottom-bar a {
    display: inline-block;
    line-height: 20px;
    padding: 10px 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.bottom-bar a.disabled {
    color: #737373;
    cursor: default !important;
}

.bottom-bar a.disabled:hover {
    text-decoration: none !important;
}

.bottom-bar a:not(.disabled):hover {
    background: #f5f5f5;
}

.search-bar .search-group {
    overflow: hidden;
}

.search-bar .search-group > label {
    line-height: 35px;
    padding: 0 18px;
    display: block;
    width: 150px;
    float: left;
    margin-bottom: 0;
}

.search-bar .search-group > select,
.search-bar .search-group > .input-content {
    width: calc(100% - 168px);
    clear: both;
    height: 35px;
}

.search-bar .search-group > .form-control {
    width: calc(100% - 168px);
}

.search-bar .search-group > .input-content {
    display: inline-block;
    padding: 8px 0;
}

.search-bar select {
    width: 120px;
    border: none;
    outline: none !important;
}

.label {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 5px;
}

.label a {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 10px;
    text-decoration: none;
}

.label a:hover {
    color: #fff;
}

/** Bootstrap extensions **/

.navbar .divider-vertical {
    height: 50px;
    margin: 0 9px;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #f2f2f2;
}

.navbar-inverse .divider-vertical {
    border-right-color: #222222;
    border-left-color: #656565;
}

@media (max-width: 767px) {
    .navbar .divider-vertical {
        display: none;
     }
}

/** JSON formatter **/

.json-formatter-row {
  font-family: monospace;
}
.json-formatter-row,
.json-formatter-row a,
.json-formatter-row a:hover {
  color: black;
  text-decoration: none;
}
.json-formatter-row .json-formatter-row {
  margin-left: 1em;
}
.json-formatter-row .children.empty {
  opacity: 0.5;
  margin-left: 1em;
}
.json-formatter-row .children.empty.object:after {
  content: "No properties";
}
.json-formatter-row .children.empty.array:after {
  content: "[]";
}
.json-formatter-row .string {
  color: green;
  white-space: pre;
  word-wrap: break-word;
}
.json-formatter-row .number {
  color: blue;
}
.json-formatter-row .boolean {
  color: red;
}
.json-formatter-row .null {
  color: #855A00;
}
.json-formatter-row .undefined {
  color: #ca0b69;
}
.json-formatter-row .function {
  color: #FF20ED;
}
.json-formatter-row .date {
  background-color: rgba(0, 0, 0, 0.05);
}
.json-formatter-row .url {
  text-decoration: underline;
  color: blue;
  cursor: pointer;
}
.json-formatter-row .bracket {
  color: blue;
}
.json-formatter-row .key {
  color: #00008B;
  cursor: pointer;
}
.json-formatter-row .constructor-name {
  cursor: pointer;
}
.json-formatter-row .toggler {
  font-size: 0.8em;
  line-height: 1.2em;
  vertical-align: middle;
  opacity: 0.6;
  cursor: pointer;
}
.json-formatter-row .toggler:after {
  display: inline-block;
  transition: transform 100ms ease-in;
  content: "►";
}
.json-formatter-row .toggler.open:after {
  transform: rotate(90deg);
}
.json-formatter-row > a > .thumbnail-text {
  opacity: 0;
  transition: opacity 0.15s ease-in;
  font-style: italic;
}
.json-formatter-row:hover > a > .thumbnail-text {
  opacity: 0.6;
}
.json-formatter-dark.json-formatter-row {
  font-family: monospace;
}
.json-formatter-dark.json-formatter-row,
.json-formatter-dark.json-formatter-row a,
.json-formatter-dark.json-formatter-row a:hover {
  color: white;
  text-decoration: none;
}
.json-formatter-dark.json-formatter-row .json-formatter-row {
  margin-left: 1em;
}
.json-formatter-dark.json-formatter-row .children.empty {
  opacity: 0.5;
  margin-left: 1em;
}
.json-formatter-dark.json-formatter-row .children.empty.object:after {
  content: "No properties";
}
.json-formatter-dark.json-formatter-row .children.empty.array:after {
  content: "[]";
}
.json-formatter-dark.json-formatter-row .string {
  color: #31F031;
  white-space: pre;
  word-wrap: break-word;
}
.json-formatter-dark.json-formatter-row .number {
  color: #66C2FF;
}
.json-formatter-dark.json-formatter-row .boolean {
  color: #EC4242;
}
.json-formatter-dark.json-formatter-row .null {
  color: #EEC97D;
}
.json-formatter-dark.json-formatter-row .undefined {
  color: #ef8fbe;
}
.json-formatter-dark.json-formatter-row .function {
  color: #FD48CB;
}
.json-formatter-dark.json-formatter-row .date {
  background-color: rgba(255, 255, 255, 0.05);
}
.json-formatter-dark.json-formatter-row .url {
  text-decoration: underline;
  color: #027BFF;
  cursor: pointer;
}
.json-formatter-dark.json-formatter-row .bracket {
  color: #9494FF;
}
.json-formatter-dark.json-formatter-row .key {
  color: #23A0DB;
  cursor: pointer;
}
.json-formatter-dark.json-formatter-row .constructor-name {
  cursor: pointer;
}
.json-formatter-dark.json-formatter-row .toggler {
  font-size: 0.8em;
  line-height: 1.2em;
  vertical-align: middle;
  opacity: 0.6;
  cursor: pointer;
}
.json-formatter-dark.json-formatter-row .toggler:after {
  display: inline-block;
  transition: transform 100ms ease-in;
  content: "►";
}
.json-formatter-dark.json-formatter-row .toggler.open:after {
  transform: rotate(90deg);
}
.json-formatter-dark.json-formatter-row > a > .thumbnail-text {
  opacity: 0;
  transition: opacity 0.15s ease-in;
  font-style: italic;
}
.json-formatter-dark.json-formatter-row:hover > a > .thumbnail-text {
  opacity: 0.6;
}
