/* 
/* 
/*  custom.css
/*
/*  If not using Gulp and Sass, add your custom CSS below then include it
/*  in your page by adding a reference to assets/css/custom.css in the head of each page.
/*
*/
.btn-primary-toba {
  color: #fff;
  background-color: #0099AD;
  border-color: #0099AD;
}

.btn-primary-toba:hover {
  color: #fff;
  background-color: #125670;
  border-color: #125670;
}

.form-control-custom {
  line-height: 0.75;
  /* Adjust the line height for larger spacing */
  padding: 12px 16px 100px;
  /* Adjust the padding for larger spacing */
}



.clearfix:after {
  clear: both;
  content: "";
  display: block;
  height: 0;
}

/* Responsive Arrow Progress Bar */


.arrow-steps {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  /* evenly distributes the space between the steps */
  align-items: stretch;
  /* makes sure all steps stretch to fit the container */
}

.arrow-steps .step {
  font-size: 14px;
  text-align: center;
  color: #777;
  cursor: default;
  margin: 0 1px;
  padding: 20px 0px 20px 10px;
  width: 8%;
  /* makes each step take up the maximum available width */
  float: none;
  /* remove floating */
  position: relative;
  background-color: #d6d2c4;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  flex: 1 0 auto;

}


.arrow-steps .step a {
  color: #d6d2c4;
  text-decoration: none;
}

.arrow-steps .step:after,
.arrow-steps .step:before {
  content: "";
  position: absolute;
  top: 50%;
  /* Changed from top: 0; */
  right: -16px;
  width: 0;
  height: 0;
  border-top: 45px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 17px solid #d6d2c4;
  z-index: 2;
  transform: translateY(-50%);
}

.arrow-steps .step:before {
  right: auto;
  left: 0;
  border-left: 17px solid #fff;
  z-index: 0;
  transform: translateY(-50%);
}


.arrow-steps .step:first-child:before {
  border: none;
}

.arrow-steps .step:last-child:after {
  border: none;
}


.arrow-steps .step.done span:before {
  opacity: 1;
  content: "";
  position: absolute;
  top: -2px;
  left: -10px;
  font-size: 11px;
  line-height: 21px;
  width: 20px;
  /* add dimensions for visibility */
  height: 20px;
  /* add dimensions for visibility */
}

.arrow-steps .step.current {
  color: #fff;
  background-color: #6eceb2;
}

.arrow-steps .step:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.arrow-steps .step:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.arrow-steps .step span {
  position: relative;
}

*.arrow-steps .step.done span:before {
  opacity: 1;
  content: "";
  position: absolute;
  top: -2px;
  left: -10px;
  font-size: 11px;
  line-height: 21px;
}

.arrow-steps .step.current {
  color: #fff;
  background-color: #6eceb2;
}

.arrow-steps .step.current a {
  color: #d6d2c4;
  text-decoration: none;
}

.arrow-steps .step.current:after {
  border-left: 17px solid #6eceb2;
}

.arrow-steps .step.done {
  color: #173352;
  background-color: #6eceb2;
}

.arrow-steps .step.done a {
  color: #173352;
  text-decoration: none;
}

.arrow-steps .step.done:after {
  border-left: 17px solid #6eceb2;
}

.step-content {
  /* Apply the text truncation styles here instead */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: calc(100% - 17px);
  /* subtract the arrow width */
  box-sizing: border-box;
  /* add this */
  position: relative;
  /* Ensure the tooltip positions correctly */
  padding-right: 17px;
  /* add this, equivalent to the arrow width */
}


.tooltip-step {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  /* Position the tooltip above the text */
  left: 50%;
  margin-left: -60px;
  width: 120px;
  /* Width of the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

.arrow-steps .step:hover .tooltip-step {
  visibility: visible;
  opacity: 1;
}

.step a,
.step a:visited {
  color: inherit;
  text-decoration: none;
}

.step a:hover,
.step a:active {
  color: inherit;
  text-decoration: none;
}

.step.current a,
.step.current a:visited {
  color: #fff;
  text-decoration: none;
}

.step.current a:hover,
.step.current a:active {
  color: #fff;
  text-decoration: none;
}

.column-link {
  color: blue !important;
  text-decoration: underline;
}

/* for material table datatable */
div.material-table {
  padding: 0;
}

div.material-table .hiddensearch {
  padding: 10px 14px 0 24px;
  border-bottom: solid 1px #DDDDDD;
  display: none;
}

div.material-table .hiddensearch input {
  margin: 0;
  padding-top: 2px;
  border: transparent 0 !important;
  height: 48px;
  color: rgba(0, 0, 0, .84);
}

div.material-table .hiddensearch input:active {
  border: transparent 0 !important;
}

div.material-table table {
  table-layout: fixed;
}

div.material-table .table-header {
  height: 64px;
  padding-left: 14px;
  padding-right: 14px;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  display: flex;
  -webkit-display: flex;
  border-bottom: solid 1px #DDDDDD;
}

div.material-table .table-header .actions {
  display: -webkit-flex;
  margin-left: auto;
}

div.material-table .table-header .btn-flat {
  min-width: 36px;
  padding: 0 8px;
}

div.material-table .table-header input {
  margin: 0;
  height: auto;
}

div.material-table .table-header i {
  color: rgba(0, 0, 0, 0.54);
  font-size: 24px;
}

div.material-table .table-footer {
  height: 56px;
  padding-left: 24px;
  padding-right: 14px;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  -webkit-align-items: center;
  align-items: center;
  font-size: 12px !important;
  color: rgba(0, 0, 0, 0.54);
}

div.material-table .table-footer .dataTables_length {
  display: -webkit-flex;
  display: flex;
}

div.material-table .table-footer label {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.54);
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  /* works with row or column */

  flex-direction: row;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

div.material-table .table-footer .select-wrapper {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  /* works with row or column */

  flex-direction: row;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}

div.material-table .table-footer .dataTables_info,
div.material-table .table-footer .dataTables_length {
  margin-right: 32px;
}

div.material-table .table-footer .material-pagination {
  display: flex;
  -webkit-display: flex;
  margin: 0;
}

div.material-table .table-footer .material-pagination li:first-child {
  margin-right: 24px;
}

div.material-table .table-footer .material-pagination li a {
  color: rgba(0, 0, 0, 0.54);
}

div.material-table .table-footer .select-wrapper input.select-dropdown {
  margin: 0;
  border-bottom: none;
  height: auto;
  line-height: normal;
  font-size: 12px;
  width: 40px;
  text-align: right;
}

div.material-table .table-footer select {
  background-color: transparent;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  height: auto;
  margin-left: 20px;
}

div.material-table .table-title {
  font-size: 24px;
  color: #000;
}

div.material-table table tr td {
  padding: 0 35px 0 35px;
  height: 45px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.87);
  border-bottom: solid 1px #DDDDDD;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

div.material-table table tr td a {
  color: inherit;
}

div.material-table table tr td a i {
  font-size: 18px;
  color: rgba(0, 0, 0, 0.54);
}

.no-sort::after {
  display: none !important;
}

.no-sort {
  pointer-events: none !important;
  cursor: default !important;
}

div.material-table table tr {
  font-size: 12px;
}

div.material-table table th {
  font-size: 12px;
  font-weight: 500;
  color: #757575;
  cursor: pointer;
  white-space: pre;
  height: 45px;
  padding-left: 35px;
  padding-right: 35px;
  vertical-align: middle;
  outline: none !important;
}

div.material-table table th.sorting_asc,
div.material-table table th.sorting_desc {
  color: rgba(0, 0, 0, 0.87);
}

div.material-table table th.sorting:after,
div.material-table table th.sorting_asc:after,
div.material-table table th.sorting_desc:after {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  word-wrap: normal;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  content: "arrow_back";
  -webkit-transform: rotate(90deg);
  display: none;
  vertical-align: middle;
}

div.material-table table th.sorting:hover:after,
div.material-table table th.sorting_asc:after,
div.material-table table th.sorting_desc:after {
  display: inline-block;
}

div.material-table table th.sorting_desc:after {
  content: "arrow_forward";
}

div.material-table table tbody tr:hover {
  background-color: #EEE;
}

div.material-table table th:first-child,
div.material-table table td:first-child {
  padding: 0 24px 0 24px;
}

div.material-table table th:last-child,
div.material-table table td:last-child {
  padding: 0 24px 0 24px;
}


.pointer-class {
  cursor: pointer;
}

.client-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
}

.notes-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    height: max-content;
}

.icon {
    margin-right: 6px;
    color: #0099AD;
    display: flex !important;
    align-items: center;
  }

.client-card .columns {
    display: flex;
    align-items: center;
}

.flex-items {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem; /* Adjust margin as needed */
}

.teal-color {
    color: #0099AD;
}

/* Save, edit and cancel buttons for the tables */

.save-row::before {
  content: "\e161"; /* Use the unicode value for the save icon */
  font-family: 'Material Icons'; /* Use the Material Icons font */
  font-size: 1.3rem;
  line-height: inherit;
  padding: 2px;
  color: rgba(0, 0, 0, 0.54);
}
.edit-row::before {
  content: "\E254"; /* Use the unicode value for the save icon */
  font-family: 'Material Icons'; /* Use the Material Icons font */
  font-size: 1.3rem;
  line-height: inherit;
  padding: 2px;
  color: rgba(0, 0, 0, 0.54);
}

.file-attached::before {
  content: "\f15b"; /* Unicode for FontAwesome's file icon */
  font-family: 'Font Awesome 5 Free'; /* Make sure this matches the FontAwesome version you're using */
  font-weight: 900; /* Necessary for solid icons in FontAwesome 5+ */
  font-size: 1rem;
  line-height: inherit;
  padding: 2px;
  color: rgba(0, 0, 0, 0.54);
}

.linked::before {
  content: "\f0c1";
  font-family: 'FontAwesome'; /* Make sure you're using the correct FontAwesome version */
  font-size: 1rem;
  line-height: inherit;
  padding: 2px;
  color: rgba(0, 0, 0, 0.54);
}

.delete-row::before {
    content: "\e872"; /* Use the unicode value for the save icon */
    font-family: 'Material Icons'; /* Use the Material Icons font */
    font-size: 1.3rem;
    line-height: inherit;
    padding: 2px;
    color: rgba(0, 0, 0, 0.54);
  }
.cancel-row::before {
  content: "\E5CD"; /* Use the unicode value for the save icon */
  font-family: 'Material Icons'; /* Use the Material Icons font */
  font-size: 1.3rem;
  line-height: inherit;
  padding: 2px;
  color: rgba(0, 0, 0, 0.54);
}

/* only borderes to td and th elemets*/
.borders th,
.borders td {
    border: 1px solid #dee2e6;
}

.borders thead th,
.borders thead td {
    border-bottom-width: 2px;
}

/* bold of active nav link */
.bold-text {
  font-weight: bold;
}

.dd .dropdown-menu .show {
  max-height: 100px !important;
}

.pin {
  color: #e7e8e9; 
  transform: rotate(45deg);
}

.unpin {
  color: #0099AD;
  transform: rotate(45deg);
}

/* Define a CSS class for the vertical bar */
.vertical-bar {
  width: 6px; /* Width of the vertical bar */
  height: 100%; /* Full height of the card */
  background-color: #ffffff; /* Background color of the bar */
  position: absolute;
  top: 0;
  left: 0;
}

/* Adjust the position of the card content */
.card-body {
  margin-left: 10px; /* Adjust the margin to create space for the bar */
  padding-left: 20px; /* Adjust the padding to create space for the bar */
}


/* Line height for text area fields */
.textarea-line-height {
  line-height: 1.5rem !important;
}

/* CSS for the tabs on secondary header*/
.nav-tabs-container {
  overflow-x: auto;
  white-space: nowrap; /* To ensure the tabs do not wrap to the next line */
}

.nav-tabs {
  min-width: 800px; /* Adjust this value to your requirement */
  flex-wrap: nowrap; /* To prevent wrapping on smaller screens */
}


/* CSS for the scrollbar on the tabs, making it look think */
.nav-tabs-container::-webkit-scrollbar {
  height: 5px; /* Adjust as per your preference */
}

.nav-tabs-container::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}

.nav-tabs-container::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 10px;
}

.nav-tabs-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}
/*End of css for secondary header*/

/* Css for expanding of a column in datatables */
.text-wrap{
  white-space:nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xsmall-width {
  width: 100px;
}

.small-width {
  width: 150px;
}

.notes-width {
  width: 200px;
}

.support-width {
  width: 500px;
}

.expanded {
  white-space:normal !important;
  overflow: visible  !important;
  text-overflow: clip !important;
}

.attachment {
    width: 100%; 
    box-sizing: border-box;
      padding: 2.5rem; 
    border: 1px dashed #255C92;
    background-color: #F4F8FC; 
    border-radius: 0.5rem; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer;
  }


  /** for note width */
  .text-wrap{
    white-space:nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .desc-width {
    width: 300px;
  }

  .expanded {
    white-space:normal !important;
    overflow: visible  !important;
    height: auto !important;
    text-overflow: clip !important;
  }

  .cn-height {
    height: auto !important;
    white-space:normal !important;
  }

  .cn-width {
    height: 45px;
    white-space:normal !important;
  }

  /* Chrome, Safari, Edge, Opera */
input.hide-inc-dec-arrow::-webkit-outer-spin-button,
input.hide-inc-dec-arrow::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number].hide-inc-dec-arrow {
  -moz-appearance: textfield;
}

/* for complete width vertical align datatable */
#dock_charges tbody tr td, 
#dock_charges thead td,
#edock_charges tbody tr td, 
#edock_charges thead td,
#ecd_datatable tbody tr td, 
#ecd_datatable thead td { 
  vertical-align: middle !important;
}


.material-table .td .bootstrap-select .dropdown-menu.inner {
  z-index: 100;
  width: auto !important;
}

.small-font-dd {
  font-size: 12px; /* Adjust the font size */
}

label.required::after {
  content: " *";
  color: #dc3545;        /* Bootstrap’s red */
  margin-left: .25rem;   /* keeps the text from touching the label */
}

.stats-container {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: flex-end;
  font-family: Arial, sans-serif;
}

.stat-box {
  text-align: center;
}

.stat-box .stat-number {
  font-size: 45px;
  font-weight: bold;
  color: #0099AD; /* Turquoise */
  line-height: 1.1;
}

.stat-box .stat-label {
  font-size: 15px;
  color: #333;
}


#warning-details-section.active {
  transform: translateY(0);
  visibility: visible;
}

.warning-details-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  max-height: 40vh;
  min-height: 300px;
  max-height: 90vh;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 1050;
  overflow-y: auto;
  visibility: hidden;
  margin: 20px !important;
  display: flex;
  flex-direction: column;
}

#drag-bar {
  height: 8px;
  width: 5%;
  background:gray;
  cursor: row-resize;
  margin: 0 auto; /* Center horizontally */
  border-radius: 4px;
}

.info-alert-box {
  display: flex;
  align-items: flex-start;
  background-color: aliceblue;   /* light purple background */
  border-radius: 6px;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-size: 0.875rem;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-right: 8px;
  border-radius: 50%;
  background-color: #1648c6;   /* dark purple circle */
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.info-select:disabled {
  color: rgba(0, 0, 0, 0.7) !important;
}

.info-select .btn.dropdown-toggle.disabled, .btn.dropdown-toggle:disabled, .btn.dropdown-toggle.disabled .filter-option-inner-inner {
  opacity: 1 !important;
  background-color: #e9ecef !important;
}

.list-style-type-disc {
  list-style-type: disc;
  padding-left: 20px;
}

.inner-text-wrap.bootstrap-select .dropdown-toggle .filter-option-inner-inner {
  overflow: auto;
  text-wrap: auto;
}

/* CSS for the drag and drop functionality in the datatables */
.sortable-table tbody {
  cursor: move;
}

.sortable-row {
  cursor: move;
  transition: background-color 0.2s ease;
}

.sortable-row:hover {
  background-color: #f8f9fa;
}

.sortable-row.ui-sortable-placeholder {
  background-color: #e3f2fd !important;
  border: 2px dashed #2196f3 !important;
  height: 50px;
}

.sortable-row.ui-sortable-helper {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  opacity: 0.9;
}

.drag-handle {
  cursor: grab;
  color: #6c757d;
  font-size: 18px;
}
    
.drag-handle:hover {
  color: #495057;
}

.drag-handle:active {
  cursor: grabbing;
}
    
.sorting-indicator {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  background: #007bff;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  z-index: 10000;
}

div.dt-rowReorder-float-parent {
  table-layout: fixed;
  outline: 2px solid rgb(10, 89, 203);
  z-index: 2001;
  position: absolute !important;
  overflow: hidden;
  border-radius: 3px;
}

div.dt-rowReorder-float-parent table.dt-rowReorder-float {
  opacity: 0.9;
  background-color: white;
  margin: 0 !important;
}

div.dt-rowReorder-float-parent.drop-not-allowed {
  cursor: not-allowed;
}

tr.dt-rowReorder-moving {
  outline: 2px solid #888;
  outline-offset: -2px;
}

body.dt-rowReorder-noOverflow {
  overflow-x: hidden;
}

table.dataTable td.reorder {
  text-align: center;
  cursor: move;
}

html.dark div.dt-rowReorder-float-parent {
  outline-color: rgb(110, 168, 254);
}

html.dark div.dt-rowReorder-float-parent table.dt-rowReorder-float {
  background-color: var(--dt-html-background);
}

html.dark tr.dt-rowReorder-moving {
  outline-color: #aaa;
}

/* Add this to the existing style section */
.reorder-disabled {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.sorting-indicator {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  background: #007bff;
  color: white;
  padding: 10px 15px;
  border-radius: 4px;
  z-index: 10000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.living_arrangements_id.disabled .btn.disabled {
  opacity: 1 !important;
  background-color: #e9ecef !important;
}

.living_arrangements_id.disabled .filter-option-inner-inner {
  background-color: #e9ecef !important;
}

.dropdown-menu.show {
  z-index: 9999;
}

.confidential-container {
  border-radius: 4px;
  background-color: rgba(249, 234, 236, 1);
  border-left: 4px solid red;
  display: flex;
  gap: 5px;
  width: 120px;
  align-items: center;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.confidential-container i {
  color: red;
}
.confidential-container label {
  font-weight: 500; color: red;
}

.confidential_access_to_container .bootstrap-select button {
  white-space: normal;
}