.FormElement, .FormElement,
.EditTable td input, .EditTable td select, .EditTable td textarea {
  width: 90%;
}

.EditTable td textarea {
  height: 50px;
}

.gridcell {
  font-size: 12px;
}

.ui-jqgrid-sortable {
  font-size: 12px;
}

.ui-jqgrid-title {
  font-size: 14px;
  margin-left: 10px !important;
}

.ui-widget, .ui-jqgrid {
  font-family: Tahoma, Arial, Helvetica, sans-serif;
}

.ui-widget-content.jqgrow.ui-row-ltr.ui-state-highlight {
  background: #333;
  color: #fff;
}

.ui-jqgrid tr.jqgrow td, td {
  vertical-align: top;
  white-space: normal !important;
  padding: 2px 5px;
}

tr.deleted_row, tr.deleted_row.ui-state-hover {
  color: lightgrey;
}

tr.red_row, tr.red_row.ui-state-hover {
  color: red !important;
}

.ui-pg-selbox {
  display: none !important;
}

.ui-jqgrid-bdiv a, .ui-state-hover a, .ui-state-hover a:hover, .ui-state-hover a:link, .ui-state-hover a:visited {
  text-decoration: underline;
}

table.ui-jqgrid-btable tr.jqgfirstrow td {
  border: none;
}

table.ui-jqgrid-btable {
  height: 1px;
}

.ui-jqgrid-ftable {
  width: 100% !important;
}

.ui-jqgrid-hbox {
  padding-right: 0px !important;
  padding-left: 0px !important;
}

.footrow td {
  width: 100% !important;
  text-align: right !important;
  padding: 3px 4px !important;
}

.EditTable td textarea {
  width: 90%;
  min-height: 50px;
}

.ui-widget-overlay {
  opacity: 0.35;
  background-color: black;
}

.ui-jqgrid .ui-jqgrid-titlebar-close {
  margin-right: 5px;
}

.ui-widget-header {
  background: #435966;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
  color: white;
  background: #435966;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus {
  background: #132936;
  font-weight: bold;
  border: 1px solid #435966;
  border-bottom: none;
  color: white;
}

.ui-jqgrid .ui-pg-input {
  height: auto;
  color: black;
}

#nData, #pData {
  width: 18px;
}

@media only screen and (max-width: 800px) {

  #list_pager_right,
  #list1_pager_right,
  #list2_pager_right,
  #list3_pager_right,
  #list4_pager_right,
  #list5_pager_right,
  #list6_pager_right {
    display: none;
  }

  #list_pager_center, #list_pager_left,
  #list1_pager_center, #list1_pager_left,
  #list2_pager_center, #list2_pager_left,
  #list3_pager_center, #list3_pager_left,
  #lis4_pager_center, #list4_pager_left,
  #list5_pager_center, #list5_pager_left {
    display: block;
    text-align: center;
    width: 100% !important;
  }

  .ui-jqgrid .ui-jqgrid-pager {
    height: auto;
  }
}

.ui-th-column input,
.ui-th-column select {
  color: black !important;
  font-weight: normal;
}

.ui-jqgrid-bdiv img {
  height: auto !important;
  max-height: 100px;
  max-width: 200px;
  margin: 5px;
}

.ui-jqgrid .fa {
  font-size: 14px;
}

.ui-jqgrid button {
  margin-left: auto;
  margin-right: auto;
}

.ui-jqgrid .ui-jqgrid-htable th div {
  text-align: center;
  line-height: 21px;
}

.ui-jqgrid .ui-icon-desc {
  margin-top: 5px;
}

.ui-jqgrid .ui-icon-asc {
  margin-top: -2px;
}

.ui-jqgrid .ui-jqgrid-caption {
  text-align: left;
  height: 35px;
  line-height: 27px;
}

.ui-jqgrid .ui-search-table .ui-search-input>input, .ui-jqgrid .ui-search-table .ui-search-input>select {
  margin-top: 2px;
}

#TblGrid_list1_2 .navButton,
#TblGrid_list2_2 .navButton,
#TblGrid_list3_2 .navButton,
#TblGrid_list4_2 .navButton,
#TblGrid_list5_2 .navButton {
  display: none !important;
}

.DataTD .ui-button-icon-only {
  margin-left: -3px !important;
  margin-right: 0 !important;
}

.footrow-rtl td {
  text-align: left !important;
}