/* a.css resets every margin (* {margin:0}), which cancels align="center" on the old table layout;
   the old site rendered left-aligned in modern browsers because of this */
table[align="center" i] { margin-left: auto; margin-right: auto; }

/* new board markup (IR notice, news view) */
.tk-board { padding: 10px 0 30px; font-size: 13px; color: #555; }
.tk-list { width: 100%; border-top: 2px solid #333; }
.tk-list th { padding: 10px 6px; border-bottom: 1px solid #ccc; background: #f7f7f7; color: #333; font-weight: bold; text-align: center; }
.tk-list td { padding: 9px 6px; border-bottom: 1px solid #e5e5e5; }
.tk-list .tk-num, .tk-list .tk-date { width: 90px; text-align: center; color: #888; }
.tk-list .tk-subj a { color: #333; text-decoration: none; }
.tk-list .tk-subj a:hover { text-decoration: underline; }
.tk-list .tk-empty { padding: 40px 0; text-align: center; }
.tk-view .tk-title { margin: 0 0 6px; padding-bottom: 10px; border-bottom: 2px solid #333; font-size: 17px; color: #222; }
.tk-view .tk-meta { color: #999; margin: 6px 0 16px; }
.tk-view .tk-cat { display: inline-block; margin-bottom: 14px; padding: 3px 12px; border: 1px solid #00529c; color: #00529c; font-weight: bold; }
.tk-view .tk-body { line-height: 1.8; padding: 10px 0 20px; word-break: break-all; }
.tk-view .tk-body img { max-width: 100%; height: auto; }
.tk-files { list-style: none; margin: 10px 0; padding: 10px 14px; background: #f7f7f7; border: 1px solid #e5e5e5; }
.tk-files li { padding: 3px 0; }
.tk-back { margin-top: 20px; text-align: right; }
.tk-back a { display: inline-block; padding: 6px 18px; border: 1px solid #999; color: #333; text-decoration: none; }
.page_wrap { margin: 20px 0; text-align: center; }
.page_wrap .pagination { display: inline-block; list-style: none; padding: 0; }
.page_wrap .page-item { display: inline-block; margin: 0 2px; }
.page_wrap .page-link { display: inline-block; min-width: 28px; padding: 4px 6px; border: 1px solid #ddd; color: #555; text-decoration: none; }
.page_wrap .active .page-link { background: #333; border-color: #333; color: #fff; }

/* taller hover submenu bar (menu text is image, kept at original size) */
#top_wrap .top_menu .menu_wrap .s_mens { height: 32px; }
#top_wrap .top_menu .menu_wrap .s_mens li { padding-top: 4px; }

/* IR stock page (sub05/02), filled from the data.go.kr cache */
.tk-stock { padding: 10px 0 20px; font-size: 13px; color: #555; }
.tk-stock-head { margin: 0 0 4px; font-size: 15px; color: #333; }
.tk-stock-asof { float: right; font-size: 12px; color: #888; }
.tk-stock-price { margin: 0 0 14px; font-size: 30px; font-weight: bold; color: #222; }
.tk-stock-price small { font-size: 15px; margin-right: 8px; }
.tk-stock-price span { font-size: 15px; }
.tk-up { color: #e41c30; }
.tk-down { color: #1a5dc8; }
.tk-flat { color: #555; }
.tk-stock-sum { border-top: 2px solid #333; margin-bottom: 26px; }
.tk-stock-sum th { width: 10%; padding: 9px 8px; border-bottom: 1px solid #ddd; background: #f7f7f7; color: #333; text-align: left; }
.tk-stock-sum td { width: 15%; padding: 9px 10px; border-bottom: 1px solid #ddd; text-align: right; }
.tk-stock-sub { margin: 0 0 8px; font-size: 14px; color: #333; }
.tk-chart { display: block; width: 100%; height: auto; margin-bottom: 26px; border: 1px solid #e5e5e5; }
.tk-chart .tk-grid { stroke: #eee; stroke-width: 1; }
.tk-chart .tk-ylab { font-size: 12px; fill: #888; text-anchor: end; dominant-baseline: middle; }
.tk-chart .tk-xlab { font-size: 12px; fill: #888; text-anchor: middle; }
.tk-chart .tk-line { fill: none; stroke: #e41c30; stroke-width: 2; stroke-linejoin: round; }
.tk-chart .tk-area { fill: #e41c30; fill-opacity: 0.08; }
.tk-chart .tk-dot { fill: #e41c30; }
.tk-stock-days td { text-align: right; }
.tk-stock-days td:first-child { text-align: center; color: #888; }
.tk-stock-note { margin: 12px 0 0; padding: 8px 12px; background: #fff7e6; border: 1px solid #f0d090; color: #8a5a00; }
.tk-stock-src { margin: 12px 0 0; font-size: 12px; color: #999; }
.tk-stock-empty { padding: 40px 0; text-align: center; }
.tk-stock-link { margin-top: 10px; text-align: right; }
.tk-stock-link a { display: inline-block; padding: 6px 16px; border: 1px solid #999; color: #333; text-decoration: none; }
