/*sticky table column*/
.enhanced-table-class>tbody>tr>th:first-child,
.enhanced-table-class>thead>tr>th:first-child,
.sticky th:first-child,
.sticky td:first-child {
  position: sticky;
  left: 0;
  background-color: #F7F8FB;
  color: #000;
  /* font-weight: normal !important; */
}

.enhanced-table-class td:first-child {
  left: 0;
  background-color: #F7F8FB !important;
  color: #000;
  /* font-weight: normal !important; */
}

.dataTable th,
.dataTable td {
  min-width: 200px;
}

.enhanced-table-class>thead>tr>th:first-child {
  color: #fff;
  font-weight: bold !important;
  z-index: 1;
}

.table>:not(:first-child) {
  border-top: none;
}

.table>thead>th:first-child {
  background-color: #005cb9 !important;
}

.table-responsive .dataTables_length {
  display: none;
}

.tablefield-export-link {
  text-align: right;
}

.table-responsive .dataTables_filter {
  display: none;
}

.header_icons {
  float: right;
}

.field--name-field-data-table .field__item{
  margin-bottom: 32px;
  margin-top: 32px;
}
.dataTables_paginate a {
  margin: 0 20px;
  padding: 5px;
  text-decoration: none;
  color: #20294F;
  font-size: 16px;
  /* border: 0 !important; */
}
.datatables-field {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  background-color: #ffffff;
  margin-bottom: 10px !important;
  width: 100%;
  -webkit-box-shadow: 0 1px 7px 1px #dfe5f4;
  box-shadow: 0 1px 7px 1px #dfe5f4;
  /* border-top: 10px solid #005cb9; */
  border-top: 10px solid #005CB9;
  font-size: 18px;
  padding: 0px !important;
}

.dataTables_info {
  display: none;
}

input[type="search"]::placeholder {
  color: #003087;
}

input:focus {
  outline: none !important;
}

input[type="search"], .dataTables_wrapper.no-footer input {
  border: 2px solid #DCDEE1;
  border-radius: 5px;
  padding: 5px 0 0 18px;
  /* padding-left: 18px; */
  font-size: 16px;
  width: 242px;
  height: 48px;
  margin: 6px 0 10px 30px;
  background: url("/themes/custom/dshs_theme/icons/search-ko.png");
  background-size: 24px;
  background-position-y: center;
  background-position-x: right;
  background-repeat: no-repeat;
  background-origin: content-box;
  padding: 20px !important;
}

.tablefield-export-link {
  cursor: pointer;
  padding-left: 0px;
  /* margin-right: 25px; */
  margin: 15px 25px 0 0;
}
.paging_full_numbers {
  text-align: center !important;
  float: none !important;
}

#filtersubmit {
  position: relative;
  z-index: 1;
  left: -40px;
  top: 0;
  width: 26px;
  height: 24px;
  padding: 0;
}

#filtersubmit:focus {
  border: 2px solid #DCDEE1;
  outline: none;
}

.table-striped>tbody>tr:nth-of-type(odd)>*,
.table-striped>tbody>tr:nth-of-type(even)>*,
.enhanced-table-class>tbody>tr:nth-of-type(odd)>*,
.enhanced-table-class>tbody>tr:nth-of-type(even)>* {
  --bs-table-accent-bg: none !important;
  background-color: #fff;
  border-top: 2px solid #DCDEE1;
}

table {
  border: 2px solid #DCDEE1;
}

tr {
  background-color: none;
  border-top: 2px solid #DCDEE1;
}

tr td {
  height: 100px;
  background-color: #FFFFFF;
  border-right: 2px solid #DCDEE1
}

.table-wrapper table:not(.dataTable) tr:nth-child(odd) td {
  background-color: #FFFFFF;
}

.table-wrapper table:not(.dataTable) tr:nth-child(even) td {
  background-color: #F2F2F2;
}

.zebraBorder tr:nth-child(even) td {
  background-color: #F2F2F2;
}

tbody .ektron-ui-row-odd th, tbody .ektron-ui-row-even th {
  vertical-align: middle;
}

.table-wrapper table:not(.dataTable) tr:nth-child(odd) td:first-child {
  background-color: #FFFFFF !important;
}

.table-wrapper table:not(.dataTable) tr:nth-child(even) td:first-child {
  background-color: #F2F2F2 !important;
}

tr th{
  border: 2px solid #DCDEE1;
}

.enhanced-table-class>tbody>tr>td.col_0,
.table-striped>tbody>tr>td.col_0 {
  border-right: 2px solid #DCDEE1;
  background-color: #F7F8FB !important;
}

.enhanced-table-class>tbody>tr>th.row_0,
.table-striped>tbody>tr>th.row_0 {
  background-color: #003087 !important;
}

th.row_0.col_0.sorting {
  background-color: var(--bs-table-bg);
  color: #fff;
}

.dataTables_paginate .previous:before, .dataTables_paginate .first:before,
.dataTables_paginate .next::after, .dataTables_paginate .last::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 16px;
  margin-left: 15px;
  position: relative;
  top: 3px;
  margin-right: 15px;
  font-size: 24px;
}
.dataTables_paginate .previous:before, .dataTables_paginate .first:before {
  content: "\f104";
  margin-left: 2px;
  line-height: 18px;
}
.dataTables_paginate .paginate_button.first:before, .dataTables_paginate .paginate_button.last:after {
  display: inline-block;
  line-height: 18px;
}
.dataTables_paginate .paginate_button.first:before{
  border-left: 3px solid;
}
.dataTables_paginate .paginate_button.last:after{
  border-right: 3px solid;
}

.dataTables_paginate .next::after, .dataTables_paginate .last::after {
  content: '\f105';
  margin-right: 2px;
  line-height: 18px;
}

a.paginate_button.next,
a.paginate_button.last {
  /* font-weight: bold; */
  color: #003087;
  font-size: 16px;
}

#DataTables_Table_0_filter
  a.paginate_button.next {
  /* font-weight: bold; */
  color: #003087;
  font-size: 16px;
}

#DataTables_Table_0_filter
a.paginate_button.last {
  /* font-weight: bold; */
  color: #003087;
  font-size: 16px;
}

/* width */
.tableParent::-webkit-scrollbar,
div:has(> .enhanced-table-new)::-webkit-scrollbar,
.table-responsive::-webkit-scrollbar {
  height: 5px;
  /* box-shadow: 0px -5px 10px 0px rgb(0 0 0 / 50%); */
}

/* Track */
.tableParent::-webkit-scrollbar-track,
div:has(> .enhanced-table-new)::-webkit-scrollbar-track,
.table-responsive::-webkit-scrollbar-track {
  /* box-shadow: 0px -5px 10px 0px rgb(0 0 0 / 50%); */
  /* -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.4); */
  border-radius: 10px;
  width: 20px;
}

/* Handle */
.tableParent::-webkit-scrollbar-thumb,
div:has(> .enhanced-table-new)::-webkit-scrollbar-thumb,
.table-responsive::-webkit-scrollbar-thumb {
  /* -webkit-border-radius: 10px; */
  background: #003087;
  border-radius: 10px;
  width: 20px;
  /* box-shadow: 0px -5px 10px 0px rgb(0 0 0 / 50%); */
}

/* Handle on hover */
.tableParent::-webkit-scrollbar-thumb:hover,
div:has(> .enhanced-table-new)::-webkit-scrollbar-thumb:hover,
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #003087;
  width: 20px;
  /* box-shadow: 0px -5px 10px 0px rgb(0 0 0 / 50%); */
}

.tableParent {
  overflow-x: scroll;
  scrollbar-color: #003087 #F3F4F7;
  scrollbar-width: thin;
}
div#search_box {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}
div#search_box label{
  margin-right: 24px;
}
div#search_box img{
  width: 20px;
  height: auto;
}

.dataTables_wrapper {
  padding-bottom: 0 !important;
  margin-bottom: -18px !important;
}

.dataTable th.row_0.col_0.sorting {
  background-color: #005CB9;
  border-right: 2px solid #DCDEE1;
  vertical-align: middle;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
}

.enhanced-table-class {
  margin-bottom: -5px;
}

.enhanced-table-class th.sorting {
  background-color: #005CB9 !important;
  border-right: 2px solid #DCDEE1;
}

.dataTable th.row_0.sorting {
  background-color: #005CB9;
  border-right: 2px solid #DCDEE1;
  vertical-align: middle;
}

.dataTable thead tr,
.dataTable thead tr th {
  border: none;
}

/*sticky table column end*/

/* Datatable in ckeditor start */
.dataTables_wrapper.no-footer {
  border-radius: 4px;
  background-color: #ffffff;
  margin-bottom: 6px !important;
  width: 100%;
  /* -webkit-box-shadow: 0 1px 7px 1px #dfe5f4;
  box-shadow: 0 1px 7px 1px #dfe5f4; */
  border-top: 8px solid #005CB9;
  font-size: 18px;
  padding: 0 0 24px 0;
}

.table-responsive.tbl-responsive-datatable {
  -webkit-box-shadow: 0 1px 7px 1px #dfe5f4;
  box-shadow: 0 1px 7px 1px #dfe5f4;
}
.dataTables_wrapper.no-footer .dataTables_filter label{
  display: none;
}
.tbl-responsive-datatable .dataTables_wrapper.no-footer{
  border: 0;
}
.dataTables_wrapper.no-footer .paginate_button.first.disabled, .dataTables_wrapper.no-footer .paginate_button.previous.disabled,
.dataTables_wrapper.no-footer .paginate_button.next.disabled, .dataTables_wrapper.no-footer .paginate_button.last.disabled,
.dataTables_paginate .paginate_button.first.disabled, .dataTables_paginate .paginate_button.previous.disabled,
.dataTables_paginate .paginate_button.next.disabled, .dataTables_paginate .paginate_button.last.disabled{
  color: #20294F !important;
  opacity: 1;
}
.dataTables_wrapper.no-footer .paginate_button.first, .dataTables_wrapper.no-footer .paginate_button.previous,
.dataTables_wrapper.no-footer .paginate_button.next, .dataTables_wrapper.no-footer .paginate_button.last,
.dataTables_paginate .paginate_button.first, .dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next, .dataTables_paginate .paginate_button.last{
  color: #005CB9 !important;
}
.dataTables_paginate {
  padding: 15px 0px;
  margin-top: 3px;
  text-align: center;
}

.tableParent {
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
}

.dataTables_filter label {
  float: right;
  margin: 10px 32px 10px 10px;
}

.dataTables_length {
  display: none;
}

.header_text {
  width: 60%;
  float: left;
  font-weight: bold;
  /* padding-left: 10px; */
}

.header_icn {
  float: right;
  width: 40%;
  vertical-align: middle;
  text-align: center;
}

.header_icn img {
  padding: 0;
}
.dataTable.no-footer thead tr th{
  height: 65px;
  width: 200px !important;
}

@media only screen and (max-width: 900px) {
  .content-flex-container .content-main-content {
    width: 100%;
  }
  .dataTables_paginate>.paginate_button {
    font-size: 0 !important;
  }

  .dataTables_paginate a, .dataTables_paginate, #cus_pagination {
    margin: 0;
    padding: 6px 0;
  }
  .dataTables_paginate span a {
    margin: 10px;
    padding: 10px;
    border-radius: 50px;
    display: none;
    width: auto;
    height: auto;
    margin: auto;
  }

  div#search_box {
    margin-top: 10px !important;
  }

  .caption {
    padding-top: 20px !important;
  }
  input[type="search"]{
    margin: 6px 0 10px 15px;
  }
  table.dataTable.no-footer{
    margin-top: 0 !important;
  }
  .dataTables_wrapper .dataTables_filter input[type="search"]{
    margin: auto;
  }
}
/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  input[type="search"]{
    width: 90%;
  }
  div#search_box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .datatables-field .caption {
    padding: 40px 0px 0px 15px !important;
  }
  div#search_box img{
    height: auto;
  }
  .tablefield-export-link{
    margin-right: 20px;
  }
  .dataTables_filter label{
    float: none;
    margin: 60px 0 0;
  }
  table.dataTable.no-footer caption{
    width: 100%;
    font-size: 18px !important;
  }
  .dataTables_wrapper .dataTables_paginate span a.paginate_button,
  .tablefield-wrapper .dataTables_paginate span a.paginate_button,
  .dataTables_wrapper.no-footer .paging_full_numbers span .paginate_button{
    display: none;
  }
  .dataTables_wrapper .dataTables_paginate span a.paginate_button.current,
  .tablefield-wrapper .dataTables_paginate span a.paginate_button.current,
  .dataTables_wrapper.no-footer .paging_full_numbers span .paginate_button.current{
    display: inline-block;
  }
}
@media only screen and (min-device-width: 800px) {
  .node--type-programs .content-flex-container .content-main-content {
    /* width: 100% !important; */
    margin-left: auto;
  }
  .content-flex-container .content-main-content {
    width: 70% !important;
  }
  #cus_pagination {
    padding: 5px 0px;
    margin-top: 3px;
  }

  .dataTables_paginate span a {
    margin: 10px;
    padding: 10px;
    border-radius: 50px;
  }
  .dataTables_paginate a{
    margin: 0;
  }
}

.field--name-field-data-table .caption {
  color: #20294F;
  font-size: 20px;
}

.dataTables_paginate span .current {
  margin: 10px;
  color: #fff;
  background: #003087;
  padding: 8px 14px;
  border-radius: 50%;
  display: inline-block !important;
}
table.dataTable thead .sorting_asc, table.dataTable thead .sorting {
  background-image: none !important;
}
table.dataTable thead tr{
  display: flex;
  padding: 0;
  background: #005CB9;
  flex-wrap: nowrap;
  flex-shrink: 0;
  width: 100%;
  justify-content: space-between;
}

table.enhanced-table-new {
    border-radius: 4px;
    border: none;
    margin-top: 0px;
    margin-bottom: 2px;
    -webkit-box-shadow: 0 1px 0px 1px #dfe5f4;
    box-shadow: 0 1px 0px 1px #dfe5f4;
}
.enhanced-table-new thead tr {
  background-color: #005CB9;
  border-top: none !important;
}
.enhanced-table-new thead tr th {
  border: none;
  height: 65px;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-direction: row;
}

.enhanced-table-new tbody tr td {
  border: none;
}

.enhanced-table-new tr:nth-child(odd) td:first-child {
  background-color: white;
}

.enhanced-table-class tr:nth-child(even) td:first-child {
  background-color: #F2F2F2;
}

.enhanced-table-new caption {
  color: #20294F;
}
table.dataTable tbody tr{
  display: flex;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
  width: 100%;
  justify-content: space-between;
}
table.dataTable tbody tr.odd, table.dataTable tbody tr.odd td{
  background: #fff;
}
table.dataTable tbody tr.even, table.dataTable tbody tr.even td{
  background: #f9f9f9;
}
.table-striped>tbody>tr:nth-of-type(even)>*,
.table-striped>tbody>tr:nth-of-type(odd)>*{
  border-top: 0;
  max-width: 200px;
}
table.dataTable thead th.sorting{
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
}
table.dataTable tbody{
  display: flex;
  flex-direction: column;
}
table.dataTable tbody tr{
  padding: 0;
}

th:not(:first-child) {
  border-right: none !important;
}
th {
  min-width: 120px;
}
.tablesaw-cell-content {
  word-break: break-all;
  overflow-wrap: break-word;
}
.paginate_button {
  cursor: pointer !important;
}
.table-responsive {
  overflow-y: hidden !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button,
.tablefield-wrapper .dataTables_paginate .paginate_button
{
  padding: 0.5em 1em;
  margin: 10px;
  border: 2px solid #fff;
  display: inline-block;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.tablefield-wrapper .dataTables_paginate .paginate_button.current {
  background: #005CB9;
  color: #fff !important;
  border-radius: 50%;
  display:inline-block !important;
}
.paginate_button span .current, .paginate_button span .current:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.tablefield-wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #fff !important;
  background: #005CB9;
  /*padding: 7px 14px;*/
  border-radius: 50%;
 }
.dataTables_wrapper .dataTables_paginate .paginate_button.current:focus,
.tablefield-wrapper .datatables-field .dataTables_paginate .paginate_button.current:focus {
  background: #005CB9;
  color: #fff !important;
  border-radius: 50%;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
.tablefield-wrapper .dataTables_paginate .paginate_button:hover
{
  background: #DDDDDD;
  border: 2px solid #fff;
  color: #005CB9 !important;
  /*padding:none;*/
  text-decoration: none;
  box-shadow: none;
  border-radius: 5px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.tablefield-wrapper .dataTables_paginate .paginate_button.disabled:hover
{
  background: none;
  border: 2px solid #fff;
  color: #20294F !important;
  /*padding:none;*/
  text-decoration: none;
  box-shadow: none;
  border-radius: 5px;
  cursor: auto !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:focus,
.tablefield-wrapper .dataTables_paginate .paginate_button.disabled:focus
{
  cursor: auto !important;
  border: 2px solid #fff !important;
  background: none !important;
}

.dataTables_wrapper .dataTables_paginate span .paginate_button:hover,
.datatables-field .dataTables_paginate span .paginate_button:hover,
.tablefield-wrapper .dataTables_paginate span .paginate_button:hover,
.tablefield-wrapper .datatables-field .dataTables_paginate span .paginate_button:hover {
  /*padding: 8px 14px;*/
  border-radius: 50%;
  border: 2px solid #fff;
}

.dataTables_wrapper .dataTables_paginate span .paginate_button:focus,
.datatables-field .dataTables_paginate span .paginate_button:focus,
.tablefield-wrapper .dataTables_paginate span .paginate_button:focus,
.tablefield-wrapper .datatables-field .dataTables_paginate span .paginate_button:focus {
  /*padding: 8px 14px;*/
  border-radius: 50%;
  background: #DDDDDD;
  color: #20294F !important;
  border: 2px solid #005CB9;
  outline: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:focus,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:focus,
.tablefield-wrapper .dataTables_paginate .paginate_button:focus,
.tablefield-wrapper .dataTables_paginate .paginate_button.disabled:focus
{
  background: #DDDDDD;
  border: 2px solid #005CB9;
  /*padding: none;*/
  text-decoration: none;
  box-shadow: none;
  border-radius: 5px;
  outline: none;
}
.tablefield-wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #fff !important;
  background: #005CB9;
  border-radius: 50px;
}
@media only screen and (max-width: 900px) {

  .dataTables_wrapper .dataTables_paginate span .paginate_button:focus,
  .datatables-field .dataTables_paginate span .paginate_button:focus,
  .tablefield-wrapper .dataTables_paginate span .paginate_button:focus,
  .tablefield-wrapper .datatables-field .dataTables_paginate span .paginate_button:focus {
    border: none;
  }
  .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:focus,
  .tablefield-wrapper .dataTables_paginate .paginate_button.disabled:focus
  {
    border:2px solid #fff;
  }
  .dataTables_wrapper .dataTables_paginate .paginate_button.first,
  .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
  .dataTables_wrapper .dataTables_paginate .paginate_button.next,
  .dataTables_wrapper .dataTables_paginate .paginate_button.last,
  .tablefield-wrapper .dataTables_paginate .paginate_button.first,
  .tablefield-wrapper .dataTables_paginate .paginate_button.previous,
  .tablefield-wrapper .dataTables_paginate .paginate_button.next,
  .tablefield-wrapper .dataTables_paginate .paginate_button.last
  {
    min-height: 30px;
    min-width: 40px;
    margin:10px 5px;
    display: inline-block;
  }
  .dataTables_wrapper .dataTables_paginate .paginate_button.first:before,
  .dataTables_wrapper .dataTables_paginate .paginate_button.previous:before,
  .dataTables_wrapper .dataTables_paginate .paginate_button.next:after,
  .dataTables_wrapper .dataTables_paginate .paginate_button.last:after,
  .tablefield-wrapper .dataTables_paginate .paginate_button.first:before,
  .tablefield-wrapper .dataTables_paginate .paginate_button.previous:before,
  .tablefield-wrapper .dataTables_paginate .paginate_button.next:after,
  .tablefield-wrapper .dataTables_paginate .paginate_button.last:after
  {
    margin: 0;
    top:4px;
  }

}
/*sticky table column*/
.enhanced-table-class>tbody>tr>th:first-child,
.enhanced-table-class>thead>tr>th:first-child {
   border-right: 2px solid #DCDEE1;
}

table.dataTable.no-footer {
  border-bottom: none !important;
  caption-side: top;
  margin-top: 10px !important;
}
table.dataTable.no-footer caption{
  margin: auto;
  font-size: 24px;
  font-weight: bold;
  color: #20294F;
  padding-left: 10px;
}
tr>th>a{
  color:#000 !important;
  text-decoration: none;
  font-weight: normal !important;
}

.table-description {
  font-size: 24px;
  font-weight: bold;
  color: #20294F;
  padding: 30px 0px 0px 30px;
}
.paragraph--view-mode--default .field--name-field-table-description {
  display: none;
}
.tableParent #DataTables_Table_0 {
  box-shadow: 0 1px 7px 1px #dfe5f4;
  margin-bottom: 6px;
}
table.enhanced-table-new tr th {
  background-color: #005CB9;
  vertical-align: top;
  padding-top: 20px;
}

table.enhanced-table-new tr td:first-child {
   padding-left: 25px;
   vertical-align: none;
}
table.enhanced-table-new tr th:first-child {
  background-color: #005CB9;
  padding-left: 25px;
  padding-top: 20px;
  border-left: none;
  border-top: none;
}
table.enhanced-table-new tr th:last-child {
  background-color: #005CB9;
  border-left: none;
  border-top: none;
}
div:has(> .enhanced-table-new) {
  width: 100%;
  overflow-y: hidden;
  overflow-x: scroll;
  scrollbar-color: #003087;
  margin: 0 auto;
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  -webkit-box-shadow: 0 1px 7px 1px #20294F42;
  -moz-box-shadow: 0 1px 7px 1px #20294F42;
  box-shadow: 0 1px 7px 1px #20294F42;
}

.enhanced-table-caption {
  margin-bottom: 20px;
}

.enhanced-table-summary {
  font-size: 16px;
}

.paragraph--type--text-paragraph .text-formatted caption{
  caption-side: top;
}
