::selection { background-color: #007ce1; color: white; }
::-moz-selection { background-color: #007ce1; color: white; }

@font-face {
	font-family: 'Pretendard';
	font-weight: 400;
	font-display: swap;
	src: local('Pretendard Regular'), url('../fonts/Pretendard/woff2/Pretendard-Regular.woff2') format('woff2'), url('../fonts/Pretendard/woff/Pretendard-Regular.woff') format('woff');
  /* src: local('Pretendard Regular'), url('../fonts/Pretendard/woff/Pretendard-Regular.woff') format('woff'); */
}

@font-face {
  font-family: 'BMEULJIRO';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/BMEUJILO/BMEULJIROTTF.ttf') format('truetype');
}

body {
  font-family: 'Pretendard';
  /* ios 모바일 웹에서 미리보기 메뉴 팝업 방지 */
  -webkit-touch-callout: none;
}

/* span {
  display: inline-block;
} */

.pretendard {
  font-family: 'Pretendard';
}

.bmeuljiro {
  font-family: 'BMEULJIRO';
}

/* h1 {
  border-left: solid 15px #212529;
  padding-left: 10px;
} */

.input_disabled {
  color: 'inherit';
  border: 'none';
}

/* input number type 화살표 안보이게 */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox  */
input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

a.nav-link:hover {
  color: #fff;
}

/*
 * Sidebar
 */
#process_info {
  font-size: 0.9rem;
}

.nickname {
  color: #0d6efd;
}
/*
 * progress indicator
 * note 에서 사용중
 */
.progress_indicator {
  position: fixed;
  width: 250px;
  top:50%; 
  right: calc(100% - 50% - 125px);
  z-index: 1100;
}

.progress_indicator_text {
    font-size: 1rem;
    color:#eeecec;
}

/* .login_info_div {
  border-radius: 8px;
  background-color: skyblue;
} */

.login_info {
  font-size: 1rem;
}

/* 포인터(pointer) 장치 종류 확인
  coarse: 터치 스크린에 사용되는 손가락 처럼 부정확한 포인터 장치일 때
  fine: 마우스처럼 정확한 포인터 장치일 때
  none: 포인터가 없는 장치일 때
*/

/* pc일 때 */
@media (hover: hover) and (pointer: fine) { 


}

/* 모바일일 때 */
@media (hover: none) and (pointer: coarse) { 
  /* .btn:hover, .btn:focus {
    color: #0d6efd;
    background-color: inherit;
    border-color: #0d6efd;
  } */
    /* 햄버거 메뉴 버튼 */
  .navbar-toggler:hover, .navbar-toggler:focus {
    box-shadow: none;  
  }

}



.sidebar {
  position: fixed;
  top: 0;
  /* rtl:raw:
  right: 0;
  */
  bottom: 0;
  /* rtl:remove */
  /* left: 0; */
  z-index: 100; /* Behind the navbar */
  padding: 48px 0 0; /* Height of navbar */
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

@media (max-width: 767.98px) {
  .sidebar {
    top: 5rem;
  }
}

.nav_box { 
  /* display: flex; */
  height: 63px;
  /* justify-content: space-between;  */
  /* align-itrems: center;  */
  font-weight: bold; 
  font-family: "NEXON Lv2 Gothic Bold"; 
  font-size: 1.5rem; 
  /* margin: 5px; */
}

.nav_link_text {
  font-size: 1rem;
}

#hamburger { 
  width: 35px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.hamburger_icon_div {
  padding: 4px 0px 0px 8px;
}

.hamburger_icon {
  position : relative;
}
#hamburger_slide_close {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.hamburger_slide_close_top {
  /* text-align: right;
  cursor: pointer; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hamburger_slide_icon {
  width: 35px;
}

/* 슬라이드 메뉴 이외의 영역 이벤트 제어를 위한 영역 */
#dimmed { 
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 100%;
  background-color:rgba(0, 0, 0, 0.5);
}

.bounce {
  -webkit-animation-name: bounce;
  -webkit-animation-duration: 0.7s;
  animation-name: bounce;
  animation-duration: 0.7s;
}

/* 바운스 효과 */
/* macOS,linux, windodws, iOS, ipadOS, androidOS */
@-webkit-keyframes bounce {
  0% { transform: scale(1);
    transition-timing-function: ease-in;
  }
  50% { transform: scale(1.01); 
    transition-timing-function: ease-in;
  }
  100% { transform: scale(1); 
    transition-timing-function: ease-out;
  }
}

@keyframes bounce {
  0% { transform: scale(1);
    transition-timing-function: ease-in;
  }
  50% { transform: scale(1.01); 
    transition-timing-function: ease-in;
  }
  100% { transform: scale(1); 
    transition-timing-function: ease-out;
  }
}

/* 뒷 배경 스크롤 락 */
.scrollLock { overflow: hidden; }

/* 햄버거 메뉴 회전 */
.btnRotate {
  transform: rotate(-90deg);
  /* transition: all 0.3s ease-in-out; */
}

.btnRotate_slide_close {
  -webkit-animation-name: rotate;
  -webkit-animation-duration: 0.5s;
  animation-name: rotate;
  animation-duration: 2s;
}

@-webkit-keyframes rotate {
  0% { transform: rotate(-45deg); }
  25% { transform: rotate(45deg); }
  50% { transform: rotate(-45deg); }
  75% { transform: rotate(45deg); }
  100% { transform: rotate(0deg); }
}

@keyframes rotate {
  0% { transform: rotate(-90deg); }
  /* 25% { transform: rotate(-45deg); } */
  50% { transform: rotate(-45deg); }
  /* 75% { transform: rotate(45deg); } */
  100% { transform: rotate(0deg); }
}

/* 높이 가운데를 중심으로 왼쪽<-->오른쪽 2회 흔드는 애니메이션 */
@-webkit-keyframes shaking {
  0% { transform: rotate(-45deg); }
  25% { transform: rotate(45deg); }
  50% { transform: rotate(-45deg); }
  75% { transform: rotate(45deg); }
  100% { transform: rotate(0deg); }
}

@keyframes shaking {
  0% { transform: rotate(-45deg); }
  25% { transform: rotate(45deg); }
  50% { transform: rotate(-45deg); }
  75% { transform: rotate(45deg); }
  100% { transform: rotate(0deg); }
}

/* right : 오른쪽 측면에서 슬라이드 
 * left : 왼쪽 측면에서 슬라이드
*/
.nav_side_menu {
  position: fixed;
  top: 0;
  right: -300px;
  /* left: -300px; */
  z-index: 400;
  width: 300px;
  height: 100%;
  padding: 10px 10px 15px 20px;
  box-sizing: border-box;
  transition: right 0.3s ease-in-out;
  /* transition: left 0.3s ease-in-out; */
  background-color: #343a40;
}

.nav_side_menu.on {
  right: 0;
  /* left: 0; */
}

/* 슬라이드 메뉴 이외의 영역 이벤트 제어를 위한 영역 */
#dimmed { 
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 100%;
  height: 100%;
  background-color:rgba(0, 0, 0, 0.5);
}
/* 뒷 배경 스크롤 락 */
.scrollLock { overflow: hidden; }
/* .post-content {
  height: calc(100vh - 167px);
} */

.sidebar-sticky {
  position: relative;
  top: 0;
  /* height: calc(100vh - 112px); */
  /* height: calc(100vh - 178px); */
  /* height: calc(100vh - 167px); */
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar-sticky .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar-sticky .nav-link .feather {
  margin-right: 4px;
  color: #727272;
}

.sidebar-sticky .nav-link.active {
  color: #007bff;
}

#sidebarMenu .nav-link:hover,
#sidebarMenu .nav-link.active {
  color: #007bff;
}


.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/* .nav-item a:active {
  background-color:#007bff;
  color:#fff;
} */

.subject {
  padding:.2rem 1rem .1rem 1rem;
}

.subject:hover {
  background-color:#f8f9fa;
}

/* 환경 설정 제목 div 요소 */
.setting_title {
  border-left: solid #343a40;
  border-left-width: 10px;
  padding-left: 10px;
}

/* 주제이름 수정 input 요소 */
.subject_input {
  border:none;
  font-size:.75rem;
  background-color: inherit;
  width: 150px;
}

.form-control:focus {
  background-color:inherit;
}

.account-info {
  font-size:.75rem;
}

.comment-icon:hover {
  color : #0d6efd
}

.fold {
  color : grey;
  text-decoration : underline;
}

.fold:hover {
  color : darkslategrey;
  text-decoration : underline;
}

.sub_menu {
  color:#575757;
  font-size:.75rem;
  font-weight: bold;
}

/* 포스트 정보 스타일 */
.info_text {
  font-size:.75rem;
}

#toast_message {
  z-index: 999999;
}

.toast-body {
  font-size:.75rem;
}

.sub_menu:hover {
  color:#007bff;
}

.selected {
  background-color:#DCF2EA;
}

.share_link {
  margin: auto;
  padding: 30px 10px 40px 10px;
  text-align: center;
  background-color: inherit;
}

.share_img {
  /* width: 3.125rem; */
  width: 2.125rem;
  cursor: pointer;
  /* margin: 0 1.2rem; */
  margin: 0 0.7rem;
}

/* 댓글 비밀번호 확인창 */
.comment_pw_check {
  display: none;
}

/* 수정 댓글 저장 버튼*/
.comment_modify_save_btn {
  display: none;
}

  /*말줄임*/
.text-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	word-wrap: break-word;
	display: -webkit-box;
  line-clamp: 1;
  box-orient: vertical;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	/* line-height: 20px;
	height: 20px; */
}

/* 댓글에 대한 댓글 등록 요소 스타일 */
.comment_reply {
  display: none;
  background-color: #eef1f5;
}

/* 댓글에 대한 댓글 내용 영역 스타일 */
.comment_reply_content {
  background-color: #eef1f5;
}

/* sub_subject_statics 스타일 */
/* .sub_subject_statics {
  display: none;
} */
/* ------------------------
 * datepicker 스타일 커스텀
 ------------------------*/
/* 배경 표시 */
.ui-datepicker {
  /* font-size: .75rem; */
  position: absolute;
  color: var(--text-color);
  width: 280px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-size: 1rem;
  box-shadow: 1px 1px 8px 0px rgba(0, 0, 0, 0.2);
  background-color: var(--background-color);
  z-index: 10;
  margin-top: 0.2rem;
}

/* (상단 해더)뒤로 앞으로 화살표 버튼 , 년,월 텍스트 표시 */
.ui-datepicker-header {
  font-size: .75rem;
  /* display: flex;
  width: 100%;
  height: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  justify-content: space-around; */
}

/* (상단 해더) 년,월 표시 */
.ui-datepicker-title {
  font-size: .75rem;
  /* display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem; */
}

/* (달력)달력 표시 배경 */
.ui-datepicker-calendar {
  font-size: .75rem;
}

/* (달력 첫 행)달력 요일 표시 */
.ui-datepicker-calendar th{
  font-size: .75rem;
}

/* 요일 표시 */
/* .ui-datepicker-week-end {
  font-size: .75rem;
} */

/* (이번달 날짜) 선택 가능한 날짜 표시 */
.ui-state-default {
  font-size: .75rem;
}
/* (이전달 또는 다음달 날짜) 선택 불가능한 날짜 표시 */
.ui-datepicker-other-month {
  font-size: .75rem;
}

/* 이전 달 버튼 */
.ui-datepicker-prev {
  font-size: .75rem;
}
/* 이후 달 버튼 */
.ui-datepicker-next {
  font-size: .75rem;
}
/* 일 표시 */
/* .ui-datepicker table {
  font-size: .5rem;
} */

/* animated icon */
/* 휴지통 아이콘*/

/* icon container */
.comment_icon_div {
  margin: 0 0 3px 0;
  padding: 0;
  display: flex;
  align-items: center;
  width: 16px;
  height: 16px;
}

/* trash_body */
.trash {
  width: 100%;
  height: 70%;
  content: url( "/img/trash_body.svg" );
  margin:0 auto;
}

.trash_cap_wrap {
  margin-bottom: 20px;
}

/* trash_cap */
.trash_cap {
  position: absolute;
  cursor: pointer;
  width: 16px;
  margin-bottom: 20px;
  content: url( "/img/trash_cap.svg" );
  -webkit-transform: rotate(-0deg);
  -ms-transform: rotate(-0deg);
  transform: rotate(-0deg);
  transition: transform 250ms;
  /* 2d animation 변화 기준점 설정 :  x-axis y-axis;  % 또는 px값으로 설정이 가능한다.*/
  transform-origin: 0 5px;
}

.trash_cap:active{
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  transition: transform 250ms;
}

.trash_cap:hover {
  content: url( "/img/trash_cap_hover.svg" );
}

/* 이미지 요소 스타일 */
.img-fluid {
  border: solid 0.5px lightgray;
}

/* 프로필 이미지 속성 */
.img-profile {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 50%;
  max-width: 100%;
  height: auto;
}

/* 동일 주제 포스트 목록 */
.sibling_posts {
  list-style : none;
  margin : 0;
  padding : 0;
}

/* number rolling */
.num {
  display: inline-block;
  width: 14px;
  height: 30px;
  overflow: hidden;
  text-align: center;
}

.num-list {
  display: inline-block;
  width: 14px;
  line-height: 30px;
  margin-top:0;
  text-align: center;
}

.count_slide {
  font-size: 1.5rem;
  /* font-size: 0.9rem; */
}

.count_slide_small {
  font-size: 0.8rem;
}

/* 년, 월 input 요소 */
.count_input {
  padding:0px 0px 0px 14px;
}

/* switch checkbox 스위치 체크박스 */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 24px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .2s;
  transition: .2s;
  text-align: left;
  padding: 0px 10px 0px 10px;
  color: #ffffff;
  /* 텍스트 select 방지 */
  user-select: none;
  -webkit-user-select: none;
}

.slider:before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 4px;
  bottom: 2.5px;
  background-color: white;
  -webkit-transition: .2s;
  transition: .2s;
}

input:checked + .slider {
  background-color: #2196F3;
}

/* input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
} */

input:checked + .slider:before {
  -webkit-transform: translateX(33px);
  -ms-transform: translateX(33px);
  transform: translateX(33px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

/* up, down scroll floating btn */
.up_down_floating_btn {
  position:fixed; right:20px; border-radius:8px; background-color:inherit; z-index: 10; opacity: 0.4;
}

.up_down_floating_btn:active {
  opacity: 0.8;
}
/* scrollbar customize 
  width: 세로축 스크롤바 길이
  height: 가로축 스크롤바 길이
*/
/* body::-webkit-scrollbar {
  width: 8px; 
  height: 8px; 
} */

/* div::-webkit-scrollbar {
  width: 8px;  
  height: 8px;  
} */

/* textarea::-webkit-scrollbar {
  width: 8px;
  height: 8px; 
} */

/* body::-webkit-scrollbar-track {
  background-color: transparent;
} */

/* div::-webkit-scrollbar-track {
  background-color: transparent;
} */

/* textarea::-webkit-scrollbar-track {
  background-color: transparent;
} */
/* body::-webkit-scrollbar-track-piece {
  background-color: gray;
} */
/* div::-webkit-scrollbar-track-piece {
  background-color: gray;
} */
/* body::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #b0b0b1;
} */

/* div::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #b0b0b1;

} */

/* textarea::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: #007bff;
} */

/* body::-webkit-scrollbar-button {
  width: 0;
  height: 0;
} */

/* div::-webkit-scrollbar-button {
  width: 3;
  height: 3; 
} */

/* textarea::-webkit-scrollbar-button {
  width: 0; 
  height: 0;
} */

/* Top, Left 방향의 이동버튼 */
/* body::-webkit-scrollbar-button:start {
  background-color: #b0b0b1;
} */
/* div::-webkit-scrollbar-button:start {
  background-color: #b0b0b1; 
} */
/* Bottom, Right 방향의 이동버튼 */
/* body::-webkit-scrollbar-button:end {
  background-color: #b0b0b1; 
} */
/* div::-webkit-scrollbar-button:end {
  background-color: #b0b0b1; 
} */
/* ::-webkit-scrollbar-button:vertical:increment {
}
::-webkit-scrollbar-button:vertical:decrement {
} */
/* 우측 하단의 코너 부분 */
/* body::-webkit-scrollbar-corner {
  background-color: violet; 
} */
/* div::-webkit-scrollbar-corner {
  background-color: violet; 
} */
/* body::-webkit-resizer {
  background-color: green;
} */

/* 반응형 뷰 처리를 위한 미디어 쿼리 */
/* '모든 디바이스 & 최대 너비가 576px 이하'라는 조건을 모두 만족할 때 */
@media all and (max-width:575px) {
  .copyright {
    font-size : 0.9rem;
  }

  .nickname_input {
    margin-left: 4px;
  }

  body{
    -ms-overflow-style: none;
  }
    
  ::-webkit-scrollbar {
    display: none;
  }

  .count_input {
    padding:0px 0px 0px 0px;
  }

}

/* '모든 디바이스 & 최소 너비가 576px(sm)'라는 조건을 모두 만족할 때 */
@media all and (min-width:576px) {
  .reg_date {
    text-align : right;
  }
}

@media all and (min-width:1200px) {

}
/* '모든 디바이스 & 최소 너비가 992px(lg)'라는 조건을 모두 만족할 때 */
@media all and (min-width:992px) {
  .post_title {
    text-align : center;
  }
}

/* 브라우저 폭 md 이상 */
@media all and (min-width: 768px) {
  .post-info-start {
    padding-right : 15%;
  }
  .post-info-end {
    padding-left : 5%;
  }

  .nickname_input {
    margin-left: 8px;
  }

}
@media all and (min-height: 680px), screen and (orientation: portrait) {

}
/* '최소 높이가 680 이상'이거나 '세로 모드의 스크린 기기' 중 하나를 만족하는 경우에 적용*/
