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

:root {
    /* Blackstone theme colors */
    --black: #00030B;
    --blackstone-button-hover: #be9c41;
    --gold: #D3AD48;
    --orange: #f16528;
    --blue: #0073a7;
    --red: #ab1a2d;
}


.blackstone-navbar-theme {
    background: var(--black) !important;
    color: white !important;
}

.blackstone-input-theme {
    background: var(--gold) !important;
    color: black !important;
    border: 1px solid black !important;
    transition: none;
}

.blackstone-input-theme:focus,
.blackstone-input-theme:active {
    border: 1px solid black !important;
}

.blackstone-input-theme:-webkit-autofill,
.blackstone-input-theme:-webkit-autofill:hover, 
.blackstone-input-theme:-webkit-autofill:focus, 
.blackstone-input-theme:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--gold) inset !important;
}

.blackstone-input-theme::placeholder {
    color: black !important;
}

.blackstone-gold {
    color: var(--gold) !important;
}

.btn-bg-blackstone-gold {
  background-color: var(--gold) !important;
  color: white !important;
}

.btn-bg-blackstone-black {
  background-color: black !important;
  color: white !important;
}

.blackstone-black {
    color: var(--black) !important;
}

.blackstone-button-theme {
    background: var(--black) !important;
    background-color: var(--black) !important;
    color: white !important;
    border: none !important;
    transition: 0.15s ease-in-out !important; 
}

.blackstone-button-theme:focus,
.blackstone-button-theme.focus {
    box-shadow: 0 0 0 0.2rem var(--black) !important;
    background: var(--gold) !important;
    background-color: var(--blackstone-button-hover) !important;
}

.blackstone-button-theme:hover {
    background: var(--blackstone-button-hover) !important;
    background-color: var(--blackstone-button-hover) !important;
}


.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: var(--gold);
    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: 200px;
}

.expanded {
  white-space:normal !important;
  overflow: visible  !important;
  text-overflow: clip !important;
}
#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) td:nth-child(3), #employees_table tr:nth-child(n+1) td:nth-child(3) {
  cursor: pointer;
  text-decoration: underline;
  color: blue;
  white-space: normal;
}

#employees_table tr th {
  width: 150px;
}

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

.form-control:focus {
  box-shadow: inherit;
  border-color: #ced4da;
}

/* Chrome, Safari, Edge, Opera */
.custom-num-input::-webkit-outer-spin-button,
.custom-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.custom-num-input {
  -moz-appearance: textfield;
}

#worker-details hr, #contractor-details hr, #emergency-contact hr {
  margin: 0;
}

#worker-details .input-fields, 
#contractor-details .input-fields, 
#emergency-contact .input-fields,
#worker-details .loading-container, 
#contractor-details .loading-container, 
#emergency-contact .loading-container  {
  display: none;
}

#worker-details .input-fields > div, #contractor-details .input-fields > div, #emergency-contact .input-fields > div {
  margin-top: 5px;
}

#worker-details .loading-container, 
#contractor-details .loading-container, 
#emergency-contact .loading-container {
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
}
.onboarding-chart .info {
  position:absolute; 
  left:50%; 
  top:50%; 
  transform: translate(-50%, -35%);
  text-align: center; 
  z-index: 999999999999999;
  font-size:35px;
}

.onboarding-progress-container {
  margin: 15px 0;
  margin-right: 0;
  background-color: #ced4da;
  border-radius: 10px;
  color: #000;
}

.onboarding-progress-container h4 {
  color: #000;
}

#my-tasks tbody tr td {
  text-align: center;
}

#my-tasks tbody tr td.waiting_review {
  text-align: center;
  color: yellow;
}

#my-tasks tbody tr td.not_started {
  text-align: center;
  color: var(--black);
}

#my-tasks tbody tr td.complete {
  text-align: center;
  color: var(--gold);
}

.btn-primary:disabled {
  color: #fff;
  background-color: #f77d03;
  border-color: #f77d03;
}

.secondary-header {
  padding-bottom: 0;
  margin-bottom: 30px;
}

#worker-details.container, 
#contractor-details.container, 
#emergency-contact.container {
  margin-left: 30px;
}

#worker-details .form-title, 
#contractor-details .form-title, 
#emergency-contact .form-title {
  font-weight: bold;
}

#worker-details .columns, 
#contractor-details .columns 
#emergency-contact .columns {
  display: flex;
  align-items: center;
}


#worker-details .flex-items.col, 
#contractor-details .flex-items.col 
#emergency-contact .flex-items.col {
  margin-left:0;
  padding-left:0.5rem;
}

.table-icon {
  font-size:24px !important;
}

#worker-profile-container .fa-solid.icon {
  font-size: 24px;
  width: 24px;
}

.upload_file {
  cursor: pointer;
  margin-right: 10px;
}

@media (max-width: 1460px) {
  #worker-profile-container > div{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
.dropdown-toggle {
  min-height: 35px;
}

.status-badges {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
  justify-content: space-between;
  margin: 0 10%; 
}

.status-badges li {
  padding: 10px 30px;
  border-radius: 5px;
  background-color: #f77d03;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0 5px;
  flex: none; 
  text-align: center;
}

.status-badges.clickable  li {
  cursor: pointer;
}

@media (max-width: 768px) {
  .status-badges li {
    padding: 5px 15px;
    margin: 2px;
  }
}


.progress-bar {
  position: relative;
  background-color: lightgrey;
  border-radius: 5px;
  width: 75px;
}

.progress-percentage-text {
  position: absolute;
  right: 0px;
  color: black;
  line-height: 0px;
  font-size: xx-small;
  top: 5px;
}

#addEditCertificateAdmin .row {
  align-items: baseline;
}


label[for="update_certificate"] .label {
  word-break: break-word;
  white-space: break-spaces;
  width: 150px;
}

.reset-checkbox {
  position: relative !important; 
  left: inherit !important; 
  visibility: visible !important; 
  display: inline-block !important; 
}

/* Change scrollbar color */
.dropdown-menu .inner.show::-webkit-scrollbar-thumb {
  background: rgb(40, 40, 40); /* color of the scrollbar */
  border-radius: 6px; /* roundness of the scrollbar */
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(40, 40, 40) !important;
}
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: white;
}

::-webkit-scrollbar-thumb {
  background: lightgray;
  border-radius: 10px;
}

/* fixed input type date appearance bug */
input[type="date"]
{
    display:block;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-height: 1.2em;
}

div.material-table input {
  max-width: 320px;
}

div.dt-container div.dt-info {
  padding-top: 0 !important;
}

div.material-table .table-footer {
  gap: 15px;
}

div.material-table .table-footer .dt-paging-button {
  border: 0;
  background: transparent;
  color:rgba(0, 0, 0, 0.87);
}

table.dataTable>tbody>tr.child ul.dtr-details {
  width: 100%;
}

table.dataTable>tbody>tr.child ul.dtr-details>li:last-child {
  padding-bottom: inherit;
}

div.material-table table tr td {
  position: relative;
}

div.material-table table tr td .fa-calendar-days {
  top:17px !important;
  right:15px !important;
}

/* fix file column getting elepsis for long names */
#required-documents-container div.material-table table tr td:last-child {
  text-overflow: inherit;
  white-space: inherit;
}

@media (max-width: 768px) {
  div.material-table table tr td, div.material-table table tr th {
    padding: 7.5px !important;
  }
}

#admin_annual_employees_table select.selectpicker {
  display: block !important;
}

.max-vh-100 {
    max-height: 100vh !important;
}

.login-body {
    background-image: url('../img/landing-page-background.jpg');
    height: 100%;
    background-size: cover;
    background-position: center;
}