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

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

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

@import "../js/shared/branding/colors.less";
@import "main-layout.less";
@import "animations.less";
@import "jquery-ui-overrides.less";
@import "codemirror.less";
@import "angular-scheduler.less";
@import "log-viewer.less";
@import "event-viewer.less";
@import "job-details.less";
@import "jobs.less";
@import "inventory-edit.less";
@import "breadcrumbs.less";
@import "stdout.less";
@import "lists.less";
@import "dashboard.less";
@import "jPushMenu.less";
@import "survey-maker.less";
@import "portal.less";
@import "text-label.less";

/* 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;
}

/* Old style TB default button with grey background */
.btn-grey {
  color: #333;
  background-color: #ccc;
  border-color: #ccc;
}

.btn-grey:hover {
  background-color: #FFF;
}

#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: 0.35;
   filter: alpha(opacity=65);
   -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: @blue-link;
}

.btn-primary:hover {
   background-color: @blue-dark;
}

/* 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;
    }
}

#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 #A6C9E2;
    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 #e5e5e5;
    border-radius: 4px;
    box-shadow: 3px 3px 6px 0 #666;
    padding: 0 10px 15px 8px;
    background-color: @white;
    z-index: 200;
}

#configure-schedules-title {
    border-bottom: 1px solid #e5e5e5;
    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-tower-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: #ffffff;
  background-color: #5cb85c;
}

.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: #eee;
  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;
  }
}

.prepend-asterisk:before {
  content: "\002A\00A0";
  color: @red;
  margin-right: -5px;
}

.prepend-asterisk--login:before {
    margin-right: -2px;
}

.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%;
  }
  h3.popover-title, .popover-content, .popover-content blockquote, .popover-content a {
      font-size: 12px;
  }
  .flyout thead> tr> th, .flyout tbody> tr> td, .flyout tbody> tr> td> a {
      font-size: 12px;
  }
  .popover-title {
      padding-top: 5px;
      padding-bottom: 5px;
  }
  .popover {
      z-index: 2000;
      min-width: 200px;
      max-width: 325px;
  }
  .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;
      }
  }
  .tooltip {
      z-index: 2050;
      opacity: 1.0;
  }

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

hr {
  border-color: #e3e3e3;
}

.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: #696969;
}

.btn-light {
  color: #333;
  background-color: #ddd;
  border-color: #ddd;
}

.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: #333;
  background-color: #ccc;
  border-color: #ccc;
}

.ssh-key-field, .mono-space {
  font-family: Fixed, monospace;
}

/* 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;
}

.login-alert {
  margin-bottom: 25px;
  font-size: 14px;
  font-weight: normal;
  color: @blue-link;
  text-align: center;
}

.controls {
  min-height: 15px;
}

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

.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: @grey;
  text-decoration: none;
}

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

.navbar.site-footer {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
  background-color: @black;
}

.modal-header.login-header {
    text-align: center;
    background-color: @black;
    border-left: 1px solid #686868;
    border-right: 1px solid #686868;
    border-top: 1px solid #686868;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

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

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

.aw-form-well {
    border: 1px solid @grey;
    padding: 9px;
    border-radius: 4px;
}

.form-group {
   margin-bottom: 25px;
}

.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: rgba(255, 88, 80, 0.8);
      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);
  }

/* 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 {
  margin-top: 5px;
  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;
}

.page-number {
  display: inline-block;
  padding: 0;
  margin: 0;
}

.page-number-small {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
}

/* Pagination */
  .page-label {
    font-size: 12px;
    margin-top: 0;
    text-align: right;
  }

  .pagination {
    margin-top: 0;
    margin-bottom: 7px;
  }

  .pagination > li > a {
    padding: 3px 6px;
    font-size: 10px;
  }

  .modal-body {
      .pagination {
          margin-top: 15px;
          margin-bottom: 0;
      }
      .pagination > li > a {
          border: none;
          padding-top: 0;
          padding-bottom: 0;
      }
      .pagination > .active > a {
          background-color: #fff;
          color: #428bca;
          border-color: none;
          border: 1px solid #428bca;
      }
  }

.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_value_input {
    padding-right: 25px;
  }

  .search-reset-start {
    color: @grey;
    float: right;
    position: relative;
    top: -25px;
    left: -10px;
    z-index: 10;
  }

  .search-reset-start:hover {
    cursor: pointer;
    color: @black;
  }

  .ui-widget-content a.search-reset-start {
      color: @grey;
  }

  #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: #f5f5f5;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    box-shadow: 3px 3px 4px 0 #808080;

    .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;
}

.ask-checkbox {
  margin-left: 10px;
}

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

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

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

.checkbox-options {
  font-weight: normal;
  padding-right: 20px;
}

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

  button {
    margin-left: 4px;
  }

  .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: #fff;
}

.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 #ccc;
}

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

/* 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;
}

/* Less padding on .table-condensed */
.table-condensed>tbody>tr>td,
.table-condensed>thead>tr>th {
    padding: 0.5em 0.6em;
}

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


/* 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: #da4f49;
  }

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

  .job-failures-true {
    padding-top: 5px;
    color: #da4f49;
  }

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


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

  .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-skipped:before {
      content: "\f111";
  }

  .icon-job-stopped:before,
  .icon-job-error:before,
  .icon-job-failed:before,
  .icon-job-canceled:before,
  .icon-job-unreachable: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-job-stopped,
  .icon-job-error,
  .icon-job-failed,
  .icon-job-canceled {
      color: @red;
  }

  .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;
  }

  .badge {
    padding: 2px 3px 3px 4px;
    font-size: 10px;
    font-weight: normal;
    line-height: 1;
  }

/* 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: #fff;
  }

  .failures-false {
    background-color: @green;
    color: #fff;
  }

/* 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: #5bb75b;
  }

  .field-success input {
    border-color: #5bb75b;
  }

  .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: #FBFBFB;
          border: 1px solid #E0E0E0;
      }

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

      .free-button {
          background-color: #ff5850;
          border: 1px solid #ff5850;
          color: @white;
      }
      .free-button:hover {
          background-color: #E64F48;
          border: 1px solid #E64F48;
          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 */

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

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

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

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

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

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

  .active-row {
     background-color: @white;
     border-bottom: 1px solid #ddd;
     border-right: 1px solid #ddd;
  }

  .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;
  }

  .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:hover {
  cursor: pointer;
}

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

.list-header .icon-sort {
  color: #ccc;
}

.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 #d8d8d8;
}

.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-header {
  padding: 15px 10px;
  color: #2078be;
  border-bottom: 1px solid #eee;
  -webkit-border-top-right-radius: 3px;
     -moz-border-top-right-radius: 3px;
          border-top-right-radius: 3px;
  -webkit-border-top-left-radius: 3px;
     -moz-border-top-left-radius: 3px;
          border-top-left-radius: 3px;
}

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

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

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

.modal-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  text-rendering: optimizeLegibility;
}

.modal-body {
  padding-top: 30px;
}

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

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

/* 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);
  }
}

/* Activity Stream Widget */

  #stream-container {
    display: none;
    border-radius: 8px;
    z-index: 20;  /* has to be greater than tree selector */

    .nav-path {
      margin-bottom: 15px;
      margin-top: 5px;
    }

    padding-left: 10px;
    padding-right: 10px;
  }

  #stream-content {
    border: 1px solid @grey;
    border-radius: 8px;
    padding: 8px;

    h5 {
        margin-top: 0;
        margin-bottom: 20px;
    }
  }

/* 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;
  }

  .list-actions button, .list-actions .checkbox-inline {
      margin-top: 10px;
  }

  .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;
  }

  .list-actions button, .list-actions .checkbox-inline {
      margin-top: 10px;
  }

  .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;
  }

}
