/*
==========================================================================
	other-income
==========================================================================
*/
.other-income-config {
  font-family: $base-font;
  .content { padding: 20px 15px 0 15px; }
  input[type="text"] {
    padding: 2px 10px;
    height: 26px;
    background: color("cumulus");
    color: color("black2");
    border: 1px solid color("manatee");
    @include border-radius(0);
  }
  .btn-save,
  .btn-edit,
  .btn-close {
    width: $icon-large;
    height: $icon-large;
    cursor:pointer;
  }
  .btn-sync {
    color: color("black2") !important;
    padding: 5px 10px 5px 35px;
    @include border-radius(0);
    margin-left: 10px;
    position: relative;
    text-decoration: none;
    background-color: color("white-smoke-2");
    i  {
      position: absolute;
      left: 0;
      top: 0;
    }
  }
  .btn-export {
    margin-left: 10px;
    padding-top: 3px;
    padding-left: 40px;
    height: 30px;
    width: 88px;
    border-radius: 0;
    background-color: #F2F2F2;
    i.chi-export {
      right: 55px !important;
    }
  }
  .top-head {
    @include flexbox;
    flex-wrap: wrap;
    overflow: hidden;
    margin-bottom: 10px;
    .btn-save,
    .btn-edit,
    .btn-close {
      &.active { display: block !important; }
      margin-left: 4px;
      position: unset;
    }
    .head-label {
      background-color: color("pattens-blue-2");
      color: color('black2');
      @include border-radius(0);
      width: inherit;
    }
  }
  .mars-select .multiselect-container li.disabled { /* please check "input.scss", "disabled" class  "display: block !important;"  */
    display: none !important;
  }

  .other-income-mgtco,
  .other-income-forecast-property {
    .sortable-container {
      height: 382px;
      @media (min-width: 768px) { height: calc(100vh - 184px); }
      @media (min-width: 821px) { height: calc(100vh - 164px); }
      @media (min-width: 1201px) { height: calc(100vh - 162px); }
    }
  }
  .other-income-mgtco,
  .other-income-forecast-property {
    .group1 {
      &:first-child .is-hand-delete-button {
        -ms-grid-template-columns: 30px auto !important;
        grid-template-columns: 30px auto !important;
        .btn-deletecell { display: none; }
        input[type="text"] { border: 1px solid color("manatee") ; }
      }
      .group2 .is-hand-delete-button {
        -ms-grid-template-columns: 30px auto 30px !important;
        grid-template-columns: 30px auto 30px !important;
        .btn-deletecell { display: block !important; }
        input[type="text"] { border-right: none ; }
      }
    }

  }
  .other-income-forecast-property .sortable-container  {
   .sortable-row-top-title .sortable-group {
      -ms-grid-template-columns: 402px 1016px;
      grid-template-columns: 402px 1016px;
    }
    .is-add-button {
      .group1,
      .group2,
      .group3 {
        -ms-grid-template-columns: 210px 100px auto;
        grid-template-columns: 210px 100px auto;
      }
      .group4 {
        -ms-grid-template-columns: 210px 142px 142px 142px 142px;
        grid-template-columns: 210px 142px 142px 142px 142px;
      }
    }
    .group1,
    .group2 {
      -ms-grid-template-columns: 200px auto !important;
      grid-template-columns: 200px auto !important;
    }
    .group3 {
      -ms-grid-template-columns: 240px 100px auto;
      grid-template-columns: 240px 100px auto;
    }
    .group4 {
      -ms-grid-template-columns: 240px 142px 142px 142px 142px;
      grid-template-columns: 240px 142px 142px 142px 142px;
    }

    .dept-sourceType .data-save{
      display: block;
    }
  }
}

.ui-dialog-content.other-income-dialog-popup {
  margin-left: 0px !important;
  margin-right: 0px !important;

  .form-control {
    padding: 0px;
  }

  .multiselect-container{
    .input-group-addon, .input-group-btn{
      display:none;
    }
    .multiselect-search{
      display: block;
      width: 100%;
      height: 24px;
      padding: 2px 10px;
      font-size: 14px;
      line-height: inherit;
      border: 1px solid #8f91a2;
    }
  }

  .selectedCodeColumn {
    &.edit-view li span{
      width: 195px; //accommodating for scroll bar
    }
  }

  .group{
    //position:relative was causing statistics  label to not appear
    position:inherit;
  }

  button.multiselect.dropdown-toggle {
    &.btn.btn-default {
      border: 1px solid #8f91a2;
      background: white;
    }
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .rowcolumn {
    .item2 {
      margin-left: 160px;
    }

    .column.column4 {
      width: 205px;
    }
    .column.column5{
      width:180px;
    }
  }

  .rowcolumn .column > div span{
    white-space: nowrap !important;
    text-overflow: ellipsis;
    overflow: hidden;
  }

}

.other-income-tcsetup {
  .action-bar { width: auto !important; }
}
