body { margin: 0; font-family: s-core-dream, sans-serif; font-weight: 400; } table { width: 100%; height: auto; position: relative; table-layout: auto; border-collapse: collapse; } .table_box { width: 100%; height: auto; position: relative; margin-top: 20px; overflow-y: auto; max-height: 680px; } .table_box table { width: 100%; height: auto; position: relative; background-color: #fff; table-layout: auto; border-collapse: separate; border-spacing: 0; } .table_box table thead { position: -webkit-sticky; position: sticky; top: 0; } .table_box table th { padding: 10px 10px; background-color: #f6f6f6; border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; border-right: 1px solid #aaa; font-size: 0.9375rem; font-weight: 600; word-break: keep-all; position: -webkit-sticky; position: sticky; } .table_box table th.first, .table_box table td.first { border-left: 1px solid #aaa; } .table_box table th.bor_top { border-top: 0; } .table_box table td { font-size: 0.875rem; font-weight: 400; color: #333; padding: 10px 10px; border-bottom: 1px solid #aaa; border-right: 1px solid #aaa; text-align: center; word-break: keep-all; } .table_box table td.align_lt { text-align: left; } .table_title { display: -webkit-box; display: -webkit-flex; display: -moz-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -moz-box-pack: center; -ms-flex-pack: center; justify-content: center; border: 1px solid #999; -webkit-box-align: center; -webkit-align-items: center; -moz-box-align: center; -ms-flex-align: center; align-items: center; position: relative; } .table_title span { font-size: 13px; font-weight: 600; color: #ff0000; border: 1px solid #ff0000; padding: 10px 12px; position: absolute; top: 50%; right: 20px; -webkit-transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); transform: translateY(-50%); } .table_index { color: #666; text-align: right; font-size: 13px; text-decoration: underline; } .table_inquery p { margin: 8px 0; font-size: 14px; } .table_box table th.bor_2, .table_box table td.bor_2 { border-right: 2px solid #999; } table th.bor_rl, table td.bor_rl { border-right: 2px solid #999; border-left: 1px solid #999; } table th.txt_l, table td.txt_l { text-align: left; } table td:last-child(1) { text-align: left; } table td:nth-last-child(2) { text-align: left; } table td.fw_bold { font-weight: 600; } .table_title > h1.font_modi { font-family: s-core-dream, sans-serif; font-weight: 600; margin: 20px; } .table_box thead th.align_center { text-align: center; } /* 온라인 추가 색상 주석건 */ /* th.color_red { color: #ff0000; } td.color_red { color: #ff0000 !important; } th.color_orange { background-color: #f5da8c !important; } td.color_green { background-color: #d3ebd3; } td.color_pink { background-color: #fbe1d5; } td.color_blue { background-color: #c3def5; } */