.file-autocomplete-ct input {
    padding-right: 24px;
}

.file-autocomplete-ct ul {
    max-height: 250px;
}

.file-autocomplete-ct .alert {
    margin: 0;
    border: none;
    padding: 0 24px 0 6px;
}

.file-autocomplete-ct .error input {
    border-color: red;
}

.file-autocomplete-ct .error input {
    border-color: red;
}

.file-autocomplete-ct .error ul {
    border-color: red;
    padding: 0;
}

.file-autocomplete-ct span.spinner,
.file-autocomplete-ct span.caret {
    position: absolute;
    top: 7px;
    z-index: 9;
}

.file-autocomplete-ct span.caret {
    width: 1.5em;
    height: 1.5em;
    cursor: pointer;
    pointer-events: all;
}
a {
    cursor: pointer;
}

.disabled {
    pointer-events: auto;
}

.btn {
    min-height: 26px;
    min-width: 26px;
}

.btn.disabled {
    pointer-events: auto;
}

.btn.disabled:hover {
  z-index: auto;
}

a.disabled {
    cursor: not-allowed !important;
    text-decoration: none;
    pointer-events: none;
    color: #8b8d8f;
}

a.disabled:hover {
    text-decoration: none;
}

.dropdown-menu > li > a.disabled,
.dropdown-menu > li > a.disabled:hover,
.dropdown-menu > li > a.disabled:focus {
  color: #999999;
}

.dropdown-menu > li > a.disabled:hover,
.dropdown-menu > li > a.disabled:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  cursor: default;
}

/* Limit dropdown menus to 90% of the viewport size */
.dropdown-menu {
    height: auto;
    overflow-x: hidden;
    max-height: 90vh;
}
/* Align these buttons more nicely */
.btn.fa-minus,
.btn.fa-plus {
    padding-top: 4px;
}

/* HACK: Workaround for https://github.com/patternfly/patternfly/issues/174*/

.page-ct {
    margin-top: 20px;
}

.highlight-ct {
    background-color: #edf8ff;
}

/* Well and Blankslate */

.curtains-ct {
    top: 0px;
    height: 100%;
    width: 100%;
    position: fixed;
}

.panel .well {
    margin-bottom: 0px;
    border: none;
    border-radius: 0px;
    background-color: #FAFAFA;
}

.well.blank-slate-pf {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05) inset;
    padding-top: 40px;
}

.blank-slate-pf .spinner-lg {
    height: 58px;
    width: 58px;
}

/*
 * Control buttons such as play and stop
 * Used with .btn .btn-default
 */

.btn-control-ct,
.btn-control-ct:hover {
    background-position: center center;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-image: none;
    -webkit-border-radius: 2;
    -moz-border-radius: 2;
    border-radius: 2px;
    height: 28px;
    width: 28px;
    box-shadow: none;
}

.btn-control-ct {
    background-color: #eeeeee;
}

.btn-control-ct:hover {
   background-color: #e0e0e0;
}


/* On/off switch */

.btn-onoff-ct {
    margin: 1px 0px;
    text-transform: uppercase;
}

.btn-onoff-ct .btn {
    color: transparent;
    border-color: #B7B7B7;
    padding: 2px 6px 1px 6px;
    background-color: white;
    background-image: linear-gradient(to bottom, rgb(250, 250, 250) 0px, rgb(237, 237, 237) 100%);
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 37px;
}

.btn-onoff-ct .btn:first-child {
    border-right: #00435F;
}

.btn-onoff-ct .btn:last-child {
    border-left: #00435F;
    padding-left: 5px;
}

.btn-onoff-ct .btn.active {
    background-image: none;
    width: 36px;
}

.btn-onoff-ct .btn.active:first-child {
    background-color: #0086CF;
    color: white;
    border-right: 1px solid #0071b0;
}

.btn-onoff-ct .btn.active:last-child {
    color: #000;
    border-left: 1px solid #d6d6d6;
}

.btn-onoff-ct .btn.disabled {
    pointer-events: none;
    color: transparent !important;
}

.btn-onoff-ct .btn.active.disabled {
    background-color: #888 !important;
    color: white !important;
}

/* Small list inside a dialog */
/* Alert fixups */

.modal-content .alert {
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
}

.modal-content .alert .fa {
    position: absolute;
    left: 10px;
    top: 6px;
    font-size: 20px;
}

.modal-content .alert .pficon {
    top: 5px;
}

.alert.alert-danger .fa {
    color: #af151a;
}

/* Dialog patterns */

.dialog-wait-ct {
    margin-top: 3px;
}

.dialog-wait-ct .spinner {
    display: inline-block;
}

.dialog-wait-ct span {
    vertical-align: 4px;
    padding-left: 10px;
}

.dialog-list-ct {
    max-height: 230px;
    overflow-x: auto;
    border: 1px solid #CCC;
    margin-bottom: 0px;
}

/* HACK: https://github.com/patternfly/patternfly/issues/255 */
input[type=number] {
  padding: 0 0 0 5px;
}

/* Make a dialog visible */
.dialog-ct-visible {
    display: block;
}
#cockpit_modal_dialog .modal-body.scroll {
    max-height: calc(75vh - 10rem);
    overflow: auto;
}
/* Listing pattern */
table.listing-ct {
  margin-top: 15px;
  min-width: 65%;
}
table.listing-ct > caption,
table.listing-ct > thead h3 {
  font-size: 22px;
  padding: 10px 0px 10px;
  font-weight: 300;
  margin-top: 0;
}
table.listing-ct > caption {
  color: inherit;
  line-height: 1.1;
}
table.listing-ct > thead td {
  padding-top: 20px;
}
table.listing-ct > thead:first-child td {
  padding-top: 0;
}
table.listing-ct > thead td > a {
  line-height: 30px;
  padding: 10px 0 10px;
}
table.listing-ct > thead th {
  border-top: 1px solid #f1f1f1;
  font-weight: normal;
  padding: 10px 20px;
  color: #888;
}
table.listing-ct > thead th:first-child {
  padding-left: 20px;
}
table.listing-ct > thead th:last-child {
  text-align: right;
}
/* A listing item is a row in the table */
tbody > tr.listing-ct-item {
  border: 1px solid transparent;
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
}
table.listing-ct > tbody:last-child {
  border-bottom: 1px solid #f1f1f1;
}
table.listing-ct > tbody + thead {
  border-top: 1px solid #f1f1f1;
}
table.listing-ct > tbody.open:last-child {
  border-bottom: none;
}
table.listing-ct > tbody.open + thead {
  border-top: none;
}
tbody > tr.listing-ct-item.listing-ct-warning {
  background-color: #fbc7c7;
}
tbody.open > tr.listing-ct-item {
  background-color: #def3ff;
  border-bottom: none;
  border-top: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  transition: all 200ms;
}
tbody.open > tr.listing-ct-item td,
tbody.open > tr.listing-ct-item th {
  border-top: 1px solid #ccc;
}
tbody.open td div.listing-ct-head {
  background-color: #fff;
}
tbody.open > .listing-ct-panel {
  border: 1px solid #ccc;
}
tbody.open > .listing-ct-panel > td > .listing-ct-body {
  border: none;
  overflow: auto;
}
tbody.open > tr.listing-ct-panel + tr.listing-ct-body {
  border-top: none;
}
tbody.open > tr.listing-ct-panel td div.listing-ct-head {
  border: none;
  border-bottom: 1px solid #ccc;
}
/* only highlight the row if navigation is available */
tbody:not(.open) > tr.listing-ct-item:not(.listing-ct-nonavigate):hover {
  background-color: #edf8ff;
}
/* if we can't navigate to a row but expand is available, highlight the caret */
tbody:not(.open) > tr.listing-ct-item.listing-ct-nonavigate:hover td.listing-ct-toggle {
  color: #65bedf;
}
/* use hover color expanded rows even if navigation isn't available */
tbody.open:hover > tr.listing-ct-item,
tr.listing-ct-item.listing-ct-nonavigate:hover {
  background-color: #edf8ff;
}
tr.listing-ct-item .listing-ct-toggle:not(:empty) {
  width: 35px;
  color: #393f44;
}
/* Highlight toggle color when hovered or if the row is open */
.listing-ct-toggle:hover,
tbody.open .listing-ct-toggle {
  color: #65bedf;
}
.listing-ct .listing-ct-toggle:empty {
  width: 0;
  padding: 0;
}
.listing-ct > thead > tr > .listing-ct-toggle + th,
.listing-ct-item > .listing-ct-toggle + td,
.listing-ct-item > .listing-ct-toggle + th {
  padding-left: 10px;
  position: relative;
}
.listing-ct-item > .listing-ct-toggle:not(:empty) + th::before,
.listing-ct-item > .listing-ct-toggle:not(:empty) + td::before {
  border-left: 1px solid rgba(0, 0, 0, 0.18);
  /* pf-black-300 */
  content: "";
  height: 1.66666667em;
  left: -5px;
  position: absolute;
  top: 15px;
}
td.listing-ct-toggle i {
  font-size: 17px;
}
td.listing-ct-toggle i:before {
  position: relative;
  content: "\F105";
  display: block;
}
tbody.open td.listing-ct-toggle i:before {
  content: "\F107";
  animation: listingCtToggleOpen 100ms ease-in-out;
  top: 1px;
}
@keyframes listingCtToggleOpen {
  0% {
    transform-origin: 50% 50%;
    transform: translate(0, -1px) rotate(-90deg);
  }
  100% {
    transform: translate(0, 0) rotate(0);
  }
}
/* Listing items have decent padding ... */
.listing-ct > thead > tr > th,
tr.listing-ct-item > th,
tr.listing-ct-item > td {
  padding: 15px;
  vertical-align: text-top;
  /* baseline doesn't support wrapped lines */
}
tr.listing-ct-item > td > .btn {
  /* .btn has padding of 6px and 1px border */
  margin-top: -7px;
  margin-bottom: -7px;
}
tr.listing-ct-item > td > .btn-control-ct {
  /* Adapt for Cockpit's modified button, which is larger by 8px */
  margin-top: -3px;
  margin-bottom: -3px;
}
/* Listing caption is text next to the actions, text should be similar to nav (.nav-tabs-pf > li > a)*/
.listing-ct-actions > .listing-ct-caption {
  font-size: 13px;
  vertical-align: middle;
  color: #0088ce;
  padding-right: 5px;
}
/* Listing actions can be used directly as a cell */
tr.listing-ct-item td.listing-ct-actions,
td.listing-ct-actions {
  padding: 5px 10px;
  text-align: right;
  float: none;
}
/* if the entire row is selected, highlight */
tr.listing-ct-item.listing-ct-selected {
  background-color: #0088ce;
  color: #fff;
  border-color: #007ebf;
}
tr.listing-ct-item.listing-ct-selected:hover {
  background-color: #007ebf;
  border-color: #007ebf;
}
tr.listing-ct-item.listing-ct-selected .badge {
  background-color: #00537e;
}
tr.listing-ct-item.listing-ct-selected .badge:hover {
  background-color: #003e5f;
}
.listing-ct-head .listing-ct-actions {
  margin-top: -7px;
}
/* The last column of a listing is always right aligned */
tr.listing-ct-item td:last-child {
  text-align: right;
}
div.listing-ct-panel {
  box-shadow: 1px 1px 1px 1px #f5f5f5;
  margin-bottom: 15px;
}
div.listing-ct-maybe {
  border: 1px dashed #ddd;
  box-shadow: none;
}
div.listing-ct-head {
  padding: 10px 10px 0 10px;
  background-color: #f5f5f5;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 1px 0 1px;
  overflow: hidden;
}
div.listing-ct-head:last-child {
  padding-bottom: 10px;
}
div.listing-ct-maybe div.listing-ct-head,
div.listing-ct-maybe div.listing-ct-body {
  background-color: #fff;
  border: none;
}
tbody.active .listing-ct-head {
  border-top: 3px solid #0099d3;
}
.listing-ct-head h3 {
  font-weight: normal;
  font-size: 18px;
  margin-top: 0px;
  margin-left: 5px;
  margin-bottom: 10px;
}
.listing-ct-head h3 i {
  float: left;
  padding-right: 7px;
}
.listing-ct-head .nav li a {
  font-size: 13px;
  /* Counteract listing-ct-head padding */
  margin-top: -10px;
}
.listing-ct-head .nav-tabs {
  border-bottom: none;
}
.listing-ct-head .nav-tabs-pf {
  /* Counteract listing-ct-head padding */
  margin: -10px 0 0 -10px;
}
/* To display info instead of tabs */
.listing-ct-head dl {
  display: inline-block;
  height: 1.6em;
  margin-bottom: 5px;
  white-space: nowrap;
  margin-right: 45px;
  margin-left: 5px;
}
.listing-ct-head dt {
  font-weight: normal;
  display: inline;
  margin-right: 0.5em;
  color: #888;
}
.listing-ct-head dd {
  display: inline;
  color: black;
}
.listing-ct-body {
  padding: 20px 25px;
  font-size: 13px;
  border: 1px solid #ccc;
  background-color: #fff;
}
.listing-ct-inline > td > .listing-ct-body {
  border: none;
  padding-top: 0px;
  padding-left: 20px;
  padding-bottom: 0px;
}
.listing-ct-inline > h3 {
  border-top: 1px solid #ccc;
  padding-top: 20px;
  margin-top: 30px;
}
.listing-ct-inline > h3:first-child {
  border-top: none;
  padding-top: 0px;
  margin-top: 20px;
}
.listing-ct-actions {
  float: right;
  min-height: 26px;
}
.listing-ct-status {
  float: right;
  clear: right;
}
.listing-ct-error {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.listing-ct-error.alert {
  margin-bottom: 0;
}
.listing-ct-body tt {
  font-size: 12px;
}
.listing-ct-body dl {
  margin: 0;
}
.listing-ct-body dl dd dl.inline-dl dt,
.listing-ct-body dt {
  clear: left;
  float: left;
  width: 100px;
  min-height: 26px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #888;
  font-weight: normal;
}
.listing-ct-body dt {
  text-align: right;
}
.listing-ct-body dl dd dl dt {
  text-align: left;
}
.listing-ct-body dd {
  margin-left: 110px;
  min-height: 26px;
  max-width: 1000px;
  text-overflow: ellipsis;
}
.listing-ct-body dl.full-width dt {
  text-align: left;
  min-width: none;
  max-width: none;
  float: none;
  width: auto;
}
.listing-ct-body dl.full-width dd {
  margin-left: 0px;
}
table.listing-ct tbody {
  transition: all 100ms ease-out;
}
table.listing-ct tbody.open {
  transition: all 100ms ease-in;
  box-shadow: 0 2px 6px rgba(3, 3, 3, 0.2);
}
/* By default these are hidden */
/* (HACK: Special-case the user auth dialog) */
tbody:not(.ssh-key-body) > tr.listing-ct-head,
tbody > tr.listing-ct-panel,
tbody > tr.listing-ct-body {
  display: none;
}
/* ... unless they are in the right state */
tbody.open > tr.listing-ct-head,
tbody.open > tr.listing-ct-panel,
tbody.open > tr.listing-ct-body {
  display: table-row;
}
/* Animate the listing head & the last visible body */
/* (Switching tabs will adds new listing-ct-bodys & toggle visibility) */
tbody.open div.listing-ct-head,
tbody.open div.listing-ct-head + div.listing-ct-body:not([hidden]):last-child {
  animation: listingCtShow 100ms ease-in-out;
}
@keyframes listingCtShow {
  0% {
    margin-bottom: 0;
    margin-top: 0;
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
    padding-top: 0;
    line-height: 0;
  }
  50% {
    opacity: 0;
    line-height: 1;
  }
  100% {
    max-height: 100vh;
    opacity: 1;
  }
}
/* Turn off animation if requested by the browser/OS (where supported) */
@media (prefers-reduced-motion: reduce) {
  tbody.open td.listing-ct-toggle i:before,
  tbody.open div.listing-ct-head,
  tbody.open div.listing-ct-body {
    animation: none;
  }
}
tbody.open tr.listing-ct-head {
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 1px 0 1px;
  border-top: 3px solid #0099d3;
  background-color: #f5f5f5;
}
tr.listing-ct-head + tr.listing-ct-head {
  border-top: none;
}
tr.listing-ct-head + tr.listing-ct-head td {
  padding: 0px 10px 0px 10px;
}
tr.listing-ct-body td {
  padding: 20px 25px;
  font-size: 13px;
}
.listing-ct-empty {
  color: #888;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
/* Used at the end of a group of tbody to show an 'empty' message */
thead.listing-ct-empty td,
table.listing-ct > thead.listing-ct-empty td {
  padding: 10px;
}
tbody + thead.listing-ct-empty {
  display: none;
}
/* Listing pattern defaults to using full width of parent */
.listing-ct-wide {
  width: 100%;
}
/* Listing pattern mod to redce the padding */
.listing-ct-compact > thead > tr > th,
.listing-ct-compact > tbody > tr > th,
.listing-ct-compact > tbody > tr > td {
  padding: 5px;
}
.listing-ct-compact > tbody > tr > .listing-ct-toggle:not(:empty) + th,
.listing-ct-compact > tbody > tr > .listing-ct-toggle:not(:empty) + td {
  padding-left: 5px;
}
.listing-ct-compact > tbody > tr > .listing-ct-toggle:not(:empty) + th::before,
.listing-ct-compact > tbody > tr > .listing-ct-toggle:not(:empty) + td::before {
  top: 5px;
}
div.listing-ct-head {
  overflow: visible;
}
.listing-ct-head .btn-group,
.listing-ct-head button:not(.dropdown-toggle) {
  margin-left: 0.3em;
}
table.listing-ct > caption a {
  font-size: 16px;
}
tbody tr.listing-ct-noexpand {
  cursor: default;
}
/* Fix up nav-tabs-pf to work properly */
.nav-tabs-pf > li:first-child a {
  margin-left: 0px !important;
  padding-left: 15px !important;
}
.nav-tabs-pf > li a:before {
  right: 0px !important;
}
.nav-tabs-pf > li > a:active:before,
.nav-tabs-pf > li > a:focus:before,
.nav-tabs-pf > li > a:hover:before,
.nav-tabs-pf > li.active a:before {
  height: 3px;
  left: 0px;
}
/* Force word-wraps when words are too long */
.listing-ct-item td,
.listing-ct-item th,
.listing-ct-body {
  overflow-wrap: break-word;
  hyphens: auto;
}
.listing-ct-item td,
.listing-ct-item th {
  max-width: calc(100vw - 18rem);
}
.listing-ct-body {
  /* 42 = (20px padding + 1px border) * 2 */
  max-width: calc(100vw - 42px);
}
/*
 * This file is part of Cockpit.
 *
 * Copyright (C) 2013 Red Hat, Inc.
 *
 * Cockpit is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * Cockpit is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
 */
/* ---------------------------------------------------------------------------------------------------- */
a {
  cursor: pointer;
}
.disabled {
  pointer-events: auto;
}
.btn {
  min-height: 26px;
  min-width: 26px;
}
.btn.disabled {
  pointer-events: auto;
}
.btn.disabled:hover {
  z-index: auto;
}
a.disabled {
  cursor: not-allowed !important;
  text-decoration: none;
  pointer-events: none;
  color: #8b8d8f;
}
a.disabled:hover {
  text-decoration: none;
}
.dropdown-menu > li > a.disabled,
.dropdown-menu > li > a.disabled:hover,
.dropdown-menu > li > a.disabled:focus {
  color: #999999;
}
.dropdown-menu > li > a.disabled:hover,
.dropdown-menu > li > a.disabled:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  cursor: default;
}
/* Limit dropdown menus to 90% of the viewport size */
.dropdown-menu {
  height: auto;
  overflow-x: hidden;
  max-height: 90vh;
}
/* Align these buttons more nicely */
.btn.fa-minus,
.btn.fa-plus {
  padding-top: 4px;
}
/* HACK: Workaround for https://github.com/patternfly/patternfly/issues/174*/
.page-ct {
  margin-top: 20px;
}
.highlight-ct {
  background-color: #edf8ff;
}
/* Well and Blankslate */
.curtains-ct {
  top: 0px;
  height: 100%;
  width: 100%;
  position: fixed;
}
.panel .well {
  margin-bottom: 0px;
  border: none;
  border-radius: 0px;
  background-color: #FAFAFA;
}
.well.blank-slate-pf {
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05) inset;
  padding-top: 40px;
}
.blank-slate-pf .spinner-lg {
  height: 58px;
  width: 58px;
}
/*
 * Control buttons such as play and stop
 * Used with .btn .btn-default
 */
.btn-control-ct,
.btn-control-ct:hover {
  background-position: center center;
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-image: none;
  -webkit-border-radius: 2;
  -moz-border-radius: 2;
  border-radius: 2px;
  height: 28px;
  width: 28px;
  box-shadow: none;
}
.btn-control-ct {
  background-color: #eeeeee;
}
.btn-control-ct:hover {
  background-color: #e0e0e0;
}
/* On/off switch */
.btn-onoff-ct {
  margin: 1px 0px;
  text-transform: uppercase;
}
.btn-onoff-ct .btn {
  color: transparent;
  border-color: #B7B7B7;
  padding: 2px 6px 1px 6px;
  background-color: white;
  background-image: linear-gradient(to bottom, #fafafa 0px, #ededed 100%);
  -webkit-box-shadow: none;
  box-shadow: none;
  width: 37px;
}
.btn-onoff-ct .btn:first-child {
  border-right: #00435F;
}
.btn-onoff-ct .btn:last-child {
  border-left: #00435F;
  padding-left: 5px;
}
.btn-onoff-ct .btn.active {
  background-image: none;
  width: 36px;
}
.btn-onoff-ct .btn.active:first-child {
  background-color: #0086CF;
  color: white;
  border-right: 1px solid #0071b0;
}
.btn-onoff-ct .btn.active:last-child {
  color: #000;
  border-left: 1px solid #d6d6d6;
}
.btn-onoff-ct .btn.disabled {
  pointer-events: none;
  color: transparent !important;
}
.btn-onoff-ct .btn.active.disabled {
  background-color: #888 !important;
  color: white !important;
}
/* Small list inside a dialog */
/* Alert fixups */
.modal-content .alert {
  text-align: left;
  padding-top: 5px;
  padding-bottom: 5px;
}
.modal-content .alert .fa {
  position: absolute;
  left: 10px;
  top: 6px;
  font-size: 20px;
}
.modal-content .alert .pficon {
  top: 5px;
}
.alert.alert-danger .fa {
  color: #af151a;
}
/* Dialog patterns */
.dialog-wait-ct {
  margin-top: 3px;
}
.dialog-wait-ct .spinner {
  display: inline-block;
}
.dialog-wait-ct span {
  vertical-align: 4px;
  padding-left: 10px;
}
.dialog-list-ct {
  max-height: 230px;
  overflow-x: auto;
  border: 1px solid #CCC;
  margin-bottom: 0px;
}
/* HACK: https://github.com/patternfly/patternfly/issues/255 */
input[type=number] {
  padding: 0 0 0 5px;
}
/* Make a dialog visible */
.dialog-ct-visible {
  display: block;
}
/* Panels don't draw borders between them */
.panel > .table > tbody:first-child td {
  border-top: 1px solid #dddddd;
}
/* Table headers should not generate a double border */
.panel .table thead tr th {
  border-bottom: none;
}
.panel-heading {
  background: #F5F5F5;
  height: 44px;
}
/* Vertically center dropdown buttons in panel headers */
.panel-heading .btn {
  margin-top: -3px;
}
/*
 * Fix up table row hovering.
 *
 * When you hover over table rows it's because they're clickable.
 * Make the table row hover color match the list-group-item.
 */
.table-hover > tbody > tr > td,
.table-hover > tbody > tr > th,
.dialog-list-ct .list-group-item {
  cursor: pointer;
}
.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th,
.dialog-list-ct .list-group-item:hover:not(.active) {
  background-color: #edf8ff;
}
/* Override patternfly to fit buttons and such */
.table > thead > tr > th,
.table > tbody > tr > td {
  padding: 8px;
}
/* Override the heavy patternfly headers */
.table > thead {
  background-image: none;
  background-color: #fff;
}
/* Make things line up */
.table tbody tr td:first-child,
.table thead tr th:first-child {
  padding-left: 15px;
}
.table tbody tr td:last-child,
.table thead tr th:last-child {
  padding-right: 15px;
}
.info-table-ct > tr > td,
.info-table-ct > tbody > tr > td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 0.75em;
  padding-top: 0.25em;
  vertical-align: top;
  line-height: 26px;
}
.info-table-ct > tr > td:first-child,
.info-table-ct > tbody > tr > td:first-child {
  text-align: right;
  color: #888888;
}
.info-table-ct > tr > td:not(:first-child),
.info-table-ct > tbody > tr > td:not(:first-child) {
  color: black;
}
.info-table-ct > tr > td button,
.info-table-ct > tbody > tr > td button {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.form-table-ct {
  width: 100%;
}
.form-table-ct td {
  padding-left: 0.75em;
  padding-top: 0.25em;
  line-height: 26px;
}
.form-table-ct td.top {
  vertical-align: top;
}
.form-table-ct td:first-child {
  text-align: right;
  white-space: nowrap;
  color: #888888;
  width: 5px;
  /* will be expanded by nowrap */
}
.form-table-ct td[colspan] {
  text-align: inherit;
}
.form-table-ct td {
  height: 26px;
}
.form-table-ct td.header {
  font-weight: bold;
  text-align: left;
  color: #4D5258;
  padding: 20px 0 10px 0;
}
.form-table-ct label input[type='radio'],
.form-table-ct label input[type='checkbox'] {
  margin-right: 4px;
}
.form-table-ct label {
  margin-bottom: 0px;
}
.form-table-ct label span {
  vertical-align: super;
}
/* Break up sidebar in columns in smaller sizes*/
@media (min-width: 992px) {
  .info-table-ct-container .info-table-ct {
    table-layout: fixed;
    width: 100%;
  }
}
/* Navigation base, used for both desktop & mobile navigation */
.nav-sidebar .dashboard-link:not(.active) a:hover {
  background: rgba(57, 63, 68, 0.5) !important;
}
.nav-item-pf-header {
  color: #fff;
  font-size: 16px;
  margin: 18px 20px 10px 20px;
}
.area-ct-subnav {
  background: #393f44;
  border-right: 1px solid #292e34;
  -webkit-flex: none;
  flex: none;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
  flex-direction: column;
  position: relative;
  z-index: 2;
  opacity: 1;
  /* Fade start and end of the host menu to indicate more content is available */
}
.area-ct-subnav .list-group {
  border: none;
  margin: 10px 0;
}
.area-ct-subnav .list-group-item {
  padding: 0;
  background: inherit;
  border: none;
  z-index: 1;
}
.area-ct-subnav .list-group-item,
.area-ct-subnav .list-group-item > a {
  transition: all 300ms;
}
.area-ct-subnav .list-group-item:hover,
.area-ct-subnav .list-group-item:hover > a {
  transition: all 150ms;
}
.area-ct-subnav .list-group-item:hover,
.area-ct-subnav .list-group-item.active {
  /* Move hover & selected above overflow fade */
  z-index: 3;
}
.area-ct-subnav .list-group-item:hover a,
.area-ct-subnav .list-group-item.active a {
  color: #fff;
}
.area-ct-subnav .list-group-item:hover {
  background: rgba(77, 82, 88, 0.5);
}
.area-ct-subnav .list-group-item.active {
  background: #4d5258;
}
.area-ct-subnav .list-group-item.active a {
  font-weight: 600;
}
.area-ct-subnav .list-group-item a {
  padding: 10px 15px;
  display: block;
  color: #d1d1d1;
  text-decoration: none;
  transition: all 300ms;
}
.area-ct-subnav .dropdown-toggle {
  position: relative;
  overflow: visible !important;
}
.area-ct-subnav .dropdown-toggle:after,
.area-ct-subnav:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  height: 2rem;
  pointer-events: none;
  z-index: 2;
  /* Accomodate scrollbars with margin (IE11 needs 18px; rest are less) */
  margin-right: 18px;
}
.area-ct-subnav .dropdown-toggle:after {
  background: linear-gradient(to bottom, #393f44, rgba(57, 63, 68, 0));
  margin-top: 1px;
  bottom: -2rem;
}
.area-ct-subnav:after {
  background: linear-gradient(to top, #393f44, rgba(57, 63, 68, 0));
  bottom: 0;
  height: 4rem;
}
.nav-sidebar > .list-group .dashboard-link {
  display: block;
}
.nav-sidebar > .list-group .dashboard-link:not(.active) .fa {
  color: #72767b !important;
}
.machine-dropdown {
  position: relative;
  -webkit-flex: none;
  flex: none;
}
.machine-dropdown .dropdown-toggle span {
  font-size: 14px;
}
.machine-dropdown:after {
  content: "";
  position: absolute;
  margin: 0 10px;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #4d5258;
}
.machine-dropdown > .dropdown-toggle span,
.host-apps a {
  overflow: hidden;
  text-overflow: ellipsis;
}
.host-apps {
  -webkit-flex: 1 1 0;
  flex: 1 1 0;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}
.area-ct-content > iframe {
  height: 100%;
}
.area-ct-content > .curtains-ct {
  position: static !important;
}
/* Desktop navigation */
@media screen and (min-width: 768px) {
  .area-ct-navbar {
    -webkit-flex: none;
    flex: none;
    min-width: 100%;
  }
  .area-ct-content {
    -webkit-flex: auto;
    flex: auto;
    position: relative;
    /* Position as absolute to make things work on old Chrome versions,
           mainly to make tests pass */
  }
  .area-ct-content > iframe {
    position: absolute;
  }
  .area-ct-content > .curtains-ct {
    position: absolute !important;
  }
  .area-ct-content > iframe,
  .area-ct-content > .curtains-ct {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .area-ct-body {
    position: relative;
    -webkit-flex: auto;
    flex: auto;
    z-index: 3;
    display: -webkit-flex;
    display: flex;
    /* IE11 needs to have the flex-basis set to page max,
           else it stretches too tall */
    -webkit-flex-basis: 100%;
    flex-basis: 100%;
  }
  .nav-pf-vertical {
    position: static !important;
    height: 100%;
    border-right-width: 0;
    top: 0;
  }
  .nav-sidebar-wrap {
    -webkit-flex: none;
    flex: none;
    z-index: 3;
  }
  .nav-sidebar-wrap:not(.expanded) {
    width: 68px;
  }
  .nav-sidebar-wrap:not(.expanded) .nav-sidebar {
    width: 68px;
  }
  .nav-sidebar-wrap:not(.expanded) .list-group-item-value {
    opacity: 0;
    transition: opacity 150ms ease-out;
  }
  .nav-sidebar {
    /* Use absolute position to make old Chrome (2015 Dec) tests pass */
    position: absolute !important;
    height: 100%;
    transition: all 150ms ease-out;
    box-shadow: 0 0;
    background: linear-gradient(to left, #030303, #292e34 1px);
  }
  .nav-sidebar span.first-letter {
    font-size: 0px !important;
    color: #d1d1d1;
  }
  .nav-sidebar span.first-letter:first-letter {
    font-size: 22px !important;
  }
  .nav-sidebar .fa {
    margin-left: -4px;
    margin-top: -1px;
  }
  .nav-sidebar .fa:not(.first-letter) {
    font-size: 22px !important;
  }
  .nav-sidebar .list-group-item {
    border-right-width: 0;
    overflow: hidden;
  }
  .nav-sidebar .list-group-item > a {
    padding-right: 20px;
  }
  .nav-sidebar .list-group-item:focus {
    background: active;
  }
  .nav-sidebar-wrap:not(.expanded) .nav-sidebar:not(.clicked):hover {
    width: 180px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5), 0 0 32px rgba(0, 0, 0, 0.75);
    transition-duration: 500ms;
    transition-timing-function: cubic-bezier(0, 1.2, 0.8, 1);
  }
  .nav-sidebar-wrap:not(.expanded) .nav-sidebar:not(.clicked):hover .list-group-item-value {
    transition-duration: 300ms;
    opacity: 1;
  }
  .nav-sidebar-wrap:not(.expanded) .nav-sidebar:not(.clicked):hover .first-letter {
    opacity: 0;
  }
  .single-nav .nav-sidebar {
    display: none;
  }
  .single-nav .nav-sidebar-wrap {
    width: 0px;
  }
  .single-nav .area-ct-subnav {
    left: 0px;
  }
  .area-ct-layout {
    display: -webkit-flex;
    display: flex;
    width: 100%;
    height: 100%;
    -webkit-flex-flow: column;
    flex-flow: column;
    align-content: stretch;
  }
  .area-ct-subnav {
    visibility: visible !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 15em;
  }
}
/* Mobile navigation */
@media screen and (max-width: 767px) {
  /* Use native mobile fonts (when available) for nav & menu text */
  .area-ct-navbar,
  .area-ct-body {
    font-family: roboto, san francisco, helvetica light, noto, helvetica, sans-serif;
    font-size: 14px;
    align-content: stretch;
    align-items: stretch;
  }
  .area-ct-navbar a,
  .area-ct-body a {
    font-size: 14px !important;
    padding: 12px 15px;
  }
  /* Layout UI in CSS grids
    (all mobile browsers support this new layout type)

    How this works:

    CSS grids version 1 is now implemented in all mobile browsers; we can use it.
    However, display: container and subgrids are not implemented in Chrome yet.
    To work around this, we do a little more complex gridding by overlapping
    child grids on top of the parent grid. We basically set up the main grid
    as with a gutter of @mobile-button-size ("56px") on the top, right side,
    and bottom. We then stretch the child grids to this.

    The elements are then assigned grid names with 'grid-area' and placed in the
    grid using 'grid-template-areas', based on their immediate parent (which is
    set as a grid display type).

    Some grid-areas override their template placement with grid-columns and
    grid-rows. The most notible being the navmenu, so that it can overlap
    content. The value for grid-colums is either a single number or first/last+1
    (which basically means go from first and stop when it hits the grid
    column/row _after_ the one you want to last fill).

    Note: Due to less, we have to wrap some of the values in ~"" so that they
    will be passed directly to the resulting CSS... else less will want to try
    to do math, which isn't want we want.

    Tip: Firefox dev tools let you visualize grids in the "layout" subtab of the
    "inspector" tab.
    */
  .area-ct-layout,
  .area-ct-body,
  .area-ct-navbar {
    display: grid;
    grid-template-columns: auto 56px;
    grid-template-rows: 56px 1fr 56px;
    align-content: end;
  }
  .area-ct-layout {
    grid-template-areas: "content content" "content content" "nav topbar";
    height: 100%;
    width: 100%;
  }
  .area-ct-body {
    /* Stretch the nav wrapper to the same area on the parent grid */
    grid-column: 1/3;
    grid-row: 1/4;
    grid-template-rows: 56px calc(100% - 56px * 2) 56px;
    z-index: 2;
    /* Pass through mouse events */
    pointer-events: none;
    grid-template-areas: "content content" "content content" "nav empty";
  }
  .area-ct-body > * {
    /* Allow mouse events for children */
    pointer-events: auto;
  }
  .area-ct-navbar {
    /* Create another child grid and stretch it to the parent grid */
    pointer-events: none;
    display: grid;
    background: transparent;
    border: none;
    grid-template: "notmenu menu menu" "notheader notheader header";
    grid-area: topbar;
    grid-column: 1/3;
    /* Expand to the whole column */
    grid-row: 2/4;
    grid-template-rows: auto 56px;
    grid-template-columns: minmax(56px, auto) auto 56px;
    z-index: 3;
  }
  .area-ct-navbar > * {
    pointer-events: auto;
  }
  .area-ct-navbar:before,
  .area-ct-navbar:after {
    display: none;
  }
  .navbar-header {
    grid-area: header;
    background: #292e34;
  }
  .navbar-collapse {
    grid-area: menu;
    align-self: end;
    background: #292e34;
  }
  .navbar-brand {
    display: none;
  }
  .navbar-toggle {
    float: right !important;
    margin: 0 !important;
    width: 100%;
    height: 100%;
  }
  .area-ct-content {
    display: block;
    grid-area: content;
    z-index: 1;
  }
  .area-ct-content > iframe {
    animation: navFadeIn 300ms;
  }
  .nav-sidebar-wrap {
    grid-area: nav;
    z-index: 3;
    max-width: calc(100vw - 56px);
    overflow: auto;
    overflow-y: hidden;
    position: relative;
  }
  .nav-sidebar {
    position: static !important;
    width: auto;
    max-width: 100%;
    overflow: hidden;
    overflow-x: auto;
    background: linear-gradient(to bottom, #030303, #292e34 1px);
  }
  .nav-sidebar ul,
  .nav-sidebar li {
    padding: 0;
    margin: 0;
  }
  .nav-sidebar > .list-group {
    position: relative;
    display: -webkit-flex;
    display: flex;
  }
  .nav-sidebar > .list-group li {
    -webkit-flex: auto;
    flex: auto;
  }
  .nav-sidebar .list-group-item {
    width: auto !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static;
    max-width: 33vw;
  }
  .nav-sidebar .list-group-item a {
    display: inline-block !important;
    padding: 6px 12px !important;
    padding: 0;
    text-align: center;
    width: auto !important;
    min-width: 80px;
    width: 100% !important;
    height: 56px !important;
    margin-bottom: 12px;
  }
  .nav-sidebar .list-group-item.active {
    z-index: 2;
  }
  .nav-sidebar .list-group-item.active a {
    background: #393f44 !important;
  }
  .nav-sidebar .list-group-item.active a:before {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    height: 3px !important;
    width: auto !important;
    z-index: 3;
  }
  .nav-sidebar .list-group-item.active a:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border: 1px solid black;
    border-width: 0 1px;
    pointer-events: none;
    opacity: 0.5;
    z-index: 4;
  }
  .nav-sidebar .list-group-item.active:first-child a:after {
    border-left: none;
  }
  .nav-sidebar .fa,
  .nav-sidebar .pficon-container-node,
  .nav-sidebar .list-group-item-value {
    display: inline-block;
    line-height: 1 !important;
    font-weight: 400;
  }
  .nav-sidebar .fa,
  .nav-sidebar .pficon-container-node {
    margin: 0 auto !important;
    float: none !important;
    font-size: 24px !important;
  }
  .nav-sidebar .list-group-item-value {
    font-size: 12px !important;
    line-height: 2 !important;
    margin: -6px auto 0;
    padding: 0 !important;
  }
  /* Restrict width of hostname nav label in mobile */
  #host-nav-item .list-group-item-value {
    max-width: calc(20vw - 24px);
  }
  .area-ct-subnav {
    display: -webkit-flex !important;
    display: flex !important;
    align-self: end;
    grid-area: navmenu;
    max-height: 100%;
    min-height: 50%;
    grid-column: 1;
    grid-row: 2;
    z-index: 2;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translate(0, 100%) scaleY(0);
    transition: opacity 200ms ease-in 100ms, transform 100ms ease-in 300ms;
  }
  .area-ct-subnav.interact {
    transform: none;
    opacity: 1;
    overflow: visible;
    transition: bottom 300ms ease-out, box-shadow 300ms ease-out, transform 300ms ease-out;
  }
  .area-ct-subnav .dropdown-menu {
    width: auto !important;
    left: 28px !important;
    right: -28px !important;
    animation: navFadeInSlideDown 600ms;
  }
  .host-apps {
    -webkit-flex: auto;
    flex: auto;
    max-height: 100%;
  }
  .navbar-collapse > ul,
  .area-ct-subnav {
    box-shadow: 0 0 9px rgba(0, 0, 0, 0.4) !important;
  }
  /* Add an indicator for the host menu in mobile nav */
  .has-menu .pficon-container-node {
    position: relative;
  }
  .has-menu .pficon-container-node:after {
    font-family: FontAwesome;
    content: "\F106";
    font-size: 1.75rem;
    position: absolute;
    bottom: 0.25rem;
    right: -1.5rem;
    color: #fff;
    opacity: 0.5;
    transition: all 300ms;
  }
  .has-menu.menu-visible .pficon-container-node:after {
    transform: scale(1, -1);
    bottom: 0.25ex;
    opacity: 0.75;
  }
  .has-menu:not(.active) .pficon-container-node:after {
    opacity: 0;
  }
}
/* Navigation animation */
@keyframes navFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes navFadeInSlideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: auto;
  }
}
#active-pages-dialog .modal-body {
  overflow-y: auto;
  max-height: 340px;
  padding: 0;
  margin: 15px 15px 0;
  min-height: 225px;
  border: 1px solid #d1d1d1;
}
#active-pages-dialog table.listing {
  margin-top: 0;
}
/* Hacks on top for now */
html,
body {
  height: 100%;
}
html.index-page body {
  overflow: hidden;
}
.hide-before:before {
  display: none;
}
.curtains-ct {
  top: auto;
  position: static;
}
#dashboard-add {
  height: 28px;
  width: 28px;
}
#dashboard-hosts .list-group-item {
  border-left-width: 7px;
  border-left-style: solid;
  border-top: none;
  position: relative;
  outline: 0;
}
#dashboard-hosts .list-group-item:before {
  content: "";
  position: absolute;
  border-top: 1px solid #BABABA;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 1px;
}
#dashboard-hosts .list-group-item:first-child:before {
  border-top-color: transparent;
}
#dashboard-hosts button {
  height: 28px;
  width: 28px;
  padding: 8px;
  float: right;
  margin-left: 10px;
}
#dashboard-hosts button.btn.pficon {
  padding-top: 5px;
  font-size: 14px;
}
/* Per server buttons not visible by default */
#dashboard-hosts .list-group button {
  margin-top: 2px;
  display: none;
}
/* When panel is editable, then buttons are visible */
#dashboard-hosts.editable .list-group button {
  display: block;
}
#dashboard-hosts.editable .list-group-item:hover {
  background-color: #FFF;
  cursor: auto;
}
#dashboard-hosts .spinner {
  float: left;
  margin: 6px 13px 4px 3px;
}
#dashboard-hosts .list-group-item span.reconnecting {
  color: #888;
  display: inline;
  padding-left: 20px;
}
.host-avatar {
  border-radius: 3px;
  margin-right: 10px;
  width: 32px;
  height: 32px;
}
#dashboard-hosts .list-group-item .host-avatar {
  float: left;
  border-style: none;
}
#dashboard-hosts .list-group-item span {
  margin-right: 76px;
  display: block;
  padding-top: 6px;
  padding-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#dashboard-hosts .list-group-item div.os {
  padding-top: 6px;
  padding-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
  color: #888;
  float: right;
}
#dashboard-toolbar > div.dropdown {
  display: inline-block;
}
#dashboard-toolbar .dropdown-toggle span {
  display: inline-block;
  width: 6em;
  text-align: left;
  padding-left: 5px;
}
@media (max-width: 400px) {
  #dashboard-hosts .list-group-item div.os {
    display: none;
  }
  #dashboard-hosts .list-group-item span.reconnecting {
    display: none;
  }
}
.zoom-controls {
  display: none;
}
.show-zoom-controls .zoom-controls {
  display: block;
}
.show-zoom-cursor .zoomable-plot {
  cursor: ew-resize;
}
.dashboard-plot {
  margin-bottom: 10px;
  height: 250px;
}
#host-edit-color {
  width: 100px;
  height: 26px;
}
#host-edit-color-popover .popover-content {
  width: 220px;
}
#host-edit-color-popover .color-cell {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin: 2px;
}
#host-edit-avatar {
  margin-top: 10px;
}
#host-edit-avatar canvas:hover,
#host-edit-color:hover,
#host-edit-color-popover .color-cell:hover {
  cursor: pointer;
  box-shadow: inset 0px 0px 0px 1px #7BB2DD;
}
#host-edit-apply {
  min-width: 55px;
}
#host-edit-file-input {
  display: none;
}
/* Make the time range buttons equal width */
#dashboard-range-buttons button {
  width: 70px;
}
#sync-users {
  max-height: 126px;
  overflow-y: auto;
  overflow-x: none;
  display: block;
  border: 1px solid #BABABA;
  margin-bottom: 15px;
}
#sync-users table.table {
  margin-bottom: 0;
}
#sync-users .table > tbody > tr:first-child > td {
  border-top: none;
}
#sync-users .center-spinner {
  padding: 15px;
}
#add-unknown-host pre {
  margin: 0;
}
#edit-machine-port {
  width: 100px;
}
/* navbar styles */
.navbar-pf .navbar-toggle {
  color: white;
  font-size: 17px;
  padding: 3px 10px;
  line-height: 1;
}
.navbar-primary .btn-group {
  margin: 5px 0;
}
.navbar-primary .btn-group .btn {
  background-image: linear-gradient(to bottom, #1D1D1D 0%, #030303 100%);
  padding: 5px 20px;
  color: #fff;
  border-color: #494949;
}
.navbar-primary .btn-group .btn:hover {
  background-image: linear-gradient(to bottom, #2f2f2f 0%, #232323 100%);
}
.navbar-primary .btn-group .btn.active {
  background-image: linear-gradient(to bottom, #2f2fFF 0%, #2323FF 100%);
}
.navbar-primary .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-radius: 5px 0 0 5px;
}
.navbar-primary .btn-group > .btn:last-child:not(:first-child):not(.dropdown-toggle) {
  border-radius: 0 5px 5px 0;
}
.navbar-primary .btn-group > .btn:only-child:not(.dropdown-toggle) {
  border-radius: 5px 5px 5px 5px;
}
/* Style a search box in navigation bar */
.navbar-primary .navbar-form {
  margin: 7px;
  box-shadow: none;
}
.navbar-header .navbar-toggle {
  display: none;
}
.navbar-header .navbar-brand {
  padding: 15px 0 15px 10px;
}
@media (max-width: 767px) {
  .navbar-pf-vertical .navbar-toggle {
    display: block;
  }
  .navbar-header .navbar-brand {
    padding: 13px 0 0;
  }
}
.navbar-default .navbar-form {
  border-color: transparent;
}
#machine-dropdown {
  padding: 0;
  margin: 0;
}
#machine-dropdown .dropdown-menu {
  width: 180px;
  top: 6rem;
  /* Align to arrow: 50% width + button padding + arrow width */
  right: calc(-50% + 15px + 10px);
  left: auto;
  overflow: visible;
  padding: 0;
}
#machine-dropdown .dropdown-menu > .form-group {
  padding: 10px;
  margin: 0;
  position: relative;
}
#machine-dropdown .dropdown-menu > .form-group > .form-control-feedback {
  color: #aaa;
  margin: 11px;
  padding: 0.5em 0 0;
  left: 0;
}
#machine-dropdown .dropdown-menu > ul[role="menu"] {
  max-height: 75vh;
  overflow: auto;
  overflow-x: hidden;
  padding: 0;
  position: relative;
}
#machine-dropdown .dropdown-menu > ul[role="menu"] > li {
  position: relative;
  padding: 0;
}
#machine-dropdown .dropdown-menu > ul[role="menu"] > li a {
  padding: 1ex 2ex;
  display: block;
}
#machine-dropdown .dropdown-menu > ul[role="menu"] > li a > span {
  display: block;
  text-indent: calc(1ex - 18px);
  padding-left: calc(1ex + 18px);
}
#machine-dropdown .dropdown-menu > ul[role="menu"] > li.active a {
  background-color: lightblue;
  border: 1px solid #bee1f4;
  border-width: 1px 0;
  background-color: #def3ff;
}
#machine-dropdown .dropdown-menu > ul[role="menu"] .fa-li {
  position: static;
  width: auto;
  padding: 0 1ex 0 0;
  font-size: 16px;
  vertical-align: baseline;
}
#machine-dropdown #machine-link {
  padding: 0 15px;
  margin: 0;
  line-height: 64px;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  text-decoration: none;
}
#machine-dropdown #machine-link img,
#machine-dropdown #machine-link b {
  flex: none;
}
#machine-dropdown #machine-link img {
  width: 24px;
  height: auto;
}
#machine-dropdown #machine-link span {
  flex: auto;
  padding: 0 0 0 1ex;
}
#machine-dropdown #machine-link:hover {
  background: rgba(77, 82, 88, 0.5);
}
#machine-dropdown .dropdown-menu:after {
  border: 10px solid transparent;
  border-top-width: 0;
  border-bottom-color: #fff;
  top: -10px;
  content: '';
  height: 0;
  left: 50%;
  margin: 0 0 0 -5px;
  position: absolute;
  width: 0;
}
#machine-dropdown input {
  padding-left: 25px;
  padding-right: 5px;
}
#machine-dropdown i.fa-search {
  top: 6px;
  left: 0;
}
.nav > li[hidden] {
  display: none;
}
.navbar-advanced {
  display: none;
}
.credential-lock > * {
  display: none !important;
}
.credential-lock.credential-locked > *:first-child {
  display: block !important;
}
.credential-lock.credential-unlocked > *:last-child {
  display: block !important;
}
thead.credential-lock.credential-locked > *:first-child {
  display: table-row !important;
}
thead.credential-lock.credential-unlocked > *:last-child {
  display: table-row !important;
}
/* The server avatar */
#server-avatar {
  width: 128px;
  height: 128px;
  margin-left: 21px;
  /* This centers it in #server-nav-column. */
  border-radius: 5px;
}
.server-graph .flot-y-axis .flot-tick-label {
  margin-right: 5px;
}
/*
 * The oops status in the navbar, used when an unhandled exception
 * occurs.
 */
.oops-status {
  color: red;
  font-weight: bold;
}
.slider {
  display: block;
  margin: 10px 10px;
  height: 5px;
  white-space: nowrap;
  font-size: 0px;
  background-color: #e7e7e7;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}
.slider-warning {
  background-color: #d4a096;
}
.slider-bar {
  position: relative;
  height: 5px;
}
.slider > .slider-bar > .slider-bar {
  border-right: 3px solid white;
  height: 5px;
  position: relative;
}
.slider > .slider-bar > .slider-bar {
  display: inline-block;
}
.slider > div:first-child {
  float: left;
  background-color: #0099d3;
}
.slider-disabled > div:first-child {
  cursor: auto;
  background-color: #e7e7e7;
}
.slider-thumb {
  position: absolute;
  border-radius: 9px;
  background-color: #0099d3;
  width: 18px;
  height: 18px;
  top: -6px;
  right: -9px;
  content: '.';
  cursor: pointer;
  border: 1px solid #267da1;
  z-index: 1;
}
.slider-disabled .slider-thumb {
  background-color: #e7e7e7;
  border: 1px solid #d7d7d7;
  cursor: auto;
}
/* server overview dashboard */
#server .info-table-ct button {
  max-width: 300px;
}
#server .info-table-ct td:first-child {
  max-width: 50%;
}
#server .info-table-ct {
  width: 100%;
}
@media (min-width: 992px) {
  #server .info-table-ct {
    table-layout: fixed;
    width: 100%;
    min-width: 220px;
  }
  /* server overview dashboard */
  #server .info-table-ct-container td button {
    max-width: 100%;
  }
}
@media (max-width: 991px) {
  #server .info-table-ct-container {
    padding: 0 0 20px;
    overflow: hidden;
  }
  #server .info-table-ct-container th,
  #server .info-table-ct-container td:first-child {
    padding-left: 0;
  }
  #server .info-table-ct-container td:last-child {
    max-width: 50vw;
  }
}
@media (max-width: 480px) {
  #server .info-table-ct-container td {
    overflow: auto;
    word-wrap: break-word;
    /* server overview dashboard */
  }
  #server .info-table-ct-container td button {
    max-width: 200px;
  }
}
#connecting {
  height: 100%;
  background-color: #eeeeec;
  text-align: center;
  padding-top: 120px;
}
/* workaround: make text red for select if contained in has-error, not in patternfly */
.has-error > .bootstrap-select > button > span {
  color: #A94442;
}
/* System information */
#systime-date-input {
  display: inline;
  width: 150px;
}
#systime-time-hours,
#systime-time-minutes {
  display: inline;
  width: 50px;
}
/* index page */
.oops-status {
  color: red;
  font-weight: bold;
}
#display-language-list {
  width: 100%;
}
#display-language-list option {
  padding: 10px;
}
iframe.container-frame {
  display: none;
  border: none;
  width: 100%;
}
/* Credentials dialog */
#credentials-dialog .modal-body {
  max-height: 500px;
}
#credentials-dialog .btn-onoff-ct .btn {
  padding-top: 1px;
  padding-bottom: 1px;
  height: 24px;
  line-height: 24px;
  display: inline;
}
#credentials-dialog table.credential-listing {
  margin-top: 0px;
  width: 100%;
}
#credentials-dialog table.credential-listing thead tr.load-custom-key td.has-error div.dialog-error {
  display: block;
}
#credentials-dialog table.credential-listing thead tr.load-custom-key td {
  padding-left: 15px;
  padding-bottom: 15px;
  padding-top: 0;
}
#credentials-dialog table.credential-listing thead tr.load-custom-key td .dropdown-menu {
  max-height: 100px;
}
#credentials-dialog table.credential-listing thead tr.load-custom-key td input {
  width: 500px;
}
#credentials-dialog table.credential-listing thead tr.load-custom-key td button {
  padding-right: 10px;
  padding-left: 10px;
}
#credentials-dialog table.credential-listing thead tr.load-custom-key td span.input-group-btn {
  border-left: 2px solid transparent;
}
#credentials-dialog table.credential-listing thead tr.load-custom-key td div.dialog-error {
  display: none;
}
#credentials-dialog table.credential-listing tbody.ssh-add-key-body {
  display: none;
}
#credentials-dialog table.credential-listing tbody.ssh-add-key-body.unlock {
  display: table-row-group;
}
#credentials-dialog table.credential-listing dd,
#credentials-dialog table.credential-listing dt {
  padding-top: 3px;
  min-height: 26px;
}
#credentials-dialog table.credential-listing dt {
  min-width: 80px;
  max-width: 100px;
}
#credentials-dialog table.credential-listing input[type='password'] {
  width: 300px;
}
#credentials-dialog table.credential-listing textarea {
  color: #222 !important;
}
#credentials-dialog table.credential-listing dt label {
  margin-bottom: 0px;
}
#credentials-dialog thead td {
  padding-left: 15px;
  padding-bottom: 15px;
}
#credentials-dialog tbody .credential-unlock {
  display: none;
}
#credentials-dialog tbody.unlock .credential-panel {
  display: none !important;
}
#credentials-dialog tbody.unlock .credential-unlock {
  display: block;
}
.credential-data {
  word-wrap: break-word;
  word-break: break-all;
}
.banned {
  color: #ff0000;
  font-size: 75px;
  line-height: 75px;
  float: left;
  padding-right: 15px;
}
.listing-ct-body .alert {
  border: none;
  margin: 0px 0px 10px 0px;
  padding: 0px;
  background-color: transparent;
}
.listing-ct-body .alert .fa {
  position: relative;
  left: 0px;
  top: 3px;
  padding-right: 5px;
}
#machine-spinner {
  margin: 10px;
}
.spinner-white {
  border-bottom: 4px solid rgba(255, 255, 255, 0.25);
  border-left: 4px solid rgba(255, 255, 255, 0.25);
  border-right: 4px solid rgba(255, 255, 255, 0.25);
  border-top: 4px solid rgba(255, 255, 255, 0.75);
}
/* Scrollable modal body, needs max-height set elsewhere */
.modal-scrollable {
  overflow-y: auto;
  margin-right: 7px;
  padding-right: 8px;
  margin-top: 15px;
  padding-top: 0px;
}
/* allow text only branding */
.navbar-pf .navbar-brand {
  text-transform: uppercase;
  margin: 0 8px;
}
.navbar-pf .navbar-brand:hover {
  color: #F1F1F1;
}
.navbar-pf .navbar-utility {
  font-size: 13px;
}
/***
Disclaimer: Fixing the navbar dropdown requires consideration of CSS
specificity. As PatternFly is super-specific, we either had to use
!important everywhere or include IDs.

What follows is not best-practice, but a necessary fix.
It is less bad than using !important, at least.
***/
#topnav .fa,
#topnav .pficon {
  /* Normalize the icons in the navbar */
  line-height: inherit;
  margin-right: 5px;
  padding-right: 0;
  position: static;
}
@media (min-width: 768px) {
  /* Override navbar utility menu for desktop */
  #topnav .navbar-utility > li > a,
  #topnav .navbar-utility > li > span {
    line-height: 50px;
    margin: 0;
    padding: 0 10px;
    font-size: 13px;
  }
  #machine-spinner {
    /* Vertical alignment is a hack here. (50px - 24px) / 2 = 13px */
    margin-top: 13px;
  }
}
@media (max-width: 767px) {
  /* Override navbar utility menu for mobile */
  #topnav .navbar-utility > li > a,
  #topnav .navbar-utility > li > span {
    margin: 0;
    padding: 0 20px;
    line-height: 54px;
  }
  #topnav .dropdown-menu > li > a,
  #topnav .dropdown-menu > li > span {
    /* Make menu items a consistent, touch-friendly size */
    padding: 0 40px;
    line-height: 54px;
  }
}

/*# sourceMappingURL=index.css.map*/