body{ 
	margin: 0;
	padding: 0;
	color: #B3B3B3;
	font-size: 12px;
	line-height: 1.6em; 
	font-family: "segoe ui", "Helvetica Neue", Helvetica, arial, sans-serif;
	background-color: #242424;
}

a, a:link, a:visited { color: #9CF; font-weight: normal; text-decoration: none }
a:hover { color: #FF6; text-decoration: none; }

ul{
	margin:0;
	padding:0px 0px 0px 20px;
}

ul .squarebullet {list-style-type: square;}
ul .spacing { }
.spacing li { margin: 0 0 4px 0;} 

h1, h2, h3, h4, h5, h6 { color: #fff; font-weight: normal; }
h1 { font-size: 58px; margin: 0 0 30px; padding: 0px 0 }
h2 { font-size: 34px; margin: 0 0 30px; padding: 0px 0 }
h3 { font-size: 20px; margin: 0 0 20px; padding: 0; }
h4 { font-size: 16px; margin: 0 0 15px; padding: 0; }
h5 { font-size: 14px; margin: 0 0 10px; padding: 0;  }
h6 { font-size: 12px; margin: 0 0 5px; padding: 0; font-weight: 700 }

.cent { text-align: center }

p { padding: 0; margin: 0 0 15px 0;}
b { color: white }

.clear{
	clear:left;
}

cite { font-weight: bold; color:#fff; }
cite a, cite a:link, cite a:visited  { font-size: 12px; text-decoration: none; font-style: normal }
cite span { font-weight: 400; color: #ccc; }


.list_bullet { margin: 0 0 10px 15px; padding: 0; list-style: none }
.list_bullet li { color:#fff; margin: 0 0 7px 0; padding: 0 0 0 20px; background: url(https://jasonwang.space/images/templatemo_list.png) no-repeat scroll 0 6px  }
.list_bullet li a { color: #fff; font-weight: normal; text-decoration: none }
.list_bullet li a:hover { color: #fff }

.no_bullet { margin: 0; padding: 0; list-style: none }
.no_bullet li { margin: 0 0 20px 0; padding: 0 }
a.header { display: block; font-weight: 700 }

.half { width: 392px }
.quarter {width: 196px }
.threeq {width : 588px }
.full {width: 784px }

.h15 { height: 15px }
.h20 { height: 20px }
.h40 { height: 40px }

img { margin: 0; padding: 0; border: none }
.img_border { background: #fff; padding: 4px; margin: 0 0 0 8px;	 }
.img_nom { display: inline-block; margin-bottom: 15px }
.img_fl { float: left; margin: 4px 5px 5px 5px }
.img_fr { float: right; margin: 3px 0 5px 15px }

.img_5marg { margin: 5px 5px 5px 5px }
.img_overlay{ position: relative;}

.left { float: left }
.right { float: right; }

#templatemo_header {
	width: 800px;
	margin: 0 auto;
	padding: 30px 0 20px 0;
}

#templatemo_main {
	width: 800px;
	
	overflow: hidden;
	margin: 0 auto;
}

#templatemo_footer {
	width: 800px;
	margin: auto auto;
	padding: 20px 0;
	text-align: center;
	display: block;
}

#site_title { display: block }
#site_title a { color: #fff; line-height: 50px }

#content{
	overflow:hidden;
	width: 7000px;
	position:relative;
	
}

#content > div:target {
	display: block;
}

#content > div {
	display: none;
}

.section {
	position:relative;
	float:left;
	width: 800px;
	
	margin-right: 20px;
}

.section .textbody{
	padding: 10px 0 0 0;
	float: left;
}

.textbody .textblock {
	min-height: 100px;
	overflow: hidden;
}

.vert_align{
	vertical-align: middle;
}

.section .zceiback{ background: url(images/zcei_soccer_banner.jpg); }
.section .sofiawing{ background: url(images/SOFIA_wing.jpg); }
.section .spieposter{ background: url(images/spie_poster_banner.jpg); }
.section .bobatea{ background: url(images/black_milk_tea.png); }
.section .pachonsunset{ background: url(images/pachon_sunset_banner.png); }
.section .hackathon{ background: url(images/hackathon.jpg); }
.section .bahamacpu{ background: url(images/bahama_computers_banner.jpg); }
.section .classroom{ background: url(images/classroom_zambia_banner.jpg); }
.section .handshake{ background: url(images/handshake.png); }

.nav {
	width: 800px;
	margin: auto auto;
	text-align: left;
	display: block;
	padding: 10px 0 15px 0;
}

div .home_but {
	width: 44px; 
	height: 46px; 
	background-image: url(images/navbar3.png);
	background-position: 132px 0px;
}
a.home_but_wh { 
}

/*.nav a.navbar { bottom: 0; width: 44px; height: 46px; background-image: url(images/navbar3.png); text-indent: -20000px; display: inline-block;}
.nav  ul {list-style:none; position: relative; left: 256px; margin: 0 0 0 0; padding: 0; list-style-type: none; width: 308px; height: 46px;}
.nav  li {float: left;  height: 46px; display: block; }

.nav a.home_but_wh { background-position: 132px 0px;}
.nav a.abou_but_wh { background-position: 220px 0px;}
.nav a.rese_but_wh { background-position: 176px 0px;}
.nav a.teac_but_wh { background-position: 88px 0px;}
.nav a.code_but_wh { background-position: 44px 0px;}
.nav a.volu_but_wh { background-position: 264px 0px;}
.nav a.pape_but_wh { background-position: 308px 0px;}

.nav a.home_but_gr { background-position: 132px 46px;}
.nav a.abou_but_gr { background-position: 220px 46px;}
.nav a.rese_but_gr { background-position: 176px 46px;}
.nav a.teac_but_gr { background-position: 88px 46px;}
.nav a.code_but_gr { background-position: 44px 46px;}
.nav a.volu_but_gr { background-position: 264px 46px;}
.nav a.pape_but_gr { background-position: 308px 46px;}*/


.nav ul {
	padding: 0;
	border-radius: 0px;
	list-style: none;
	position: relative;
	display: inline-table
}
	.nav ul:after {
			content: ""; clear: both; display: block;
	}

.nav ul li {
	float: left;
	padding: 0px 3px 0px 0px;
	width: 130px
}
	.nav ul li a {
		display: block;
		padding: 10px 10px;
		color: #fff;
		text-align: center;
	}
	.nav ul li:hover .top_menu {
		color: #D6D6D6;
	}
	.nav ul li:hover > ul {
		display: block
	}


.nav ul ul {
	display: none;
	padding: 0;
	border-radius: 0;
	position: absolute; 
	top: 100%;
	z-index: 10;
}
	.nav ul ul li {
		float: none;
		position: absolute;
		top: 100%;
		padding: 0;
	}
	.nav ul ul li a {
		color: #fff
	}
		.nav ul ul li a:hover{
			color: #D6D6D6;
		}

		

.box { float: left; margin: 0 10px 10px 0 }
.home_block { position: relative; width: 314px; height: 314px; background: #6B6B6B}
.home_bit { position: relative; width: 152px; height: 152px; margin: 0 10px 10px 0}
.home_log { position: relative; width: 314px; height: 152px; margin: 0 10px 10px 0}
.home_bit.no_margin{ margin-right: 0}
.home_bit h3{ margin: 0 -5px 30px;}
.home_log h3{ margin: 0 -5px 30px;}

#home_gallery { width: 476px; height: 314px }
.home_box1 { width: 152px; height: 152px }
.home_box2 { width: 314px; height: 152px }
.color1 { background: #d0b500 }
.color2 { background: #c75000 }
.color3 { background: #00afce }
.color4 { background: #a4c700 }
#home_gallery a { display: block; float: left; width: 152px; height: 152px; margin: 0 10px 10px 0 }
#home_gallery a.large { width: 314px; height: 314px; }
#home_gallery a.no_mr { margin-right: 0 }

.overlay_text{
   color: white; 
   position: absolute; 
   bottom: -18px; 
   left: 10px; 
   width: 100%;
}

.overlay_text_right{
	color: white; 
	position: absolute;
	bottom: 20px;
	right: 10px;
	text-align: right;
	padding: 5px; 
}

.overlay_text a {
	color: #fff; 
}

.overlay{
	padding: 6px 6px 6px 6px;
	vertical-align: 2px;
}

.overlay p{
	color: #B3B3B3;
	font-size: 13px;
}


.overlay_border{
	margin: 0;
}

.overlay_blue{
	background: rgb(18, 152, 224); /* fallback color */
	background: rgba(18, 152, 224, 1);
}


.overlay_bluesteel{
	background: rgb(110, 172, 239); /* fallback color */
	background: rgb(110, 172, 239, 1);
}

.overlay_orange{
	background: rgb(255, 143, 15); /* fallback color */
	background: rgba(255, 143, 15, 1);
}

.overlay_goldenrod{
	background: rgb(255, 185, 0); /* fallback color */
	background: rgba(255, 185, 0, 1);
}

.overlay_green{
	background: rgb(70, 212, 44); /* fallback color */
	background: rgba(70, 212, 44, 1);
}
.overlay_purple{
	background: rgb(227, 45, 221); /* fallback color */
	background: rgba(227, 45, 221, 1);
}

.overlay_red{
	background: rgb(207, 65, 75); /* fallback color */
	background: rgba(207, 65, 75, 1);
}

.overlay_gray{
	background: rgb(8, 8, 8); /* fallback color */
	background: rgba(8, 8, 8, 1);
}

.overlay_lightgray{
	background: rgb(36, 36, 36); /* fallback color */
	background: rgba(36, 36, 36, 1);
}

.section_title{
	width: 800px;
	height: 60px;
	margin: 0px 0px 0px 0px;
	text-align: left;
	position: relative;	
}

.section_title_text{
	position: relative;
	top: 14px;
	left: 5px;
	padding: 0px 8px 0px 8px;
}

.contact {
	width: 314px;
	height: 152px;
	background: url('images/contact_thumb_large_hoverable.png') no-repeat left top;
}
.contact:hover {
	background-position: 0px -152px
}

.no_mr { margin-right: 0 }
.no_mb { margin-bottom: 0 }

.scrollable{ overflow:auto }
.fullpage{ height:360px }

 /* ── News variables: light mode defaults ── */
  :root {
    --news-text-main:   #333;
    --news-text-muted:  #777;
    --news-border-row:  #f0f0f0;
    --news-link:        #3366cc;
    --news-drawer-bg:   #fff;
    --news-drawer-top:  #333;
    --news-drawer-hdrborder: #e8e8e8;
    --news-year-color:  #999;
    --news-year-border: #eee;
    --tag-paper-bg:#e8f0fb;  --tag-paper-fg:#2a55a0;
    --tag-award-bg:#fdf3dc;  --tag-award-fg:#8a5a00;
    --tag-member-bg:#e8f7ee; --tag-member-fg:#1d7a3e;
    --tag-press-bg:#f5e8fb;  --tag-press-fg:#6b2d8b;
    --tag-talk-bg:#fde8e8;   --tag-talk-fg:#9b2424;
    --tag-software-bg:#e8f5fb; --tag-software-fg:#1a6880;
  }

  /* ── Dark mode overrides (add class="dark-mode" to your <body>) ── */
  body.dark-mode {
    --news-text-main:  #dcdcdc;
    --news-text-muted: #888;
    --news-border-row: rgba(255,255,255,0.07);
    --news-link:       #7eb3ff;
    --news-drawer-bg:  #1a1a1a;
    --news-drawer-top: #444;
    --news-drawer-hdrborder: rgba(255,255,255,0.10);
    --news-year-color:  #666;
    --news-year-border: rgba(255,255,255,0.08);
    --tag-paper-bg:rgba(80,130,255,0.14);  --tag-paper-fg:#7eb3ff;
    --tag-award-bg:rgba(255,190,60,0.13);  --tag-award-fg:#f5c842;
    --tag-member-bg:rgba(60,200,100,0.13); --tag-member-fg:#5ddb8a;
    --tag-press-bg:rgba(190,80,255,0.13);  --tag-press-fg:#c97dff;
    --tag-talk-bg:rgba(255,90,90,0.13);    --tag-talk-fg:#ff8a8a;
    --tag-proposal-bg:rgba(60,190,230,0.13); --tag-software-fg:#5fd0f0;
  }

  .group-news-section { margin: 28px 0 8px; }
  .group-news-section h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; }
  .news-list { list-style: none; padding: 0; margin: 0; }
  .news-list li { display: flex; gap: 10px; align-items: baseline; padding: 5px 0; border-bottom: 1px solid var(--news-border-row); font-size: 14px; line-height: 1.5; color: var(--news-text-main); }
  .news-list li:last-child { border-bottom: none; }
  .news-date { white-space: nowrap; color: var(--news-text-muted); font-size: 13px; min-width: 76px; flex-shrink: 0; }
  .news-tag { white-space: nowrap; font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 1px 6px; border-radius: 3px; flex-shrink: 0; align-self: center; }
  .tag-paper    { background: var(--tag-paper-bg);    color: var(--tag-paper-fg); }
  .tag-award    { background: var(--tag-award-bg);    color: var(--tag-award-fg); }
  .tag-member   { background: var(--tag-member-bg);   color: var(--tag-member-fg); }
  .tag-press    { background: var(--tag-press-bg);    color: var(--tag-press-fg); }
  .tag-talk     { background: var(--tag-talk-bg);     color: var(--tag-talk-fg); }
  .tag-proposal { background: var(--tag-proposal-bg); color: var(--tag-software-fg); }
  .news-text { flex: 1; }
  .news-text a { color: var(--news-link); }
  .news-toggle-wrap { margin-top: 8px; font-size: 13px; }
  /* Year accordion */
  .news-archive { margin-top: 4px; }
  .news-year-btn { display: flex; align-items: center; gap: 6px; background: none; border: none; padding: 7px 0; width: 100%; cursor: pointer; font-family: inherit; text-align: left; border-top: 1px solid var(--news-border-row); color: var(--news-text-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.15s; }
  .news-year-btn:hover { color: var(--news-text-main); }
  .news-year-arrow { display: inline-block; font-size: 9px; line-height: 1; transition: transform 0.2s ease; flex-shrink: 0; }
  .news-year-btn[aria-expanded="true"] .news-year-arrow { transform: rotate(90deg); }
  .news-year-count { margin-left: auto; font-size: 11px; font-weight: 400; color: var(--news-text-muted); opacity: 0.6; }
  .news-year-items { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.25s ease; }
  .news-year-items.open { grid-template-rows: 1fr; }
  .news-year-items-inner { min-height: 0; }
