@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

body {
  font-family: 'Noto Sans KR', sans-serif;
  letter-spacing: -0.5px;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  display: block;
  text-decoration: none;
}

textarea {
  resize: none;
}

::marker {
  display: none;
}

.area_sub::-webkit-scrollbar {
  width: 5.2px;
}
.area_sub::-webkit-scrollbar-track {
  background-color: #eaeaea;
}
.area_sub::-webkit-scrollbar-thumb {
  background: #537ec5;
}
.area_sub::-webkit-scrollbar-thumb:hover {
  background: #537ec5;
}
.area_sub::-webkit-scrollbar-thumb:active {
  background: #537ec5;
}
.area_sub::-webkit-scrollbar-button {
  display: none;
}

.m-0 {
  margin: 0;
}

.p-0 {
  padding: 0;
}

.sidebar .sidebar-brand {
  font-weight: 600;
  letter-spacing: -0.5px;
}

.nav-link {
  cursor: pointer;
}

/*호버*/
.contents_detail,
.user_name_pop {
  display: inline-block;
  color: #537ec5;
  cursor: pointer;
  font-weight: 500;
  box-sizing: border-box;
}

.contents_detail:hover,
.user_name_pop:hover {
  border-bottom: 1px solid #537ec5;
}

/*//모달창 내부*/

.big-left,
.big-right {
  width: calc(50% - 2px);
  display: inline-block;
  vertical-align: top;
}

.big-left {
  border-right: 1px solid #f0f0f0;
}

.big-right {
  padding-left: 16px;
}

.big-right > div {
  margin-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 16px;
  padding-left: 8px;
}

.big-right > div:last-child {
  margin-bottom: 0;
}

.big-right > div h4 {
  font-size: 9pt;
  color: #537ec5;
  font-weight: 700;
}

/*
.big-left img{
    width: 100%;
    padding: 16px;
}
*/

.rec-info {
  padding-top: 32px;
}

#modalTable {
  display: block;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background-color: #fafafa;
  table-layout: fixed;
  border-collapse: collapse;
  white-space: nowrap;
}
#modalTable th {
  color: #a9a9a9;
}
#modalTable td {
  font-size: 10pt;
  font-weight: 700;
  color: #555;
  background-color: #fafafa;
}
#modalTable th,
#modalTable td {
  padding: 4px 20px 0 16px;
  font-weight: 400;
}
#modalTable td textarea {
  display: inline-block;
  vertical-align: top;
  height: 80px;
  resize: none;
  width: 100%;
  background-color: #fff;
  border: 0;
  padding: 10px;
  font-size: 10pt;
  border: 1px solid #eaeaea;
}
#modalTable td input {
  display: inline-block;
  vertical-align: top;
  height: 25px;
  /*    line-height: 16px;*/
  resize: none;
  width: 100%;
  background-color: #ffff;
  /*    border: 0;*/
  padding: 10px;
  font-size: 10pt;
  border: 1px solid #eaeaea;
}

#elementTable {
  display: block;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background-color: #fafafa;
  table-layout: fixed;
  border-collapse: collapse;
  white-space: nowrap;
}
#elementTable th {
  color: #a9a9a9;
}
#elementTable td {
  font-size: 10pt;
  font-weight: 700;
  color: #555;
  background-color: #fafafa;
}
#elementTable th,
#elementTable td {
  padding: 4px 20px 0 16px;
  font-weight: 400;
}
#elementTable td textarea {
  display: inline-block;
  vertical-align: top;
  height: 80px;
  resize: none;
  width: 100%;
  background-color: #fff;
  border: 0;
  padding: 10px;
  font-size: 10pt;
  border: 1px solid #eaeaea;
}
#elementTable td input {
  display: inline-block;
  vertical-align: top;
  height: 25px;
  /*    line-height: 16px;*/
  resize: none;
  width: 100%;
  background-color: #ffff;
  /*    border: 0;*/
  padding: 10px;
  font-size: 10pt;
  border: 1px solid #eaeaea;
}

#recHistWrap {
  height: 144px;
  overflow-y: scroll;
  background-color: #f5f5f5;
}

.rec-hist div {
  padding-left: 8px;
}

.rec-hist div span {
  font-size: 9pt;
  color: #8c8c8c;
}

.rec-comment textarea {
  display: inline-block;
  vertical-align: top;
  height: 80px;
  resize: none;
  width: calc(100% - 80px);
  background-color: #f5f5f5;
  border: 0;
  padding: 10px;
  font-size: 10pt;
}

.rec-comment textarea:focus {
  outline: 2px solid #537ec57a;
}

.rec-comment button {
  display: inline-block;
  vertical-align: top;
  width: 80px;
  height: 80px;
  line-height: 80px;
  border: 0;
  box-shadow: none;
  background-color: #537ec5;
  color: #fff;
  font-size: 9pt;
  font-weight: bold;
}

.comment_cont_wrap {
  height: 300px;
  overflow-y: scroll;
  background-color: #f5f5f5;
}

.comment_cont_wrap > div:last-child {
  border-bottom: 0;
}

.comment_info div {
  display: inline-block;
  font-size: 10pt;
}

.comment_name {
  margin-right: 16px;
  color: #292929;
  font-weight: bold;
}

.comment_list_cont:first-child {
  padding-top: 16px;
}

.comment_list_cont {
  padding: 0 8px 16px;
  margin: 0 8px 16px;
  border-bottom: 1px solid #d6d6d6;
}

.comment_text {
  font-size: 9pt;
  color: #464646;
  line-height: 15pt;
  margin-top: 8px;
}

#submitNewInfo {
  display: inline-block;
  vertical-align: top;
  width: 80px;
  height: 30px;
  line-height: 15px;
  border: 0;
  box-shadow: none;
  background-color: #537ec5;
  color: #fff;
  font-size: 9pt;
  font-weight: bold;
  float: right;
  margin-top: 8px;
  cursor: pointer;
}

/*Tooltip bubble*/

.bubble {
  position: relative;
  width: 298px;
  height: 50px;
  padding: 0px;
  background: #ffffff;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  border: #ebebeb solid 1px;
}

.bubble:after {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 5px 7px 5px 0;
  border-color: transparent #ffffff;
  display: block;
  width: 0;
  z-index: 1;
  left: -7px;
  top: 8px;
}

.bubble:before {
  content: '';
  position: absolute;
  border-style: solid;
  border-width: 5px 7px 5px 0;
  border-color: transparent #ebebeb;
  display: block;
  width: 0;
  z-index: 0;
  left: -8px;
  top: 8px;
}

.tooltip_wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  background-color: #b2b2b2;
  width: 10px;
  height: 10px;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
}

.tooltip_wrap > span {
  position: absolute;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -49%);
  color: #fff;
  font-size: 7pt;
  font-weight: 300;
}

.tooltip_hover {
  display: none;
  position: absolute;
  top: -10px;
  left: 30px;
  font-size: 9pt;
  color: #111;
  line-height: 24px;
  font-weight: 300;
  z-index: 999;
  text-align: center;
}

.tooltip_wrap:hover .tooltip_hover {
  display: block;
}

#dataTableExcel th {
  background-color: #eaeaea;
}

#dataTableExcel th,
#dataTableExcel td {
  border: 1px solid #444;
}

/*여기부터 추가*/

#modalList li {
  width: calc(50% - 16px);
  display: inline-block;
  /*    padding: 20px;*/
  position: relative;
  margin: 8px;
  border-radius: 20px;
  /*    border: 1px solid #eaeaea;*/
  background-color: #f0f0f0;
  overflow: hidden;
}

#modalList li div {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
}

#modalList li div:after {
  content: '';
  display: block;
  padding-bottom: 100%;
}

#modalList li div img {
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: 0;
  right: 0;
  transform: translate(-50%, -50%);
  height: 100%;
}

#modalList li a {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  background-image: url(../images/download.png);
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 99;
}

/*테이블 페이징 관련*/
.pagination_wrap {
  text-align: center;
}
.paginationa {
  display: inline-block;
  margin: auto;
}
.paginationa a {
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
}
.paginationa a.active {
  background-color: #537ec5;
  color: white;
  border-radius: 5px;
}
.paginationa a:hover:not(.active) {
  background-color: #ddd;
  border-radius: 5px;
}

/*이미지모달*/

.image_modal_wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
}

.modal_blk {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.image_modal_cont {
  position: absolute;
  top: 50%;
  left: 50%;
  /*    height: 70vh;*/
  transform: translate(-50%, -50%);
  /* width: 50%; */
}

.image_modal_cont img {
  /*    width: 100%;*/
}

.divRadius {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  background-color: #537ec5;
  width: 200px;
  height: 50px;
  text-align: center;
  padding-top: 14px;
    margin-bottom: 3px;
}

button a,
button a:hover,
button a:visited {
  color: #ffffff;
  text-decoration: none;
}

.class-name:hover {
  font-weight: 800;
  color: black;
  cursor: pointer;
}

td a,
td a:hover,
td a:visited {
  color: inherit;
  text-decoration: none;
}

#teacher_wrap {
  border: 2px solid #ededed;
  border-radius: 5px;
}

.teacher-list {
  text-align: center;
  font-weight: 500;
  background-color: lightgray;
  border: 0.2px solid #ffffff;
  border-radius: 5px;
  cursor: pointer;
}

.teacher-list:hover {
  background-color: antiquewhite;
  font-weight: 800;
}

.fa-cursor:hover {
  cursor: pointer;
  font-weight: bold;
  transform: scale(1.2);
}

th,
td {
  text-align: center;
}

td .active,
td span:hover {
  color: black;
  cursor: pointer
}

td .active {
  background-color: #cce9fd;
  border-radius: 7px;
}

td .active.first {
  background-color: #ffaeae;
}

td .face {
  font-weight: bolder;
  color: black;
}

td .late {
  background-color: #ccfdcd;
  border-radius: 7px;
}

.hide-radio {
  display: none;
}

#loading {
  display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top:0;
	left:0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

@keyframes spinner {
  from {transform: rotate(0deg); }
  to {transform: rotate(360deg);}
}

#loading .text-box {
  position: absolute;
  top: 55%;
  left: 48%;
  width: 300px;
  height: 64px;
  color: white;
  font-weight: 600;
  font-size: 22px;
}

#loading .spinner {
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin-top: -32px;
  /* margin-left: -32px; */
  border-radius: 50%;
  border: 8px solid transparent;
  border-top-color: #f19022;
  border-bottom-color: #f19022;
  animation: spinner .8s ease infinite;
}

.active-icon:hover {
  cursor: pointer;
}

/* #excel_download:hover{
  cursor: pointer;
} */

.column-tag {
  background-color: #dcdcdc;
  border: 1px solid #b2b2b2;
  border-radius: 5px;
  text-align: center;
  height: 100%;
  font-size: 15px;
}

.column-delete {
  cursor: pointer;
}

.fa-circle {
  cursor: pointer;
}

.chat-btn { display: flex; align-items: center; }
.chat-btn .fa-chat { cursor: pointer; }
.chat-btn .fa-chat:hover { font-weight: bolder; }

.chat-layer { position: fixed; bottom: 0; right: 0; width: 40%; height: 50%; z-index: 10; border: 1px solid #ededed; border-radius: 5px; background-color: #fff; }
.chat-layer .chat-layer-header { display: flex; padding: 0 15px; background: linear-gradient(#e2f3ff, #c9e2ff); height: 10%; align-items: center; justify-content: space-between; font-weight: 500; }
.chat-layer .chat-layer-header .chat-layer-header-close { cursor: pointer; font-size: 22px; }
.chat-layer .chat-layer-header .chat-layer-header-close:hover {  }
.chat-layer .chat-layer-body { height: 90%; padding: 0 15px; }
.chat-layer .chat-layer-body .chat-layer-body-input { display: flex; position: absolute; bottom: 0; margin: 10px 0; width: 100%; }
.chat-layer .chat-layer-body .chat-layer-body-input input { width: 80%; }
.chat-layer .chat-layer-body .chat-layer-body-input button { width: 15%; margin: 0 5px; }
.chat-layer .chat-layer-body .chat-layer-body-list .chat-layer-body-list-item .chat-layer-body-list-item-text .chat-text-msg { margin: 10px 0; padding: 5px; border: 1px solid #ededed; border-radius: 10px; background-color: #c9e2ff; width: 250px; height: 50px; }
.chat-layer .chat-layer-body .chat-layer-body-list .chat-layer-body-list-item .chat-layer-body-list-item-text .chat-text-msg.mine { position: absolute; right: 10px; background-color: #fff990; }

.download {
  cursor: pointer;
}

.download-modal-dialog {
  /* top: 40%; */
}

.download-modal-dialog .modal-body a {
  color: black;
}

.download-modal-dialog .modal-body a:hover {
  font-weight: 600;
  text-decoration: underline;
}

.download-all {
  cursor: pointer;
}

.download-all:hover {
  font-weight: 600;
  text-decoration: underline;
}

.file-wrap {
  border: 1px solid #00000032;
  display: none;
  /* border-radius: 5px; */
}

.file-wrap .txt {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 10px;
}

.file-list {
  padding: 5px 10px;
  height: 250px;
  overflow-y: scroll;
}

.file-img {
  width: 120px; 
  height: 120px; 
  display: inline-block; 
  position: relative;
  margin: 3px;
}

.file-img img {
  width: 120px;
  height: 120px;
  position: relative;
  object-fit: cover; 
}

.delete-img {
  color: #111111;
  cursor: pointer;
  position: absolute; 
  top:0; 
  right:5px;
}

.delete-img:hover {
  color: #adadad;
  font-weight: 800;
}

.chatbox {
  display: none;
  width: 25%;
  height: 40%;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #ffffff;
  position: fixed;
  bottom: 12%;
  right: 0;
}

.chatbox-header {
  background-color: rgba(255,137,137,0.8);
  color: #ffffff;
  height: 10%;
}

.chatbox-header .fa-times:hover {
  cursor: pointer;
}

.chat-room {
  height: 100%;
}

.chat-room .list-group {
  overflow-y: scroll; 
  width: 100%;
  height: 70%;
}

.chat-room .list-group li {
  margin: 10px;
}

.chat-room .list-group li .chat-box {
  background-color:powderblue;
  border-radius: 5px;
  padding: 5px;
  line-height: 200%;
}

.chat-room .list-group li .username {
  display: block;
  margin-bottom: 10px;
  color: #111111;
  font-weight: 500;
  font-size: 1.08rem;
}

.chat-room .list-group li .time-stamp {
  font-size: 0.9rem;
  margin: 0 5px;
  color: darkgrey;
}

.chat-room .list-group li .mine {
  float: right;
  background-color:khaki;
  /* border-radius: 10px;
  padding: 5px; */
}

/* ==================== FullCalendar, 달력 관련 CSS ==================== */

.fc .fc-col-header-cell-cushion { /* needs to be same precedence */
  padding-top: 5px; /* an override! */
  padding-bottom: 5px; /* an override! */
}

#calendar thead > tr > th { /* needs to be same precedence */
  background-color: rgba(20,20,20,0.8);
  color: #ffffff;
}

#calendar thead .fc-day-sun { /* needs to be same precedence */
  background-color: rgba(248,119,119);
  color: #ffffff;
}

#calendar thead .fc-day-sat { /* needs to be same precedence */
  background-color: rgba(137, 137, 255);
  color: #ffffff;
}

.fc-button-group > .fc-prev-button, .fc-next-button {
  background-color: #ffffff;
  color: #111111;
}

/* ==================== FullCalendar, 달력 관련 CSS 끝 ==================== */



/* ==================== Calendar Page 관련 CSS ==================== */

.event-modal-bg {
  display: none;
  position: fixed; 
  top:0; 
  left:0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.6); 
  z-index: 4; 
}

.event-modal {
  position: absolute; 
  width: 65%; 
  height: 60%; 
  background-color: #ffffff; 
  top: 20%; 
  left: 20%; 
  z-index: 5; 
  border: 1px solid #dedede; 
  border-radius: 10px;
  overflow-y: scroll;
}

.event-modal > .modal-close {
  position: absolute; 
  right: 15px; 
  top: 15px; 
  color: #000000; 
  cursor: pointer; 
  z-index: inherit;
}

#modal_delete_btn {
  display: none;
}

.year-attend-wrap { display: none; margin: 10px 0; width: 100%; height: auto; overflow: scroll; }
.year-attend-wrap table { border: 1px solid #888888; color: #555555; width: 3000px; }
.year-attend-wrap table thead th:first-child { width: 70px; }
.year-attend-wrap table thead th:nth-child(2) { width: 120px; }
.year-attend-wrap table th { border: 1px solid #888888; background-color: #ffd8d8; color: #111; width: 60px; }
.year-attend-wrap table td { border: 1px solid #888888; }
.year-attend-wrap table td.active { background-color: rgb(253, 255, 194); }
.year-attend-wrap table td.disabled { background-color: #dfdfdf; }

/* ==================== Calendar Page 관련 CSS 끝 ==================== */


/* ==================== 반응형 Media Query ==================== */

@media (max-width: 1024px){
  .navbar-nav { display: none; }
}

/* @media( orientation: portrait ){
  html {
    transform: rotate(-90deg);
    transform-origin: top left;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vh;
    height: 100vw;
  }
} */