.pif-project-location-container {
  position: relative;
  min-width: 0;
  word-wrap: break-word;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.025rem;
  margin-bottom: 1.5rem;
  padding: 1em;
}

.pif-project-location-container::before.pif-project-location-container::after {
  box-sizing: border-box;
}
.pif-card-header {
  position: relative;
  min-width: 0;
  width: 100%;
  word-wrap: break-word;
  background-color: #d3d6d8;
  border: 1px solid #e9ecef;
  border-radius: 0.025rem;
  padding: 1em;
}
.pif-card {
  position: relative;
  min-width: 0;
  word-wrap: break-word;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.025rem;
  margin-bottom: 1.5rem;
  padding: 1em;
}

.intranet {
  position: relative;
  height: 78vh;
  width: 100%;
}

/* Time Entry */

.time_card {
  position: relative;
  min-width: 0;
  /* max-width: 90vw; */
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  background-color: white;
  border: 1px solid black;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.time_card_employee_container {
}
.time_card_employee_header {
  color: white;
  background-color: #00263e;
  display: inline-flex;
  position: relative;
  min-width: 0;
  max-height: fit-content;
  max-height: -moz-fit-content;
  width: 100%;
  word-wrap: break-word;
}
.time_card_employee_title_container {
  padding-left: 1em;
  position: relative;
  width: 100%;
}
.time {
  background-color: #f0ad4e;
}
.time_card_employee_total_container {
  background-color: #00263e;
  position: relative;
  width: 12%;
  padding-left: 0.5em;
  height: 100%;
}

.time_card_employee_week_total_container {
  background-color: #00263e;
  position: relative;
  width: 12%;
  padding-left: 0.5em;
  height: 100%;
}

.time_card_header {
  display: inline-flex;
  position: relative;
  min-width: 0;
  max-height: fit-content;
  width: 100%;
  word-wrap: break-word;
  background-color: #f05a2f;
  color: white;
}
.time_card_header_title_container {
  padding-left: 1em;
  position: relative;
  width: 92%;
}
.time_card_header_total_container {
  position: relative;
  width: 8%;
  background-color: #f05a2f;
  padding-left: 0.5em;
  height: 100%;
}

.time_card_body {
  padding: 0.5em;
}
.time_card_no_entries {
  margin: 1em;
}

.time_lineitem_container {
  position: relative;
  min-width: 0;
  word-wrap: break-word;
  background-color: #d3d6d8;
  border: 1px solid black;
  margin-bottom: 0.1rem;
  overflow: hidden;
  border-radius: 0.5em;
}

.time_lineitem_header {
  display: inline-flex;
  flex-wrap: nowrap;
  position: relative;
  max-height: fit-content;
  width: 100%;
  overflow: none;
}
.time_lineitem_header_title {
  padding-left: 1em;
  position: relative;
  width: 92%;
}
.time_lineitem_status {
  position: relative;
  width: 8%;
  color: white;
  padding-left: 0.5em;
  height: auto;
}
.time_status_draft {
  background-color: #f05a2f;
}

.time_status_pending {
  background-color: #4582ec;
}

.time_status_rejected {
  background-color: #d9534f;
}

.time_status_approved {
  background-color: #51b943;
}

.time_status_pm_approved {
  background-color: indigo;
}

.time_lineitem_body_container {
  display: inline-flex;
  flex-wrap: nowrap;
  position: relative;
  max-height: fit-content;
  width: 100%;
  overflow: none;
  background-color: #f8f9fa;
}

.time_lineitem_body_container_office {
  background-color: #eef5ff !important;
}

.time_lineitem_body_container_field {
  background-color: #dff7df !important;
}

.time_lineitem_body_container_concurrent {
  background-color: #fffde5 !important;
}

.time_lineitem_data_container {
  display: block;
  padding-top: 0.3em;
  position: relative;
  width: 92%;
}
.time_lineitem_items_container {
  display: flex;
  position: relative;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding-left: 1em;
  padding-right: 1em;
  width: 92%;
}
.time_lineitem_hours_container {
  position: relative;
  width: 8%;
  background-color: #00263e;
  color: white;
  padding-left: 0.5em;
  height: auto;
}
.time_lineitem_hours {
  position: relative;
  top: 25%;
}
.time_lineitem_description_container {
  padding-left: 1em;
  padding-right: 1em;
}
.time_lineitem_description {
}
.time_lineitem_footer {
  display: inline-flex;
  width: 100%;
}
.time_lineitem_controls_main_s1 {
  display: inline-flex;
  width: 92%;
  flex-wrap: nowrap;
  position: relative;
}
.time_lineitem_controls_main {
  display: inline-flex;
  width: 100%;
  flex-wrap: nowrap;
  position: relative;
}
.time_lineitem_controls {
  display: inline-flex;
  flex-wrap: nowrap;
  position: relative;
  width: 100%;
}
.time-approval-change {
  line-height: 1.5;
  font-size: 1em;
  color: #f05a2f;
  margin-top: auto;
  margin-bottom: auto;
}
.time_add_container {
  /* background-color: #efe1b2; */
  /* background-color: #b7c5ff; */
  background-color: #343a40;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 2.5em;
  z-index: 4;
  padding-right: 0.5em;
  padding-left: 0.5em;
}
.addTime_btn {
  display: inline-block;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: #5974cc;
}

.addTime_btn:hover,
.addTime_btn:focus {
  background-color: #c2d4ff;
}

.addTime_btn:focus:enabled {
  background-color: rgba(194, 212, 255, 0.5);
}

.addTime_btn:hover:disabled {
  cursor: not-allowed;
}

.review_btn {
  display: inline-block;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  background-color: #5974cc;
}

.review_btn:hover,
.review_btn:focus {
  background-color: #c2d4ff;
}

.review_btn:focus:enabled {
  background-color: rgba(194, 212, 255, 0.5);
}

.review_btn:hover:disabled {
  cursor: not-allowed;
}

.time_lineitem_btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  color: #fff;
  padding: 0.125rem 1rem;
  font-size: 0.75rem;
  width: 100%;
  line-height: 1.5rem;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.time_lineitem_btn:disabled {
  cursor: default !important;
  opacity: 0.35 !important;
}
.time_lineitem_approve {
  background-color: #51b943;
  border-color: #51b943;
}
.time_lineitem_approve:focus:enabled {
  box-shadow: 0 0 0 0.2rem rgba(81, 185, 67, 0.5);
}
.time_lineitem_approve:hover:enabled {
  background-color: #49a63c;
  border-color: #49a63c;
}
.time_lineitem_edit,
.time_lineitem_view {
  background-color: #4582ec;
  border-color: #4582ec;
}
.time_lineitem_edit:hover:enabled,
.time_lineitem_view:hover:enabled {
  background-color: #226be8;
  border-color: #1863e6;
}
.time_lineitem_edit:focus:enabled,
.time_lineitem_view:focus:enabled {
  box-shadow: 0 0 0 0.2rem rgba(97, 149, 239, 0.5);
}
.time_lineitem_delete {
  background-color: #d9534f;
  border-color: #d9534f;
}
.time_lineitem_delete:hover:enabled {
  background-color: #d23430;
  border-color: #c9302c;
}
.time_lineitem_delete:focus:enabled {
  box-shadow: 0 0 0 0.2rem rgba(223, 109, 105, 0.5);
}

.time_lineitem_duplicate_container {
  display: inline-flex;
  flex-wrap: nowrap;
  position: relative;
  width: 8%;
}
.time_lineitem_duplicate {
  background-color: #af64ba;
  border-color: #af64ba;
}
.time_lineitem_duplicate:hover:enabled {
  background-color: #95579f;
  border-color: #95579f;
}
.time_lineitem_duplicate:focus:enabled {
  box-shadow: 0 0 0 0.2rem rgba(149, 87, 159, 0.5);
}

.small_trim {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 3em;
  line-clamp: 2;
  line-height: 1em;
}

.time_lineitem_rejection_container {
  padding-left: 1em;
  background-color: #d9534f;
  color: white;
}

.timeModel_rejection {
  background-color: #d9534f;
  color: white;
  border-radius: 1em;
  padding-left: 1em;
  padding-right: 1em;
}
.timeModel_rejection,
h6 {
  color: white;
}
.time-model-controls {
  position: relative;
  display: flex;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
  width: 100%;
  justify-content: space-between;
  overflow-wrap: normal;
}
.time-model-rejection {
  float: left;
  display: inline-flex;
  width: 85%;
}
#reject_reason {
  margin-right: 0.5em;
  width: 85%;
}
.time-modal-submit {
  width: 15%;
}

@media only screen and (max-width: 1200px) {
  .time_lineitem_hours_container,
  .time_lineitem_status,
  .time_card_header_total_container,
  .time_lineitem_duplicate_container {
    width: 15%;
  }
  .time_card_employee_total_container,
  .time_card_employee_week_total_container {
    width: 18%;
  }
  .time_lineitem_items_container,
  .time_lineitem_data_container,
  .time_lineitem_header_title,
  .time_card_header_title_container,
  .time_lineitem_controls_main_s1 {
    width: 85%;
  }
  /* .time_card_employee_title_container{ */
  /* width: 70% */
  /* } */
  .time-model-rejection {
    width: 75%;
  }
  .time-modal-submit {
    width: 25%;
  }
}
@media only screen and (max-width: 992px) {
  .time_lineitem_hours_container,
  .time_lineitem_status,
  .time_card_header_total_container,
  .time_lineitem_duplicate_container {
    width: 20%;
  }
  .time_lineitem_items_container,
  .time_lineitem_data_container,
  .time_lineitem_header_title,
  .time_card_header_title_container,
  .time_lineitem_controls_main_s1 {
    width: 80%;
  }
  .time-model-rejection {
    width: 70%;
  }
  .time-modal-submit {
    width: 30%;
  }
  .time_card_employee_total_container,
  .time_card_employee_week_total_container {
    width: 18%;
  }
  /* .time_card_employee_title_container{ */
  /* width: 70% */
  /* } */
}
@media only screen and (max-width: 768px) {
  .time_lineitem_hours_container,
  .time_lineitem_status,
  .time_card_header_total_container,
  .time_lineitem_duplicate_container {
    width: 25%;
  }
  .time_lineitem_items_container,
  .time_lineitem_data_container,
  .time_lineitem_header_title,
  .time_card_header_title_container,
  .time_lineitem_controls_main_s1 {
    width: 75%;
  }
  .time-model-rejection {
    width: 65%;
  }
  #reject_reason {
    margin-right: 0.5em;
    width: 95%;
  }
  .time-modal-submit {
    width: 45%;
  }
  .time_card_employee_total_container,
  .time_card_employee_week_total_container {
    width: 25%;
  }
}
@media only screen and (max-width: 451px) {
  .time-model-controls {
    display: block;
  }
  .time-model-rejection {
    width: 100%;
  }
  #reject_reason {
    margin-right: 0.5em;
    width: 80%;
  }
  .time-modal-submit {
    position: relative;
    width: 100%;
    margin-top: 0.5em;
    padding-top: 1em;
    margin-top: 2em;
    text-align: right;
  }
  .time_card_employee_total_container,
  .time_card_employee_week_total_container {
    width: 30%;
  }
  #addTime_btn {
    position: relative;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

.control-label {
  display: block;
  margin-bottom: 5px; /* Adjust the margin as needed */
}
