.modal_n {
  display: none;
  position: fixed;
  z-index: 999999999999;
  padding-top: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

/* Modal Content */
.modal-content_n {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 767px;
  position: relative;
}

/* The Close Button */
.close_n {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 0;
  right: 10px;
}
.field-row label {
  text-align: left;
}
@media only screen and (max-width: 767px) and (orientation: landscape) {
  .modal-content_n {
    height: 180px;
    overflow-y: scroll;
  }
}
@media only screen and (max-width: 767px) and (orientation: portrait) {
  .modal-content_n {
    height: 380px;
    overflow-y: scroll;
  }
}

.close_n:hover,
.close_n:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.field-row {
  display: flex;
  justify-content: center;
}
.su_btn {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.field-row input:first-child {
  margin-right: 5px;
}
.su_btn input {
  border: none;
  font-size: 18px;
  padding: 10px;
  padding-left: 30px;
  padding-right: 30px;
  background: #e3c343;
  font-weight: bold;
}

@media (max-width: 992px) {
  .field-row label input {
    width: 100%;
  }
  .field-row {
    flex-flow: column;
  }
}

.regiet {
  background-color: #f9f7ed;
}
.regiet_sec {
  width: 717px;
  margin: 0 auto;
  padding-top: 50px;

  height: 100vh;
}
.regiet_sec .header_top {
  border-top: 1px solid #000;
}
.header_in {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
}
.th_sec thead {
  background-color: #393939;
}
.th_sec thead tr {
}
.th_sec thead tr th {
  color: #fff;
  font-size: 16px;
  padding: 10px;
}
.text-mb-heading {
  margin: 0;
}
.th_sec {
  border-radius: 10px;
}
.th_sec table {
  width: 100%;
}
.th_sec th,
.th_sec td {
  padding: 20px;
}
.th_sec td {
  vertical-align: top;
}
.th_sec h4 {
  margin: 0;
  font-size: 18px;
}
.th_sec tbody tr {
  background-color: #fff;
}
.th_sec tbody tr:nth-child(2n + 2) {
  background-color: #f4f4f5;
}
.regiet {
  position: fixed;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  overflow-y: scroll;
}

.user_details h2 {
  margin: 20px 0;
  font-weight: bold;
}
.user_box_sec {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.user_box_left {
  width: 60%;
}
.user_box_right {
  width: 40%;
  height: auto;
}
.user_box_right img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  object-position: right;
}
.user_box_left p {
  font-size: 16px;
  margin-bottom: 10px !important;
}
.chat-section-header {
  border-top: 1px solid #ddd;
}
.chat-section-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
}
.chat-container {
    width: 495px;
    height: 275px;
    border: 1px solid #000;
    overflow-y: scroll;
    margin-right: 26px;
    background: #fff;
    padding:10px;
}
button#compose-message-btn {
    background: #0971d3;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 48px;
    text-align: center;
    line-height: 37px !important;
    font-weight: 600;
    font-size: 16.0312px;
    line-height: 20px;
    color: #ffffff;
    border: none;
    max-width: 200px;
    border-radius: 10px;
    font-weight: normal;
}
@media (max-width: 767px) {
  .user_box_sec {
    flex-wrap: wrap;
  }
  .user_box_left {
    width: 100%;
    order: 2;
  }
  .user_box_right {
    width: 100%;
    order: 1;
    margin-bottom: 20px;
  }
  .user_box_right img {
    max-width: 200px;
    object-position: left;
  }
  .regiet_sec {
  }
  .regiet_sec {
    width: 95%;
  }
}
@media (max-width: 400px) {
  .th_sec thead tr th {
    font-size: 14px;
  }
}
