/*
 * Styling for GridContainer Control
 */

.enclosingDiv table {
  border-spacing: 0 !important;
}

.gridView th {
  background-color: #e6eef7;
}

.gridView td, th {
  border: 1px solid #B9C9DA;
  color: #0067CE;
  padding: 4px;
}

.gridViewCtl .showMargin {
  border-color: #83aada;
  border-style: solid;
  border-width: 0 1px;
  margin: 0 10px;
}

.gridViewCtl {
  border: 0;
  width: 100%;
}

.gridViewCtlAlt {
  
}

.gridViewCtl .rowHeader {
  height: 30px;
}

.gridViewCtl .rowHeader th {
  background-color: #e6eef7 !important;
  border: 1px solid #B9C9DA;
  border-bottom: 0;
  border-right: 0;
  color: #666666;
  font-weight: bold;
  padding-top: 5px;
  text-align: left;
  vertical-align: top;
}

.gridViewCtl .rowHeader th:first-child {
  border-left: 0;
}

.gridViewCtl .rowHeader a {
  color: #0067CE;
  text-decoration: none;
}

.gridViewHeader {
  background-color: #e6eef7;
  border-color: #B9C9DA;
  border-style: solid;
  border-width: 1px 0 1px 1px;
  color: #666666;
  font-weight: bold;
  padding-top: 5px;
  text-align: left;
  vertical-align: top;
}

  .gridViewHeader a {
    color: #0067CE;
    text-decoration: none;
  }

[class*=dxgvHeader] {
  background-color: #e6eef7;
  border-color: #B9C9DA;
  border-style: solid;

  color: #666666;
  font-weight: bold;
  padding-top: 5px;
  text-align: left;
  vertical-align: top;
}  

[class*=dxgvHeader] td {
  white-space: normal;
}

.dxgvControl_Office365 {
  color: unset;  
}

.gridViewCtl > tbody > tr > td {
  border: 0;
  padding: 0 4px;
}

.gridViewCtl > tbody > tr > td:not(:first-of-type) {
  border-left: 1px solid #B9C9DA;
}

.gridViewCtl > tbody > tr[sk-gv-firstrow] {
  border-top: 1px solid #B9C9DA;
}

.gridViewCtl .rowDefault, .gridViewCtlAlt .rowDefault {
  background-color: #EFF4FA;
  height: 30px;
  vertical-align: middle;
}

  .gridViewCtl .rowDefault:hover > td, .gridViewCtlAlt .rowDefault:hover > td {
    background-color: #AAD5FF;
    cursor: default;
  }

  .gridViewCtl .rowDefault.noHover:hover > td, .gridViewCtlAlt .rowDefault.noHover:hover > td  {
    background-color: transparent !important;
  }

  /* 
   * 20241101: no hover highlight for filler cell in grids set to 100% width with fixed column width
   * https://supportcenter.devexpress.com/ticket/details/q574221/dxgvhec-empty-cells 
   */
  .gridViewCtlAlt .rowDefault:hover > td[class*=dxgvHEC] {
    background-color: white !important;
  }

.gridViewCtl .rowPager {
  background-color: #D7E4F4;
  border: 0;
  line-height: 30px;
}

  .gridViewCtl .rowPager a {
    background-color: White;
    border-radius: 2px;
    color: #0067CE;
    padding: 2px 5px 2px 5px;
    text-decoration: none;
  }

    .gridViewCtl .rowPager a:hover {
      background-color: #8EB1DD;
    }

  .gridViewCtl .rowPager td {
    border: 0;
    padding: 2px 2px 2px 4px;
  }

.gridViewCtl .gridEmpty td {
  background-color: #D5EECA;
  border-color: #B9C9DA;
  border-style: solid;
  border-width: 1px 0 0 0;
  color: #0067CE;
  height: 26px;
  margin: auto;
  padding: 4px;
  text-align: center;
}

.gridViewCtl .rowSelected {
  background-color: #ADCAE7 !important;
  cursor: default;
  height: 30px;
  vertical-align: middle;
}


.gridViewCtl input[type=checkbox], .gridViewCtlAlt input[type=checkbox] {
  display: none;
}

  .gridViewCtl input[type=checkbox] + label, .gridViewCtlAlt input[type=checkbox] + label {
    background-image: url("../Images/checkboxUnchecked.png");
    background-repeat: no-repeat;
    cursor: pointer;
    display: inline-block;
    line-height: 20px;
    padding-left: 22px;
    white-space: nowrap;
  }

  .gridViewCtl input[type=checkbox]:checked + label, .gridViewCtlAlt input[type=checkbox]:checked + label {
    background-image: url("../Images/checkboxChecked.png");
  }

  .gridViewCtl input[type=checkbox]:checked:disabled + label, .gridViewCtlAlt input[type=checkbox]:checked:disabled + label {
    background-image: url("../Images/checkboxCheckedDisabled.png");
  }

  .gridViewCtl input[type=checkbox]:disabled + label, .gridViewCtlAlt input[type=checkbox]:disabled + label {
    background-image: url("../Images/checkboxUncheckedDisabled.png");
  }

.gridViewBar {
  background-color: #E6EEF7;
  border: 0;
  border-collapse: collapse;
  height: 33px;
  margin: 0;
  padding: 0;
  width: 100%;
}

  .gridViewBar .leftBorder {
    border-left-color: #B9C9DA;
    border-style: solid;
    border-width: 0 0 0 1px;
    padding: 0 2px 0 3px;
  }

  .gridViewBar .searchBox {
    border-color: #B9C9DA;
    border-radius: 2px;
    border-style: solid;
    border-width: 2px;
    height: 18px;
    vertical-align: middle;
    width: 200px;
  }

.gridViewCompact {
  border-collapse: collapse;
  border-color: #83AADA;
  border-radius: 5px;
  border-style: solid;
  border-width: 0 1px 1px 1px;
  margin: 0;
  min-width: 300px;
  padding: 2px;
}

.gridViewCompact td {
    padding: 0;
  }

.gridViewNoToolbar th {
  border-top-color: #83AADA !important;
}

.gridViewNoToolbar tr > :first-child {
  border-left: 0;
}

.tallRowGrid > tbody > tr.rowDefault,
.tallRowGrid > tbody > tr.rowSelected {
  height: 110px;
}

.scrollable {
  border-color: #83aada;
  border-style: solid;
  border-width: 1px 2px 2px 2px;
  margin: 0 10px;
}

.scrollable td:first-child {
  background-color: #e6eef7;
  /*background-color: #d7e4f4;*/
}

.textAlignRight {
  text-align: right;
}

.gridViewCtl.textAlignRight > tbody > tr > td:first-child {
  text-align: left;
}

.noPaging {
  white-space: nowrap;
  margin-right: 3px;
}