/* 
/* 
/*  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;
}

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;
  background-color: #EDF0F2;
}

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: #1C4A6A;
}
/* 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: 200px;
}

.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: #1C4A6A !important;
  border: 0 !important;
}

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

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

#family_support_table tr:nth-child(n+1) td:nth-child(1) a, #members_table tr:nth-child(n+1) td:nth-child(1) a, #referrals_table tr:nth-child(n+1) td:nth-child(1) a, #service_plans_table tr:nth-child(n+1) td:nth-child(1) a, #contact_notes_table tr:nth-child(n+1) td:nth-child(1) a {
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}

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 {
  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: #1C4A6A;
}


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


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


.dt-paging-button.current {
  font-weight: 500 !important;
  background-color: lightgray;
  border-radius: 3px;
}

/* Force the scrollable area to exactly 10 items */
.max-ten-items.bootstrap-select .dropdown-menu div.inner {
  max-height: 350px !important;
  overflow-y: auto !important;
}

/* Ensure every option is exactly 35px so the math stays perfect */
.max-ten-items.bootstrap-select .dropdown-menu li a {
  height: 35px !important;
  line-height: 35px !important; /* Centers text vertically */
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  align-items: center;
}