body {
  padding: 0;
  margin: 0;
}

button > * {
  pointer-events: none;
}

.dt-display-block {
  display: block !important;
}

.dt-display-flex {
  display: flex !important;
}

.dt-hide {
  display: none !important;
}

.dt-container {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: flex-start;
  width: 100%;
  font-size: 0.85rem;
  /* padding: 0px 20px; */

  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

.dt-header {
  width: 100%;

  display: flex;

  flex-direction: row;

  align-items: center;

  justify-content: space-between;
  padding: 20px 0px;

  box-sizing: border-box;
}

.dt-header-view-container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 0px;
}

.dt-header-view-label {
}

/* number of entries viewed dropdown */
.dt-header-view-dropdown-container {
  margin: 0px 10px;
  position: relative;
  display: inline-block;
}

.dt-header-view-dropdown-btn {
  position: relative;
  height: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 60px;
  cursor: pointer;
  border: none;
  border-bottom: 1px solid #4d4d4d;
  background-color: transparent;
  color: #4d4d4d;
}

.dt-header-view-dropdown-btn:focus {
  outline: none;
}

.dt-header-view-dropdown-btn-caret {
  padding: 0px;
  margin: 0px;
}

.dt-header-view-dropdown-btn::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 14px;
  content: "\f0d7";
  cursor: pointer;
}

.dt-header-view-dropdown-btn.caret-up::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 14px;
  content: "\f0d8";
  cursor: pointer;
}

.dt-header-view-dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 60px;

  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dt-header-view-dropdown-item {
  padding: 12px 16px;
  box-sizing: border-box;
  text-decoration: none;
  display: block;
  background-color: #ffffff;
  color: #4d4d4d;
}

.dt-header-view-dropdown-item:hover {
  background-color: #00294c;
  color: #ffffff;
  cursor: pointer;
}

/* search */
.dt-header-search-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  margin: 10px 0px;
}

.dt-header-search-container-scrollable {
  display: flex;

  flex-direction: row;

  align-items: center;

  justify-content: flex-end;
  width: 100%;
}

.dt-header-search-box {
  margin: 0px 0px 0px 10px;
  padding: 0px 12px;
  font-weight: 500;
  box-sizing: border-box;
  height: 35px;
  border: none;
  border-bottom: 1px solid;
  border-radius: 3px;
  background-color: transparent;
  color: #4d4d4d;
  border-color: #4d4d4d;
}

.dt-header-search-box:focus {
  outline: none;
}

.dt-header-search-box::-webkit-input-placeholder {
  font-style: italic;
}

.dt-header-search-box::-moz-placeholder {
  font-style: italic;
}

.dt-header-search-box:-ms-input-placeholder {
  font-style: italic;
}

.dt-header-search-box::-ms-input-placeholder {
  font-style: italic;
}

.dt-header-search-box::placeholder {
  font-style: italic;
}

.dt-head-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  border: none;
  border-bottom: 1px solid lightgrey;
  height: 50px;
  font-size: 13px;
}

.dt-head-row {
  display: flex;

  flex-direction: row;

  align-items: center;

  justify-content: space-between;
  font-weight: 600;
  width: calc(100% - 20px);
}

.dt-head-custom-checkbox {
  position: absolute;
  height: 15px;
  width: 15px;
  border: 1px solid;
  border-radius: 3px;
  cursor: pointer;
}

.dt-head-custom-checkbox:after {
  content: "";
  position: absolute;
  display: none;
}

.dt-check-row-checkbox-container
  input:checked
  ~ .dt-head-custom-checkbox:after {
  display: block;
}

.dt-check-row-checkbox-container .dt-head-custom-checkbox:after,
.checkbox-after {
  left: 4px;
  top: -1px;
  width: 3px;
  height: 8px;
  border: solid;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.dt-head-row-item-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 8px 0px 8px 10px;
  box-sizing: border-box;
}

.dt-head-row-item-label-icon-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dt-head-row-item-container > * {
  pointer-events: none;
}

.dt-head-row-item-label {
  white-space: nowrap;
  margin-right: 20px;
}

.dt-head-row-item-icon-container {
  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;
  padding-right: 5px;
}

.dt-head-row-item-icon-up,
.dt-head-row-item-icon-down {
  display: block;
  font-size: 0.9rem;
  color: lightgray;
  height: 10px;
}

.dt-head-row-item-icon-sorted {
  color: gray;
}

.dt-head-container-actions-title {
  width: 100%;
}

.dt-body-container {
  width: 100%;
}

.dt-body-container-scrollable {
  overflow: hidden;
  overflow-y: scroll;
  height: 100%;
  max-height: 220px;
}

.dt-body-no-data {
  display: flex;

  flex-direction: row;

  justify-content: center;

  align-items: center;
  font-style: italic;
  width: 100%;
  padding: 10px;

  box-sizing: border-box;
}

.dt-body-no-result {
  display: flex;

  flex-direction: row;

  justify-content: center;

  align-items: center;
  font-style: italic;
  width: 100%;
  padding: 10px;

  box-sizing: border-box;
}

.dt-body-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  border-top: none;
  border-top: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;
  height: initial;
  min-height: 50px;
  font-size: 13px;
  width: 100%;
}

.dt-odd-row {
  background-color: #ffffff;
}

.dt-even-row {
  background-color: #ededed;
}

.dt-body-row-checked {
  background-color: #ff4a4a;
  color: #ffffff;
}

.dt-head-row-checkbox,
.dt-body-row-checkbox {
  width: 20px;
}

.dt-body-row-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 20px);
}

.dt-body-row-item-container {
  display: flex;
  position: relative;
  flex-direction: row;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  box-sizing: border-box;
}

.dt-body-row > .dt-body-row-item-container:first-child {
  position: relative;
}

/* adding action buttons */
.dt-body-row-item-dropdown-container {
  position: relative;
  display: inline-block;
}

.dt-body-row-item-action-btn-container {
}

.dt-body-row-item-action-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.dt-body-row-item-action-btn {
  /* padding: 8px 12px;
  margin: 5px;
  box-sizing: border-box;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px; */
}

.dt-body-row-item-action-btn:hover {
  /* cursor: pointer; */
}

.dt-body-row-item-toggle-dropdown > * {
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dt-body-row-item-toggle-btn {
}

.dt-body-row-item-action-dropdown-container {
  display: none;
  position: absolute;
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 45px;
  left: -95px;
  background-color: #ffffff;
  color: #4d4d4d;
}

.dt-body-row-item-action-dropdown-btn {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dt-body-row-item-action-dropdown-btn:hover {
  cursor: pointer;
  background-color: #00294c;
  color: #ffffff;
}

.dt-check-row-checkbox-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* hide the default checkbox */
.dt-check-row-checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 5px;
  width: 5px;
  top: -5px;
  left: 5px;
}

/* custom checkbox styling */
.custom-checkbox {
  position: absolute;
  height: 15px;
  width: 15px;
  border: 1px solid;
  border-radius: 3px;
  cursor: pointer;
  /* background-color: transparent;
  color: #4d4d4d;
  border-color: #4d4d4d; */
  background-color: #ffffff !important;
  color: #4d4d4d !important;
  border-color: #4d4d4d !important;
}

.custom-checkbox:checked {
  /* background-color: #ededed;
  color: #4d4d4d;
  border-color: #4d4d4d; */
}

.custom-checkbox:after {
  content: "";
  position: absolute;
  display: none;
}

.dt-check-row-checkbox-container input:checked ~ .custom-checkbox:after {
  display: block;
}

.dt-check-row-checkbox-container .custom-checkbox:after,
.checkbox-after {
  left: 4px;
  top: -1px;
  width: 3px;
  height: 8px;
  border: solid;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.dt-check-row-checkbox-checked {
  background-color: #fa8e87;
  color: #ffffff;
}

.dt-check-row-checkbox-select-all {
  background-color: transparent;
  color: #4d4d4d;
  border: #4d4d4d;
}

.dt-check-row-checkbox-select-all:checked + span {
  background-color: #ededed;
  color: #4d4d4d;
  border-color: #4d4d4d;
}

.dt-collapse {
  display: block;
  line-height: 14px;
  cursor: pointer;
  margin-right: 10px;
  height: 14px;
  width: 14px;
  font-size: 1rem;
}

.dt-expand-row-btn {
  display: none;
}

.dt-expand-row-btn::after {
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 14px;
  content: "\f0dA";
  cursor: pointer;
  padding-right: 10px;
  height: 14px;
  width: 14px;
  font-size: 1rem;
}

.dt-expand-row-btn.expand-row::after {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  line-height: 14px;
  content: "\f0d7";
  cursor: pointer;
  margin-right: 10px;
  height: 14px;
  width: 14px;
  font-size: 1rem;
}

.dt-body-row-item-label-edit-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  cursor: auto;
}

.dt-body-row-item-label {
  white-space: nowrap;
  text-align: left;
  width: auto;
  padding-right: 10px;
  box-sizing: border-box;
  font-weight: 500;
}

.dt-body-row-item-label-text-multi {
  padding: 3px 0px;
}

.dt-body-row-item-edit-icon {
  font-weight: 600;
  padding-bottom: 1px;
  cursor: pointer;
  font-size: 0.85rem;
  padding-left: 5px;
  box-sizing: border-box;
  color: lightgray;
}

.dt-body-row-item-edit-icon-checked {
  color: #ffffff;
}

.dt-body-row-item-edit-container {
  display: none;
  width: 20px;
}

.dt-body-row-item-edit-icon:hover {
  /* color: black; */
}

.dt-child-row-item-edit-input,
.dt-body-row-item-edit-input {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid #4d4d4d;
  border-radius: 2px;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
  padding: 8px 4px 4px 4px;
  box-sizing: border-box;
  margin: 0px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  background-color: transparent;
  color: #4d4d4d;
}

.dt-body-row-item-edit-input:focus {
  outline: none;
}

.dt-footer-container {
  display: flex;

  flex-direction: row;
  width: 100%;

  align-items: center;
  position: relative;
  margin: 10px 0px;
}

.dt-footer-row {
  display: flex;

  flex-direction: column-reverse;

  justify-content: center;

  align-items: center;
  width: 100%;
}

.dt-footer-item {
  display: flex;

  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0px;
  margin: 10px 0px;
  font-size: 13px;
}

.pagintation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.dt-footer-item-l-c {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0px;
  width: 80%;
}

.dt-footer-item-l,
.dt-footer-item-r {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

.dt-footer-item-r {
  padding: 10px 0px;
}

.dt-footer-item-r-label {
  /* font-size: 0.9rem; */
  margin-right: 10px;
}

.dt-footer-item-c {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0px 10px;
}

.dt-footer-prev-button,
.dt-footer-next-button {
  cursor: pointer;
  height: 35px;
  width: 35px;
  border: 1px solid;
  background-color: #ffffff;
  color: #4d4d4d;
  border-color: #9b9b9b;
}

.dt-footer-prev-button:hover,
.dt-footer-next-button:hover {
  background-color: #ededed;
}

.dt-footer-prev-next-button {
  font-size: 0.6rem;
}

.dt-footer-page-numbers-container {
  display: flex;

  flex-direction: row;

  align-items: center;

  justify-content: center;

  box-sizing: border-box;
}

.dt-footer-jump-page,
.dt-footer-text {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 8px;
  height: 35px;
  width: 35px;
  background-color: #ffffff;
  color: #4d4d4d;
  border-color: #9b9b9b;
  box-sizing: border-box;
  border: 1px solid;
}

.dt-footer-jump-page:hover,
.dt-footer-text:hover {
  background-color: #ededed;
}

.dt-footer-text-active {
  background-color: #ededed;
}

/* number of pages (footer) dropdown */
.dt-footer-item-r-dropdown {
}

.dt-footer-item-r-dropdown-btn {
  padding: 8px 4px 0px 12px;
  box-sizing: border-box;
  height: 30px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 60px;
  cursor: pointer;
  border: none;
  border-bottom: 1px solid;
  outline: none;
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.dt-footer-item-r-dropdown-btn-caret {
  padding: 0px;
  margin: 0px;
}

.dt-footer-item-r-dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 60px;

  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  overflow: hidden;
  overflow-y: scroll;
  max-height: 200px;
}

.dt-footer-item-r-dropdown-content-item {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dt-footer-item-r-dropdown-content-item:hover {
  background-color: lavender;
  cursor: pointer;
}

.dt-footer-total-rows {
  padding: 10px 0px;
}

.dt-child-row-container {
  display: none;

  flex-direction: column;
}

.dt-child-row {
  display: flex;
  flex-direction: row;
  padding: 8px 10px;
  box-sizing: border-box;
  width: 100%;
  border-bottom: 1px solid #ededed;
  align-items: center;
}

.dt-child-row-header {
  width: 35%;
  font-weight: bold;
}

.dt-child-row-label-edit-container {
  display: flex;

  flex-direction: row;

  justify-content: space-between;

  align-items: center;
  width: 100%;
}

.dt-child-row-label {
  width: 100%;
}

.dt-child-row-edit-icon-container {
}

.dt-child-row-edit-icon {
  color: gray;
  cursor: pointer;
  font-size: 0.85rem;
  padding-left: 5px;

  box-sizing: border-box;
}

.dt-child-row-edit-icon:hover {
  color: black;
}

.dt-hide-column {
  display: none;
  width: 0px !important;
}

/* filter */
.dt-filter-container {
  width: 100%;
}

.dt-filter-options-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 20px;
  padding: 20px;
  box-sizing: border-box;
  border-bottom: 1px solid #ededed;
}

.dt-filter-options-container-fixed {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 20px;
  padding: 20px 0px;
  border-bottom: 1px solid #ededed;
}

.dt-filter-options-delete-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ee3124;
  color: #ededed;
}

.dt-show-filter-options {
  margin-bottom: 0px;
}

.dt-delete-filter-options {
  cursor: pointer;
}

.dt-filter-option {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
  width: 100%;
  height: 40px;
}

.checkbox-main-container {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
}

.dt-filter-option-input-group {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: flex-start;
}

.dt-filter-search-condition + span {
  margin: 0px 10px 0px 0px;
  width: 150px !important;
}

.dt-filter-label {
  margin: 0px 20px 0px 0px;
  min-width: 60px;
}

.dt-filter-checkbox-label {
  margin: 0px 0px 0px 10px;
  min-width: 120px;
}

.dt-filter-option-input {
  background-color: transparent;
  color: #4d4d4d;
  border: none;
  border-bottom: 1px solid #4d4d4d;
  width: 100%;
  padding: 10px 5px 3px 5px;
  line-height: 22px;
}

.dt-filter-and-or + span {
  width: 70px !important;
  margin-left: 10px;
}

.dt-filter-add-group-select-condition-container {
  padding: 0px 0px 20px 20px;
}
/* Loader */
.scroll-loader-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 100%;
  padding: 8px 0px 8px 10px;
  box-sizing: border-box;
  box-shadow: 0px -10px 50px 10px #ffffff;
  background-color: #ffffff;
}

.show-scroll-loader-container {
  display: flex;
  border-bottom: 1px solid lightgray;
}

.hide-scroll-loader-container {
  display: none;
  border: none;
}

.scroll-loader {
  display: block;
  /*Lightgrey*/
  border: 4px solid #ededed;
  /*Blue*/
  border-top: 4px solid #00294c;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 2s linear infinite;
}

.scroll-loader-text {
  font-weight: 700;
  padding: 0px 10px;
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 
======================================================================================================
                                               small screen
======================================================================================================
  */
@media only screen and (max-width: 1024px) {
  .dt-header-search-container {
    justify-content: center;
  }

  .dt-header-search-box {
    width: 100%;
    max-width: 95px;
  }
  .dt-child-row {
    flex-direction: column;
    border-bottom: 1px solid #ededed;
    align-items: flex-start;
  }
  .dt-child-row-header {
    width: 100%;
    padding: 5px 0px;
  }
}
/* 
======================================================================================================
                                               Tablet
======================================================================================================
  */
@media only screen and (max-width: 768px) {
  /* .dt-container {
      font-size: 0.85rem;
    } */

  .dt-header {
    flex-direction: column-reverse;
  }

  .dt-header-search-box {
    height: 30px;
    max-width: 80%;
  }

  .dt-header-view-dropdown-btn {
    height: 30px;
  }

  .dt-expand-row-btn::after {
    font-size: 1rem;
  }

  .dt-body-row-item-edit-container {
    display: none;
  }

  .dt-footer-item {
    flex-direction: column;

    align-items: center;

    justify-content: center;
  }

  .pagintation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .dt-footer-item-c {
    margin: 10px 0px;
    width: 100%;
  }

  .dt-footer-prev-next-button {
    font-size: 0.6rem;
  }

  .dt-footer-prev-button,
  .dt-footer-next-button {
    height: 30px;
    width: 30px;
  }

  .dt-footer-prev-next-button {
    font-size: 0.6rem;
  }

  .dt-footer-jump-page,
  .dt-footer-text {
    height: 30px;
    width: 30px;
  }

  .dt-footer-item-r-dropdown-btn {
    height: 30px;
    font-size: 0.85rem;
  }
}

/* 
======================================================================================================
                                                Mobile
======================================================================================================
*/

@media only screen and (max-width: 480px) {
  .dt-header-view-container {
    width: 100%;
    margin: 10px 0px;

    justify-content: center;
  }

  .dt-header-search-container {
    width: 100%;
    margin: 10px 0px;

    justify-content: center;
  }

  .dt-header-search-box {
    margin: 0px;
    width: 80%;
  }

  .dt-body-row-content {
    width: 100%;
  }

  .dt-child-row-label {
    width: 100%;
  }
  /* filter */
  .dt-show-filter-options {
    margin-bottom: 40px;
  }
  .dt-filter-option-input-group {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .dt-filter-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 100%;
    margin: 20px 0px;
    height: auto;
  }

  .dt-filter-options-container {
    margin: 40px 0px;
  }

  .dt-filter-options-container-fixed {
    margin: 40px 0px;
  }

  .dt-filter-checkbox-label {
    margin: 0px 0px 0px 10px;
  }

  .dt-filter-search-condition + span {
    width: 100% !important;
  }
  .dt-filter-and-or + span {
    width: 100% !important;
    margin-left: 0px;
  }
  .dt-filter-add-group-select-condition-container {
    padding: 0px 0px 20px 0px;
  }
}
