@charset "utf-8";

/* 출석부 */
#attendance_layer {text-align:center; width:100%; margin:20px 0 0 0;}

#attendance_layer ul {display:inline-block; *display:inline; list-style:none;}
#attendance_layer ul li {float:left;}
#attendance_layer a {text-decoration:none;}

#attendance_layer .today { float:left; padding:0 0 10px 0; font-weight:bold; font-size:16px; }

#attendance_layer .box { float:right; padding:0 0 10px 0; }
#attendance_layer .top { width:20px; }
#attendance_layer .day { width:80px; }

#attendance_layer .w {font-weight:bold; line-height:20px; color:#333333; font-size:16px; }
#attendance_layer .title {color:#565656; font-size:12px; width:14.2%; text-align:center; line-height:30px; padding:0 0 0 0;}
#attendance_layer .title1 {color:#82D4FF; font-size:12px; width:14.2%; text-align:center; line-height:30px; padding:0 0 0 0;}
#attendance_layer .title2 {color:#FE7676; font-size:12px; width:14.2%; text-align:center; line-height:30px; padding:0 0 0 0;}

#attendance_layer .sun1 {color:#FE7676; font-size:12px; float:left;}
#attendance_layer .sat1 {color:#82D4FF; font-size:12px; float:left;}
#attendance_layer .day1 {color:#333333; font-size:12px; float:left;}

#attendance_layer .sun2 {font-weight:bold; line-height:20px; color:#FE7676; font-size:12px; float:left;}
#attendance_layer .sat2 {font-weight:bold; line-height:20px; color:#82D4FF; font-size:12px; float:left;}
#attendance_layer .day2 {font-weight:bold; line-height:20px; color:#FF9933; font-size:12px; float:left;}

#attendance_layer .sun3 {color:#ffbebe; font-size:11px; }
#attendance_layer .sat3 {color:#b8b8ff; font-size:11px; }
#attendance_layer .day3 {color:#999999; font-size:11px; }

#attendance_layer .dot {color:#000000; font-size:12px; }

#attendance_layer .check {color:#126420; font-size:11px; }
#attendance_layer .check2 {color:#999999; font-size:11px; }


/* list */
#attendance_list { margin:20px 0; width:100%; }
#attendance_list .input { width:100%; height:40px; background-color:#fff; border:1px solid #CCC; padding:5px 2px 2px 5px; color:#333333; font-size:12px; }

#attendance_list .attendance_list_info1 { width:100%; height:50px; border:1px solid #cccccc; }
#attendance_list .attendance_list_info1 ul { display:inline-block; *display:inline; list-style:none; }
#attendance_list .attendance_list_info1 ul li { float:left; }

#attendance_list .attendance_list_info3 { width:100%; height:80px; padding:10px 0; border:1px solid #cccccc; }

#attendance_list .sub {float:left; width:90%; padding:5px 0 0 3px; }
#attendance_list .submit {float:right; width:10%; padding:3px 0 0 5px; }

#attendance_list .attendance_list_info2 { margin:10px 0 0 0; }
#attendance_list .attendance_list_info2 ul { display:inline-block; *display:inline; list-style:none; }
#attendance_list .attendance_list_info2 li {line-height:18px; color:#898989;  font-size:11px;}

#attendance_list .title { font-weight:bold; color:#333333; font-size:12px;}
#attendance_list .list { color:#898989; font-size:11px;}

#attendance_list .title_attendance1 {font-weight:bold; color:#333333; font-size:12px; text-align:center; background:url(./img/line_01.gif) center right no-repeat;}
#attendance_list .title_attendance2 {font-weight:bold; color:#333333; font-size:12px; text-align:center;}

#attendance_list .no {line-height:25px; font-size:12px; color:#898989;}

#attendance_list .name_attendance_52 img {
    width: 22px;
    height: 22px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
	margin:5px 5px 5px 0;
}
#attendance_list .name_attendance img {
    width: 55px;
    height: 55px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
	margin:5px 5px 5px 0;
}

#attendance_list textarea { width:100%; height:50px; border-radius:3px; }
#attendance_list .btn_submit{height:50px;padding:0 20px;border-radius:3px;font-weight:bold;font-size:1.083em;}

#attendance_list .btn_submit {
  background-color: #e94b4b;  /* 버튼 컬러 강조 */
  color: #fff;
  border: none;
  transition: background 0.3s;
}
#attendance_list .btn_submit:hover {
  background-color: #c9302c;
}

#attendance_list .bgcolor0 {background-color:#ffffff;}
#attendance_list .bgcolor1 {background-color:#f1f1f1;}
#attendance_list .bgcolor2 {background-color:#ffffff;}

@media screen and (max-width: 480px) {
	#attendance_list .attendance_hidden { display:none; }
	#attendance_list textarea { height: 40px; font-size: 14px; }
	#attendance_list .btn_submit { padding: 0 10px; font-size: 0.9em; }
}

/* 출석 리스트 테이블 개선 */
.att-list {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 11px;
  color: #333;
}

.att-list thead th {
  position: sticky;
  top: 0;
  background: #f8f8f8;
  z-index: 2;
}

.att-list th,
.att-list td {
  border: 1px solid #e0e0e0;
  padding: 10px 8px;
  text-align: center;
}

.att-list th {
  background-color: #f8f8f8;
  font-weight: normal;
  font-size: 11px;
}

.att-list td {
  background-color: #fff;
  font-size: 13px;
  vertical-align: middle;
}

.att-list tr:nth-child(even) td {
  background-color: #f9f9f9;
}

.att-list .day-time{
  text-align: center;
  font-weight: normal;
	width:80px;
}

.att-list .nickname {
  text-align: left;
  padding-left: 12px;
	width:110px;
}

.att-list .subject {
  text-align: left;
  padding-left: 10px;
  font-style: italic;
  color: #666;
}

/* 포인트, 개근 텍스트 정렬 */
.att-list .point {
  text-align: center;
  font-weight: normal;
	min-width:60px;
}

.att-list .day-count {
  text-align: center;
  color: #4a90e2;
	min-width:60px;
}

/* 등수 강조 */
.att-list .rank {
  font-weight: normal;
  color: #d9534f;
	min-width:70px;
}

/* 출석 도움말 */
.attendance_help {
  font-size: 12px;
  color: #777;
  margin-left: 10px;
  line-height: 1.6;
}
.attendance_help span {
  color: #333;
  font-weight: 500;
}

/*  오늘 출석자 강조 효과 */
.att-list .today-row {
  background-color: #fff7e6 !important;
  font-weight: bold;
}

.pg_wrap { margin-top:20px; text-align:center; }
.pg a, .pg strong {
  display:inline-block;
  padding:6px 10px;
  margin:0 2px;
  border:1px solid #ccc;
  border-radius:4px;
  text-decoration:none;
  color:#333;
  font-size:13px;
}
.pg strong {
  background-color:#333;
  color:#fff;
  font-weight:bold;
}
.pg a:hover {
  background:#eee;
}

/* 반응형 - 모바일 뷰 최소화 */
@media screen and (max-width: 768px) {
  .att-list th:nth-child(4),
  .att-list td:nth-child(4) { display: none; } /* 한마디 숨김 */
  .att-list { font-size: 13px; }
}

@media screen and (max-width: 480px) {
  .att-list th,
  .att-list td {
    padding: 6px;
    font-size: 12px;
  }
}