@charset "UTF-8";
/* ^scss에서 수정해주세요!  Don't edit .css file, Only work on the scss*/
.com_Chat.p_Chat {
  height: 100%;
  padding-bottom: 0;
}
.com_Chat.p_Chat .chat_wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  height: 100%;
  padding: 20px 20px;
}
.com_Chat.p_Chat .chat_wrap .profile {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  min-width: 45px;
  aspect-ratio: auto;
  border-radius: 100%;
  margin-right: 10px;
}
.com_Chat.p_Chat .chat_wrap .profile > img {
  object-fit: cover;
  min-height: 100%;
  min-width: 100%;
  max-height: 100%;
  max-width: none;
}
.com_Chat.p_Chat .chat_wrap .chat_top {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  border-bottom: 1px solid #D7D7D7;
  padding-bottom: 15px;
  position: relative;
  font-size: 16px;
  font-weight: 600;
}
.com_Chat.p_Chat .chat_wrap .chat_top .set_area {
  margin-left: auto;
}
.com_Chat.p_Chat .chat_wrap .chat_top .set_area .layer {
  display: none;
  position: absolute;
  background: #fff;
  border-radius: 5px;
  border: 1px solid #D9DADC;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.08);
  padding: 10px;
  right: 0;
  top: 35px;
  z-index: 3;
}
.com_Chat.p_Chat .chat_wrap .chat_top .set_area .layer.active {
  display: block;
}
.com_Chat.p_Chat .chat_wrap .chat_top .set_area .layer .btn {
  color: #1A1818;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  gap: 6px;
  font-size: 13px;
}
.com_Chat.p_Chat .chat_wrap .chat_mid {
  height: calc(100% - 76px);
  background: #fff;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .scroll_body {
  height: calc(100% - 50px);
  width: calc(100% + 50px);
  margin-left: -25px;
  padding-inline: 25px;
  overflow-y: auto;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .date_area {
  font-size: 12px;
  line-height: 1.67;
  letter-spacing: -0.3px;
  text-align: center;
  color: #6C6D74;
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .date_area:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #F0F4F5;
  top: 9px;
  z-index: 1;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .date_area span {
  background: #fff;
  display: inline-block;
  padding: 0 10px;
  position: relative;
  z-index: 2;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .profile {
  position: absolute;
  left: 0;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .box {
  background: #F1F2F4;
  padding: 10px;
  font-size: 13px;
  line-height: 1.47;
  text-align: left;
  max-width: 260px;
  width: auto;
  border-radius: 5px;
  font-weight: 500;
  position: relative;
  word-break: break-all;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .box:after {
  content: "";
  display: block;
  width: 8.8px;
  height: 6.7px;
  position: absolute;
  background-size: cover;
  top: 6px;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .name_field {
  color: #777381;
  font-size: 12px;
  font-weight: 500;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .date_field {
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: normal;
  text-align: right;
  color: #777381;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .img {
  border-radius: 10px;
  overflow: hidden;
  max-width: 260px;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .img img {
  width: 100%;
  height: auto;
}
.com_Chat.p_Chat .chat_wrap .chat_mid :is(.get, .send) {
  padding-block: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  position: relative;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .info_area {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  gap: 7px;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .send {
  justify-content: flex-end;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .send .box {
  background-color: #DFF1FF;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .send .box:after {
  right: -8.8px;
  background-image: url("../img/chat_send.png");
}
.com_Chat.p_Chat .chat_wrap .chat_mid .get {
  padding-left: 55px;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .get .box {
  margin-top: 10px;
}
.com_Chat.p_Chat .chat_wrap .chat_mid .get .box:after {
  background-image: url("../img/chat_get.png");
  left: -8.8px;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom {
  height: 50px;
  background: #fff;
  border-top: 1px solid #D7D7D7;
  padding-top: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .select {
  width: 150px;
  border-radius: 0;
  border: 0;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .textarea {
  flex: 1;
  padding: 11.5px 15px;
  height: 42px;
  min-height: 42px;
  background: none;
  font-size: 14px;
  line-height: 1.2;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .textarea:focus {
  outline: none;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .textarea::-webkit-input-placeholder {
  color: #c4c4c4;
  opacity: 1;
  font-size: 14px;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .textarea:-ms-input-placeholder {
  color: #c4c4c4;
  opacity: 1;
  font-size: 14px;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .textarea::placeholder {
  color: #c4c4c4;
  opacity: 1;
  font-size: 14px;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .btn_photo {
  text-align: center;
  margin-left: 0;
  width: 42px;
  height: 42px;
  border-radius: 3px;
  border: 1px solid #D7D7D7;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .btn_photo img {
  width: 20px;
}
.com_Chat.p_Chat .chat_wrap .chat_bottom .com_btn {
  margin-left: 0;
  width: 55px;
}

.com_Chat.p_List .chat_list .chat {
  display: grid;
  grid-template-columns: 50px auto;
  grid-template-rows: 23px auto;
  gap: 5px 15px;
  padding: 20px;
  border-bottom: 1px solid #D7D7D7;
}
.com_Chat.p_List .chat_list .chat .profile {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  min-width: 50px;
  aspect-ratio: auto;
  grid-row: 1/3;
}
.com_Chat.p_List .chat_list .chat .profile > img {
  object-fit: cover;
  min-height: 100%;
  min-width: 100%;
  max-height: 100%;
  max-width: none;
}
.com_Chat.p_List .chat_list .chat .info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  padding-top: 3px;
}
.com_Chat.p_List .chat_list .chat .info .name {
  font-weight: 500;
  color: #6C6D74;
}
.com_Chat.p_List .chat_list .chat .info .date {
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  color: #6C6D74;
}
.com_Chat.p_List .chat_list .chat .last_chat {
  font-weight: 500;
  line-height: 1.4;
  display: block;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  padding-right: 45px;
  position: relative;
}
.com_Chat.p_List .chat_list .chat:focus, .com_Chat.p_List .chat_list .chat:active {
  background-color: #F1F2F4;
}
.com_Chat.p_List .chat_list .chat .chat_new {
  background: #FFC240;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  color: #fff;
  border-radius: 50px;
  font-size: 11px;
  padding: 0 4px;
  min-width: 15px;
  height: 15px;
  font-style: normal;
  line-height: initial;
  position: absolute;
  right: 0;
  top: 0;
}