/*********************************************
 *  Copyright (c) 2015 Ansible, Inc.
 *
 *  ansible-ui.css
 *
 *  custom styles for ansible-ui
 *
 */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url(/static/assets/OpenSans-Regular.ttf);
}

@font-face {
    font-family: 'Open Sans';
    font-style: bold;
    font-weight: 600;
    src: url(/static/assets/OpenSans-Bold.ttf);
}

/* Bootstrap fix that's causing a right margin to appear
   whenver a modal is opened */
body.modal-open {
  margin-right: 0;
}

/* Helper Classes */
.pad-right-sm { padding-right: 10px; }
.pad-left-md { padding-left: 30px; }
.pad-left-sm { padding-left: 10px; }
.pad-left-lg { padding-left: 50px; }
.normal-weight { font-weight: normal; }
.small-text { font-size: 12px; font-weight: normal; }
.no-bullets { list-style: none; }
.nowrap { white-space: nowrap; }
.capitalize { text-transform: capitalize; }
.grey-txt { color: @grey; }
.text-center { text-align: center !important; }
.cursor-pointer { cursor: pointer }

.red-txt,
a.red-txt:visited,
a.red-txt:hover,
a.red-txt:active {
  color: @red;
}

/* Used on inventory groups/hosts lists for long names */
.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

blockquote {
    font-size: 14px;
}

.group-name {
    display: inline-block;
    width: 85%;
}

a {
  color: @blue-link;
  text-decoration: none;
}

a:hover,
a:focus {
  color: @blue-dark;
  text-decoration: none;
}
.btn{
  text-transform: uppercase;
}
/* Old style TB default button with grey background */
.btn-grey {
  color: @default-data-txt;
  background-color: @d7grey;
  border-color: @d7grey;
}

.btn-grey:hover {
  background-color: @default-bg;
}

#cowsay {
  padding-left: 30px;
  max-width: 340px;
  background-color: white;
  border-style: none;
}


#about-modal-titlelogo{
  margin-bottom: 10px;
  width: 160px;
  height: 53px;
}

#copyright-text{
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Make buttons appear to be disabled, but allow mouse events */
.btn-disabled {
   opacity: 1;
   -webkit-box-shadow: none;
   box-shadow: none;
}

.btn-disabled {
   cursor: not-allowed;
}

/* Bring primary (blue) buttons in line with link colors */
.btn-primary {
   background-color: @default-link;
}

.btn-primary:hover {
   background-color: @default-link-hov;
}

/* List Actions column */
.actions {
  a {
    font-size: 18px;
  }
  a:last-child {
    margin-right: 0;
  }
  a:hover {
    cursor: pointer;
  }
  .dropdown .caret {
    border-top-color: @blue-link;
  }
}

// removing all the pesky outlines on buttons/links/etc.
a:focus,
a:active,
button:focus,
button:active,
i:focus,
i:active,
.btn:focus,
.btn:active:focus {
    outline: 0;
}

.jqstooltip{
    background-color: black !important;
    border-radius:4px;
    border: 1px solid black;
}

.smart-status-tooltip{
    font-size: 12px;
    font-family: 'Open Sans';
    background-color: black;
    border-radius:4px;
    span {
      padding: 3px;
    }
}

.IdleModal-remainingSeconds{
    color: @default-err;
}

#configure-schedules-tab {
    position: relative;
    top: 0;
    left: 0;
}

#configure-schedules-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: @black;
    opacity: 0;
  }

#configure-schedules-buttons{
    height: 46px;
    padding-top: 10px;
    text-align: right;
    border-top: 1px solid @default-border;
    margin-top: 5px;
    a {
        margin-right: 8px;
        font-size: 12px;
    }
}

#configure-schedules-form-container {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    border: 1px solid @default-border;
    border-radius: 4px;
    box-shadow: 3px 3px 6px 0 @default-dark;
    padding: 0 10px 15px 8px;
    background-color: @white;
    z-index: 200;
}

#configure-schedules-title {
    border-bottom: 1px solid @default-border;
    padding-bottom: 8px;
    margin-bottom: 10px;
    margin-top: 0;
    h4 {
        display: inline-block;
        margin: 0;
    }
    button {
        display: inline-block;
    }
}

#configure-schedules-list {
    overflow-x: hidden;
    overflow-y: auto;
}

#configure-schedules-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: @black;
    opacity: 0;
}

#configure-dialog, #configure-schedules-form-container {
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 25px;

    form {
        width: 100%;
    }

    .sublabel {
        font-weight: normal;
    }

    #occurrence-label {
        display: inline-block;
    }

    .occurrence-list {
        border: 1px solid @well-border;
        padding: 8px 10px;
        border-radius: 4px;
        background-color: @well;
        list-style: none;
        margin-bottom: 5px;
    }

    #date-choice {
        display: inline-block;
        margin-left: 15px;
        font-size: 12px;

        .label-inline {
            display: inline-block;
            vertical-align: middle;
        }
        input {
            margin-bottom: 2px;
            height: 11px;
            width: 10px;
        }
        .label-inline:first-child {
            padding-bottom: 2px;
            margin-right: 10px;
        }
        .label-inline:nth-child(3) {
            margin-right: 10px;
        }
    }
}
#home_groups_table .actions .cancel { padding-right: 3px; }

.success-badge {
  color: @default-bg;
  background-color: @default-succ;
}

.bold-text .checkbox-inline {
  font-weight: bold;
}

/* Disable textarea re-sizing as a general rule */
textarea {
  resize: none;
}

textarea.allowresize {
  resize: both;
}

/* Working... spinner */
.spinny {
  display: none;
  position: fixed;
  z-index: 2000;
  width: 138px;
  height: 50px;
  text-align:center;
  color: @d7grey;
  background-color: @black;
  border: 1px solid @grey;
  border-radius: 6px;
  padding-top: 10px;

  p {
    padding-top: 0px;
    font-size: 18px;
    text-align: right;
    margin-right: 10px;
  }

  i {
      float: left;
      margin-left: 10px;
  }
}

.subtitle {
  font-size: 16px;
}

.license-version {
  font-size: 18px;
  color: @grey-txt;
}

// #license_eula{
//   white-space: nowrap;
// }

.modal-dialog .ui-accordion .ui-accordion-content {
  overflow: hidden;
}

.overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1080;
  background-color: @black;
  opacity: 0;
}

/* TB tooltip overrides */
  .popover-content {
      width: 100%;
      padding: 0;

      .table>tbody>tr>td {
          padding-left: 0;
          border-top: 1px solid @b7grey;
      }
  }
  h3.popover-title, .popover-content, .popover-content blockquote, .popover-content a {
      font-size: 12px;
  }
  .flyout {
      margin-bottom: 0;
  }
  .flyout thead> tr> th, .flyout tbody> tr> td, .flyout tbody> tr> td> a {
      font-size: 12px;
  }
  .flyout tbody > tr:last-child > td {
      padding-bottom: 0;
  }
  .popover-title {
      padding: 0 0 5px 0;
      background-color: @default-interface-txt;
      color: @default-bg;
      font-weight: 600;
      border-bottom: none;
      text-transform: uppercase;
  }
  .popover {
      z-index: 2000;
      min-width: 200px;
      max-width: 325px;
      background-color: @default-interface-txt;
      color: @default-bg; //white
      text-align: left;
      padding: 10px;
      font-weight: 400;

      code {
          color: @default-data-txt;
          background-color: @default-white-button-bord;
          line-height: 18px;
      }

      a {
          color: @default-warning;
          &:hover {
              color: @default-warning-hov;
          }
      }

      p {
          font-weight: 400;
      }

      p:last-child {
          margin-bottom: 0;
      }
  }
  .popover.right>.arrow:after  {
      border-right-color: @default-interface-txt;
  }
  .popover.left>.arrow:after {
      border-left-color: @default-interface-txt;
  }
  .popover.bottom>.arrow:after {
      border-bottom-color: @default-interface-txt;
  }
  .popover.top>.arrow:after {
      border-top-color: @default-interface-txt;
  }
  .popover pre {
      white-space: pre-wrap;
  }
  .popover-footer {
      font-size: 12px;
      margin-top: 10px;
      text-align: right;
      color: @grey;
      .key {
          color: @white;
          background-color: @grey;
          padding: 0 1px 1px 1px;
          border-radius: 3px;
      }
  }

.alert {
    margin-top: 15px;
    margin-bottom: 15px;
}

hr {
  border-color: @default-border;
}

.help {
  display: inline-block;
}

.help-auto-off {
  margin-top: 15px;
  margin-bottom: 15px;
  margin-left: 10px;
  label {
    font-weight: normal;
  }
}

/* help collapse */
  h4.panel-title {
    font-size: 14px;
  }

  .panel-heading:hover {
    cursor: pointer;
  }

  .panel-default>.panel-heading .collapse-help-icon {
    color: @grey;
  }

  .collapsible-help {
      margin-top: 20px;
      margin-bottom: 20px;
      dl {
         margin-left: 15px;
      }
      dt {
         margin-top: 15px;
      }
  }

/*
th.actions-column,
td.actions {
  white-space: nowrap;
}
*/

.tab-content {
  padding-top: 15px;
}

.btn .caret {
  border-top-color: @default-icon;
}

.btn-light {
  color: @default-data-txt;
  background-color: @d7grey;
  border-color: @d7grey;
}

.refresh-grp {
  display: inline-block;
  text-align: right;
  margin-left: 0;
  margin-top: 0;
  padding: 0;
  line-height: normal;

  .refresh-msg {
    font-size: 10px;
  }
}

.btn-light:hover {
  color: @d7grey;
  background-color: @default-icon;
  border-color: @default-icon;
}

/* Make a div or any element behave like pre. Use in conjunction with .mono-space */
.pre {
  white-space: pre;
}


dd {
  margin-left: 15px;
}

/* Use code-breakable in pop-over text to indent and wrap code segments */

.code-breakable {
  padding-left: 10px;
  word-wrap: break-word;
}

.break {
  word-break: break-all;
}

.controls {
  min-height: 15px;
}

#navbar-container, .main-menu {
  width: 100%;
  background-color: @default-dark;
}

.text-justify {
  text-align: justify;
}

.help-link,
.help-link:active,
.help-link:visited,
.ui-widget-content a.help-link,
.ui-widget-content a.help-link:active,
.ui-widget-content a.help-link:visited {
  color: @default-icon;
  text-decoration: none;
}

.help-link:hover,
.ui-widget-content a.help-link:hover {
  color: @default-interface-txt;
  text-decoration: none;
}

.login-header img {
    width: 60%;
}

.form-title {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    font-weight: bold;
    padding-left: 15px;
    margin-bottom: 10px;
}

.form-cancel {
  float: right;
  margin-right: 10px;
}

.form-title-hr {
  margin-bottom: 20px;
}

.form-horizontal .buttons {
  margin-top: 25px;
}

.label-text {
  padding-right: 10px;
}

.label-hint-text {
   font-weight: normal;
   color: @grey;
}
.label-hint-text:before {
    /* for a line break before hintText */
    content: '\A';
    white-space: pre;
}

#group_form #group_tabs {
  margin-top: 25px;
}

/* Outline required fields in Red when there is an error */
  .form-control.ng-dirty.ng-invalid, .form-control.ng-dirty.ng-invalid:focus {
      border-color: @default-err;
      outline: 0;
      -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(255, 88, 80, 0.6);
              box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(255, 88, 80, 0.6);
  }

  .form-control.ng-dirty.ng-invalid + .select2 .select2-selection,
  .form-control.ng-dirty.ng-invalid + .select2 .select2-selection:focus {
      border-color: @default-err !important;
      outline: 0 !important;
      box-shadow: none !important;
  }

  .form-control.ng-dirty.ng-pristine {
      border-color: @b7grey;
      box-shadow: none;
  }

  .form-control.ng-dirty.ng-pristine:focus {
      border-color: @default-link;
  }
/* For some reason TB 3 RC1 does not provide an input-mini */

.input-mini {
  height: 26px;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 3px;
}

.error {
  font-size: 12px;
  line-height: normal;
  color: @red;
}

.xsmall {
  font-size: 12px;
}

.note {
  padding-top: 15px;
  font-size: 12px;
}

legend {
  font-size: medium;
  font-weight: bold;
}

.navigation {
  margin: 15px 0 15px 0;
}

.footer-navigation {
  margin: 10px 0 10px 0;
}

.lookup-navigation {
  margin: 15px 0 0 0;
  /*padding-top: 20px;*/

}

#lookup-modal-dialog {
    overflow-x: hidden;
    .instructions {
        margin-top: 0;
        margin-bottom: 20px;
    }
}

.related-footer {
  margin: 10px 0 0 0;
}

select.page-size {
   width: 65px;
   height: 24px;
   font-size: 10px;
}

.page-size-label {
  margin-left: 15px;
  font-size: 10.5px;
  font-weight: normal;
}

.accordion-heading {
  font-weight: bold;
  color: @blue-link;
}

.accordion-heading i {
  margin-right: 5px;
}

.status-actions {
  display: inline-block;
  height: 25px;
}

.status-spin {
  display: inline-block;
  margin-left: 15px;
  font-size: 22px;
  vertical-align: middle;
}

/* Search Widget */

  .search-widget label {
    display: inline-block;
    padding-right: 15px;
    vertical-align: middle;
  }

  #search-widget-spacer {
      height: 20px;
  }

/* breadcrumbs */
.nav-path {
    padding: 5px 0 10px 0;
    margin-right: 2px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
    background-color: @default-no-items-bord;
    border: 1px solid @d7grey;
    border-radius: 6px;
    box-shadow: 3px 3px 4px 0 @default-icon;

    .breadcrumb {
      display: inline-block;
      padding-bottom: 0;
      padding-left: 0;
      padding-right: 0;
      margin-bottom: 0;
      margin-left: 10px;
    }

    .dropdown {
        display: inline-block;
        margin-right: 0;
        paddding-right: 0;

        .toggle, .toggle:visited, .toggle:hover, .toggle:active {
          color: @black;
        }

        li a.active {
           color: @grey;
        }

        .crumb-icon {
           font-size: 12px;
        }
    }
}

.actions .dropdown {
    display: inline-block;
}

/* Display drop-down menus on hover. Remove margin between toggle link
   and menu, allowing smooth mouse movement between toggle and menu

   http://stackoverflow.com/questions/8878033/how-to-make-twitter-bootstrap-menu-dropdown-on-hover-rather-than-click
*/

/*  .dropdown-toggle:hover .dropdown-menu, .dropdown:hover .dropdown-menu {
     display: block;
  }

  .dropdown-menu li:hover {
     visibility: visible;
  }

  .dropdown-menu {
     margin-top: 0;
     z-index: 200;
  }
*/
/* end */

.greeting {
  padding-right: 22px;
}

.breadcrumb .active {
  color: @black;
}

.nav-tabs > li > a {
  font-weight: bold;
}

input[type="text"].field-mini-height {
  height: 12px;
  font-size: 10.5px;
}

select.field-mini-height {
  height: 22px;
  font-size: 10.5px;
}

.no-padding {
  padding: 0;
  margin: 0;
}

input[type="checkbox"].checkbox-no-label {
  margin-top: 10px;
}

.radio-group {
  .radio-inline + .radio-inline {
    margin-left: 0;
  }
}

.checkbox-group {
  .radio-inline + .radio-inline,
  .checkbox-inline + .checkbox-inline {
    margin-left: 0;
  }
  .checkbox-inline, .radio-inline {
    margin-right: 10px;
  }

  .checkbox-inline.stack-inline {
      display: block;
  }
}

.checkbox-options {
  font-weight: normal;
}

/* Display list actions next to search widget */
.list-actions {
    text-align: right;
    margin-bottom: -34px;
    height: 34px;

    .fa-lg {
        vertical-align: -8%;
    }
}

.jqui-accordion {
    .list-actions {
        margin: 0;
    }
    /*.list-wrapper {
        background-color: @well;
        padding: 10px;
        border-radius: 4px;
        border: 1px solid @well-border;
    }*/
    .ui-accordion-content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-label {
        margin-top: 5px;
    }
}

#home-list-actions {
  margin-bottom: 15px;
}

/* End Display list actions */


/* Enable table-hover to work when table is in a well */

.table-hover tbody tr:hover > td,
.table-hover tbody tr:hover > th {
  background-color: @default-bg;
}

.table-hover-inverse tbody tr:hover > td,
.table-hover-inverse tbody tr:hover > th {
  background-color: @active-color;
}

.table > thead > tr > td.success,
.table > tbody > tr > td.success,
.table > tfoot > tr > td.success,
.table > thead > tr > th.success,
.table > tbody > tr > th.success,
.table > tfoot > tr > th.success,
.table > thead > tr.success > td,
.table > tbody > tr.success > td,
.table > tfoot > tr.success > td,
.table > thead > tr.success > th,
.table > tbody > tr.success > th,
.table > tfoot > tr.success > th {
  background-color: @active-color;
}
.table-hover > tbody > tr > td.success:hover,
.table-hover > tbody > tr > th.success:hover,
.table-hover > tbody > tr.success:hover > td,
.table-hover > tbody > tr.success:hover > th {
  background-color: @active-color;
}

.table-summary thead > tr > th,
.table-summary tbody > tr > th,
.table-summary tfoot > tr > th,
.table-summary thead > tr > td,
.table-summary tbody > tr > td,
.table-summary tfoot > tr > td {
  border-top: 1px solid @d7grey;
}

.table-summary thead > tr > th {
  border-bottom: 1px solid @d7grey;
}

/* Table without row borders */

.table-no-border thead > tr > th,
.table-no-border tbody > tr > th,
.table-no-border tfoot > tr > th,
.table-no-border thead > tr > td,
.table-no-border tbody > tr > td,
.table-no-border tfoot > tr > td {
  border-top: none;
}

.table > tbody > tr > td{
  padding: 0.5em 0.6em;
  &.actions{
    padding: 0px;
    > a {
      padding: 0.5em 0.6em;
      display: inline-block;
    }
  }
}

/* Less padding on .table-condensed */
.table-condensed>tbody>tr>td:not(:last-child),
.table-condensed>thead>tr>th:not(:last-child) {
    padding: 0.5em 20px 0.5em 0px;
}

.table-condensed>tbody>tr>td:last-child,
.table-condensed>thead>tr>th:last-child {
    padding: 0.5em 0px;
}

.table.table-condensed.flyout {
    thead>tr>th {
        padding-left: 0;
        border: none;
    }
}

/* Table info rows */

.loading-info {
    color: @grey-txt;
    font-weight: normal;
    padding: 15px 0;
}

/* Status Icons */

  .license-expired,
  .license-invalid,
  .icon-failures-true,
  .active-failures-true a,
  .active-failures-true a:active,
  .job-failed,
  .job-error {
    color: @default-err;
  }

  .icon-failures-true a:hover {
    color: @red;
  }

  .job-failures-true {
    padding-top: 5px;
    color: @default-err;
  }

  .job-event-status,
  .license-status {
    padding-top: 5px;
  }


  .job-new,
  .license-valid,
  .job-success,
  .job-successful {
      color: @green;
  }

  .icon-host-all:before,
  .icon-host-failed:before,
  .icon-job-active:before,
  .icon-job-running:before,
  .icon-job-success:before,
  .icon-job-successful:before,
  .icon-job-changed:before,
  .icon-job-ok:before,
  .icon-job-OK:before,
  .icon-job-failed:before,
  .icon-job-skipped:before {
      content: "\f111";
  }

  .icon-job-stopped:before,
  .icon-job-error:before,
  .icon-job-canceled:before,
  .icon-job-stdout-download-tooltip:before,
  .icon-job-unreachable:before,
  .icon-job-failed:before {
      content: "\f06a";
  }

  .icon-job-pending:before,
  .icon-job-waiting:before,
  .icon-job-new:before,
  .icon-job-none:before,
  .icon-job-no-matching-hosts:before {
      content: "\f10c";
  }

  .icon-job-active,
  .icon-job-running,
  .icon-job-success,
  .icon-job-successful,
  .icon-job-ok,
  .icon-job-OK {
      color: @green;
  }

  .icon-job-skipped {
      color: @skipped;
  }

  .icon-job-running {
    .pulsate();
  }

  .icon-job-changed,
  .job-changed {
      color: @changed;
  }

  .icon-host-failed,
  .icon-job-stopped,
  .icon-job-error,
  .icon-job-failed,
  .icon-job-stdout-download-tooltip,
  .icon-job-canceled {
      color: @red;
  }

  .icon-host-all {
      color: @at-blue;
  }

  .icon-job-unreachable {
      color: @unreachable;
  }

  .icon-job-none,
  .icon-job-pending,
  .icon-job-waiting,
  .icon-job-new,
  .icon-job-no-matching-hosts {
      color: @grey;
      opacity: 0.45;
  }

  .icon-schedule-enabled-true:before {
      content: "\f04d";
  }

  .icon-schedule-enabled-false:before {
      content: "\f04b";
  }

  .icon-socket-ok:before {
      content: "\f111";
      color: @green;
  }
  .icon-socket-error:before {
      content: "\f111";
      color: @red;
  }
  .icon-socket-connecting:before {
      content: "\f042";
      color: @warning;
  }

/* job_events page */

  #jobevents_table {
      div.return-code {
          display: inline-block;
          margin-left: 10px;
      }
      textarea {
          white-space: pre-wrap;
          resize: vertical;
      }
  }

  #password-modal .alert-info {
      margin-top: 0;
      margin-bottom: 25px;
  }

/* Inventory job status badge */
  .failures-true {
    background-color: @red;
    color: @default-bg;
  }

  .failures-false {
    background-color: @green;
    color: @default-bg;
  }

/* Cloud inventory status. i.e. inventory_source.status values */

  .icon-cloud-na:before,
  .icon-cloud-never:before,
  .icon-cloud-updating:before,
  .icon-cloud-running:before,
  .icon-cloud-successful:before,
  .icon-cloud-pending:before,
  .icon-cloud-failed:before,
  .icon-cloud-canceled:before,
  .icon-cloud-error:before {
    content: "\f0c2";
  }

  /*.icon-cloud-failed:before,
  .icon-cloud-error:before {
    content: "\f06a";
  }*/

  .icon-cloud-na,
  .icon-cloud-never,
  a.icon-cloud-na:hover,
  a.icon-cloud-never:hover {
    color: @grey;
  }

  .icon-cloud-updating,
  .icon-cloud-running,
  .icon-cloud-successful,
  .icon-cloud-pending,
  a.icon-cloud-updating:hover,
  a.icon-cloud-successful:hover {
    color: @green;
  }

  .icon-cloud-failed,
  .icon-cloud-error,
  .icon-cloud-canceled,
  a.icon-cloud-failed:hover {
    color: @red;
  }

  .icon-cloud-updating,
  .icon-cloud-running,
  .icon-cloud-pending {
    .pulsate();
  }

  .icon-enabled-true:before {
    content: "\f046";
  }

  .icon-enabled-true {
    color: @green;
    width: 14px;

  }
  .icon-enabled-false:before {
    content: "\f096";
  }

  .icon-enabled-false{
    color: @red;
    width: 14px;
  }

/* Inventory cloud sourced? indicator */
  .icon-cloud-true:before {
    content: "\f111";
  }

  .icon-cloud-false:before {
    content: "\f111";
  }

  .error-color {
      color:@red;
  }

  .connecting-color {
      color: @warning;
  }

  .ok-color,
  .icon-cloud-true {
      color: @green;
  }

  .icon-cloud-false {
    color: @grey;
  }
/* end */

  .field-success {
    color: @default-succ;
  }

  .field-success input {
    border-color: @default-succ;
  }

  .field-failure {
    color: @red;
  }

  .field-failure input {
    border-color: @red;
  }

  .field-badge {
    font-size: 12px;
    margin-right: 3px;
  }

  .license-warning,
  .license-demo {
    color: @warning;
  }

  .job-detail-status {
    display: inline-block;
    margin-top: 5px;
    font-size: 15px;
  }

  /*.form-items .search-widget {
    margin-top: 15px;
  }*/

  .form-items .item-count {
    display: inline-block;
    margin-top: 25px;
    font-size: small;
  }

  .child-event a {
    color: @black;
    cursor: default;
  }
  /* Padding levels used on job events and inventory groups */
  .level { display: inline-block; }
  .level-1 { padding-left: 15px; }
  .level-2 { padding-left: 30px; }
  .level-3 { padding-left: 45px; }
  .level-4 { padding-left: 60px; }
  .level-5 { padding-left: 75px; }
  .level-6 { padding-left: 90px; }
  .level-7 { padding-left: 105px; }
  .level-8 { padding-left: 120px; }
  .level-9 { padding-left: 135px; }
  .level-10 { padding-left: 150px; }

  .level-3-detail {
    padding-left: 80px;
  }

  #job_events .control-group {
    margin-top: 0;
    margin-bottom: 10px;
  }

/* End Jobs Page */


/* license modal */
  #license-modal-dialog {
      overflow-x: hidden;

      input[readonly],
      textarea[readonly] {
          background-color: @default-border;
          border: 1px solid @default-icon;
      }

      .fa-external-link {
          color: @grey;
          font-size: 10px;
      }

      .free-button {
          background-color: @default-err;
          border: 1px solid @default-err;
          color: @white;
      }
      .free-button:hover {
          background-color: @default-err-hov;
          border: 1px solid @default-err-hov;
          color: @white;
      }
  }

/* Inventory nav links */
  .navigation-links {

    padding: 0;
    margin-top: -10px;

    a {
      margin-right: 15px;
    }

    a:last-child {
      margin-right: 20px;
    }
  }

/* Dashboard */
  #home #container1.col-lg-6,
  #home #container3.col-lg-6 {
      padding-right: 7px;
  }

  #home #container2.col-lg-6,
  #home #container4.col-lg-6 {
      padding-left: 7px;
  }


/* Inventory Edit */

  #hosts-container.col-lg-6 {
      padding-left: 7px;
      padding-right: 17px;
  }

  #groups-container .well,
  #hosts-container .well {
      padding: 8px;
      margin-bottom: 0;
  }

  #home_groups_table i[class*="icon-job-"] {
      margin-left: 5px;
  }

  .selected {
    font-weight: bold;
    color: @blue-dark;
  }

  .inventory-title {
    font-size: 16px;
    font-weight: bold;
  }

  .active-row {
     background-color: @white;
     border-bottom: 1px solid @default-tertiary-bg;
     border-right: 1px solid @default-tertiary-bg;
  }

  .node-toggle, .node-no-toggle {
    /* also used on job evetns */
    float: none;
    padding-top: 3px;
    padding-left: 0;
    margin-right: 5px;
    margin-left: 0;
  }

  .node-no-toggle {
    opacity: .30;
  }

  .draggable-clone {
      opacity: .60;
      font-weight: bold;
      /*z-index: 2000;
      overflow: visible;
      whitespace: wrap;
      text-overflow: clip;*/
  }

  .droppable-hover {
      background-color: @info;
      color: @info-color;
      padding: 6px;
      border: 1px solid @info-border;
      border-radius: 4px;
      /*overflow: visible;
      whitespace: wrap;
      text-overflow: clip;*/
  }

  #group-delete-dialog .help-container,
  #password-modal .help-container {
      .help-link,
      .help-link:active,
      .help-link:visited {
          color: @blue-link;
      }

      .help-link:hover {
          color: @blue-dark;
      }
  }


 .btn-danger {
     background-color: @red;
     border-color: @red-focus;
 }

 .btn-danger:hover,
 .btn-danger:focus,
 .btn-danger:active {
     border-color: @red-focus;
     background-color: @red-focus;
 }

// ad hoc permission checkbox
.squeeze.form-group {
  margin-bottom: 10px;
}

.disabled {
  color: @grey;
}

a.disabled:hover {
  color: @grey;
  cursor: not-allowed;
}
a.btn-disabled:hover {
  cursor: not-allowed;
}

/* Variable Editing */
  .parse-selection {
      display: inline-block;
      margin: 5px 0 8px 0;
      font-size: 12px;
      line-height: normal;
  }

  .parse-selection input {
      margin-left: 5px;
  }

  .parse-select .parse-label {
      margin-left: 3px;
      color: @field-input-text;
  }

  .parse-label {
      color: @field-input-text;
      font-weight: normal;
  }

  .external-editor-link {
      display: inline-block;
      margin-left: 20px;
  }

.slider {
  display: inline-block;
  width: 100px;
  margin: 0 10px;
  vertical-align: middle;
}

/* Sort link styles */

.list-header-noSort:hover.list-header:hover{
  cursor: default;
}

.list-header:hover {
  cursor: pointer;
}

.list-header i {
  margin-left: 10px;
}

.list-header .icon-sort {
  color: @default-icon;
}

.list-header .icon-sort-down,
.list-header .icon-sort-up {
  color: @black;
}

/* job_events syles */

#jobevents_table .actions i {
  padding-top: 0;
  margin-right: 0;
}

tr td button i {
  padding-top: 0;
  margin-right: 0;
}

.event-form {
  margin-top: 10px;
  margin-bottom: 5px;

  label {
    font-weight: normal;
  }
}

.event-detail-host {
  padding-top: 10px;
  padding-bottom: 5px;
}

.form-section-title {
  width: 100%;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
  border-bottom: 1px solid @default-border;
}

.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.modal-body .ui-accordion .ui-accordion-content {
  padding: 10px;
}

/* overrides to TB modal */
.modal-content {
    padding: 20px;
}

.modal-header {
    color: @default-interface-txt;
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    border: none;
    padding: 0;
}

.modal {
  border: 1px solid @black;
}

.modal .SmartSearch-bar {
    width: 100%;
}

#alert-modal, #alert-modal2 {
  z-index: 2100;
}

.close {
  color: @grey;
  opacity: .7;
  filter: alpha(opacity=70);
}

.modal-header h3 {
  margin: 0;
  text-rendering: optimizeLegibility;
  font-size: 15px;
    color: @default-interface-txt;
    font-weight: bold;
    line-height: normal;
    font-family: 'Open Sans', helvetica;
    text-transform: uppercase;
}

.modal-body {
    min-height: 120px;
    padding: 20px 0;

    .alert {
        padding: 10px;
        margin: 0;
        word-wrap: break-word;
    }
    .alert-danger {
        background-color: @default-bg;
        border: none;
        color: @default-interface-txt;
      }
}

#prompt-modal .modal-body {
  padding-bottom: 30px;
}

.skinny-modal .modal-body {
  padding: 5px 10px 0 10px;
}

.modal-footer {
    padding: 0;
    border: none;
    margin-top: 0;
    display: flex;
    justify-content: flex-end;

    .btn.btn-primary {
      text-transform: uppercase;
      background-color: @default-succ;
      border-color: @default-succ;
      padding: 5px 15px;
      cursor: pointer;

      &:hover {
        background-color: @default-succ-hov;
        border-color: @default-succ-hov;
      }

      &:disabled {
        background-color: @default-succ-disabled;
        border-color: @default-succ-disabled;
      }
    }

    .btn + .btn {
        margin: 0;
    }
}

/* form navigation */
.navigation-buttons {
  height: 40px;
}


/* PW progress bar */
.pw-progress {  margin-top: 10px;

  li {
    line-height: normal;
    margin-bottom: 10px;
  }
  ul:last-child {
    margin-top: 10px;
  }

}

/* Home page */

.failed-column {
  a:link, a:visited {
    color: @red;
  }
  a:hover {
    color: @red-hover;
  }
}

/* Help modal dialog */

#help-modal-dialog {
  overflow: hidden;
  padding: 10px;

  img {
      margin-top: 15px;
      margin-bottom: 15px;
      border: 1px solid @grey;
      box-shadow: 3px 3px 5px 0 @grey;
  }

  .img-container,
  .icon-container {
      width: 100%;
      text-align: center;
  }

  .icon-container {
      margin-top: 15px;
      margin-bottom: 15px;
  }

  .help-box {
      width: 100%;
      margin-top: 15px;
      border-radius: 6px;
      color: @grey-txt;
      font-size: 14px;
  }

  .fa-rss {
      transform:rotate(-45deg);
  }
}

/* job stdout */

  #pre-container {
      overflow: auto;
      width: 100%;
      border-radius: 4px;
      margin: 0;
  }


/* ng-cloak directive */

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}


/* Socket testing page */
#sockets {
    .section-title {
        font-weight: bold;
        color: @blue-link;
        margin-top: 30px;
    }
    #test-container .section-title {
        margin-top: 20px;
    }
    .well {
        padding: 9px;
    }
    .message-section {
        height: 150px;
        overflow: auto;
    }
    .events-section {
        margin-top: 40px;
        .section-title {
            margin-top: 0;
        }
    }
    #event-message-container {
        height: 200px;
    }
}

/* Large desktop */

@media (min-width: 1200px) {

  .delete-btn {
    /* Used on job and project page to make cancel and delete buttons have an equal width */
    width: 60px;
  }

  .label-text {
    text-align: right;
  }

}

@media (min-width: 768px) and (max-width: 1199px) {

  .level-1,
  .level-2,
  .level-3,
  .level-4,
  .level-5,
  .level-6,
  .level-7,
  .level-8,
  .level-9,
  .level-10,
  .level-3-detail {
      padding-left: 0;
  }

  .label-text {
      text-align: left;
  }

  .group-name {
      width: 80%;
  }

  #groups-container.col-lg-6 {
      padding-right: 15px;
  }

  #hosts-container.col-lg-6 {
      margin-top: 15px;
      padding-left: 15px;
      padding-right: 15px;
      .well {
          margin-bottom: 0;
      }
  }

}

/* Landscape phone to portrait tablet */

@media (max-width: 767px) {

  /* Job events */

  .level-1,
  .level-2,
  .level-3,
  .level-4,
  .level-5,
  .level-6,
  .level-7,
  .level-8,
  .level-9,
  .level-10,
  .level-3-detail {
      padding-left: 0;
  }

  table {
      word-wrap: break-word;
      table-layout: fixed;
  }

  th.actions-column,
  td.actions {
      white-space: normal;
  }

  td.actions .btn {
      width: 75px;
      margin-bottom: 5px;
  }

  .group-name {
      width: 80%;
  }

  .label-text {
      text-align: left;
  }

  .list-action-label {
      display: none;
  }

  #groups-container.col-lg-6 {
      padding-right: 15px;
  }

  #hosts-container.col-lg-6 {
      margin-top: 15px;
      padding-left: 15px;
      padding-right: 15px;
  }
}

// lists.less uses 600px as the breakpoint, doing same for consistency
@media (max-width: 600px) {
  .list-actions {
      text-align: left;
      margin-bottom: 20px;
  }
}

.nvtooltip {
    border-radius: 4px;

    td.value {
        padding-right: 0px;
    }

    p {
        padding: 3px 0px;
    }

    & > table > thead > tr > td {
        font-weight: 700;

        &:first-child {
            padding-top: 0;
        }
    }

    & > table > tbody > tr:last-child > td {
        padding-bottom: 0;
    }
}

.nvd3 g.nv-groups path.nv-line {
  stroke-width: 3px;
}

.stdout-panel-body {
    background-color: @default-list-header-bg;
}

.job-stdout-panel {
    margin: 0 15px;
}

.panel-title {
    font-weight: bold;
}

.show_input_button {
    width: 73px;
}

.red-text {
    color: @red;
}

.factDetailsNote {
    margin-bottom: 10px;
}

.inputSpacer {
    margin-bottom: 25px;
}

.cleanupStretcher {
    margin: 0 -15px;
}

.factDaysToKeepCompacter {
    margin-bottom: 15px;
}

.factDetailsHeader {
    font-weight: bold;
}

@media (max-width: 991px) {
    .inputCompactMobile {
        margin-bottom: 15px;
    }
}

#login-modal-body {
    padding-bottom: 5px;
}

.modal {
    transition: all 0.3s ease-out !important;
}

.modal.fade .modal-dialog {
  transform: translate(0, 0);
  margin: 100px auto;
}

.modal-backdrop, .modal-backdrop.fade.in {
    opacity: .25;
}

.form-control {
    border-color: @b7grey;
    background-color: @fcgrey;
    color: @default-data-txt;
    transition: border-color 0.3s;
    box-shadow: none;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
}

.form-control + .select2 .select2-selection {
    border-color: @b7grey !important;
    background-color: @fcgrey !important;
    color: @default-data-txt !important;
    transition: border-color 0.3s !important;
    box-shadow: none !important;
}

.select2-container {
    margin-left: 2px;
    margin-top: 2px;
}

.form-control + .select2-container--disabled .select2-selection {
  background-color: @ebgrey !important;
}

.form-control:active, .form-control:focus {
    box-shadow: none;
    border-color: @default-link;
}

.form-control:active + .select2 .select2-selection, .form-control:focus + .select2 .select2-selection {
    box-shadow: none !important;
    border-color: @default-link !important;
}

.form-control.ng-dirty.ng-invalid, .form-control.ng-dirty.ng-invalid:focus {
    box-shadow: none;
}

.form-control.ng-dirty.ng-invalid + .select2 .select2-selection, .form-control.ng-dirty.ng-invalid:focus + .select2 .select2-selection {
    box-shadow: none !important;
}

.error {
    opacity: 1;
    transition: opacity 0.2s;
}

.error.ng-hide-add {
    display: none;
}

.error.ng-hide {
    opacity: 0;
}

/* Overwrite select2 base styles for single/multiple selects so that match up with other form elements.  Also overwrite disabled styles. */
.select2-container--disabled,.select2-container--disabled  .select2-selection--single,.select2-container--disabled .select2-selection--multiple {
    cursor: not-allowed;
    opacity: 100;
    background-color: @ebgrey;
    border-radius: 5px;
}

.select2-container--default .select2-selection--single {
    background-color: @fcgrey;
    border: 1px solid @d7grey;
    border-radius: 4px;
}

.select2-container--default .select2-selection--multiple {
    background-color: @field-secondary-bg;
    border-radius: 4px;
    border: 1px solid @d7grey;
    cursor: text;
    max-height: 135px;
    overflow-y: auto;
}

body.is-modalOpen {
    overflow: hidden;
}

input[type=file]:focus, input[type=radio]:focus, input[type=checkbox]:focus {
    outline: 0 !important;
}

.btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active {
    background-color: @d7grey;
    color: @default-bg;
    border: 0;
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
    border-color: @default-succ;
}

a {
    color: @default-link;
}

a:hover {
    color: @default-link-hov;
}

.form-control:active, .form-control:focus {
    border-color: @default-link;
}

.nv-axislabel {
  font-weight: bold !important;
  fill: @db-graph-axis-label !important;
  font-family: 'Open Sans' !important;
}

.nv-axis text {
   fill: @db-graph-axis-label !important;
   font-family: 'Open Sans' !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding-left: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-top-width: 0px;
    padding-right: 10px;
    border-right-width: 0px;
    background-color: @default-link;
    color: @default-bg;
    border-radius: 5px;
    line-height: 21px;
    font-size: 13px;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    white-space: normal;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-right: 8px !important;
    padding: 0 6px;
    color: @default-bg !important;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    background-color: @default-link;
}

.select2-selection {
    & > .select2-selection__arrow {
        border-left: none;
    }
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: @default-err;
}

.dropdown-menu>li>a {
    padding: 3px 10px;
}

#scheduled-jobs-tab .List-header {
    display: none;
}

.ui-widget {
    font-family: 'Open Sans';
}

.WorkflowBadge{
    background-color: @b7grey;
    border-radius: 10px;
    color: @default-bg;
    display: inline-block;
    font-family: 'Open Sans';
    font-weight: bold;
    font-style: normal;
    font-size: x-small;
    height: 14px;
    margin-left: 5px;
    padding-left: 2px;
    width: 14px;
}

button[disabled],
html input[disabled] {
    cursor: not-allowed;
}

.CodeMirror {
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}

.CodeMirror--disabled .CodeMirror.cm-s-default,
.CodeMirror--disabled .CodeMirror-line {
    background-color: @default-no-items-bord;
}

.CodeMirror--disabled .CodeMirror-gutter.CodeMirror-lint-markers,
.CodeMirror--disabled .CodeMirror-gutter.CodeMirror-linenumbers {
    background-color: @default-list-header-bg;
    color: @b7grey;
}

.CodeMirror--disabled .CodeMirror-lines {
    cursor: default;
}

.CodeMirror--disabled .CodeMirror-cursors {
    display: none;
}

.btn-default.disabled,.btn-default[disabled],fieldset[disabled] .btn-default,.btn-default.disabled:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn-default:hover,.btn-default.disabled:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn-default:focus,.btn-default.disabled:active,.btn-default[disabled]:active,fieldset[disabled] .btn-default:active,.btn-default.disabled.active,.btn-default[disabled].active,fieldset[disabled] .btn-default.active {
    border-color: @field-border;
}

.btn-default {
  background: @default-bg;
  border-color: @b7grey;
  color: @default-interface-txt;
}

.select2-container--disabled .select2-selection,
.select2-container--disabled .select2-arrow {
    background-color: @ebgrey;
}

.btn.disabled,.btn[disabled],fieldset[disabled] .bt {
    opacity: 0.65;
}

.ui-state-disabled,.ui-widget-content .ui-state-disabled,.ui-widget-header .ui-state-disabled {
    opacity: 1;
    background-color: @ebgrey;
}

input[disabled].ui-spinner-input {
  background-color: @ebgrey;
}

.CodeMirror-scroll {
    margin-bottom: 0;
    padding-bottom: 0;
    margin-right: 0;
    overflow: auto !important;
    overflow-y: auto !important;
    border-radius: 5px;
}

.CodeMirror-lines {
    margin-bottom: 20px;
}

.btn-default {
    border-color: @b7grey;
}

.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open .dropdown-toggle.btn-default {
    background-color: @f2grey;
    border-color: @b7grey;
    color: @default-interface-txt;
}

.ui-dialog .ui-dialog-content {
    background: @default-bg;
}

html { height: 100%; }

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: @default-data-txt;
    background-color: @default-secondary-bg;
}

.container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}

#content-container {
    padding-bottom: 0px;
}

.Panel {
    background-color: @panel-bg;
    border-radius: 5px;
    padding: 20px;
    border: 1px solid @panel-border;
    margin-top: 20px;
}

.Panel--noBottomPadding {
    padding-bottom: 0px;
}

.Panel-hidden {
    display: none;
}

.btn {
    text-transform: uppercase;
}

.ui-spinner-input {
    margin-top: .3em;
    margin-bottom: .3em;
}
