/* Faithful desktop shell; the original theme sheets supply the content panels. */
:root { color-scheme: light; }
html { min-width: 320px; }
body#bd { margin: 0; background: #42080d var(--kgu-background) no-repeat top center; font: 12px/18px Helvetica, Arial, "Liberation Sans", FreeSans, sans-serif; color: #000; }
#warpper { width: 980px; margin: 0 auto; background: #fff; display: flow-root; padding-bottom: 0; }
#top { height: 20px; background: #0072be; text-align: right; padding: 0 20px; box-sizing: border-box; }
#top a { color: #fff; font-weight: bold; }
#banner-top { height: 124px !important; padding: 0; width: 980px; position: relative; background: #0072be var(--kgu-logo) no-repeat left center; overflow: hidden; }
#banner-top .logo { display: block; position: absolute; left: 0; top: 0; width: 325px; height: 124px; }
#banner-top .banner { visibility: visible; width: 634px; height: 84px; position: absolute; right: 15px; top: 12px; margin: 0; float: none; }
#gallerymode2 { width: 634px; height: 84px; }
#gallerymode2 img { width: 634px; height: 84px; display: block; }
[hidden], #gallerymode2 img[hidden] { display: none !important; }
.kgu-motto { position: absolute; left: 380px; right: 25px; bottom: 4px; white-space: nowrap; overflow: hidden; color: yellow; text-align: center; height: 18px; }
.kgu-motto span { display: inline-block; animation: kgu-scroll 25s linear infinite; }
@keyframes kgu-scroll { from { transform: translateX(65%); } to { transform: translateX(-100%); } }
#menu { height: 38px; background: linear-gradient(#fdbd56,#ed8c16); width: 980px; }
#nav { display: flex; width: 980px; margin: 0; padding: 0; list-style: none; flex-wrap: nowrap; }
#nav li { list-style: none; flex: 1 0 auto; float: none; }
#nav li a { display: block; color: #fff; font: bold 13px/38px Arial,Helvetica,sans-serif; text-transform: uppercase; text-align: center; padding: 0 9px; white-space: nowrap; }
#nav li.current, #nav li:hover { background: #99601c; }
#main-body { background: #fff; display: flow-root; float: none; padding: 0 0 20px; }
#body-primary { width: 950px; padding: 15px; margin: 0; display: flow-root; box-sizing: content-box; min-height: 500px; }
#body-primary .body-left { width: 570px; float: left; }
#body-primary .body-right { width: 365px; float: right; margin-left: 0; }
#footer { clear: both; float: none; display: flow-root; width: 100%; height: auto; min-height: 147px; margin: 0; padding: 0; box-sizing: border-box; text-align: left; background: #000 var(--kgu-footer) no-repeat left bottom; color: #999; font: 12px/18px Helvetica,Arial,sans-serif; }
#footer .footer-nav { padding: 10px; text-align: center; color: #036fba; font-weight: bold; }
#footer .footer-nav a { display: inline-block; padding: 0 6px; color: #036fba; text-decoration: none; }
#footer .footer-contact { margin: 55px 15px 18px 235px; }
#footer .footer-contact p { margin: 0; }
#footer .footer-contact a { color: #999; text-decoration: none; }
#footer a:hover, #footer a:focus-visible { color: #fff; }
.legacy-search { margin: 0; padding: 5px; text-align: center; background: #f1f1f1; }
.legacy-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
input[type="search"] { font: 13px Arial,sans-serif; padding: 5px 7px; border: 1px solid #aaa; background: #fff; color: #222; min-width: 200px; }
button { cursor: pointer; font: 12px Arial,sans-serif; padding: 6px 12px; border: 1px solid #ae751e; background: #eda338; color: #241b0c; border-radius: 2px; }
a { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #0072be; outline-offset: 3px; }
.skip-link { position: fixed; top: -100px; left: 10px; z-index: 10000; background: #fff; padding: 10px; }
.skip-link:focus { top: 10px; }
.replica-content { padding: 15px; min-height: 440px; font-size: 13px; line-height: 1.7; }
.replica-content h1 { font-size: 22px; line-height: 1.4; color: #895510; margin: 0 0 20px; }
.replica-content h2 { font-size: 16px; margin: 16px 0 5px; }
.search-result { border-bottom: 1px solid #ddd; padding: 5px 0 12px; }
.search-result p { color: #555; }
.migration-notice, .media-unavailable { border: 1px solid #d2d2d2; background: #fff9ea; padding: 12px; margin: 10px 0; font: 12px/1.6 Arial,sans-serif; color: #725122; clear: both; }
#body-primary img:not([src]) { background: #f1f1f1; border: 1px solid #ccc; }
dialog { border: 1px solid #aaa; padding: 25px; max-width: min(90vw,720px); color: #222; background: #fff; box-shadow: 0 10px 50px #0006; font: 14px/1.6 Arial,sans-serif; }
dialog::backdrop { background: #000b; }
dialog h2 { margin-top: 0; font-size: 20px; }
#photo-viewer { max-width: 92vw; padding: 15px; }
#photo-viewer img { display: block; max-width: 88vw; max-height: 80vh; width: auto; height: auto; }
#photo-viewer p { margin: 8px 0 0; }
.close-viewer { position: absolute; right: 15px; top: 15px; font-size: 24px; padding: 0 8px; background: #fff; color: #222; }
#PhotoEvent, #KguPeoplesSlide { height: auto !important; overflow: hidden; }
#PhotoEvent > *, #KguPeoplesSlide > * { width: 100% !important; }
#PhotoEvent img, #KguPeoplesSlide img { max-width: 100%; height: auto; }
#image-gallery { visibility: visible !important; list-style: none; margin: 0; padding: 0; width: 100%; min-height: 200px; }
#image-gallery > li { float: none; width: 100%; }
#image-gallery img { max-width: 100%; max-height: 540px; width: auto; height: auto; object-fit: contain; cursor: zoom-in; }
.photo-controls { display: flex; justify-content: center; gap: 10px; padding: 10px 0; clear: both; }
/* Keep the reference's fixed desktop geometry on narrow screens, with horizontal
   scrolling rather than silently redesigning its tables and three-column lists. */
@media (max-width: 980px) { #warpper { margin: 0; } }
@media (prefers-reduced-motion: reduce) { .kgu-motto span { animation: none; } }
.database-panel { margin: 0 0 15px; clear: both; display: flow-root; }
.database-panel .module-label { height: auto; min-height: 28px; box-sizing: border-box; padding: 5px 9px; }
.database-panel-body { padding: 10px 0; display: flow-root; }
.database-panel-body ul { padding: 0 10px 0 25px; margin: 0; }
.database-panel-body li { margin: 0 0 8px; }
.database-secondary { text-align: center; width: 190px; margin-left: 20px; padding-bottom: 8px; border-bottom: 1px solid #d0cdcd; }
.database-layout { display: flex; gap: 20px; align-items: flex-start; }
.database-article { width: 700px; flex: none; }
.database-sidebar { width: 230px; flex: none; }
.database-article .left-bar-v, .database-section > .left-bar-v { width: 100%; height: auto; min-height: 27px; box-sizing: border-box; padding: 5px 12px; }
.database-article-body { padding: 20px 10px; display: flow-root; }
.database-article h1 { font: bold 16px/1.5 Helvetica,Arial,sans-serif; margin: 8px 0 15px; color: #222; }
.database-hero { text-align: center; margin: 20px 0; }
.database-hero img { max-width: 100%; height: auto; }
.database-richtext { line-height: 1.6; overflow-wrap: break-word; margin: 18px 0; }
.database-richtext img { max-width: 100%; height: auto; }
.database-richtext table { max-width: 100%; }
.database-article audio, .database-article video { display: block; max-width: 100%; width: 100%; margin: 18px 0; }
.database-section h1 { font: bold 16px/1.5 Helvetica,Arial,sans-serif; margin: 16px 10px; }
.database-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding: 12px; }
.body-left .database-grid { grid-template-columns: repeat(3,1fr); gap: 10px; padding: 5px; }
.database-grid article { text-align: center; overflow: hidden; }
.database-grid img { width: 175px; max-width: 100%; height: 131px; object-fit: contain; }
.database-list article { display: flow-root; border-bottom: 1px dotted #aaa; padding: 12px 10px; }
.database-list article > a > img { float: left; margin: 0 12px 8px 0; max-height: 140px; object-fit: contain; }
.database-list h3, .database-grid h3 { font-size: 13px; line-height: 1.5; margin: 5px 0; }
.database-pager { clear: both; padding: 18px 10px; text-align: center; }
.database-pager a, .database-pager strong { display: inline-block; padding: 3px 9px; border: 1px solid #ccc; }
.database-subnav { padding: 10px; background: #eee; }
.database-comment { padding: 10px 8px; border-top: 1px solid #ddd; overflow-wrap: break-word; }
.database-comment time { color: #777; margin-left: 8px; }
.database-readonly { color: #777; font-size: 11px; border-top: 1px solid #ddd; padding-top: 10px; }
.database-compact { margin: 0; padding: 12px 12px 12px 28px; }
.database-compact li { margin: 0 0 8px; }
.member-nav { padding: 10px; background: #e5e5e5; border: 1px solid #ccc; margin-bottom: 18px; }
.member-form { max-width: 680px; padding: 12px; margin: 12px 0; border: 1px solid #ccc; background: #f3f3f3; }
.member-form label, .member-form textarea { display: block; }
.member-form label { margin: 8px 0; font-weight: bold; }
.member-form input:not([type="hidden"]), .member-form select, .member-form textarea { display: block; box-sizing: border-box; width: 100%; margin: 4px 0 12px; padding: 8px; border: 1px solid #aaa; font: 13px Arial,sans-serif; background: #fff; color: #222; }
.member-form textarea { min-height: 100px; resize: vertical; font-weight: normal; }
.member-form button:disabled { cursor: wait; opacity: .6; }
.member-actions { clear: both; padding: 12px; }
.form-status { min-height: 1.5em; color: #7d1b10; }
.chat-feed { height: 320px; overflow: auto; padding: 12px; border: 1px solid #bbb; background: #f4f4f4; }
.private-message { overflow-wrap: anywhere; padding: 15px; background: #f4f4f4; }
/* Original PHP template geometry, shared by the restored page families. */
body#bd { background-position: left top; }
#warpper { background: transparent; }
#md-top { min-height:18px; display:flow-root; float:none; }
#md-top > a { float:right; padding-right:20px; color:#fff; font-weight:bold; }
#banner-top { height:110px !important; padding:13px 0 0; }
#banner-top .banner { top:13px; }
.kgu-motto { left:380px; right:auto; width:500px; bottom:4px; text-align:right; }
.kgu-motto marquee { width:480px; }
#menu { height:38px; background:var(--kgu-menu) repeat-x; }
#nav { display:block; width:auto; margin:1px 0 0 1px; }
#nav li { float:left; flex:none; }
#nav li a { float:left; padding:0 10px; font:bold 13px/38px Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif; text-shadow:0 0 2px #000; }
#nav li.current { background:#000; opacity:.5; }
#nav li:hover { background:transparent; }
#nav li a:hover { background:#000; opacity:.5; }
#main-body { padding:15px 0 20px; margin-bottom:1px; }
#body-primary { width:950px; margin-left:15px; padding:0; min-height:0; }
#footer { height:147px; min-height:147px; margin-bottom:30px; }
#footer .footer-contact { margin:55px 0 0 235px; width:745px; }
#footer .footer-contact p { padding-left:11px; }
#footer .footer-links { white-space:nowrap; font-size:12px; }
#footer .footer-links a { padding:0 3px; }
.legacy-author, .legacy-blue { color:#036fba; }
.legacy-blue { font-weight:bold; font-size:13px; }
.legacy-news-feature { display:flow-root; width:540px; margin:0 0 0 10px; }
.legacy-news-feature a img { display:block; }
.legacy-news-feature .diemtin { float:left; width:330px; }
.legacy-news-feature .listtin { float:left; width:210px; }
.legacy-news-feature .listtin img { display:inline; }
.legacy-news-path { display:flex; width:930px; padding-left:20px; height:27px; }
.legacy-news-path > div { width:368px; flex:none; }
.legacy-news-path > a { width:190px; text-align:right; color:#ccc; }
.legacy-news-path > span { margin-left:25px; }
.legacy-news-columns { display:flex; align-items:flex-start; gap:10px; padding-top:10px; }
.legacy-news-main { width:568px; flex:none; box-sizing:content-box; }
.legacy-news-main > .mar-t21lr10 { width:548px; padding-top:20px; }
.legacy-news-main .legacy-news-feature { margin:0; }
.legacy-news-side { width:365px; flex:none; }
.legacy-news-row { display:flow-root; padding-top:8px; }
.legacy-news-thumb { width:130px; float:left; }
.legacy-news-excerpt { width:408px; float:left; }
.legacy-news-excerpt .legacy-blue { font-size:14px; }
.legacy-most-comments .mar-t21lr10 { margin:0 10px; }
.legacy-most-comments .mar-t18 { margin-top:18px; }
.legacy-most-comments p { margin:0; }
.legacy-most-comments a { color:#036fba; }
.legacy-category-heading { font-size:18px; margin-top:15px; padding-bottom:10px; border-bottom:1px dotted #8c8c8c; }
.legacy-category-items { display:flow-root; }
.legacy-poem-filter { padding:10px 0; }
.legacy-poem-title { font-weight:bold; color:#403f3f; }
.legacy-read-more { float:right; color:#af0000; }
.legacy-joke { padding:8px 10px; }
.legacy-latest-row { padding:0 0 0 10px; }
.legacy-latest-pager { text-align:right; padding:3px 10px; }
.legacy-latest-row .legacy-blue { font-size:12px; }
.legacy-detail-path { width:930px; height:27px; padding-left:20px; }
.legacy-detail-path a { color:#ccc; font-weight:bold; }
.legacy-detail-columns { display:flex; gap:16px; padding-top:10px; align-items:flex-start; }
.legacy-detail-main { width:704px; flex:none; }
.legacy-detail-side { width:230px; flex:none; }
.legacy-article-content { width:680px; padding-top:20px; }
.legacy-article-title { font-size:16px; font-weight:bold; margin:6px 0 12px; }
.legacy-article-hero { text-align:center; }
.legacy-author-card { float:right; text-align:center; width:160px; padding:10px 0; border:1px solid #fff; }
.legacy-author-card img { width:auto; height:auto; }
.articleContentDetail { font-size:12px; line-height:18px; }
.articleContentDetail img { display:table-cell; width:80%; height:auto; margin:auto; max-width:600px; padding:10px 0; }
.legacy-comments { clear:both; width:100%; padding-top:15px; }
.legacy-comment { margin:8px 0; padding:8px; font-size:10.6667px; overflow-wrap:anywhere; }
.legacy-comment-heading { padding:4px 0 10px; }
.legacy-comment-heading span { color:#777; margin-left:8px; }
.legacy-pager { clear:both; padding:10px 0; text-align:center; font:11px/20px Tahoma,Verdana,Arial,Helvetica; }
.legacy-pager a, .legacy-pager b { display:inline-block; padding:1px 5px; }
.legacy-tabs { width:calc(100% - 16px); margin:15px 8px 0; border-collapse:collapse; height:35px; font-size:10.6667px; }
.legacy-tabs .item, .legacy-tabs .item2 { text-align:center; padding:0 12px; }
.legacy-tabs a { display:block; padding:8px 0; font-weight:bold; }
.legacy-tabs .legacy-tab-tail { width:100px; }
.legacy-page-pad { padding:8px; }
.legacy-block { padding:4px; margin-bottom:12px; }
.legacy-block .mainmenu5 { min-height:28px; box-sizing:border-box; padding:5px 10px; position:relative; }
.legacy-block-body { padding:8px; font-size:12px; }
.legacy-toggle { float:right; padding:0; border:0; background:none; border-radius:0; font:10px Arial; color:#742514; }
.legacy-album-grid, .legacy-photo-grid { width:100%; }
.legacy-album-grid td { width:25%; text-align:center; vertical-align:middle; padding:10px 4px; font-size:10.6667px; }
.legacy-album-grid img { margin:8px 0; }
.legacy-photo-grid td { width:33.3333%; text-align:center; vertical-align:middle; padding:12px 4px; font-size:10.6667px; }
.legacy-photo-grid td > div { min-height:16px; }
.legacy-featured-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.legacy-featured-grid article { text-align:center; }
.legacy-featured-grid img { display:block; margin:auto; }
.legacy-browse { display:flex; gap:30px; align-items:center; }
.legacy-browse table { width:70%; }
.legacy-browse td { padding:4px; font-size:10.6667px; }
.legacy-browse td:first-child { width:35%; text-align:right; }
.legacy-gallery-detail { width:100%; }
.legacy-gallery-info { width:25%; vertical-align:top; }
.legacy-gallery-picture { width:75%; vertical-align:top; text-align:center; }
.legacy-gallery-picture > a img { max-width:100%; height:auto; }
.legacy-gallery-picture .legacy-comments { text-align:left; }
.legacy-section-search { margin:0 8px; padding:8px; text-align:center; }
.legacy-blog-columns { display:flex; gap:1%; padding:8px; align-items:flex-start; }
.legacy-blog-columns > main { width:76%; }
.legacy-blog-columns > aside { width:23%; }
.legacy-blog-heading { font-size:14px; margin:10px 0; display:flow-root; }
.legacy-blog-heading img { float:right; }
.legacy-blog-date { padding:0 6px; font-size:10.6667px; }
.legacy-blog-body { padding:10px 0; overflow-wrap:break-word; }
.legacy-blog-body img { max-width:100%; height:auto; }
.legacy-blog-entry { display:flex; gap:10px; padding:10px 0; border-bottom:1px solid #ddd; }
.legacy-blog-avatar { width:100px; flex:none; text-align:center; }
.legacy-blog-summary h2 { font-size:13px; margin:0 0 5px; }
.legacy-tag-cloud { text-align:center; line-height:20px; }
.legacy-tag-cloud a { color:#222; }
.legacy-forum-table, .legacy-forum-latest, .legacy-forum-post { width:100%; }
.legacy-forum-table th, .legacy-forum-table td { font-size:10.6667px; }
.legacy-forum-table td:first-child { width:50%; }
.legacy-forum-table td:nth-child(2), .legacy-forum-table td:nth-child(3) { width:10%; text-align:center; }
.legacy-forum-table td:last-child { width:30%; text-align:center; }
.legacy-forum-table td:first-child > div { padding:5px; }
.legacy-forum-latest th { width:90%; font-size:13px; text-align:left; }
.legacy-forum-latest-columns { display:grid; grid-template-columns:1fr 1fr; gap:10px 20px; padding:8px; }
.legacy-forum-latest-columns article { min-height:110px; }
.legacy-forum-latest-columns .article { font-weight:bold; }
.legacy-forum-latest-body { display:flex; gap:8px; padding-top:6px; }
.legacy-forum-latest-body .legacy-avatar { width:75px; object-fit:contain; align-self:flex-start; }
.legacy-forum-latest-body .a2 { width:calc(100% - 83px); }
.legacy-forum-title { font-size:14px; }
.legacy-forum-jump { text-align:right; padding:5px; margin-top:15px; }
.legacy-forum-post { margin-bottom:12px; }
.legacy-forum-author { width:20%; text-align:center; vertical-align:top; }
.legacy-forum-post-body { padding:30px 10px; min-height:100px; font:12px Arial; }
.legacy-forum-post-body img { max-width:100%; height:auto; }
.legacy-forum-count { padding:5px; margin-bottom:10px; }
.legacy-alphabet { text-align:center; padding:15px 0; margin-bottom:15px; font-weight:bold; }
.legacy-alphabet a { color:#000; }
.legacy-music-columns { display:grid; grid-template-columns:49% 49%; gap:2%; align-items:start; }
.legacy-song-table { width:100%; }
.legacy-song-table td { font-size:12px; vertical-align:middle; }
.legacy-song-table td span { font-size:11px; }
.legacy-music-latest, .legacy-music-album-list article { display:flex; gap:8px; padding:5px 0; }
.legacy-music-latest img { width:auto !important; max-width:50px; max-height:50px; }
.legacy-music-album-list { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.legacy-music-album-list img { width:auto !important; max-width:100px; max-height:100px; }
.legacy-musician-row { padding:12px 0; font-weight:bold; }
.legacy-genres { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; }
.legacy-music-album-columns { display:grid; grid-template-columns:76% 23%; gap:1%; }
.legacy-music-cover { float:left; padding:0 15px 10px 0; }
.legacy-music-album { display:inline-grid; width:150px; padding:8px; text-align:center; }
.legacy-video-columns { display:grid; grid-template-columns:65% 33%; gap:2%; }
.legacy-video-columns .legacy-video-player img { width:auto !important; max-width:100%; max-height:400px; }
.legacy-video-columns video { width:100%; max-height:500px; }
.legacy-video-cards { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.legacy-video-cards article { font-size:11px; }
.legacy-video-cards article > b { display:block; }
.legacy-video-columns aside .legacy-video-cards { grid-template-columns:1fr; }
.legacy-video-player { position:relative; text-align:center; background:#000; color:#fff; }
.legacy-video-player img { opacity:.9; }
.legacy-video-play { position:absolute; left:45%; top:40%; font-size:32px; color:#fff; }
.legacy-poll-option { display:grid; grid-template-columns:35% 40% 25%; gap:5px; margin:10px 0; }
.legacy-poll-bar { height:14px; background:#ddd; }
.legacy-poll-bar span { height:14px; display:block; background:#209bd6; }
.legacy-login-layout { width:100%; }
.legacy-login-layout > tbody > tr > td { width:50%; vertical-align:top; font-size:10.6667px; }
.legacy-login-layout .mainmenu3 { padding-left:10px; font-size:10.6667px; }
.legacy-login-layout .mainmenu3, .legacy-login-layout .mainmenu3 img { height:35px; vertical-align:middle; }
.legacy-login-panel { width:100%; font-size:9.3333px; }
.legacy-login-panel form { margin:0; }
.legacy-login-panel form table { width:100%; }
.legacy-login-panel form table td:first-child { width:20%; text-align:right; font-size:10.6667px; }
.legacy-login-panel .input, .legacy-login-panel .input2 { width:200px; }
.legacy-login-panel input[type=checkbox] { vertical-align:middle; border:0; }
.legacy-login-panel .form-status:empty { display:none; }
.legacy-member-page { display:flex; gap:1%; padding:16px; align-items:flex-start; font-size:10.6667px; }
.legacy-member-main { width:76%; }
.legacy-member-sidebar { width:23%; }
.legacy-member-body { padding:8px; }
.legacy-member-page h2 { font-size:13px; margin:10px 0; }
.legacy-member-page .member-form { padding:8px; margin:8px 0; background:transparent; border:0; }
.legacy-member-page .member-form input:not([type=hidden]), .legacy-member-page .member-form textarea, .legacy-member-page .member-form select { font:10.6667px Arial; padding:3px; background:#eff7fd; border:1px solid #60809a; }
.legacy-member-page .member-form label { font-size:10.6667px; }
#PhotoEvent { height:282px !important; }
#KguPeoplesSlide { height:260px !important; }
.legacy-event-slide img { width:auto !important; max-width:350px; max-height:262px; }
.legacy-event-slide > div { height:20px; color:#036fba; }
.legacy-portrait-slide img { width:auto !important; max-width:360px; max-height:240px; }
.legacy-portrait-slide > div { height:20px; color:#036fba; }
#image-gallery { position:relative; overflow:hidden; min-height:0; }
#image-gallery img { max-height:none; width:auto; max-width:100%; }
.legacy-article-gallery { position:relative; clear:both; padding:10px 0; }
.lSAction { position:absolute; left:0; right:0; top:45%; pointer-events:none; display:flex; justify-content:space-between; }
.lSAction button { pointer-events:auto; background:#0006; border:0; color:#fff; font-size:26px; border-radius:0; padding:0 8px; opacity:.7; }
.lSPager { clear:both; display:flex; justify-content:center; list-style:none; gap:8px; padding:8px; }
.lSPager button { width:8px; height:8px; border:0; border-radius:50%; padding:0; background:#bbb; }
.lSPager button[aria-current=true] { background:#222; }
#photo-viewer { padding:10px; border:0; max-width:95vw; background:#fff; }
#photo-viewer img { margin:auto; }
.lightbox-prev, .lightbox-next { position:absolute; top:40%; border:0; background:#fff9; font-size:36px; color:#222; padding:4px 10px; }
.lightbox-prev { left:10px; }
.lightbox-next { right:10px; }
.lightbox-footer { display:flex; align-items:center; gap:12px; font-size:12px; padding-top:5px; }
.lightbox-footer p { flex:1; }
.lightbox-play { padding:0; border:0; background:transparent; }
/* Preserve the source's per-item menu spacing and inherited table leading. */
body#bd { line-height:1.5; }
#nav li:nth-child(3) a, #nav li:nth-child(n+9) a { padding-left:9px; padding-right:9px; }
.legacy-login-panel > tbody > tr > td { font-size:7pt; line-height:1.5; }
.legacy-login-panel form table td { font-size:8pt; line-height:1.5; }
.legacy-login-panel input:focus-visible { outline:none; border-color:#f09; }
.legacy-user-toolbar { float:right; padding-right:20px; color:#fff; font-weight:bold; }
.legacy-user-toolbar a, #md-top .message a { color:#fff; }
.legacy-statistics { display:flow-root; padding:10px 20px; }
.legacy-statistics form { display:flex; align-items:center; gap:40px; }
.legacy-statistics form > div { width:360px; }
.legacy-statistics form p { margin:6px 0; }
.legacy-statistics-table { width:100%; margin:15px 0; }
.legacy-statistics-table td, .legacy-statistics-table th { text-align:center; }
.legacy-statistics-table td:nth-child(2) { text-align:left; }
.legacy-contact { width:680px; padding:4px; margin:8px; }
.legacy-contact .mainmenu5 { padding:5px 10px; min-height:28px; box-sizing:border-box; }
.legacy-contact form { padding:15px 4px 4px; }
.legacy-contact table { width:100%; border-collapse:separate; border-spacing:0 3px; }
.legacy-contact td:first-child { width:35%; text-align:right; vertical-align:top; padding:2px 8px 0 0; }
.legacy-contact td:last-child { background:#f1f1f1; }
.legacy-contact input:not([type=submit]) { width:310px; }
.legacy-contact-verification { border:1px solid #ccc; padding:12px; text-align:center; }
.legacy-contact-verification span { color:#888; }
[data-email-unconfigured] .form-status:empty { display:none; }
.legacy-groups-columns { display:flex; gap:15px; }
.legacy-groups-faculty { width:178px; flex:none; background:#f1f1f1; }
.legacy-groups-faculty p { padding:4px 8px; margin:0; border-bottom:1px solid #ddd; }
.legacy-groups-columns > main { width:756px; }
.legacy-groups-columns .label { padding:7px 10px; }
.legacy-members-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.legacy-members-grid article { text-align:center; padding:12px 8px; }
.legacy-members-grid img { max-width:120px; max-height:120px; }
.legacy-account-photo { float:left; width:30%; margin:0 10px 10px 0; text-align:center; border:1px solid #ccc; }
.legacy-account-photo > img { max-width:120px; max-height:120px; padding:8px; }
.legacy-video-category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px 16px; }
.legacy-video-category-grid article { padding-bottom:20px; border-bottom:7px solid #f1f1f1; }
.legacy-video-category-grid article > b { font-size:14.6667px; }
.legacy-video-category-grid article > div { display:flex; gap:8px; padding-top:10px; }
.legacy-video-category-grid span { font-size:12px; }
.member-form button { background:#3e99da; color:#fff; border:1px solid #fff; border-radius:0; font:10.6667px Arial; padding:1px 6px; }
.member-form button:hover { background:#195b85; }
.legacy-comments .member-form { max-width:100%; padding:8px; margin:8px 0; background:#f9f9f9; }
.legacy-comments .member-form textarea { font:10.6667px/1.5 Arial; background:#e7f2fc; border:2px solid #6689aa; border-right-color:#344d71; border-bottom-color:#344d71; }
.legacy-comments .member-actions { padding:5px 0; }
/* Match the source tab and gallery table spacing. */
#menu { height:40px; }
.legacy-tabs { margin-top:22px; }
.legacy-tabs .item3 { width:5px; }
.legacy-tabs .item3:first-child { width:10px; }
.legacy-tabs .legacy-tab-tail { width:100px; }
.legacy-tabs .item { font:700 10px/15px Helvetica,Arial,sans-serif; }
.legacy-tabs .item2 { font:700 11px/16.5px Helvetica,Arial,sans-serif; }
.legacy-tabs a { font:inherit; }
.legacy-photo-grid td { padding:4px; }
.legacy-photo-grid td > div { min-height:0; }
.legacy-photo-item { display:inline-block; text-align:left; }
.legacy-photo-item > a { display:block; }
.legacy-gallery-filter { margin:8px 0 16px; font-size:8pt; }
.legacy-photo-list tr { display:block; }
.legacy-photo-list td { display:block; width:100%; text-align:left; }
.legacy-login-layout td:first-child img { vertical-align:bottom; }
.legacy-login-layout .mainmenu3 { height:35px; }
.legacy-block .block_header { font:700 12px/18px Helvetica,Arial,sans-serif; }
.legacy-music-page .legacy-block { margin-bottom:18px; }
.legacy-music-page .legacy-toggle { display:none; }
.legacy-music-page .legacy-block .mainmenu5 { min-height:33px; padding:7px 13px; }
.legacy-music-page .legacy-block-body { padding:8px 18px; }
.legacy-music-page .list,.legacy-music-compact { padding:4px 2px; font-weight:bold; }
.legacy-video-page { padding-top:16px; }
.legacy-video-home { grid-template-columns:64% 34.5%; gap:1%; }
.legacy-video-carousel { height:210px; padding:30px 30px 35px; position:relative; box-sizing:border-box; overflow:hidden; }
.legacy-video-track { display:flex; transition:transform .4s ease; }
.legacy-video-track article { width:33.333%; flex:none; text-align:center; }
.legacy-video-track img { display:block; margin:auto; }
.legacy-video-track .legacy-author { display:block; font-weight:bold; padding:3px 0; }
.legacy-video-carousel > button { position:absolute; right:16px; top:40px; width:18px; height:105px; border:1px solid #ddd; border-radius:4px; color:#aaa; background:linear-gradient(#fafafa,#ccc); font:bold 28px Arial; padding:0; }
.legacy-video-home main > h2 { margin-top:48px; font-size:16px; letter-spacing:2px; }
.legacy-hot-placeholder { display:block; height:170px; }
.legacy-hot-video { margin-bottom:18px; }
.legacy-video-category-links { display:grid; grid-template-columns:1fr 1fr; gap:5px 10px; font-weight:bold; }
.legacy-video-result { display:flex; gap:12px; padding:20px 12px; border-top:1px solid #ddd; }
.legacy-video-featured .legacy-tabs { margin-top:15px; }
.legacy-video-window { overflow:hidden; }
.legacy-video-track .legacy-author { text-align:center; }
.legacy-gallery-list { width:100%; }
.legacy-gallery-list tr:nth-child(3n+1) { background:#f1f1f1; }
.legacy-article-bar-links { float:right; padding-right:25px; font-weight:normal; }
.legacy-stat-heading { font-size:12px; font-weight:bold; color:#036fba; padding:8px 0 0; }
.legacy-stat-heading:first-child { padding-top:0; }
.legacy-sidebar-stats { width:230px; border-collapse:collapse; font-size:12px; }
.legacy-sidebar-stats th,.legacy-sidebar-stats td { border:1px solid #464545; text-align:left; }
.legacy-tabs .item a,.legacy-tabs .item2 a { text-align:center; }
.legacy-blog-entry { display:flow-root; position:relative; padding:20px 8px 35px; border-bottom:0; }
.legacy-blog-avatar { float:right; width:75px; padding-right:5px; }
.legacy-blog-summary h2 { font-size:14.6667px; }
.legacy-blog-summary .legacy-blog-date { padding:6px; margin:0 0 12px; }
.legacy-blog-excerpt { padding:8px 0 20px; font-size:12px; }
.legacy-blog-entry-links { clear:both; padding:8px; }
.legacy-blog-columns .legacy-pager { text-align:left; padding-bottom:10px; }
.legacy-blog-columns .legacy-pager::before { content:'Trang: '; }
.legacy-blog-list { width:100%; }
.legacy-blog-list tr:nth-child(odd) { background:#f1f1f1; }
.legacy-forum-latest { border:1px solid #999; }
.legacy-forum-latest-columns { background:#fff; border:1px solid #999; margin:0 4px 4px; padding:10px 24px; gap:6px 20px; }
.legacy-forum-latest-columns article { min-height:80px; }
.legacy-forum-latest-columns .article { font-weight:normal; }
.legacy-forum-latest-columns .article::before { content:'◆ '; font-size:8px; }
.legacy-tag-cloud { overflow-wrap:anywhere; }
.legacy-browse td { font-size:8pt; line-height:16px; }
#menu { height:38px; margin-top:2px; }
/* Source table geometry: keep the theme's original tab-cell sizing. */
.source-tabbed-menu { border-collapse:separate; border-spacing:8px; }
.source-tabbed-menu > tbody > tr > td { padding:0; }
.source-tab-row { border-collapse:separate; border-spacing:0; }
.source-tab-row .item a,.source-tab-row .item2 a { font:inherit; text-align:center; display:block; }
.source-tab-row .item:hover { background:#fff; border-top:2px solid #000; }
.source-pager { padding:10px 0 12px; font-size:12px; line-height:18px; }
.source-pager a,.source-pager b { padding:0; }
.source-album-grid { border-collapse:separate; border-spacing:0; }
.source-album-grid > tbody > tr > td { width:25%; }
.source-album-grid img { margin:0; }
.source-gallery-widgets { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-top:8px; }
.source-gallery-widgets .legacy-block { padding:4px; margin:0; }
.source-gallery-widgets .legacy-block .mainmenu5 { min-height:32px; padding:7px 10px; }
.source-gallery-widgets .legacy-block-body { padding:0; }
.source-gallery-widgets .legacy-toggle { display:none; }
.source-visitor-grid { display:grid; grid-template-columns:repeat(5,1fr); grid-auto-rows:66px; align-items:center; justify-items:center; }
#footer { box-sizing:content-box; font:12px/18px Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif; }
.source-gallery-widgets { margin-top:26px; margin-bottom:24px; }
.source-visitor-grid { display:flex; flex-wrap:wrap; justify-content:center; align-content:flex-start; gap:4px; width:260px; height:132px; margin:0 auto; padding:23px 0 1px; box-sizing:border-box; }
.source-visitor-grid a { display:block; }
.legacy-page-pad > .source-pager { text-align:center; }
#footer .contact ul { margin:0; padding:0; list-style:none; }
#footer .contact li { float:left; list-style:none; }
#footer .contact a.a8 { padding:0 0 0 11px; font:12px/18px Helvetica,Arial,"Liberation Sans",FreeSans,sans-serif; }
.source-comments { clear:both; width:100%; padding-top:15px; }
.source-comment-body p { line-height:20px; }
.source-comment-count { padding:15px 0; font-size:12px; }
.source-comments .member-actions { padding:0; }
.source-comment-compose { padding:10px 0; font-size:13.3333px; }
.source-compose-heading { font-size:16px; font-weight:bold; padding-bottom:15px; }
.source-comment-compose label { display:block; font-weight:bold; padding-bottom:4px; }
.source-comment-compose input { display:block; background:#fff; margin-bottom:4px; }
.source-comment-compose textarea { display:block; width:90%; height:104px; box-sizing:border-box; background:#fff; border:1px solid #ccc; }
.source-editor-toolbar { width:90%; height:24px; box-sizing:border-box; border:1px solid #ccc; padding:3px 6px; background:linear-gradient(#eee,#ddd); font:12px Arial; }
.source-comment-compose .button2 { padding:2px 6px; }
.source-external-player { position:relative; width:100%; max-width:480px; aspect-ratio:4/3; background:#000; }
.source-external-player button { position:absolute; inset:0; width:100%; height:100%; border:0; border-radius:0; padding:0; background:#000; color:#fff; }
.source-external-player button img { width:100%; height:100%; max-height:none; object-fit:contain; }
.source-external-player button span { position:absolute; left:calc(50% - 28px); top:calc(50% - 18px); width:56px; height:36px; line-height:36px; background:#d00; color:#fff; border-radius:7px; font-size:24px; }
.source-external-player iframe { border:0; position:absolute; inset:0; width:100%; height:100%; }
.source-external-player.compact { width:250px; height:150px; aspect-ratio:auto; margin:16px auto 12px; }
.source-external-player.compact:has(iframe) { height:200px; }
.legacy-video-page { padding-top:8px; }
.legacy-video-home { grid-template-columns:64.3% 34.7%; gap:1%; }
.legacy-video-carousel { padding:30px 30px 35px 15px; }
.legacy-video-home main > h2 { margin-top:54px; }
.legacy-video-result { min-height:176px; box-sizing:border-box; padding:40px 10px; border:0; border-bottom:7px solid #f1f1f1; }

/* Archived editor artwork; all anonymous controls remain read-only. */
.source-comments { padding:15px 9px 0; box-sizing:border-box; }
.source-comment-compose { padding:0; }
.source-compose-heading { margin:0 -14px 16px; padding:7px 14px; font-size:12px; box-sizing:border-box; min-height:32px; }
.source-compose-fields { padding:0 0 10px; }
.source-comment-compose label { padding-bottom:4px; font-size:13.3333px; }
.source-comment-compose input { margin-bottom:0; height:19px; box-sizing:content-box; padding:0 2px; border:1px solid #000; }
.source-editor-toolbar { height:104px; background:#e6efff; padding:0 3px; overflow:hidden; border:1px solid #b7c7d9; }
.source-editor-toolbar > div { display:flex; align-items:center; height:26px; white-space:nowrap; gap:2px; }
.source-editor-icon { display:inline-block; flex:0 0 20px; width:20px; height:20px; border:1px solid #b7c7d9; background-image:url('/editor-icons.gif'); background-color:#e6efff; box-sizing:content-box; }
.source-editor-icon-0 { background-position-x:0; }
.source-editor-icon-20 { background-position-x:-20px; }
.source-editor-icon-60 { background-position-x:-60px; }
.source-editor-icon-80 { background-position-x:-80px; }
.source-editor-icon-100 { background-position-x:-100px; }
.source-editor-icon-120 { background-position-x:-120px; }
.source-editor-icon-140 { background-position-x:-140px; }
.source-editor-icon-260 { background-position-x:-260px; }
.source-editor-icon-320 { background-position-x:-320px; }
.source-editor-icon-360 { background-position-x:-360px; }
.source-editor-icon-380 { background-position-x:-380px; }
.source-editor-icon-400 { background-position-x:-400px; }
.source-editor-icon-420 { background-position-x:-420px; }
.source-editor-icon-440 { background-position-x:-440px; }
.source-editor-icon-460 { background-position-x:-460px; }
.source-editor-icon-480 { background-position-x:-480px; }
.source-editor-icon-500 { background-position-x:-500px; }
.source-editor-icon-540 { background-position-x:-540px; }
.source-editor-icon-560 { background-position-x:-560px; }
.source-editor-icon-580 { background-position-x:-580px; }
.source-editor-icon-600 { background-position-x:-600px; }
.source-editor-icon-640 { background-position-x:-640px; }
.source-editor-icon-660 { background-position-x:-660px; }
.source-editor-icon-680 { background-position-x:-680px; }
.source-editor-icon-700 { background-position-x:-700px; }
.source-editor-icon-720 { background-position-x:-720px; }
.source-editor-icon-740 { background-position-x:-740px; }
.source-editor-icon-760 { background-position-x:-760px; }
.source-editor-icon-780 { background-position-x:-780px; }
.source-editor-icon-800 { background-position-x:-800px; }
.source-editor-icon-lower { background-position-y:-20px; }
.admin-nav { margin:8px 0; padding:6px 10px; background:#e6efff; }
.security-alert-table { overflow-x:auto; margin-top:16px; }
.security-alert-table table { width:100%; border-collapse:collapse; font:12px/1.5 Arial,sans-serif; }
.security-alert-table th,.security-alert-table td { border:1px solid #b7c7d9; padding:7px; text-align:left; overflow-wrap:anywhere; }
.security-alert-table th { background:#e6efff; }
.source-editor-select { display:inline-block; border:1px solid #b7c7d9; background:linear-gradient(#fff,#d4e4f5); font:11px Arial; width:82px; height:20px; line-height:20px; padding-left:3px; }
.source-editor-select::after { content:'▾'; float:right; color:#7e9bb9; padding:0 3px; border-left:1px solid #c5d5e5; }
.source-comment-compose textarea { height:100px; resize:none; border-color:#b7c7d9; border-top:0; border-bottom:0; border-radius:0; }
.source-editor-status { width:90%; height:22px; line-height:20px; box-sizing:border-box; padding-left:2px; background:#e6efff; border:1px solid #b7c7d9; color:#000; font:11px/20px Arial; }
.source-compose-fields > p { padding:4px 20px 0; }

.legacy-blog-columns .legacy-block { padding:4px; }
.legacy-blog-columns .legacy-block-body { padding:4px; }
.legacy-blog-columns .mainmenu5 { min-height:32px; padding:7px 10px; }
.legacy-tag-cloud { text-align:center; line-height:18px; }
.legacy-blog-entry { padding-top:20px; padding-bottom:28px; }
.legacy-blog-summary .legacy-blog-date { margin-bottom:0; }
.legacy-blog-excerpt { padding-top:8px; padding-bottom:8px; }
.legacy-blog-excerpt p { margin:0 0 18px; }

.legacy-blog-entry { padding-top:12px; padding-bottom:43px; }
.legacy-blog-excerpt p { margin:0; }

.source-video-tabs { padding-top:18px; }
.source-video-tabs button { font:inherit; color:inherit; background:transparent; border:0; border-radius:0; padding:0; cursor:pointer; }
.legacy-video-featured [data-video-ranking] { padding:36px 8px 0; }
.legacy-video-featured { border-radius:15px 15px 0 0; }

.source-photo-grid { border-collapse:separate; border-spacing:0; }
.source-photo-grid td { width:auto; padding:1px; font-size:8pt; }
.source-photo-grid > tbody > tr > td { width:33.3333%; padding:4px; }
.source-photo-grid table { border-collapse:separate; border-spacing:2px; }
.source-photo-grid a.lytebox { display:inline; }
#photo-viewer { padding:10px 10px 60px; background:#000; color:#fff; border:2px solid #ccc; border-radius:8px; margin:18px auto auto; max-height:calc(100vh - 40px); box-sizing:border-box; font:12px/18px Verdana,Arial,sans-serif; }
#photo-viewer::backdrop { background:rgba(0,0,0,.8); }
#photo-viewer img { max-height:calc(100vh - 130px); }
#photo-viewer .lightbox-prev,#photo-viewer .lightbox-next,#photo-viewer .close-viewer { top:auto; bottom:10px; left:auto; width:26px; height:26px; padding:0; border:2px solid #ddd; border-radius:50%; background:#777; color:#fff; font:bold 25px/20px Arial; text-align:center; }
#photo-viewer .lightbox-prev { right:82px; }
#photo-viewer .lightbox-next { right:48px; }
#photo-viewer .close-viewer { right:14px; }
#photo-viewer .lightbox-footer { font:italic bold 11px/18px Verdana,Arial,sans-serif; padding-top:4px; }
#photo-viewer .lightbox-footer p { margin:0; }
#photo-viewer .lightbox-play { color:#fff; }
#photo-viewer[open] { animation:source-viewer-open .25s ease; }
@keyframes source-viewer-open { from { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { #photo-viewer[open] { animation:none; } }

.legacy-blog-columns > main { padding-bottom:32px; }

.legacy-gallery-filter { margin-bottom:6px; }
.legacy-gallery-filter select { width:150px; }
.legacy-page-pad > .legacy-block:has(.legacy-browse) .mainmenu5 { min-height:32px; padding:7px 10px; }
.legacy-page-pad > .legacy-block:has(.legacy-browse) .legacy-block-body { padding-top:24px; padding-bottom:22px; }
.legacy-page-pad .legacy-browse td { padding-top:3px; padding-bottom:3px; }
#photo-viewer img { max-height:calc(100vh - 160px); }

.source-signed-in-links { width:380px; }
.footer-clear { width:100%; clear:both; }
