
/*@import url("https://fonts.googleapis.com/icon?family=Material+Icons");*/

@font-face {
  font-family: 'Material Icons';
  src: url('/assets/fonts/MaterialIcons-Regular.woff2') format('woff2');
}

* {
  font-family: "Spoqa Han Sans Neo", sans-serif !important;
}

body i[class*="fa"] {
  font-family: "Font Awesome 6 Free" !important;
}

/* editor start */

.note-editor.note-frame {
  border: none !important;
  box-shadow: none !important;
}

.note-toolbar {
  visibility: hidden !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.note-editing-area {
  border: none !important;
}

.note-editable {
  min-height: 300px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  padding: 12px 0 !important;
  color: #666 !important;
  border: none !important;
}

.note-editable:empty:before {
  content: attr(data-placeholder);
  color: #bbb;
}

.note-editable * {
  font-size: 15px !important;
}

.note-editable img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 12px 0;
}

.note-editable ul,
.note-editable ol {
  margin: 8px 0;
  padding-left: 24px;
}

.note-editable li {
  margin: 4px 0;
  list-style-type: disc !important;
}

.note-editable p {
  margin-bottom: 4px;
  font-size: 0.875rem;
  font-weight: 400;
}

.note-editable b,
.note-editable strong {
  font-weight: bold !important;
}

.note-statusbar {
  display: none !important;
}

.note-btn {
  width: 40px;
  height: 40px;
}

.boardCon ul {
	padding-left: 20px;
}
.boardCon ul li {
    list-style: disc;
}
.boardCon ol {
    list-style: decimal;
}
/* editor end */

/* sidebar submenu start */

/* 서브메뉴가 있는 메뉴는 아래 화살표 */
.sidebar .navbar-nav li > a.has-arrow:after {
  content: "\e842";
  transition: transform 0.3s ease;
  opacity: 0.8;
}

/* 펼쳐졌을 때 화살표 회전 */
.sidebar .navbar-nav li > a.has-arrow[aria-expanded="true"]:after {
  transform: translateY(-50%) rotate(-180deg);
}

/* sidebar submenu end */

/* 출석체크 start */

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.calendar-day {
  aspect-ratio: 1;
}

.calendar-day.empty {
  border: none;
}

.calendar-day.checked {
/*  background: #fe4487 !important;
  color: transparent;
  border-color: #fe4487 !important;*/
  background: #fe448730 !important;
  color: #6A6A6A;
  border-color: #fe4487 !important;
}

.calendar-day.checked::after {
  content: "✓";
  position: absolute;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.calendar-day.today {
  border: 2px solid #fe4487 !important;
}

/* 출석체크 end */

/* [start] floatBtn - material icon set */

:root {
  --fab-right: 20px;
  --fab-inner-right: 23px;
  --fab-bottom : 0px;
}

.fab {
  transition: all 300ms ease-in-out;
  width: 45px;
  height: 45px;
  background-color: #fe4487;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: var(--fab-right);
  /*bottom: 90px;*/
  bottom: calc(90px + var(--fab-bottom));
  z-index: 720;
  user-select: none;
  cursor: pointer;
  color: white;
  font-size: 2em;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.16), 0px 3px 10px rgba(0, 0, 0, 0.16);
  border-radius: 50%;
}

.fab i {
  transition: all 300ms ease-in-out;
  will-change: transform;
}

.inner-fabs .fab {
  width: 40px;
  height: 40px;
  right: var(--fab-inner-right);
  /*bottom: 95px;*/
  bottom: calc(95px + var(--fab-bottom));
  font-size: 1.5em;
}

.inner-fabs.show .fab:nth-child(1) {
  /*bottom: 150px;*/
  bottom: calc(150px + var(--fab-bottom));
}

.inner-fabs.show .fab:nth-child(2) {
  /*bottom: 200px;*/
  bottom: calc(200px + var(--fab-bottom));
}

.inner-fabs.show .fab:nth-child(3) {
  /*bottom: 250px;*/
  bottom: calc(250px + var(--fab-bottom));
}

.inner-fabs.show + .fab i {
  transform: rotate(135deg);
}

.fab:before {
  content: attr(data-tooltip);
  transition: opacity 150ms cubic-bezier(0.4, 0, 1, 1);
  position: absolute;
  visibility: hidden;
  opacity: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  color: #ececec;
  right: 50px;
  top: 25%;
  background-color: rgba(70, 70, 70, 0.9);
  font-size: 0.5em;
  line-height: 1em;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  border-radius: 2px;
  padding: 6px 8px;
  max-width: 200px;
  font-weight: bold;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.inner-fabs.show .fab:hover:before {
  content: attr(data-tooltip);
  visibility: visible;
  opacity: 1;
}

/* 기본은 비활성(회색) */
#inner-fab2 {
  opacity: 0.5;
  pointer-events: none;
}

/* 활성 상태 */
#inner-fab2.active {
  opacity: 1;
  pointer-events: auto;
}

.material-icons {
  font-family: 'Material Icons' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* [end] floatBtn - material icon set */

/* AI 플로팅 버튼 */
.ai-float-btn {
    position: fixed;
    right: var(--fab-right);
    bottom: calc(120px + var(--fab-bottom));
    z-index: 719;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 300ms ease-in-out;
}

.ai-float-btn img {
    object-fit: cover;
}

.ai-float-btn:hover {
    transform: scale(1.1);
}
/* AI 플로팅 버튼 end */

.no-mb {
  margin-bottom: 0;
}

.pt-165 {
	padding-top : 165px;
}

/* 토스트 */
#dzToast1.toast {
	position: fixed;
	bottom: 2rem;           
	right: 50%;             
	transform: translateX(50%);
	z-index: 1055;         
	width: auto;          
	min-width: 300px;    
	max-width: 90vw;  
	word-break: break-word; 
	white-space: normal;    
	overflow-wrap: break-word; 
}

/* 토스트 컨텐츠 */
#dzToast1 .toast-content {
  	display: flex;              
  	justify-content: center;   
  	align-items: center;        
  	text-align: center;        
  	height: auto;
  	max-height: 10rem;          
  	white-space: normal;        
  	overflow-y: auto;           
  	padding: 0.5rem 1rem;
  	color: #661b36;
  	background-color: #ffdae7;
}

/* 에디터 하단 메뉴 버튼 + save 전용 start */
.p-b145 {
  padding-bottom: 145px;
}

/* 첨부파일 있을 경우 */
.p-b205 {
  padding-bottom: 205px;
}

.p-b245 {
  padding-bottom: 245px;
}

/* 에디터 하단 메뉴 버튼 + save 전용 end */

.result.hide {
  display: none;
}

.font-size-1 {
	font-size: 1rem !important;
}

/* 줄 바꿈 보이게 */
.pre-line {
	white-space: pre-line;
}

/* 채팅방 [start] */
#chatContainer {
    position: fixed;
    top: 230px;        
    bottom: 70px;      
    left: 0;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 15px;  
}

.min-w-0 {
    min-width: 0 !important;
}

.bubbles {
    display: flex;
    flex-direction: column;
	align-items: flex-start;
    
}

.bubble {
  	white-space: normal;
  	word-break: break-word;
}


.chat-content.user .bubbles {
    align-items: flex-end;
}

/* 채팅방 [end] */

.wh-120 {
	width: 120px;
	height: 120px;
}

.newChat {
	top: 7px; 
	right: 24px; 
	width: 12px; 
	height: 12px; 
	background-color: red; 
	border-radius: 50%; 
	border: 2px solid white;
}

.prod-thumb { width:200px; height:200px;}

