/*
 * Component: Shame styles
 * -----------------------
 */

.desktop.content, datatable-container {
  padding: 0;
  min-height: 0.01%; // Workaround for IE9 bug (see https://github.com/twbs/bootstrap/issues/14837)

  table.data, .table-skin {
    width: 100%;
    max-width: 100%;
    margin-bottom: @line-height-computed;
    font-size: 13px !important;
    // Cells
    > thead,
    > tbody,
    > tfoot {
      > tr {
        > th,
        > td {
          padding: @table-cell-padding;
          line-height: @line-height-base;
          vertical-align: top;
          border-top: 1px solid @table-border-color;
        }
      }
    }
    // Bottom align for column headings
    > thead > tr > th {
      font-weight: 600 !important;
      vertical-align: bottom;
      background-color: @light-blue;
      color: #ffffff;
      a {
        color: #ffffff;
        &:hover {
          border-bottom: 1px solid #ffffff;
        }
      }
    }
    // Remove top border from thead by default
    > caption + thead,
    > colgroup + thead,
    > thead:first-child {
      > tr:first-child {
        > th,
        > td {
          border-top: 0;
        }
      }
    }
    // Account for multiple tbody instances
    > tbody + tbody {
      border-top: 2px solid @table-border-color;
    }

    b, strong {
      font-weight: 600 !important;
    }

    // Nesting
    .table {
      background-color: @body-bg;
    }
  }

  table.table-skin {
    border-bottom: none !important;
    tbody > tr {
      background-color: transparent !important;
      > td {
        background-color: transparent !important;
      }
    }
  }

  @media screen and (max-width: @screen-xs-max) {
    width: 100%;
    margin-bottom: (@line-height-computed * 0.75);
    overflow-y: hidden;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    border: 1px solid @table-border-color;

    // Tighten up spacing
    table.data,
    > .table {
      margin-bottom: 0;

      // Ensure the content doesn't wrap
      > thead,
      > tbody,
      > tfoot {
        > tr {
          > th,
          > td {
            white-space: nowrap;
          }
        }
      }
    }

    table.tablesaw {
      // Ensure the content doesn't wrap
      > thead,
      > tbody,
      > tfoot {
        > tr {
          > th,
          > td {
            white-space: normal;
          }
        }
      }
      thead {
        th {
          overflow: hidden !important;
          text-overflow: ellipsis;
          white-space: normal !important;
        }
      }
    }

    // Special overrides for the bordered tables
    > .table-bordered {
      border: 0;

      // Nuke the appropriate borders so that the parent can handle them
      > thead,
      > tbody,
      > tfoot {
        > tr {
          > th:first-child,
          > td:first-child {
            border-left: 0;
          }
          > th:last-child,
          > td:last-child {
            border-right: 0;
          }
        }
      }

      // Only nuke the last row's bottom-border in `tbody` and `tfoot` since
      // chances are there will be only one `tr` in a `thead` and that would
      // remove the border altogether.
      > tbody,
      > tfoot {
        > tr:last-child {
          > th,
          > td {
            border-bottom: 0;
          }
        }
      }
    }
  }

  .tablesaw-cell-persist {
    border-right: 0px;
  }

}

.tq_info_show,
.workspace_unique {
  padding: 0 15px 15px;
  float: left;
  width: 100%;
}

.documents {
  padding: 10px;

  > span {
    padding: 5px;
    color: #7e7e7e;

    + span:before {
      content: '|';
      padding: 5px;
      color: #dddddd;
    }
  }
}

.tq_form_table,
.tq_info_table {
  width: 100%;
  max-width: 100%;
  margin-bottom: @line-height-computed;
  // Cells
  > thead,
  > tbody,
  > tfoot {
    > tr {
      > th,
      > td {
        padding: @table-cell-padding;
        line-height: @line-height-base;
        vertical-align: top;
        //border-top: 1px solid @table-border-color;
      }
    }
  }
  // Bottom align for column headings
  > thead > tr > th {
    vertical-align: bottom;
    border-bottom: 2px solid @table-border-color;
  }
  // Remove top border from thead by default
  > caption + thead,
  > colgroup + thead,
  > thead:first-child {
    > tr:first-child {
      > th,
      > td {
        border-top: 0;
      }
    }
  }
  // Account for multiple tbody instances
  > tbody + tbody {
    //border-top: 2px solid @table-border-color;
  }

  // Nesting
  .table {
    background-color: @body-bg;
  }

  caption {
    //display: block;
    width: 100%;
    padding: 0;
    margin-bottom: @line-height-computed;
    font-size: (@font-size-base * 1.5);
    line-height: inherit;
    color: @legend-color;
    border: 0;
    border-bottom: 1px solid @legend-border-color;
  }
}

.alert-msg-empty {
  padding-top: 50px;

  .alert-msg-cloud {
    font-size: 1.2em;
    color: darken(@gray, 30%);
    p {
      width: 250px;
      height: 100px;
      background-color: lighten(@gray, 10%);
      border-radius: 50%;
      padding: 30px;
      text-align: center;
      position: relative;
      left: 50%;
    }
  }

  .alert-msg-character img {
    margin: 0 auto;
    width: 150px;
  }

  .alert-msg-footer {
    text-align: center;
    font-size: 2em;
    color: darken(@gray, 25%);

    &:before {
      content: '';
      display: block;
      border: 0;
      height: 2px;
      background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(137, 31, 90, .75), rgba(0, 0, 0, 0));
      width: 80%;
      margin: 0 auto;
    }

    p {
      margin: 10px 0 0;
    }
  }
}

.icon-tasks-amount {
  display: none;
}

.tq_info_show_left,
.fieldset_wrap_group {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  float: left;
}

.fieldset_wrap_right,
.fieldset_wrap_left {
  margin-top: 15px;
  float: left;
  width: 100%
}

.fieldset_wrap_uniq {
  margin-top: 15px;
  padding-right: 15px;
  padding-left: 15px;
  float: left;
  width: 100%
}

.tq_info_show_left {
  table.hide {
    display: table !important;
    tbody {
      display: table-row-group !important;
    }
  }
}

.footer_link {
  display: inline-block;
}

div.mce-fullscreen {
  z-index: 1500;
}

@media (min-width: @screen-sm-min) {
  .fieldset_wrap_group {
    width: 50%;
  }

  .tq_info_show_left {
    width: 100%;
  }
}

#tq_form {
  label {
    font-weight: 600;

    &.required:after {
      content: " *";
      font-weight: bold;
      color: @red;
    }
  }

  // FIX for Horizontal forms

  // Consistent vertical alignment of radios and checkboxes
  //
  // Labels also get some reset styles, but that is scoped to a media query below.
  .radio,
  .checkbox,
  .radio-inline,
  .checkbox-inline {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: (@padding-base-vertical + 1); // Default padding plus a border
  }
  // Account for padding we're adding to ensure the alignment and of help text
  // and other content below items
  .radio,
  .checkbox {
    min-height: (@line-height-computed + (@padding-base-vertical + 1));
  }

  // Make form groups behave like rows
  .form-group {
    .make-row();
    .clearfix();
  }

  // Reset spacing and right align labels, but scope to media queries so that
  // labels on narrow viewports stack the same as a default form example.
  @media (min-width: @screen-sm-min) {
    .control-label {
      text-align: right;
      margin-bottom: 0;
      padding-top: (@padding-base-vertical + 1); // Default padding plus a border
    }
  }

  // Validation states
  //
  // Reposition the icon because it's now within a grid column and columns have
  // `position: relative;` on them. Also accounts for the grid gutter padding.
  .has-feedback .form-control-feedback {
    right: floor((@grid-gutter-width / 2));
  }

  // Form group sizes
  //
  // Quick utility class for applying `.input-lg` and `.input-sm` styles to the
  // inputs and labels within a `.form-group`.
  .form-group-lg {
    @media (min-width: @screen-sm-min) {
      .control-label {
        padding-top: (@padding-large-vertical + 1);
        font-size: @font-size-large;
      }
    }
  }
  .form-group-sm {
    @media (min-width: @screen-sm-min) {
      .control-label {
        padding-top: (@padding-small-vertical + 1);
        font-size: @font-size-small;
      }
    }
  }
}

.team_tasks_mode {
  label {
    display: inline;
  }
}

ul.radio_list,
ul.error_list {
  margin: 0;
  padding: 10px;
}

ul.radio_list {
  list-style: none;
  display: inline;
  li {
    width: auto;
    margin: .2em .5em;
    label {
      font-weight: 600;
    }
  }
}

.record_card_datasheet {
  margin: 0;
  padding-bottom: 10px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  border-top-width: 0;
}

.rcd_title {
  padding: 2px 6px;
  background: #ffffff;
  border-top: 4px solid #cccccc;

  h4 {
    color: #444444;
    font-weight: normal
  }
}

.rcd_title_inline {
  font-weight: 600;
  color: #555555
}

.rcd_type {
  color: #555555;
  padding: 2px 10px;
  background: #fbfbfb;
  border-top: 2px solid #f3f3f3
}

.rcd_modified {
  text-indent: 10px;
  color: #999999;
  font-style: italic;
  margin-top: 5px
}

.rcd_notes {
  padding: 5px 10px 0;
  //font-size: 12px;

  ul, ol {
    margin-left: 0;
    padding-left: 0.2em;
    margin-bottom: 1em
  }

  ul li {
    background: url('@{icon-tools-bullet-image-path}') 0 0.4em no-repeat;
    padding: 0 0 0 0.8em;
    margin: 0 0 0.5em 1em;
    list-style: none
  }

  ul ul li {
    background-image: url('@{icon-tools-bullet-child-image-path}');
    margin-left: 2em;
  }

  ol li {
    list-style: decimal;
    margin-bottom: 0.5em;
    margin-left: 2em
  }

  ol ol li {
    list-style: decimal;
    background-image: none;
    padding-left: 0;
    margin-left: 3em
  }
}

.rcd_notes_dist {
  margin-top: 5px
}

.rcd_footer {
  overflow: hidden;
  border-top: 1px dotted #cccccc;
  padding: 5px 10px 0
}

.rcd_table {
  width: 100%;
  margin-top: 10px;

  thead th {
    border-top: 3px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    background: #ffffff;
    vertical-align: middle
  }

  tbody th {
    border-right: 3px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    background: #ffffff;
    vertical-align: middle
  }

  td {
    vertical-align: middle
  }

  tr.even td {
    background: #f9f9f9
  }
}

/* Card index list */
.list_card_index {
  li {
    font-weight: 600;
    background-color: #ffffff;
    margin: 0 0 5px 0 !important;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: #dddddd;
    overflow: hidden;
    list-style: none;
  }

  .lci_active_green {
    border-color: #4db84d
  }

  .lci_active_blue {
    border-color: #5ab1ee
  }

  li {
    .lci_number {
      font-size: 18px;
      color: #ffffff;
      padding: 3px;
      display: block;
      float: left;
      line-height: 20px;
      height: 20px;

      &:hover {
        opacity: 0.5;
        text-decoration: none
      }
    }
    .lci_number_green {
      background-color: #009900
    }
    .lci_number_blue {
      background-color: #128fe6
    }
    .lci_number_gray {
      background-color: #999999
    }
    .lci_name_green {
      color: #009900
    }
    .lci_name_blue {
      color: #128fe6
    }
    .lci_name_red {
      color: #ff0000
    }

    h5 {
      margin: 5px 5px 0 5px;
      float: left;
      color: #555555;
      .lci_date {
        font-size: 11px;
        font-weight: normal;
        font-style: italic;
        color: #aaaaaa
      }
    }
  }
}

/* Card user list */
.list_card_user {
  padding-left: 0;

  li {
    list-style: none;
    background-color: #ffffff;
    margin: 0 0 5px 0 !important;
    border: 1px solid #dddddd;
    border-left: 4px solid #cccccc;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    padding: 5px;

    img,
    dl {
      float: left;
      margin: 0;
      padding-top: 5px
    }

    > img {
      padding: 0;
      margin-right: 5px;
    }

    div label {
      margin: 0;
      padding: 0;
      display: inline;
      text-align: left !important;
    }

    ul.error_list {
      display: inline;

      li {
        border: 0;
        background: none;
        display: inline
      }
    }
  }
}

/* change style for list_card_user's border */
.list_card_user li div label {
  text-align: right !important;
}

.list_card_user li {
  border: 0;
  border-bottom: 1px solid #cccccc;
  margin-left: 33%;
  margin-right: 33%;
}

/* **************************************** */

.lcu_name {
  font-weight: 600;
  font-size: 13px;
  color: #555555
}

.lcu_title {
  color: #aaaaaa;
  font-style: italic;
  line-height: 10px
}

.lcu_delete {
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  right: 5px;
  top: 5px;
  background: url('@{icon-tools-closelabel-image-path}') no-repeat center;
  opacity: 0.3;

  &:hover {
    background: url('@{icon-tools-closelabel-image-path}') no-repeat center;
    opacity: 0.5
  }
}

/* Card user from list */
.list_card_user_form {
  li {
    margin: 0;
    overflow: hidden;

    div:first-child {
      margin: 5px;
      float: left
    }

    > div {
      margin: 5px 5px 5px 0;
      width: 47.9%;
      float: right
    }

    div label {
      font-weight: 600;
    }

    div select {
      width: 100%
    }
  }
}

.lcu_mark_delete {
  border-top: 1px solid #cc0000;
  background-color: #ffe7e7 !important
}

/* Card unsafe action */
.list_card_unsafe_action {
  li.unsafe_actions {
    background-color: #ffffff;
    margin: 0 0 5px 0 !important;
    border-left: 4px solid #cccccc;
    border-bottom: 1px solid #dddddd;
    overflow: hidden;
    position: relative;
    div.content_actions {
      margin: 0 0 10px 20px !important;
    }
    img {
      padding: 10px 7px 10px 5px
    }
  }

  li.unsafe_action ul.error_list {
    display: inline
  }
  li.unsafe_action ul.error_list li.unsafe_actions {
    border: 0;
    background: none;
    display: inline
  }
}

.lcu_name {
  font-weight: 600;
  font-size: 13px;
  color: #555555
}

.lcu_title {
  color: #aaaaaa;
  font-style: italic;
  line-height: 6px
}

.lcu_delete {
  display: block;
  width: 10px;
  height: 10px;
  position: absolute;
  right: 5px;
  top: 5px;
  background: url('@{icon-tools-closelabel-image-path}') no-repeat center;
  opacity: 0.3;
  &:hover {
    background: url('@{icon-tools-closelabel-image-path}') no-repeat center;
    opacity: 0.5
  }
}

/* Card record list */
.list_card_record {
  margin: 0;
  padding: 0;
  > li {
    list-style: none;
  }
  li {
    background-color: #ffffff;
    margin: 0 0 5px 0 !important;
    border-left: 4px solid #cccccc;
    border-bottom: 1px solid #dddddd;
    overflow: hidden;
    position: relative;
    dl {
      width: 100%;
      margin: 0;
      padding-top: 3px
    }
  }
}

.lcr_name {
  float: left;
  margin-left: 10px;
  margin-top: 5px;
  font-weight: 600
}

.lcr_notes {
  margin-left: 20px;
  clear: both;
  margin-right: 20px;
  overflow: auto;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: normal;
  p {
    margin: 0;
    font-size: 12px
  }

  ul, ol {
    margin-left: 0;
    padding-left: 0.2em;
    margin-bottom: 1em
  }

  ul li {
    background: url('@{icon-tools-bullet-image-path}') 0 0.4em no-repeat;
    padding: 0 0 0 0.8em;
    margin: 0 0 0.5em 1em !important;
    list-style: none;
    border: 0
  }

  ul ul li {
    background-image: url('@{icon-tools-bullet-child-image-path}');
    margin-left: 2em;
    border: 0
  }

  ol li {
    list-style: decimal;
    margin-bottom: 0.5em !important;
    margin-left: 2em !important;
    border: 0;
    overflow: visible
  }

  ol ol li {
    list-style: decimal;
    background-image: none;
    padding-left: 0;
    margin-left: 3em;
    border: 0
  }
}

.lcr_state {
  float: left;
  margin-left: 10px
}

.lcr_user {
  margin-right: 10px;
  margin-bottom: 10px;
  color: gray;
  font-style: italic;
  float: right
}

.lcr_actions {
  margin-bottom: 0;
  text-indent: 10px;
  background-color: #fbfbfb;
  width: 100%;
  font-weight: normal;
  clear: both;
  a {
    cursor: pointer
  }
}

.list_card_tracking {
  margin: 0 20px 10px 20px !important;
  padding: 0;
  border: 1px solid #dddddd;
  border-bottom: 0;
  > li {
    list-style: none;
  }
  li {
    border-left: 0;
    margin: 0 0 5px;
    overflow: hidden;
    background-color: #ffffff;
    border-bottom: 1px solid #dddddd;
    dl {
      margin: 0;
    }
  }
}

.lct_avatar {
  float: left;
  width: 40px;
  img {
    padding: 5px;
    width: auto;
    border: 0;
    margin: auto;
  }
}

.lct_name {
  font-weight: 600;
}

.lct_title {
  margin-left: 10px;
  overflow: hidden;
  padding-bottom: 20px;
  position: relative;
  ul li {
    border: 0
  }
}

.lct_date {
  display: block;
  color: #aaaaaa;
  font-style: italic;
  line-height: 1;
  position: absolute;
  bottom: 5px;
  right: 5px;
  margin: 5px;
  span {
    margin: 5px;
  }
}

.list_card_tracking_user {
  margin: 0 !important;
  border: 0;
  > li {
    border: 1px solid #dddddd;
    padding-bottom: 5px;
    border-top-width: 2px
  }
  .lct_name {
    padding-top: 5px
  }
}

/* Card scroll */
.list_card_scroll {
  max-height: 320px;
  overflow: hidden;
  position: relative;
}

.list_card_scroll_none {
  max-height: none;
  overflow: hidden;
  position: relative
}

/* Card separator */
.list_card_separator {
  margin: 10px 0 !important;
  border-top: 1px dotted #bbbbbb !important;
}

.list_card_separator_double {
  margin: 10px 0 !important;
  border-top: 1px dotted #bbbbbb !important;
  border-bottom: 1px dotted #bbbbbb !important;
  padding: 1px 0
}

/* Card separator title */
.list_card_separator_title {
  margin-bottom: 10px;
  color: #006c80
}

/* General list */
.list_record_general {
  font-size: 12px;
  li {
    margin-left: 0;
    font-weight: 600;
    font-size: 12px
  }
  .value_indicator {
    margin-left: 20px;
    font-size: 16px
  }
}

/* Card pager list */
.list_card_pager {
  background-color: #ffffff;
  padding: 5px 5px 2px;
  border: 1px solid #dddddd;
  li {
    display: inline-block;
    margin: 0;
    padding: 0;
    a,
    span {
      background: #e3e2d9;
      color: #555555;
      margin: 0 2px;
      display: inline-block;
      float: left;
      font-weight: 400;
      line-height: 1.2em;
      text-decoration: none;
      padding: 4px 8px
    }
    a:hover,
    a.current {
      background-color: #006c80;
      color: #ffffff
    }
  }
}

/* Module specific styles */
.lci_number_clock {
  background: #999999 url('@{icon-tools-clock-image-path}') no-repeat;
  width: 20px
}

.lci_number_product {
  background: #999999 url('@{icon-tools-product-image-path}') no-repeat;
  width: 20px
}

.lci_team_product {
  background: #999999 url('@{icon-tools-team-image-path}') no-repeat;
  width: 20px
}

.lcu_name_single {
  margin: 0 10px
}

.lcu_title_single {
  margin-bottom: 5px;
  margin-left: 10px
}

.lcr_state_top {
  position: absolute;
  top: 5px;
  right: 5px
}

.document_note_radio_list {
  background-color: #ffffff;
  padding: 8px 8px 0;
  border: 1px dashed @legend-border-color;
  li {
    display: inline-block;
    position: relative;
    margin: 0 5px 10px 0
  }
}

input.document_state_buttom {
  display: none
}

label.document_state_buttom {
  display: block;
  font-weight: normal;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 4px 8px;
  text-shadow: 0 1px 1px #ffd899;
  text-decoration: none;
  background-color: #ffb133;
  background-image: -moz-linear-gradient(center bottom, #ff9d00 0%, #ffb133 100%);
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ff9d00), color-stop(1, #ffb133));
  background-image: -o-linear-gradient(center bottom, #ff9d00 0%, #ffb133 100%);
  border: 1px solid #cc7d00;
  border-top: 1px solid #e68d00;
  border-bottom: 1px solid #b36e00;
  color: #4d2f00;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: all 0.218s ease;
  -moz-transition: all 0.218s ease;
  -o-transition: all 0.218s ease;
  transition: all 0.218s ease;
}

label.document_state_buttom:hover {
  text-decoration: none;
  box-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2);
  background-color: #ffb742;
  background-image: -moz-linear-gradient(center bottom, #ffa30f 0%, #ffb742 100%);
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #ffa30f), color-stop(1, #ffb742));
  background-image: -o-linear-gradient(center bottom, #ffa30f 0%, #ffb742 100%);
  border: 1px solid #b36e00;
  border-top: 1px solid #cd7e00;
  border-bottom: 1px solid #9a5f00;
  color: #4d2f00 !important;
  font-weight: normal;
}

label.document_state_buttom:active {
  background-color: #e68e00;
  box-shadow: inset 0 2px 5px -1px #b36e00;
  border: 1px solid #995f00;
  border-top: 1px solid #b36e00;
  border-bottom: 1px solid #804f00;
}

input.document_save_note {
  font-size: 12px;
  vertical-align: middle;
  margin: 0;
  padding: 4px 8px
}

label.document_state_buttom_active {
  display: block;
  font-weight: normal;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  padding: 4px 20px;
  text-shadow: 0 1px 1px #69aa69;
  background-color: #5bb75b;
  *background-color: #51a351;
  background-image: -moz-linear-gradient(top, #62c462, #51a351);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
  background-image: -webkit-linear-gradient(top, #62c462, #51a351);
  background-image: -o-linear-gradient(top, #62c462, #51a351);
  background-image: linear-gradient(to bottom, #62c462, #51a351);
  background-repeat: repeat-x;
  border-color: #51a351 #51a351 #387038;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
  //filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  border: 1px solid #008000;
  border-top: 1px solid #008000;
  border-bottom: 1px solid #008000;
  color: #ffffff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: all 0.218s ease;
  -moz-transition: all 0.218s ease;
  -o-transition: all 0.218s ease;
  transition: all 0.218s ease;
}

label.document_state_buttom_active:hover {
  background-color: #51a351;
  *background-color: #499249;
  box-shadow: 0 3px 2px -2px rgba(0, 0, 0, 0.2);
}

label.document_state_buttom_active:active {
  background-color: #408140 \9;
  box-shadow: inset 0 2px 5px -1px #448b44;
}

label.document_state_buttom_disabled {
  display: block;
  font-weight: normal;
  font-size: 12px;
  text-align: center;
  vertical-align: middle;
  color: #cccccc;
  padding: 4px 20px;
  border: 1px solid #cccccc;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background: #ebebe4;
  cursor: not-allowed;
}

.stepwizard {
  display: table;
  width: 100%;
  position: relative;

  .stepwizard-row {
    display: table-row;
    &:before {
      top: 14px;
      bottom: 0;
      position: absolute;
      content: " ";
      width: 100%;
      height: 1px;
      background-color: #cccccc;
      z-order: 0;
    }
  }

  .stepwizard-step {
    display: table-cell;
    text-align: center;
    position: relative;

    p {
      margin-top: 10px;
    }

    button[disabled] {
      opacity: 1 !important;
      filter: alpha(opacity=100) !important;
      background-color: #ffffff;
      pointer-events: none;
    }

    .btn-circle {
      width: 30px;
      height: 30px;
      text-align: center;
      padding: 6px 0;
      font-size: 12px;
      line-height: 1.428571429;
      border-radius: 15px;
    }
  }
}

.data_list_table {
  width: 100%;
  background: #ffffff;
  thead th {
    white-space: nowrap;
    border-bottom: 1px solid #cccccc;
    color: #888888
  }
  th {
    padding: .5em 1em;
    text-align: right;
    background: none;
    &:first-child {
      text-align: left
    }
  }
  .even td {
    background: #fbfbfb
  }

  tbody {
    border: 0;
    th {
      border-bottom: 1px solid #e6e6e6 !important
    }
  }
  td {
    border-bottom: 1px solid #e6e6e6 !important
  }

  .co-name {
    display: block;
    font-size: 11px;
    color: #999999
  }
}

.audit_list_table td {
  padding: .5em 1em;
  text-align: right;
  background: none;
  &:first-child {
    text-align: left
  }
}

.data_list_table_form {
  width: 100%;
  background: #ffffff;
  th,
  td {
    padding: .5em 1em;
    text-align: left;
    background: none
  }

  th {
    text-align: right
  }

  .even td {
    background: #ffffff
  }

  tbody {
    border: 0;
    th {
      border: 0 !important
    }
  }

  td {
    border: 0 !important
  }
}

.fwr_options {
  padding-top: 10px
}

.menuspace {
  display: none;
  min-width: 206px;
  table {
    width: 100%;
    max-width: 100%;
    margin: 0;
    // Cells
    > tbody {
      > tr {
        > th,
        > td {
          color: #999999;
          line-height: 1;
          vertical-align: top;
          a {
            display: block;
            padding: 3px 20px;
            font-weight: 400;
            line-height: 1.42857143;
            white-space: nowrap;
            color: #777777;
            &:hover {
              color: #333333;
              background-color: #e1e3e9;
            }
          }
          &.build_info_link {
            display: none;
          }
        }
      }
    }
  }

  @media screen and (max-width: @screen-xs-max) {
    margin-top: 15px;
  }
}

/* Indicator Timeline 1.0 */
.timeline_container {
  overflow: hidden;
  color: #555555;
  font-family: "Lucida Grande", Lucida Sans Unicode, Tahoma, Arial;
  font-size: 8pt;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

.timeline_arrows {
  overflow: hidden;
  padding-left: 2px;
  padding-bottom: 10px;
  zoom: 1
}

.timeline_date {
  float: left;
  background: url('../../../images/bg_95.png');
  line-height: 1.6em;
  cursor: pointer;
  margin-right: 5px;
  margin-top: 5px;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1)
}

.timeline_date:hover {
  background: url('../../../images/bg_90_maroon.png');
  color: #ffffff
}

.event_partial {
  display: block;
  float: right;
  background: #bad119;
  color: #ffffff;
  width: 10px;
  height: 10px;
  line-height: 1;
  font-size: 14px
}

.event_partial_inactive {
  display: block;
  float: right;
  background: #dddddd;
  width: 10px;
  height: 10px;
  line-height: 1;
  font-size: 14px;
  color: #555555
}

.event_goal {
  background: #bad119;
  color: #ffffff
}

.event_goal_inactive {
  background: #dddddd;
  color: #ffffff
}

.timeline_date a {
  font-weight: 400;
  display: block;
  padding: 0 13px 0 13.5px
}

.active_period {
  background: url('../../../images/bg_90_maroon.png');
  color: #ffffff;
  cursor: default;
  padding: 0 13px 0 13.5px
}

.timeline_top ul, .timeline_bottom ul {
  list-style: none;
  margin: 0;
  padding: 0
}

.timeline_top li, .timeline_bottom li {
  float: left;
  border-bottom: 1px solid #999999;
  margin: 0 1px 0 0;
  padding: 3px 2px 0
}

.timeline_top li.today_line {
  border-bottom: 1px solid #128fe6
}

.timeline_bottom li {
  border: none;
  padding: 0 2px 3px !important
}

.timeline_top li div, .timeline_bottom li div {
  text-transform: uppercase;
  text-align: center;
  width: 20px
}

.timeline_top li div {
  background: url('../../../images/icons/tools/normal.png') no-repeat left top;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  padding: 3px 0 5px !important
}

.timeline_top .today {
  background: url('../../../images/icons/tools/today.png') no-repeat left top;
  padding: 3px 0 5px !important
}

.timeline_bottom .today {
  background: url('../../../images/icons/tools/today.png') no-repeat left bottom;
  padding: 5px 0 3px !important
}

.timeline_top .event {
  background: url('../../../images/icons/tools/normal_event.png') no-repeat left top
}

.timeline_bottom .event {
  background: url('../../../images/icons/tools/normal_event.png') no-repeat left bottom
}

.timeline_top .event_inactive {
  background: url('../../../images/icons/tools/normal_event_inactive.png') no-repeat left top
}

.timeline_bottom .event_inactive {
  background: url('../../../images/icons/tools/normal_event_inactive.png') no-repeat left bottom
}

.timeline_top .today.event {
  background: url('../../../images/icons/tools/today_event.png') no-repeat left top
}

.timeline_bottom .today.event {
  background: url('../../../images/icons/tools/today_event.png') no-repeat left bottom
}

.timeline_top .today.event_inactive {
  background: url('../../../images/icons/tools/today_event_inactive.png') no-repeat left top
}

.timeline_bottom .today.event_inactive {
  background: url('../../../images/icons/tools/today_event_inactive.png') no-repeat left bottom
}

.timeline_top .today:hover, .timeline_top .today.event:hover {
  background: url('../../../images/icons/tools/today_hover.png') no-repeat left top
}

.timeline_bottom .today:hover, .timeline_bottom .today.event:hover {
  background: url('../../../images/icons/tools/today_hover.png') no-repeat left bottom
}

.timeline_top .current_day, .timeline_top li div:hover {
  background: url('../../../images/icons/tools/normal_hover.png') no-repeat left top;
  color: #ffffff
}

.timeline_bottom li div {
  background: url('../../../images/icons/tools/normal.png') no-repeat left bottom;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  padding: 5px 0 3px !important
}

.timeline_bottom .current_day, .timeline_bottom li div:hover {
  background: url('../../../images/icons/tools/normal_hover.png') no-repeat left bottom;
  color: #ffffff
}

.timeline_top .today.current_day, .timeline_top .today.event.current_day {
  background: url('../../../images/icons/tools/today_hover.png') no-repeat left top;
  color: #ffffff
}

.timeline_bottom .today.current_day, .timeline_bottom .today.event.current_day {
  background: url('../../../images/icons/tools/today_hover.png') no-repeat left bottom;
  color: #ffffff
}

.timeline_bottom li div a {
  font-weight: 400
}

.timeline_top .event, .timeline_bottom .event {
  color: #ffffff;
  cursor: pointer
}

.event_goal a, .timeline_date a:hover, .timeline_bottom .current_day a, .timeline_bottom a:hover, .timeline_bottom .event a {
  color: #ffffff
}

.timeline_top, .timeline_bottom {
  overflow: hidden;
  display: block
}

/* States color styles */
span {
  &.red_state,
  &.blue_state,
  &.yellow_state,
  &.green_state,
  &.violet_state,
  &.orange_state,
  &.deepblue_state,
  &.none_state {
    color: #555555;
    border: 1px solid @gray;
    background-color: @gray;
    border-radius: 3px;
    padding: 0 4px;
    font-weight: 600;
    white-space: nowrap;
    font-size: 12px;
  }
  &.rounded {
    border-radius: 3px;
    padding: 0 2px;
  }
  //&.green_state {
  //  border-color: #008c00;
  //}
  //&.red_state {
  //  border-color: #cc0000;
  //}
  //&.yellow_state {
  //  border-color: #ffff00;
  //}
  //&.blue_state {
  //  border-color: #65b0d5;
  //}
  //&.violet_state {
  //  border-color: #9f1a5c;
  //}
  //&.orange_state {
  //  border-color: #f9a811;
  //}
  //&.deepblue_state {
  //  border-color: #0300c9;
  //}
  //&.none_state {
  //  border-color: #f3f3f3;
  //}
}

.widget_container {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 3px;
  padding: 5px;
  min-width: 170px;
  color: #555555;
  float: left;
  box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
  &.simple_fluid,
  &.simple {
    background-color: transparent;
    border: none;
    box-shadow: none;
    .wc_list {
      padding: 0;
    }
  }
  &.simple_fluid .wc_list li {
    width: auto;
    min-width: 40px
  }
  &.simple_fluid.smaller .wc_list li {
    padding: 0 2px;
    font-size: 12px
  }
}

.widget_title {
  border-bottom: 2px solid #cccccc;
  margin-bottom: 5px;
  text-align: center;
  h5 {
    margin-bottom: .2em
  }
}

.widget_content {
  h5 {
    text-align: left;
    margin-bottom: 10px;
  }
}

.widget_footer {
  border-top: 1px dotted #cccccc;
  padding-top: 5px;
  font-size: 10px;
}

.wt_hidden,
.wc_hidden,
.wf_hidden {
  display: none;
}

.wc_list {
  padding: 0 0 15px 0;
  li {
    margin-left: 5px;
    padding: 2px 4px;
    width: 47px;
    font-size: 13px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #cccccc;
    display: inline-block;
    position: relative;
    .label {
      position: absolute;
      bottom: -15px;
      left: 5px;
      font-size: 8px;
      color: #555555
    }
    &:first-child {
      margin-left: 0
    }
    &.state_green {
      background-color: #008000;
      color: #ffffff
    }
    &.state_red {
      background-color: #ff0000;
      color: #ffffff
    }
    &.state_yellow {
      background-color: #ffa400;
      color: #ffffff
    }
    &.state_gray {
      background-color: #cccccc;
      color: #ffffff
    }
  }

  &.wl_vertical {
    padding-bottom: 0;
    li {
      display: block;
      margin: 0 auto 15px;
    }
    .wl_onevalue {
      border: 1px solid #cccccc;
      padding: 4px 8px;
      color: #ffffff;
      font-size: 20px;
      width: 60px;
      margin: 0 auto 10px auto;
    }
  }
}

.adjacency_element_list {
  > ul {
    margin-top: 10px;
    li {
      position: relative;
      .depth-parent-label {
        position: absolute;
        right: 1px;
        top: 1px;
        padding: 0 2px;
        background: rgba(255, 255, 255, .9);
        color: #555555;
        font-size: 10px
      }
      .dpl_result {
        border: 1px solid #cccccc;
        float: right;
        font-weight: 600;
        margin: 0 4px;
        margin-right: 20px;
        padding: 0 4px
      }
      a.dpl_show_link {
        margin-left: 10px;
        background-color: #ffffff;
        color: #555555;
        padding: 0 5px;
        border: 1px dotted #cccccc;
        border-radius: 2px;
        font-size: 11px
      }
      .dpl_result_green {
        background-color: #008000;
        color: #ffffff
      }
      .dpl_result_red {
        background-color: #ff0000;
        color: #ffffff
      }
      .dpl_result_yellow {
        background-color: #ffa400;
        color: #ffffff
      }
      .dpl_result_gray {
        background-color: #cccccc;
        color: #ffffff
      }
    }
    .depth-1 {
      margin-left: 0;
      padding: 0 0 10px;
      background: rgba(255, 255, 255, .9);
      border: 1px solid #cccccc;
      margin-top: 5px;
      overflow: hidden;
      > ul {
        float: left;
        overflow: hidden
      }
      a.dpl_show_link {
        background: rgba(255, 255, 255, .9);
      }
    }
    .depth-1-label,
    .depth-2-label,
    .depth-3-label {
      width: 100%;
      display: inline-block;
      background-color: #f3f3f3;
      padding: 4px 8px;
      border-style: dotted;
      border-color: #cccccc;
      border-width: 0 0 1px 1px;
    }
    .depth-1-label {
      border-left-width: 0;
      border-bottom-style: solid;
      strong, a {
        color: #ffffff;
      }
    }
    .depth-2-label strong,
    .depth-3-label strong {
      color: #000000;
    }
    .depth-2-label a {
      color: #777777;
    }
    .depth-3-label a {
      color: #999999;
    }
    .depth-1-monitors {
      border-left: 1px solid #cccccc;
      background-color: #ffffff;
      text-align: center;
      padding: 10px;
      width: 100px;
      float: right;
      .widget_container {
        min-width: initial;
      }
    }
    .depth-1-actionplans {
      float: left;
      padding: 10px 10px 10px 30px;
      margin-top: 10px;
      .widget_container {
        margin-right: 10px;
        margin-bottom: 10px;
      }
    }
  }
}

.highlight-env {
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 2px 5px 3px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: @red;
  background-color: fade(@red, 80%);

  span {
    color: @red;
    border-radius: 2px;
    padding: 0 5px;
    background-color: #ffffff;
    background-color: fade(#ffffff, 80%);
  }
}

.external-content {
  object {
    width: 95%;
    min-height: 400px;
  }
}

/* SRS public description card */
.srs-ticket-card {

  .srs-ticket-head {
    display: flex;

    .srs-ticket-title > span {
      font-size: 1.4rem;
      font-weight: 600;
      color: red;
    }
  }

  .srs-ticket-body {
    font-size: 1.2rem;

    .srs-ticket-label {
      color: red;
      font-size: 1.2rem;
      font-weight: 600;
    }

    .srs-ticket-timestamp {
      font-weight: 400;
      font-size: 1.1rem;
    }

    .srs-ticket-state {
      font-weight: 400;
      font-size: 1.1rem;
    }

    .srs-ticket-number > span {
      font-size: 1.2rem;
    }
  }
}

/** ------------------- Format options widget ------------------- **/
ul.report-format-options {
  list-style: none;

  &:after {
    content: "";
    clear: both;
  }

  li {
    border-radius: 3px;
    box-sizing: border-box;
    display: inline-block;
    padding-left: 5px;

    & + & {
      margin-left: 15px;
    }

    div.report-thumbnail-option {
      height: 55px;
      width: 60px;
    }
    div.report-thumbnail-option {
      border-radius: 2px;
      text-align: center;

      .label {
        position: relative;
        height: 15px;

        label {
          width: 100%;
          height: 100%;
          cursor: pointer;
          position: relative;;
          vertical-align: middle;
          text-align: center;
        }
      }

      .input {
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 15px;
        height: 15px;
        position: absolute;
        display: none;
      }

      input:focus + label {
        outline: 2px dotted #21b4d0;
        border-radius: 3px;
      }

      input:checked + label {
        outline: 4px solid #21b4d0;
        border-radius: 3px;
      }
    }
  }
}

/* -------- Widget styles into "box-body" div -------- */
.box-body {
  .select2-container.select2-container-multi.ajax_multiselect_filter {
    width: 280px !important;
  }

  div[id$='_checklist'] {
    width: 280px !important;
    height: 256px !important;
  }

  input[id$='_findInList'] {
    width: 280px !important;
  }
}

/* -------- Widget styles into "box-body" div -------- */
.modal_ajax_form_wrapper, .modal_modules_wrapper {
  .flash-box {
    border-radius: 0;
    margin-bottom: 0;
  }
  .modal_ajax_form_header, .modal_modules_header {
    padding: 15px;
    text-align: center;
    h3 {
      margin: 0;
      line-height: 1.42857143;
    }
  }
  .modal_ajax_form_fields, .modal_modules_content {
    padding: 20px 15px;
  }
  .modal_ajax_form_actions, .modal_modules_actions {
    padding: 15px;
    text-align: right;
  }
}

.modal-filter {
  .modal-body {
    .col-sm-8 br {
      display: none;
    }

    select,
    textarea,
    input[type="text"],
    input[type="password"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="date"],
    input[type="month"],
    input[type="time"],
    input[type="week"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    input[type="tel"],
    input[type="color"] {
      display: block;
      width: 100%;
      height: @input-height-base;
      padding: @padding-base-vertical @padding-base-horizontal;
      font-size: @font-size-base;
      line-height: @line-height-base;
      background-color: @input-bg;
      background-image: none;
      border: 1px solid #aaaaaa;
      .border-radius(@input-radius);
      box-shadow: none;
      .transition(~"border-color ease-in-out .15s, box-shadow ease-in-out .15s");

      .form-control-focus();
      &:focus {
        border-color: @light-blue;
        box-shadow: none;
      }

      // Placeholder
      .placeholder();
      &::-moz-placeholder,
      &:-ms-input-placeholder,
      &::-webkit-input-placeholder {
        color: #bbbbbb;
        opacity: 1;
      }

      &:not(select) {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
      }

      // Unstyle the caret on `<select>`s in IE10+.
      &::-ms-expand {
        border: 0;
        background-color: transparent;
      }

      // Disabled and read-only inputs
      //
      // HTML5 says that controls under a fieldset > legend:first-child won't be
      // disabled if the fieldset is disabled. Due to implementation difficulty, we
      // don't honor that edge case; we style them as disabled anyway.
      &[disabled],
      &[readonly],
      fieldset[disabled] & {
        background-color: @input-bg-disabled;
        opacity: 1; // iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655
      }

      &[disabled],
      fieldset[disabled] & {
        cursor: @cursor-disabled;
        pointer-events: none;
      }

      // Reset height for `textarea`s
      textarea& {
        height: auto;
      }
    }

    textarea {
      height: auto;
    }

    input[type="text"] {
      &.ui-spinner-input {
        border: 0;
      }

      &.select2-input {
        border: 0;
        padding: 2px;
        height: auto;
      }
    }

    select {
      &[multiple], &[size] {
        height: auto;
      }
      &.tq_date {
        width: auto;
        display: inline-block;
      }
    }
  }
}

/* -------- Styles in box widget -------- */
.box {

  .box-header {

    h3 {
      margin-right: 20px;
    }

    .box-tools {
      i {
        font-size: 17px;
        font-weight: 600;
      }

    }
  }

  .box-body {
    ul.list_card_unsafe_action {
      list-style: none;
      -webkit-padding-start: 0px;
      -moz-padding-start: 0px;

      li.unsafe_actions {
        border-left: 4px solid #cccccc;
        border-top: 1px solid #dddddd;
        border-right: 1px solid #dddddd;
        border-bottom: 1px solid #dddddd;
        hr {
          margin-top: 5px !important;
          margin-bottom: 5px !important;
          border-top: 1px dotted #bbbbbb !important;
        }
      }
    }

    ul.list-card-skin {
      list-style: none;
      -webkit-padding-start: 0px;
      -moz-padding-start: 0px;
      li.card-skin {
        border-left: 4px solid #cccccc;
        border-top: 1px solid #dddddd;
        border-right: 1px solid #dddddd;
        border-bottom: 1px solid #dddddd;
        background-color: #ffffff;
        margin: 0 0 5px 0 !important;
        border-left: 4px solid #cccccc;
        border-bottom: 1px solid #dddddd;
        overflow: hidden;
        position: relative;
        div.content_actions {
          margin: 0 0 10px 20px !important;
        }
        img {
          padding: 10px 7px 10px 5px
        }
        hr {
          margin: 5px 0 !important;
          border-top: 1px dotted #bbbbbb !important;
        }
      }
    }
  }
}

/* ---------- Backend ---------- */

#sf_admin_container {
  ul.error_list {
    margin: 0;
    margin-bottom: 7px;
    color: #dd3333;
    border: none;
    background-color: #ff3333;
    li {
      padding: 4px;
      padding-left: 25px;
      list-style: none;
      color: #ffffff;
      background: url(../../images/icons/basic/error.png) no-repeat 4px 4px;
    }
  }

  input,
  textarea {
    width: auto;
  }

  .radio_list li,
  .checkbox_list li {
    list-style: none;
    display: inline;
  }

  .sf_admin_pagination {
    float: right;
  }

  ul.sf_admin_td_actions {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

  ul.sf_admin_td_actions li {
    list-style-type: none;
    display: inline;
    margin-right: 10px;
    font-size: 90%;
  }

  ul.sf_admin_actions {
    margin: 0;
    padding: 0;
    list-style-type: none;
  }

  ul.sf_admin_actions li {
    list-style-type: none;
    display: inline;
    //margin-right: 10px;
  }

  ul.sf_admin_actions li a,
  ul.sf_admin_td_actions li a {
    &:extend(.btn .btn-default .btn-sm);
  }

  ul li.sf_admin_action_none a {
    padding: 5px 10px;
    background-position: center;
    background-image: none;
  }

  ul li.sf_admin_action_new a {

  }

  ul li.sf_admin_action_delete a {

  }

  ul li.sf_admin_action_list a {
    &:extend(.btn .btn-default .btn-sm);
  }

  ul li.sf_admin_action_edit a {
    &:extend(.btn .btn-default .btn-sm);
  }

  fieldset.collapsed * {
    display: none;
  }

  ul label, td label {
    display: inline;
    float: none !important;
  }

  .sf_admin_list .sf_admin_boolean {
    text-align: left;
  }
}

#sf_admin_bar {
  float: right;
  margin-left: 20px;
}

#sf_admin_content {
  &:before,
  &:after {
    content: " ";
    display: table;
  }

  &:after {
    clear: both;
  }
}

.report-view-container {
  max-height: 350px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  overflow-x: hidden;
  overflow-y: scroll;
  border: 1px solid @gray;
  padding: 0 15px;
}

.report-view-search {
  input.form-control {
    border-radius: 0;
    border-bottom: 0;
  }
}

#crypt-timer {
  top: 69px;
  left: 30px;
  .popover-content {
    padding: 2px 8px;
  }
}

.content-section {
  .input-group-addon {
    padding: 1px 2px;
  }
  .input-group-captcha {
    input[type=text] {
      width: auto;
    }
  }
}

/* SRS Info-Box */
.srs-wf-box {
  width: 100%;
  min-height: 55px;
  max-height: 55px;
  height: 55px;

  .info-box-icon {
    width: 55px;
    font-size: 30px;
    line-height: 55px;
    height: 55px;
  }

  .info-box-content {
    margin-left: 50px;

    .info-box-text {
      font-size: 12px;
      white-space: nowrap;
      overflow: hidden;
      -ms-text-overflow: ellipsis;
      text-overflow: ellipsis;
    }
    .info-box-number {
      font-size: 12px;
    }
  }
}

/* init: evaluate all controls form -- */
table.data_list {
  th {
    background: #ffffff none repeat scroll 0 0;
    color: #555555;
    border-bottom: 2px solid #cccccc;
    padding-top: 30px;
    font-size: 13px;
  }

  tbody {
    border: 0px;

    th, td {
      background: #ffffff none repeat scroll 0 0;
    }

    td {
      font-size: 12px;
      font-style: normal;
    }

    tr.criterion {
      td:nth-child(1) {
        label {
          text-align: left !important;
          font-weight: 600 !important;
        }
      }

      td:nth-child(2) {
        text-align: right;
      }
    }
  }
}

div.consolidated-group {
  border-top: 2px dotted @table-border-color;
  margin-top: 10px;
  padding-top: 5px;

  :nth-child(1) {
    label {
      text-align: left !important;
    }
  }

  :nth-child(2) {
    float: right;
  }
}

.ellipsis_text {
  white-space: nowrap;
  width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ellipsis-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: inherit;
}

/* from: http://www.pengoworks.com/workshop/jquery/autocomplete.htm */
.ac_results {
  padding: 0;
  border: 1px solid #bbbbbb;
  border-top: none;
  background-color: Window;
  overflow: hidden
}

.ac_results ul {
  width: 100%;
  list-style-position: outside;
  list-style: none;
  padding: 0;
  margin: 0
}

.ac_results iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  filter: mask();
  width: 3000px;
  height: 3000px
}

.ac_results li {
  margin: 0;
  padding: 2px 5px;
  cursor: pointer;
  display: block;
  width: 100%;
  font: menu;
  font-size: 12px;
  overflow: hidden
}

.ac_loading {
  background: Window url(../../../images/ajax_loader_min.gif) right center no-repeat
}

.ac_over {
  background-color: Highlight;
  color: HighlightText
}

.open_list > div {
  padding: 5px 0;
  clear: both
}

.open_list_source {
  float: left;
  height: 26px;
  max-width: 255px !important
}

.open_list_add {
  float: left;
  cursor: pointer;
  border: 1px solid #bbbbbb;
  border-left: none;
  background-color: #f3f3f3;
  padding: 4px 8px;
  height: 26px
}

.open_list_selected_hidden {
  border: 1px solid #cccccc;
  border-bottom: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.open_list_selected_hidden li {
  padding: 4px;
  background: #ffffff;
  margin: 0;
  position: relative;
  border-bottom: 1px solid #cccccc;
  cursor: move
}

.open_list_selected_hidden li label {
  cursor: move
}

.open_list_selected_hidden_delete,
.open_list_selected_hidden_remove {
  position: absolute;
  right: 5px;
  top: 5px;
  cursor: pointer
}

.open_list_selected_hidden_remove.delete {
  right: 15px
}

.open_list_selected_hidden_remove:hover,
.open_list_selected_hidden_delete:hover,
.open_list_add:hover {
  color: #9f1a5c
}

.dui-modal-assistant {
  .ion {
    font-size: 22px;
    left: 0;
  }
}

.input-offscreen,
.hide_dropzone {
  width: 1px !important;
  height: 1px !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  outline: 0 !important;
  left: 0 !important;
  top: 0 !important;
}

/* end: evaluate all controls form -- */

strong {

  span.clickable {
    cursor: pointer;

    &.active {
      border-bottom: 3px solid @gray-dark;
    }
  }
}

.causes-item-list {

  .causes-item {
    border-top: 1px solid @gray;
    padding-left: 10px;
    padding-right: 10px;
  }

  .causes-item:nth-last-child(1) {
    border-bottom: 1px solid @gray;
  }

}

input[type="submit"][disabled] {
  pointer-events: none;
}

.clear {
  .clearfix();
}

form {
  label {
    font-weight: 600 !important;
  }
}

ul.list.radio-list, ul[data-style-class="event_culture_radio_list"] {

  &.horizontal-list {
    display: inline;
  }

  list-style: none;
  padding: 2px 2px;

  li:first-child {
    margin-top: 15px;
  }
  li {
    margin-top: 5px;
  }

  li:last-child {
    margin-bottom: 15px;
  }
}

.card-item-container {
  width: auto;

  .card-item-title {
    margin: 5px;
    font-size: 16px;
    font-weight: 600;
    display: block;

    i {
      font-size: 18px;
      margin-right: 3px;
    }
  }

  .card-item-subtitle {
    margin: 5px;
    font-size: 14px;
    margin-left: 20px;
    display: block;
    font-weight: 600;

    .user {
      font-weight: 600;
      font-size: 11px;
      color: #757575;
    }
  }

  .card-item-list {
    margin-left: 30px;

    .card-item {
      background-color: white;
      font-size: 12px;
      border-radius: 2px;
      width: 100%;
      margin: 5px;
      display: inline-block;
      height: 40px;
      box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.1);

      .status-icon {
        box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.1);
        border-top-left-radius: 2px;
        border-top-right-radius: 0;
        border-bottom-left-radius: 2px;
        border-bottom-right-radius: 0;
        line-height: 40px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        text-align: center;
        vertical-align: middle;
        display: inline-block;
        background-color: @light-gray;
        color: @dark-gray;
        float: left;
      }

      .actions-icon {
        border-top-right-radius: 2px;
        border-top-left-radius: 0;
        border-bottom-right-radius: 2px;
        border-bottom-left-radius: 0;
        line-height: 40px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        text-align: center;
        vertical-align: middle;
        display: inline-block;
        color: @dark-gray;
        float: right;
      }

      .container {
        display: inline-block;
        width: calc(~"100% - 95px");
        padding-top: 3px;


        .title {
          display: block;
          margin-left: 3px;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;
          font-weight: 600;
        }

        .content {
          min-height: 17px;
          width: auto;
          font-size: 11px;
          padding: 0;

          .icon-text {
            margin: 3px;
            i {
              font-size: 12px;
              padding-right: 3px;
            }
          }
        }

      }

      &.survey {
        .resolved {
          background-color: #77DD77;
          color: white;
        }

        .expired {
          background-color: #FF6961;
          color: white;
        }

        .pending {
          background-color: #CFCFC4;
          color: @dark-gray;
        }
      }
    }

  }

}

.infinite-scroll-y {
  position: relative;
  height: 400px;
  padding: 10px;
}

.popover {
  max-width: none;
  width: auto;
  .popover-content {

    table.table {
      font-size: 11px !important;
    }
  }
}

span[data-toggle="popover"] {
  cursor: help;
}

a.not-active {
  pointer-events: none;
  cursor: default;
}

.infinite-scroll-y {
  position: relative;
  height: 400px;
  padding: 10px;
}

.report-editor {
  background: #e9e9e9;
  max-width: inherit;

  .container-content {
    width: auto;
    min-width: 960px;
    margin: 15px;
    background-color: #ffffff;
    border: 1px solid #cacaca;
    padding: 10px 30px 20px 35px;
    text-align: justify;
    box-shadow: 0 0 7px rgba(0, 0, 0, .2);

    .mceEditable {
      outline: 1px dashed @dark-gray;

      &:not(:focus) {
        &::before {
          content: "EDITABLE";
          border: 1px dashed @dark-gray;
          font-size: .9rem;
          font-weight: 600;
          color: @dark-gray;
          padding: .1rem .2rem;
          background: @gray;
          display: block;
          clear: both;
        }
      }
    }
  }
}

.plain-box {
  border: 1px solid @gray;
  border-radius: .65rem;
  margin: .2rem;
  padding: .3rem;

  .plain-box--item {
    padding: .15rem;
    margin: .1rem;

    border-bottom: 1px solid @gray;

    strong, b, .plain-box--title {
      font-weight: 600;
      color: @dark-gray;
      font-size: 1.2rem;
    }

    p, div.plain-box--text {
      font-size: 1rem;
      text-align: justify;
    }

    &::after {
      clear: both;
      display: table;
      content: ' ';
    }

    &:last-child {
      border-bottom: unset;
    }
  }

  &::after {
    clear: both;
    display: table;
    content: ' ';
  }
}

//Report tables
#container {
  .content .active {
    background-color: transparent;
  }

  h1.profile_trend {
    text-transform: uppercase;
    font-size: 36pt;
    color: #008C00 !important;
  }

  h5.profile_trend {
    text-transform: uppercase;
    font-size: 8pt;
  }

  h6.profile_trend {
    text-transform: uppercase;
    font-size: 6pt;
  }

  .ignore-color * {
    color: #0c0c0c;
  }

  table {
    &.table-records {
      width: 100%;
    }

    &.table-records th {
      padding: 5px;
      background-color: #efefef;
    }

    &.table-records,
    &.table-records td,
    &.table-records th {
      border: 1px solid black;
      border-collapse: collapse;
    }
  }
}

div.overlay-lp {
  background-color: transparent;
  align-content: center;
  text-align: center;
  padding: 1rem;

  & i {
    font-size: 2.5rem;
  }
}

ol.breadcrumb {
  li {
    a.tq_self_none {
      max-width: 250px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}
