/* 
/* 
/*  custom.css
/*
*/


.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;
  vertical-align: middle;
}

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: #20c997;
    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: #20c997;
}
.orange-color {
  color: #f77d03;
}
/* 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);
}
.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: #20c997;
  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;
}

.notes-width {
  width: 150px;
}

.expanded {
  white-space:normal !important;
  overflow: visible  !important;
  text-overflow: clip !important;
  word-break: break-word;
}
#role_type, #portal_active {
  padding: 0;
}
#role_type li, #portal_active li {
  display: inline-block;
  margin-left: 2rem;
}
#role_type li:first-child, #portal_active li:first-child {
  margin-left: 0;
}

#reset-email-password-dropdown:focus, #reset-email-password-dropdown:active {
  background-color: #f77d03 !important;
  border: 0 !important;
}

#all_users_table tr th:first-child  {
  width: 150px;
}

#all_users_table tr:nth-child(n+1)  {
  cursor: pointer;
}



body div.modal-backdrop + div.modal-backdrop {
  z-index: 1051 !important;
}

#addEditUserModal .dropdown button, 
#addEditReferralModal .dropdown button, 
#addEditFamilyServicePlanModal .dropdown button, 
#addEditContactNoteModal .dropdown button,
#addEditScreensModal .dropdown button,
#s_referred_by .dropdown button,
#family_support_status_d .dropdown button,
#addEditFamily .dropdown button,
#addEditFamilyMember .dropdown button,
#addEditLocationProfile .dropdown button {
  height: 35px;
}

#addEditFamily .bootstrap-select .dropdown-menu.inner {
  width: 100%;
}

table#overview_info_table th {
  white-space: inherit;
}

#overview-data > div {
  margin-bottom: 20px;
}

#addEditFamily h5 {
  color: #f77d03;
}


#addEditFamily .form-group.row {
  align-items:baseline;
}
#registered_courses tbody td:nth-of-type(5), #registered_courses thead th:nth-of-type(5) {
  text-align: center;
}

#family-overview-container .family-info-container .row {
  margin-bottom: 12px;
}

#family-overview-container .hidden-toggle {
  display: none;
}

#calendar .fc-event-time, #calendar .fc-daygrid-event-dot {
  display: none;
}

#calendar .fc-event-title {
  background-color: rgba(58, 135, 173, .1);
  cursor: pointer;
}

#calendar_loader {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 30px;
  top: 0;
  bottom: 0;
  height: 30px;
}

.custom-modal-xl {
  max-width: 85%; 
}

#course_info .dropdown-menu {
  z-index: 1021 !important;
}

/** Image Center **/
.center-image {
  text-align: center;
}

.center-image img {
  display: inline-block;
}

/** rounded login card with shadow **/
.login-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/** for upper header **/
.bg-header  {
  background-color: #EC174C;
  filter: brightness(75%);
}

/*Attachement CSS code*/
.container_attach {
  width: 100%;
  padding-right: 12px;
  padding-left: 12px;
  padding-top: 50px;
  margin-right: auto;
  margin-left: auto; }

.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;
}

.material-table .dt-paging  .dt-paging-button {
    background-color: inherit;
    border: 0;
    color: #9e9e9e;
}

/** sorting in new datatables **/
table.dataTable thead > tr > th:active,
table.dataTable thead > tr > td:active {
  outline: none;
}
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before {
  position: absolute;
  display: block;
  bottom: 50%;
  content: "▲";
  content: "▲"/"";
}
table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
  position: absolute;
  display: block;
  top: 50%;
  content: "▼";
  content: "▼"/"";
}
table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc, table.dataTable thead > tr > th.dt-ordering-asc, table.dataTable thead > tr > th.dt-ordering-desc,
table.dataTable thead > tr > td.dt-orderable-asc,
table.dataTable thead > tr > td.dt-orderable-desc,
table.dataTable thead > tr > td.dt-ordering-asc,
table.dataTable thead > tr > td.dt-ordering-desc {
  position: relative;
  padding-right: 30px;
}
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order,
table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order,
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order,
table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order,
table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  width: 12px;
}
table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:after, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:before, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
  left: 0;
  opacity: 0.125;
  line-height: 9px;
  font-size: 0.8em;
}
table.dataTable thead > tr > th.dt-orderable-asc, table.dataTable thead > tr > th.dt-orderable-desc,
table.dataTable thead > tr > td.dt-orderable-asc,
table.dataTable thead > tr > td.dt-orderable-desc {
  cursor: pointer;
}
table.dataTable thead > tr > th.dt-orderable-asc:hover, table.dataTable thead > tr > th.dt-orderable-desc:hover,
table.dataTable thead > tr > td.dt-orderable-asc:hover,
table.dataTable thead > tr > td.dt-orderable-desc:hover {
  outline: 2px solid rgba(0, 0, 0, 0.05);
  outline-offset: -2px;
}
table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after,
table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
  opacity: 0.6;
}
table.dataTable thead > tr > th.sorting_desc_disabled span.dt-column-order:after, table.dataTable thead > tr > th.sorting_asc_disabled span.dt-column-order:before,
table.dataTable thead > tr > td.sorting_desc_disabled span.dt-column-order:after,
table.dataTable thead > tr > td.sorting_asc_disabled span.dt-column-order:before {
  display: none;
}
table.dataTable thead > tr > th:active,
table.dataTable thead > tr > td:active {
  outline: none;
}

div.dt-scroll-body > table.dataTable > thead > tr > th,
div.dt-scroll-body > table.dataTable > thead > tr > td {
  overflow: hidden;
}

:root.dark table.dataTable thead > tr > th.dt-orderable-asc:hover, :root.dark table.dataTable thead > tr > th.dt-orderable-desc:hover,
:root.dark table.dataTable thead > tr > td.dt-orderable-asc:hover,
:root.dark table.dataTable thead > tr > td.dt-orderable-desc:hover,
:root[data-bs-theme=dark] table.dataTable thead > tr > th.dt-orderable-asc:hover,
:root[data-bs-theme=dark] table.dataTable thead > tr > th.dt-orderable-desc:hover,
:root[data-bs-theme=dark] table.dataTable thead > tr > td.dt-orderable-asc:hover,
:root[data-bs-theme=dark] table.dataTable thead > tr > td.dt-orderable-desc:hover {
  outline: 2px solid rgba(255, 255, 255, 0.05);
}
div.dt-container .dt-search input {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 5px;
  background-color: transparent;
  color: inherit;
  margin-left: 3px;
  width: 100%;
}
div.dt-container .dt-input {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 5px;
  background-color: transparent;
  color: inherit;
}
div.dt-container select.dt-input {
  padding: 4px;
}

.error-field {
  color: red;
  font-size:.8rem;
}

/* home-manager-container css */
#home-manager-container .rotate-icon:not(.collapsed) i {
  transform: rotate(90deg);
}
#home-manager-container .rotate-icon i {
  padding:5px;
  font-size: 1.0rem;
  transition: all .5s;
  cursor: pointer;
  margin-right:5px;
}

#home-manager-container .info-container {
  background-color: var(--light-gray);
}
.text-decoration-underline {
  text-decoration: underline;
}

#home-manager-container .rotate-icon {
  display: block;
}

/* For datatables responsive and selectpickers*/
div.material-table .table-header {
  height: auto;
  min-height: 64px;
  padding: 5px 0;
}

div.material-table .table-header .actions {
  flex-wrap: wrap;
}

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

.material-table .actions .flex-item {
  flex-grow: 1;
}

.material-table .actions .search-toggle {
  margin: 5px 0;
}

.material-table .actions .dropdown.bootstrap-select:nth-of-type(1) {
  z-index: 103;
  margin: 5px 0;
}
.material-table .actions .dropdown.bootstrap-select:nth-of-type(2) {
  z-index: 102;
  margin: 5px 0;
}
.material-table .actions .dropdown.bootstrap-select:nth-of-type(3) {
  z-index: 101;
  margin: 5px 0;
}

.material-table {
  overflow: visible !important;
}

.dropdown-item {
  clear: inherit;
  /* border-top:1px solid #e9ecef; */
}


.bootstrap-select #stock_country_dd + .dropdown-toggle,
.bootstrap-select #products_country_dd + .dropdown-toggle,
.bootstrap-select #general_country_dd + .dropdown-toggle,
.bootstrap-select #loc_profiles_country_dd + .dropdown-toggle,
.bootstrap-select #country_dd + .dropdown-toggle {
  width: 300px !important;
}

.bootstrap-select #year_id + .dropdown-toggle,
.bootstrap-select #stock_status_dd + .dropdown-toggle,
.bootstrap-select #stock_year_quarter_dd + .dropdown-toggle {
  width: 200px !important;
}

.bootstrap-select #quarter_dd + .dropdown-toggle {
  width: 200px !important;
}

@media screen and (max-width: 443px ) {
  .bootstrap-select #products_country_dd + .dropdown-toggle,
  .bootstrap-select #general_country_dd + .dropdown-toggle,
  .bootstrap-select #year_dd + .dropdown-toggle,
  .bootstrap-select #quarter_dd + .dropdown-toggle,
  .bootstrap-select #stock_country_dd + .dropdown-toggle, 
  .bootstrap-select #stock_status_dd + .dropdown-toggle,
  .bootstrap-select #stock_year_quarter_dd + .dropdown-toggle.actions,
  .bootstrap-select #loc_profiles_country_dd + .dropdown-toggle,
  .bootstrap-select #country_dd + .dropdown-toggle {
    width: 100% !important;
  }
}

/** for complete search width */
div.dt-container div.dt-search input {
  margin-left: .5em;
  display: inline-block;
  width: 100% !important;
}

/* for complete width vertical align datatable */
#datatable tbody tr td { 
  vertical-align: middle;
}

/* class for coloring qty remaining */
th.qty-remaining-col, td.qty-remaining-col {
  background-color: #f0cd8c;
  opacity: 1;
  color: black !important;
}

.qty-expired-col {
  background-color: #FFB6C1;  /* Background for negative values (light orange) */
  color: #000;  /* Text color for readability */
  padding: 5px;
  border-radius: 3px;
  display: inline-block;
  min-width: 30px;  /* Ensure consistent size */
  text-align: center;
}

.qty-near-expiry-col {
  background-color: #f0cd8c;  /* Background for non-negative values (light pink) */
  color: #000;  /* Text color for readability */
  padding: 5px;
  border-radius: 3px;
  display: inline-block;
  min-width: 30px;  /* Ensure consistent size */
  text-align: center;
}

/** bell icon */
.bell-icon {
  position: relative;
  vertical-align: -webkit-baseline-middle !important;
}
.bell-icon .status {
  position: absolute;
  top: -4px;
  right: 0px;
  background: red;
  color: white;
  border-radius: 50%;
  padding: 5px 5px;
  font-size: 6px;
}

/** CSS Footer **/

.footer-short .text-muted {
    color: rgba(255, 255, 255, 0.7);
}

.footer-short h6 {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-short address,
.footer-short p {
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-short a {
    color: #ffffff;
    text-decoration: underline;
}


/* hide ck editor notification warning */
.cke_notifications_area {
  display: none;
}

/* styling for tasks table input*/

 /* Mobile view styles */
 .child .dtr-details {
  width: 100%;
}

.child .dtr-details td {
  padding: 8px 15px !important;
}

/* Input field styling */
.child .dtr-data input[type="number"] {
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 14px;
  margin: 4px 0;
}

/* Error message styling */
.dtr-data .error.text-red {
  display: block;
  clear: both;
  color: #dc3545 !important;
  font-size: 12px !important;
  margin-top: 4px;
  margin-bottom: 8px;
  padding: 0;
}

/* Label styling in mobile view */
.dtr-details tr td:first-child {
  font-weight: 500;
  color: #666;
  padding-bottom: 4px !important;
}

/* Value container styling */
.dtr-data {
  padding-top: 4px !important;
}

/* Red border for error state */
.dtr-data input.error-input {
  border-color: #dc3545;
}