/* @import url('https://cdn.jsdelivr.net/npm/@openfonts/noto-sans-kr_korean@1.44.1/index.min.css'); */
/* @import url('https://fonts.loli.net/css?family=Noto+Sans+KR:400,700&display=swap&subset=korean'); */
/* @import url('https://fonts.googleapis.com/css?family=Noto+Sans+HK:400,700|Noto+Sans+JP:400,700|Noto+Sans+KR:400,700|Noto+Sans+SC:400,700|Noto+Sans:400,700&display=swap&subset=chinese-hongkong,chinese-simplified,japanese,korean'); */

body {
  font-family: 'Helvetica', sans-serif!important;
}

#back-to-top {
  cursor: pointer;
  position: fixed;
  background-color: #eee;
  bottom: 60px;
  right: 0px;
  display: none;
  padding: 7px 10px;
  /* border-radius: 50%; */
  font-size: 14px;
  font-weight: bold;
  /* color: white; */
  outline: none;
  opacity: 0.5;
  z-index: 899;
}

#back-to-top:hover {
  /* color: #000; */
  opacity: 0.8;
}

.cosmosfarm-members-form .form .req-text { float:right; }

.sbtn {
  position: relative;
  /* min-width: 50%; */
  /* border: none; */
  display: inline-block;
  /* padding: 0.5em 1em; */
  /* box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.3); */
  /* font-weight: bold; */
  /* color: #FFF; */
  /* background-image: -webkit-linear-gradient(45deg, #DD8282  0%, #389fe4  100%); */
  /* background-image: linear-gradient(45deg, #DD8282 0%, #389fe4 100%); */
  transition: .4s;
  /* text-align: center; */
  /* text-decoration: none; */
  overflow: hidden;
}
.sbtn:hover {
  /* background-image: -webkit-linear-gradient(45deg, #709dff 50%, #b0c9ff 100%); */
  /* background-image: linear-gradient(45deg, #709dff 50%, #b0c9ff 100%); */
}
.sbtn::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -380px;
  left: 0;
  width: 30px;
  height: 1000%;
  background-color: #fff;
  animation: sbtn 5s ease-in-out infinite;
}

@-webkit-keyframes sbtn {
  0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
  80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { -webkit-transform: scale(4) rotate(45deg); opacity: 0.8; }
  100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

@-o-keyframes sbtn {
  0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
  80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { -webkit-transform: scale(4) rotate(45deg); opacity: 0.8; }
  100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

@keyframes sbtn {
  0% { -webkit-transform: scale(0) rotate(45deg); opacity: 0; }
  80% { -webkit-transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { -webkit-transform: scale(4) rotate(45deg); opacity: 0.8; }
  100% { -webkit-transform: scale(50) rotate(45deg); opacity: 0; }
}

.sunshine {
  position: relative;
  transition: .4s;
  overflow: hidden;
}

.sunshine::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -250px;
  /* left: 0; */
  width: 15px;
  height: 100%;
  background-color: #fff;
  animation: sbtn 5s ease-in-out infinite;
}

@media screen and (min-width: 760px) {
  .dropdown:hover .dropdown-menu, .btn-group:hover .dropdown-menu{
    display: block;
  }
  nav .dropdown-menu{
    margin-top: 0;
  }
}

@media screen and (max-width: 480px) {
  body .navbar-brand {
    font-size: 1.25rem;
  }
  .widget.widget_text {
    margin: 0;
    padding: 0;
  }
  #footer-widget {
    padding-top: 1.5rem !important;
    padding-bottom: 1rem !important;
  }
}

/* 홈: 실시간 채팅 미리보기 + 우하단 “전체보기”
 * 플러그인 .community-chat-wrap { margin: … auto; } + 카드 body가 flex column이면
 * 좌우 auto로 말풍선 박스가 “내용 너비”로 줄어듦(반쯤 좁아 보임) — 가로 풀폭으로 복구 */
.kh24-home-chat-preview .card-body.d-flex.flex-column > .community-chat-wrap {
  flex: 1 1 auto;
  min-height: 0;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0;
  margin-bottom: 0;
}

/* 전체보기: 링크형(테두리·박스 없음) */
.kh24-home-slab-bottom-more .btn.btn-link {
  border: 0 !important;
  box-shadow: none !important;
  text-decoration: none;
}
.kh24-home-slab-bottom-more .btn.btn-link:hover {
  text-decoration: underline;
}

/* 홈: 영주권 타임라인(플러그인) 하단 더보기 — 테마에 전체보기 버튼 쓰므로 숨김 */
.kh24-home-timeline-preview .tb-wrap--home-preview .tb-list-more {
  display: none !important;
}
