@charset "utf-8";

@font-face {
  font-family: "Noto Sans KR";

  src: url(../font/NotoSansKR-Regular.otf),
    url(../font/NotoSansKR-Regular.otf) format("opentype");
}

/* padding-top: 56.25px; */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  padding-top: 3.515625rem;
  box-sizing: border-box;
  background: #fff;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button {
  font-family: "Noto Sans KR", sans-serif;
}

input:focus {
  outline: none;
}

/* font-family: 'Nanum Gothic', sans-serif; */

/* 네비게이션 */
.nav {
  width: 100%;
  height: 3.515625rem;
  background: #fff;
  /* border-bottom: 6px solid #f5f6f6; */
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0 1.109375rem 0 0.9375rem;
  -webkit-app-region: drag;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.setting_wrap,
.title_wrap,
.arrow_wrap,
.userProfile-modal-close button,
.profile-favoritebtn {
  -webkit-app-region: no-drag;
}

.nav_text_box {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav_text_box>div {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav_text_box em {
  font-weight: 600;
  color: #0e0e0e;
}

/* 네비 채팅 */
.nav_text_box .title_wrap {
  text-align: center;
  margin: 0.75rem 1.765625rem 0 0;
}

.nav_text_box .title_text {
  font-size: 0.9375rem;
  line-height: 0.3125rem;
  letter-spacing: -0.125rem;
}

/* 네비 설정 */
.nav_text_box .setting_wrap {
  text-align: right;
}

.nav_text_box .setting_wrap>div {
  height: 100%;
}

.nav_text_box .setting_wrap>div>div {
  height: 100%;
}

.nav_text_box .setting_wrap>div>div>* {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav_text_box .setting_wrap>div>div img {
  height: 40%;
  box-sizing: border-box;
}

.nav_text_box .setting_text {
  font-size: 0.78125rem;
  letter-spacing: -0.125rem;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  background-image: url("../img/room-setting.png");
  background-repeat: no-repeat;
  background-position: center;
  width: 20px;
  height: 100%;
  margin-left: 20px;
}

/* 네비 친구찾기,친구추가 */
.nav_text_box .right_grub {
  display: flex;
  align-items: center;
}

.nav_text_box .friend_add {
  /* margin-right: 0.71875rem; */
  display: flex;
  align-items: center;
  font-size: 0.78125rem;
  /* line-height: 0.3125rem; */
  /* margin-right: 1.109375rem; */
  letter-spacing: -0.0625rem;
  cursor: pointer;
}

.nav_text_box .friend_add i {
  font-size: 0.40625rem;
  /* margin-right: 0.15625rem; */
  margin-top: 0.15rem;
}

/* 네비 화살표 아이콘 */
.nav_text_box .arrow_wrap {
  /* margin-top: 0.75rem; */
}

.arrow_icon_box {
  height: 1.875rem;
  position: relative;
}

.arrow_icon_box .arrow_icon {
  width: 0.515625rem;
  height: 0.90625rem;
  background: url(../img/icon/arrow_left.png) center center;
  background-size: cover;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* 네비 채팅방 타이틀 */
.nav_text_box .chatting_title {
  font-size: 0.9375rem;
  margin-right: 2.1875rem;
}

/* 내 프로필 */
.my-profile_name {
  font-size: 0.915625rem;
  line-height: 2.875rem;
  font-weight: 600;
  color: #0e0e0e;
}

/* 프로필 */
.profile {
  display: flex;
  /* padding: 0.78125rem 0 0.78125rem; */
  box-sizing: border-box;
}

.profile .profile_img {
  width: 3.671875rem;
  height: 3.671875rem;
  border-radius: 50%;
  background: #ccc;
  overflow: hidden;
}

.profile .profile_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.myprofile_img {
  width: 3.671875rem;
  height: 3.671875rem;
  border-radius: 50%;
  background: #ccc;
  overflow: hidden;
}

.myprofile_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile .profile_name {
  margin: 0 0 0 0.78125rem;
  max-width: calc(100% - 77px);
  min-width: 128px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.profile .profile_name em {
  font-size: 0.915625rem;
  /* line-height: 0.875rem; */
  font-weight: 600;
  color: #0e0e0e;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  /* height: 17px; */
}

.profile .profile_name p {
  font-size: 0.78125rem;
  /* line-height: 0.703125rem; */
  font-weight: 300;
  color: #8d8d8d;
  margin-top: 1.09375rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 친구 목록 */
.friend_list {
  min-height: 100%;
}

.friend_list .profile {
  padding: 0.34375rem 0;
}

.friend_list .friend_search {
  margin-bottom: 10px;
  width: 97%;
}

/* 푸터 네비게이션 */
.footer_nav {
  width: 100%;
  height: 5.46875rem;
  background: #fff;
  border-top: 0.0625rem solid #e0e4e9;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 999;
  box-sizing: border-box;
}

.footer_nav ul {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
}

.footer_nav ul a {
  width: 25%;
  width: 33%;
  height: 100%;
  cursor: pointer;
}

.footer_nav ul li {
  width: 100%;
}

.footer_nav ul li .icon_box {
  width: 100%;
  margin-top: 0.9375rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer_nav ul li .icon_box .icon {
  width: 1.875rem;
  height: 1.875rem;
  padding: 0.15625rem;
  box-sizing: border-box;
  position: relative;
}

.footer_nav ul li .icon_box .icon i {
  font-size: 1.25rem;
  position: absolute;
  bottom: 0.15625rem;
  left: 50%;
  transform: translateX(-50%);
  color: #d7d7d7;
}

.footer_nav ul a li .icon_box .icon .image {
  width: 1.84375rem;
  height: 1.84375rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s;
}

.footer_nav ul li .icon_box .icon_text {
  width: 100%;
  font-size: 0.796875rem;
  font-weight: 300;
}

/*.footer_nav ul a.active li .icon_box .icon_text,
.footer_nav ul a:hover li .icon_box .icon_text {
  color: #f5c119;
}*/

li .icon_box .icon_text.focus {
  color: #0850a3;
}

/* 푸터 네비 아이콘 이미지 변경 */
.footer_nav ul a:nth-child(1) li .icon_box .icon .image {
  background: url(../img/footer_icon/menu_home_off.png) no-repeat center center;
  background-size: 80%;
}

.footer_nav ul a:nth-child(2) li .icon_box .icon .image {
  background: url(../img/footer_icon/chat-off.png) no-repeat center center;
  background-size: 80%;
}

.footer_nav ul a:nth-child(3) li .icon_box .icon .image {
  background: url(../img/footer_icon/setting-off.png) no-repeat center center;
  background-size: 80%;
}

.footer_nav ul a:nth-child(4) li .icon_box .icon .image {
  background: url(../img/footer_icon/menu_sns_off.png) center center;
  background-size: cover;
}

.footer_nav ul a:nth-child(5) li .icon_box .icon .image {
  background: url(../img/footer_icon/menu_user_off.png) center center;
  background-size: cover;
}

/* 푸터 네비 아이콘 마우스 오버시 색상 변경 */
/*.footer_nav ul a:nth-child(1):hover li .icon_box .icon .image,
.footer_nav ul a:nth-child(1).active li .icon_box .icon .image,
.footer_nav ul a:nth-child(1):focus li .icon_box .icon .image {
  background: url(../img/footer_icon/menu_home_on.png) center center;
  background-size: cover;
}*/
.footer_nav ul a:nth-child(1) li .icon_box .icon .image.focus {
  background: url(../img/footer_icon/menu_home_on.png) no-repeat center center;
  background-size: 80%;
}

/*.footer_nav ul a:nth-child(2):hover li .icon_box .icon .image,
.footer_nav ul a:nth-child(2).active li .icon_box .icon .image,
.footer_nav ul a:nth-child(2):focus li .icon_box .icon .image {
  background: url(../img/footer_icon/chat-on.png) center center;
  background-size: cover;
}*/

.footer_nav ul a:nth-child(2) li .icon_box .icon .image.focus {
  background: url(../img/footer_icon/chat-on.png) no-repeat center center;
  background-size: 80%;
}

/*.footer_nav ul a:nth-child(3):hover li .icon_box .icon .image,
.footer_nav ul a:nth-child(3).active li .icon_box .icon .image,
.footer_nav ul a:nth-child(3):focus li .icon_box .icon .image {
  background: url(../img/footer_icon/setting-on.png) center center;
  background-size: cover;
}*/
.footer_nav ul a:nth-child(3) li .icon_box .icon .image.focus {
  background: url(../img/footer_icon/setting-on.png) no-repeat center center;
  background-size: 80%;
}

.footer_nav ul a:nth-child(4):hover li .icon_box .icon .image,
.footer_nav ul a:nth-child(4).active li .icon_box .icon .image,
.footer_nav ul a:nth-child(4):focus li .icon_box .icon .image {
  background: url(../img/footer_icon/menu_sns_on.png) center center;
  background-size: cover;
}

.footer_nav ul a:nth-child(5):hover li .icon_box .icon .image,
.footer_nav ul a:nth-child(5).active li .icon_box .icon .image,
.footer_nav ul a:nth-child(5):focus li .icon_box .icon .image {
  background: url(../img/footer_icon/menu_user_on.png) center center;
  background-size: cover;
}

/* 채팅,초대 버튼 style */
.profile .btn_wrap {
  display: flex;
}

.btn_wrap .btn {
  font-size: 0.859375rem;
  letter-spacing: -0.03125rem;
  min-width: 3.890625rem;
  height: 2.90625rem;
  box-sizing: border-box;
  border-radius: 0.15625rem;
  margin-left: 0.125rem;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  border: solid 0.046875rem;
}

.profile .btn_wrap .btn:nth-child(1) {
  margin-left: 0rem;
}

/* 버튼 색깔 */
.profile .btn_wrap .btn.btn1 {
  color: #f6c016;
  border-color: #f6c016;
}

.profile .btn_wrap .btn.btn2 {
  color: #1670f6;
  border-color: #1670f6;
}

.profile .btn_wrap .btn.btn3 {
  color: #ed5d86;
  border-color: #ed5d86;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile .btn_wrap .btn.btn33 {
  color: #ed5d86;
  border-color: #ed5d86;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 5.15625rem;
}

.profile .btn_wrap .btn.btn3 i {
  font-size: 0.546875rem;
  margin-right: 0.1875rem;
}

.profile .btn_wrap .btn.btn4 {
  background: #f6c016;
  border-color: #f6c016;
  color: #fff;
}

.profile .btn_wrap .btn.btn5 {
  min-width: 5.15625rem;
  border-color: #1670f6;
  color: #1670f6;
}

.btn_wrap .btn.btn6 {
  background: #f61636;
  border-color: #f61636;
  color: #fff;
}

.profile .btn_wrap .btn.btn7 {
  background: #9e9e9e;
  border-color: #9e9e9e;
  color: #fff;
}

.btn_wrap .btn.btn8 {
  background: #000;
  border-color: #000;
  color: #fff;
}

.profile .btn_wrap .btn.invtiebtn {
  min-width: 5.15625rem;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  color: #9d9d9d;
  height: 2rem;
}

/* 가로 라인 */
.line1 {
  display: block;
  width: 100%;
  height: 0.0625rem;
  margin: 0.859375rem 0;
  box-sizing: border-box;
  background: #e0e4e9;
}

/* 채팅,설정 버튼 클릭시 새로운 채팅 설정창  */
.new_chatting_container {
  width: 100%;
  height: 100%;
  display: none;
  /* align-items: flex-end; */
  margin-top: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.8);
  overflow: scroll;
  /* overflow: hidden; */
  /* overflow-y: auto; */
  /* -webkit-overflow-scrolling: touch; */
}

.new_chatting_container.active {
  display: flex;
}

.new_chatting {
  width: 100%;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  padding: 16px 15px 0;
  box-sizing: border-box;
  height: 90%;
  min-height: 500px;
  margin-top: auto;
  /* overflow: hidden; */
  /* overflow-y: scroll; */
}

.new_chatting .title {
  height: 7%;
}

.new_chatting .title .close {
  width: 15px;
  height: 15px;
  background: url(../img/icon/close.png) center center;
  background-size: cover;
  cursor: pointer;
}

.new_chatting .title h2 {
  width: 100%;
  font-size: 16.25px;
  text-align: center;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -1.63px;
}

/* 채팅방 이름 설정 */
.new_chatting .chatting_name {
  height: 15%;
}

.new_chatting .chatting_name .chatting_name_title {
  height: 40px;

  display: flex;
  align-items: center;

  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  /* identical to box height, or 129% */

  letter-spacing: 0.6px;

  /* 그레이컬러/454545 */

  color: #454545;
}

.new_chatting .chatting_name input {
  width: 100%;
  height: 40px;
  font-size: 13.75px;
  line-height: 20px;
  letter-spacing: -1.38px;
  border: none;
  border-bottom: 1px solid #7d7d7d;
}

.new_chatting .chatting_name input::placeholder {
  color: #d1d1d1;
}

/* 채팅방 시간 설정 */
.new_chatting .chatting_time {
  height: 23%;
}

.new_chatting .chatting_time_title {
  height: 40px;

  display: flex;
  align-items: center;

  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  /* identical to box height, or 129% */

  letter-spacing: 0.6px;

  /* 그레이컬러/454545 */

  color: #454545;
}

.new_chatting .chatting_time h2 {
  font-size: 13.75px;
  line-height: 20px;
  letter-spacing: -1.38px;
}

.new_chatting em {
  font-size: 0.9375rem;
  line-height: 20px;
  letter-spacing: -1.13px;
  font-weight: 400;
}

.new_chatting .set_time {
  width: 100%;
  height: 30.5px;
  margin: 10px 0 12.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12.5px;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  cursor: pointer;
  position: relative;
}

.new_cahtting .set_time>span {
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  /* identical to box height, or 129% */

  letter-spacing: -0.078px;

  /* 그레이컬러/9D9D9D */

  color: #9d9d9d;
}

.new_chatting .set_time.active {
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.new_chatting .set_time p {}

.new_chatting .set_time .bottom_icon {
  width: 11.75px;
  height: 10.25px;
  background: url(../img/icon/bottom.png) center center;
  background-size: cover;
  pointer-events: none;
}

/* 채팅방 시간 리스트 */
.new_chatting .set_time .time_list {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
}

.new_chatting .set_time.active .time_list {
  display: block;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.new_chatting .set_time .time_list ul {
  width: 100%;
  height: 100%;
}

.new_chatting .set_time .time_list ul li {
  width: 100%;
  height: 30.5px;
  line-height: 30.5px;
  padding: 0 12.5px;
  box-sizing: border-box;
  background: #fff;
}

.new_chatting .set_time .time_list ul li:hover {
  background: #d9d9d9;
}

.new_chatting .set_time .time_list ul li p {}

/* 채팅방 만들기 버튼 */

.chatting_add {
  height: 11%;
  display: flex;
  align-items: center;
}

.chatting_add button {
  width: 100%;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 50px;
  color: #0850a3;
  border: 1px solid #0850a3;
  cursor: pointer;

  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  /* identical to box height, or 131% */

  text-align: center;
  letter-spacing: -0.32px;
}

.chatting_add button .plus_icon {
  width: 8.25px;
  height: 8.5px;
  background: url(../img/icon/plus.png) center center;
  background-size: cover;
  margin-right: 3px;
}

.chatting_add button em {
  font-size: 16.25px;
  line-height: 20px;
  letter-spacing: -1.63px;
  color: #f5c119;
  font-weight: 500;
}

/* 이름변경 */
.renamebtn {
  width: 4rem;
  height: 2.3rem;
  justify-content: center;
  align-items: center;
  background: #fff;
  border-radius: 7.5px;
  font-style: normal;
  font-family: NotoSansCJKkr;
  letter-spacing: -1.38px;
  cursor: pointer;
  color: #ffffff;
  background-color: #f5c119;
}

/* 채팅방 배경화면 알림음 크기 */
.chatting_backimg {
  height: 15%;
}

.chatting_backimg .chatting_backimg_title {
  height: 40px;

  display: flex;
  align-items: center;

  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  /* identical to box height, or 129% */

  letter-spacing: 0.6px;

  /* 그레이컬러/454545 */

  color: #454545;
}

.chatting_backimg h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.chatting_alert {
  height: 15%;
}

.chatting_alert .chatting_alert_title {
  height: 40px;

  display: flex;
  align-items: center;

  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  /* identical to box height, or 129% */

  letter-spacing: 0.6px;

  /* 그레이컬러/454545 */

  color: #454545;
}

.chatting_alert .alert-warp {
  height: auto;
}

.chatting_line {
  margin-top: 1rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  border-bottom: 5px solid #f5f6f6;
}

.chattingoutbtn {
  position: absolute;
  right: 0;
  top: 0;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chattingoutbtn img {
  width: 15px;
  margin-right: 5px;
}