/* on-off button styling depends on data-toggle in bootstrap */
.btn-onoff-ct input {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}
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;
}
/*
 * This file is part of Cockpit.
 *
 * Copyright (C) 2016 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/>.
 */

.container-fluid {
    margin: 50px auto auto;
    width: 40rem;
}

.popover-ct-kdump {
    margin-left: 5px;
    /* Don't escape the container-fluid */
    white-space: nowrap;
}

.btn-onoff-ct {
    margin-right: 5px;
}

.btn-onoff-ct + .spinner-sm {
    /* Adding margin bumps small spinner up to normal widget height */
    margin: 5px 0;
}

#kdump-settings-dialog {
    width: 400px;
}

#kdump-settings-location {
    width: 100%;
}
/* Form layout */
:root {
  --ct-form-layout-columns: 2;
}
.ct-form-layout {
  display: grid;
  grid-gap: 5px 10px;
  grid-template-columns: repeat(var(--ct-form-layout-columns), max-content 1fr);
  place-items: baseline stretch;
}
.ct-form-layout > .control-label {
  align-self: flex-start;
  text-align: right;
}
.ct-form-layout > :not(.control-label):not(hr):not(.ct-form-layout-split) {
  grid-column: 2 / -1;
}
.ct-form-layout > :not(.ct-form-layout-relax) {
  width: auto;
}
.ct-form-layout > hr {
  border: none;
  grid-column: 1 / -1;
  height: 10px;
  margin: 0;
  padding: 0;
}
.ct-form-layout > input[size],
.ct-form-layout > .ct-validation-wrapper > input[size] {
  justify-self: start;
}
.ct-form-layout input[type=number] {
  -webkit-appearance: textarea;
}
.ct-form-layout > input,
.ct-form-layout > .ct-validation-wrapper > input,
.ct-form-layout > textarea,
.ct-form-layout > .ct-validation-wrapper > textarea,
.ct-form-layout > select,
.ct-form-layout > .ct-validation-wrapper > select,
.ct-form-layout > .bootstrap-select,
.ct-form-layout > .ct-validation-wrapper > .bootstrap-select,
.ct-form-layout > .dropdown,
.ct-form-layout > .ct-validation-wrapper > .dropdown,
.ct-form-layout > .combobox-container,
.ct-form-layout > .ct-validation-wrapper > .combobox-container,
.ct-form-layout > fieldset,
.ct-form-layout > .ct-validation-wrapper > fieldset,
.ct-form-layout > [role=group],
.ct-form-layout > .ct-validation-wrapper > [role=group],
.ct-form-layout > [data-field],
.ct-form-layout > .ct-validation-wrapper > [data-field],
.ct-form-layout > .form-group,
.ct-form-layout > .ct-validation-wrapper > .form-group,
.ct-form-layout > .btn-group,
.ct-form-layout > .ct-validation-wrapper > .btn-group,
.ct-form-layout > .checkbox-inline,
.ct-form-layout > .ct-validation-wrapper > .checkbox-inline,
.ct-form-layout > .radio-inline,
.ct-form-layout > .ct-validation-wrapper > .radio-inline {
  margin-top: -3px;
  margin-bottom: 3px;
  min-height: 26px;
}
.ct-form-layout > :not(.ct-form-layout-relax) {
  width: auto !important;
}
.ct-form-layout > [role=group],
.ct-form-layout > .ct-validation-wrapper > [role=group] {
  align-content: center;
  align-self: start;
  display: grid;
  grid-gap: 5px;
  justify-content: start;
  grid-template-columns: repeat(2, auto);
}
.ct-form-layout > [role=group].ct-form-layout-vertical > :not(.ct-form-layout-split),
.ct-form-layout > .ct-validation-wrapper > [role=group].ct-form-layout-vertical > :not(.ct-form-layout-split) {
  grid-column: 1 / -1;
}
.ct-form-layout > [role=group]:not(.ct-form-layout-relax) > .dropdown,
.ct-form-layout > .ct-validation-wrapper > [role=group]:not(.ct-form-layout-relax) > .dropdown {
  width: auto !important;
}
.ct-form-layout > [role=group] > .form-control,
.ct-form-layout > .ct-validation-wrapper > [role=group] > .form-control {
  width: auto;
}
.ct-form-layout > [role=group] > .checkbox,
.ct-form-layout > .ct-validation-wrapper > [role=group] > .checkbox,
.ct-form-layout > [role=group] > .radio,
.ct-form-layout > .ct-validation-wrapper > [role=group] > .radio {
  margin: 0;
}
.ct-form-layout .checkbox > label,
.ct-form-layout .radio > label,
.ct-form-layout .checkbox-inline,
.ct-form-layout .radio-inline {
  display: inline-flex;
  padding-left: 0;
  padding-right: 10px;
  align-items: center;
}
.ct-form-layout .checkbox > label > input[type="checkbox"],
.ct-form-layout .radio > label > input[type="checkbox"],
.ct-form-layout .checkbox-inline > input[type="checkbox"],
.ct-form-layout .radio-inline > input[type="checkbox"],
.ct-form-layout .checkbox > label > input[type="radio"],
.ct-form-layout .radio > label > input[type="radio"],
.ct-form-layout .checkbox-inline > input[type="radio"],
.ct-form-layout .radio-inline > input[type="radio"] {
  height: 16px;
  margin: 5px 0;
  margin-right: 0.5rem;
  position: static;
}
.ct-form-layout fieldset > .checkbox:first-child,
.ct-form-layout fieldset > .radio:first-child {
  margin-top: 0;
}
.ct-form-layout fieldset > .checkbox:last-child,
.ct-form-layout fieldset > .radio:last-child {
  margin-bottom: 0;
}
.ct-form-layout .list-group {
  margin-bottom: 5px;
}
.ct-form-layout > .ct-form-layout-split {
  grid-column: auto / auto;
}
.modal .ct-form-layout > .control-label {
  padding-left: 0.5rem;
}
.ct-form-layout-stretch {
  justify-content: stretch !important;
}
.ct-form-layout-relax {
  justify-self: start;
}
.modal-dialog.modal-sm .ct-form-layout > .ct-form-layout-split {
  grid-column: 2 / -1;
}
@media (max-width: 640px) {
  .listing-ct-body,
  .modal {
    --ct-form-layout-columns: 1;
  }
}
@media (max-width: 480px) {
  .listing-ct-body .ct-form-layout,
  .modal .ct-form-layout {
    grid-template-columns: initial;
  }
  .listing-ct-body .ct-form-layout > *,
  .modal .ct-form-layout > * {
    grid-column: auto;
    max-width: 100%;
  }
  .listing-ct-body .ct-form-layout > .control-label,
  .modal .ct-form-layout > .control-label {
    padding: 0;
    text-align: left;
  }
  .listing-ct-body .ct-form-layout > .control-label:not(:first-child),
  .modal .ct-form-layout > .control-label:not(:first-child) {
    margin: 6px 0 0;
  }
  .listing-ct-body .ct-form-layout > hr,
  .modal .ct-form-layout > hr {
    height: 12px;
  }
}

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