.residents-container {
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
}

#view-resident-details {
  background: transparent;
  color: #000;
}

.resident-main {
  display: flex;
}

.resident-main {
  gap: 10px;
}

.resident-main .left-residents {
  width: 60%;
  margin-right: 0;
}

.resident-main .right-residents {
  width: 40%;
  margin-right: 0;
  margin-top: 8px;
}

/* #resident-add-update {
    padding: 0 15px;
} */
.residents-template h1 {
  font-size: 30px;
}

.residents-template .form-control,
.residents-template .form-select {
  font-size: 12px;
}

.residents-template .btn-toolbar-custom button,
.residents-template .btn-toolbar-custom a,
.residents-template .btn-toolbar .btn-outline-primary {
  font-size: 12px;
  height: 32px;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  line-height: normal;
}

.residents-template .alert.alert-primary {
  font-size: 12px;
}

.residents-template .form-floating>label {
  font-size: 14px;
}

.residents-template input.btn.btn-success {
  font-size: 12px;
}

.residents-template .card-header {
  font-size: 14px;
}

.note-container {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

.note-label {
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.editable-order-restrictions {
  font-style: italic;
  justify-content: center;
  align-items: center;
  margin-top: -17px;
  font-size: 18px;
}

.editable-resident-restriction {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -18px;
  font-size: 14px;
  text-align: center;
}

#facilityForm .modal-dialog {
  /*max-width: 800px;*/
  max-width: 550px;
}

#facilityForm td {
  text-align: left;
}

/* #facility-listing-table{ */
table#facility-listing-table {
  width: 100% !important;
}

.resident_notes_title_lbl {
  font-weight: bold;
  font-size: 12px;
  width: 70%;
}

.resident_notes_timestamp_lbl {
  font-weight: bold;
  font-size: 12px;
  width: 30%;
}

#cf_resident_notes {
  font-size: 12px;
}

.noted-div {
  display: none;
}

.right-buckets-buttons {
  text-align: right;
}

.residents-container {
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
}

#view-resident-details {
  background: transparent;
  color: #000;
}

.display {
  display: none !important;
}

.resident-main {
  display: flex;
}

#edit-orders {
  background: transparent;
  border-color: #ccc;
  color: #000;
}

.resident-main {
  gap: 10px;
}

.resident-main .left-residents {
  width: 60%;
  margin-right: 0;
}

.resident-main .right-residents {
  width: 40%;
  margin-right: 0;
  margin-top: 8px;
}

#resident-add-update {
  padding: 0 15px;
}

.residents-template h1 {
  font-size: 30px;
}

.residents-template .form-control,
.residents-template .form-select {
  font-size: 12px;
}

.residents-template .btn-toolbar-custom button,
.residents-template .btn-toolbar-custom a,
.residents-template .btn-toolbar .btn-outline-primary {
  font-size: 12px;
  height: 32px;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  line-height: normal;
}

.filter-txt .btn-primary {
  font-size: 12px;
}

.residents-template .alert.alert-primary {
  font-size: 12px;
}

.residents-template .form-floating>label {
  font-size: 14px;
}

.residents-template input.btn.btn-success {
  font-size: 12px;
}

.residents-template .card-header {
  font-size: 14px;
}

.form-floating.facility_block p {
  font-size: 14px;
}

#toast-container.toast-top-right {
  width: 400px;
}

.custom-background-yellow {
  background-color: #fbfbd9;
  /* Change to your desired color */
}

#facility_block_main label.mb-2 {
  font-size: 14px;
}

#facility-listing-table tbody td {
  cursor: pointer;
}

span.inmate_search_link {
  font-size: 12px;
  margin-left: 30px;
}

#resident_details input {
  font-size: 13px;
  width: 14%;
}

#resident_details P {
  font-size: 14px;
}

#resident_details P strong {
  font-size: 14px;
}

.resident-header-wrp legend,
.resident-header-wrp legend h3 {
  font-size: 18px;
  font-weight: 600;
}

.resident-header-wrp button#commitNote {
  font-size: 12px;
}

.resident-header-wrp .box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6e6e6;
}

.row.resident-header-wrp.box {
  border-bottom: 1px solid #c7c7c7;
}

.row.resident-header-wrp.box legend {
  border: none;
  margin: 0 0 15px 0;
}

.resident-detail-order-bottom h3 {
  font-size: 18px;
  font-weight: 600;
}

.resident-detail-order-bottom button {
  font-size: 12px;
}

.resident-detail-order-bottom {
  border-bottom: 1px solid #c7c7c7;
}

.resident-detail-order-bottom legend {
  margin-bottom: 10px !important;
}

.residentEditFacilityModalSelected {
  background-color: #e5e5e5;
}


.resident-create-update-title legend {
  font-size: 18px;
  border: 0;
  margin: 10px 0;
}

.resident-create-update-title a {
  padding: 4px 8px;
  height: 35px;
}

.resident-create-update-title input {
  font-size: 14px;
}

.resident-workflow-state label {
  font-size: 14px;
}

.resident-active label {
  font-size: 15px;
}

.resident-active input {
  width: 28px !important;
}

.resident-create-update-title {
  border-bottom: 1px solid #d3d0d0;
}



.resident-form-name label {
  font-size: 14px;
}

.resident-form-name input {
  font-size: 12px;
  max-height: 50px;
  height: 150px !important;
  min-height: 54px !important;
}

.resident-form-name select {
  font-size: 12px;
  max-height: 50px;
  height: 150px !important;
  min-height: 54px !important;
}

.resident-bottom-title {
  font-size: 14px;
}

.resident-bottom-title ol li {
  font-size: 13px;
}

.resident-form-bottom .card-header {
  font-size: 14px;
}

.resident-form-bottom ::placeholder {
  font-size: 14px;
}

.resident-form-bottom input {
  font-size: 12px;
}

.resident-form-bottom select {
  font-size: 12px;
}

/* resident-details CSS START */
.order-restrictions {
  font-style: italic;
  justify-content: center;
  align-items: center;
  margin-top: -17px;
  font-size: 18px;
}

.resident-restriction {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -18px;
  font-size: 14px;
  text-align: center;
}

/* resident-details CSS END */

/* resident-edit & resident-create CSS START */
#resident-edit-page-facility-listing-table_filter,
#volunteer-create-page-facility-listing-table_filter {
  float: none;
  text-align: right;
  font-size: 12px;
  margin-bottom: 10px;
}

.main-resident-create-edit-facility-modal {
  padding: 10px 15px 0px;
  width: 750px;
}

.resident-create-edit-facility-modal {
  padding: 0px 6px 12px;
}

.modal-header.resident-create-edit-facility-modal button {
  border: none;
  background: transparent;
  font-size: 20px;
}



/* resident-edit & resident-create CSS END */

@media only screen and (max-width: 1199px) {
  .residents-template .right-buckets-buttons {
    padding: 0;
    text-align: left;
  }

  .resident-form-box #assign_btn,
  #commitNote {
    height: 33px !important;
    border-radius: 7px;
  }

  #resident-listing-table thead th {
    padding: 10px;
  }
}

@media only screen and (max-width: 991px) {

  .resident-form-box {
    justify-content: end;
  }

  .residents-template .right-buckets-buttons a {
    font-size: 13px;
  }

  .resident-main .left-residents {
    width: 100%;
  }

  .resident-main .right-residents {
    width: 100%;
  }

  #resident-add-update {
    padding: 0;
  }

  #resident-listing-table_length {
    text-align: left;
  }

  .resident-main {
    flex-direction: column-reverse;
  }
}

@media only screen and (max-width: 767px) {
  .residents-template .row.mb-3 {
    margin-top: 20px;
  }

  .resident-main {
    flex-direction: column-reverse;
  }
}

@media only screen and (max-width: 575px) {
  .resident-main {
    flex-direction: column-reverse;
  }

  #resident-listing-table_length {
    text-align: left;
  }

  .right-buckets-buttons {
    text-align: left;
  }
}