/* Light mode */
@media (prefers-color-scheme: light) {
	/*
	html { 
		color: #222;
	}
    body {
		background: url(../img/wavy-bg.jpg);
    }
	#timeline_wrapper table td:not(:eq(1)) {
		filter: invert(0%);
		-webkit-filter: invert(0%);
	}
	.time-slot div { color: navy; }
	div#timeline_wrapper table thead tr th:nth-of-type(2)::after,
	div#timeline_wrapper table thead tr th:nth-of-type(2)::before,
	div#timeline_wrapper table tbody tr td:nth-of-type(2)::after,
	div#timeline_wrapper table tbody tr td:nth-of-type(2)::before,
	div#timeline_wrapper table tfoot tr td:nth-of-type(2)::before,
	div#timeline_wrapper table tfoot tr td:nth-of-type(2)::after {
		background: navy;
	}
	div#timeline_wrapper table thead tr th:nth-of-type(2)::after,
	div#timeline_wrapper table tfoot tr td:nth-of-type(2)::after,
	div#timeline_wrapper table tbody tr td:nth-of-type(2)::after,
	div#timeline_wrapper table tbody tr td:nth-of-type(2)::after {
		background: #d48959;
	}
	#bulletin {
		background: #ccc;
		background-image: url(../img/bg-gray.jpg);
		background-repeat: no-repeat, no-repeat;
		background-position: top center;
	}
	nav a { 
		color: #03036b;
		background: url(../img/button_bg.png), linear-gradient(0deg, rgba(236, 216, 250, 1) 33%, rgba(90, 61, 9, 1) 100%);
	}
	*/
}
/* Dark mode */
@media (prefers-color-scheme: dark) {
	html { 
		color: #ddd;
	}
    body {
		background: url(../img/wavy-bg-inverted.jpg);
    }
	#name_title {
		color: #fff;
	}
	footer > #bottom_signature > h3 {
		color: #d48959;
	}
	aside .aside_item h3 {
		border-bottom: 3px solid #4c4c4c;
	}
	.sub_title { 
		color: #d4a78a;
		bbackground: #8f8f8f;
		bbackground: linear-gradient(180deg,rgba(143, 143, 143, 0) 60%, rgba(135, 135, 168, 1) 100%);
	}
	.header-container, .footer-container {
        background: rgb(0, 0, 80);
        background-image: linear-gradient(0deg, rgb(2 2 41 / 50%) 15%, rgb(3 3 30 / 70%) 75%), url(../img/metal_bg-inverted.jpg);
    }
	.header-container {
		border-bottom: 20px solid rgb(30 30 35);
		overflow: hidden;
		box-shadow: 0 5px 10px #392222;
	}
	#timeline_wrapper table td:not(:eq(1)) {
		filter: invert(100%);
		-webkit-filter: invert(100%);
	}
	#contact_section a {
		color: #d4a78a;
	}
	#contact_section a:hover {
		color: #d48959;
	}
	#bio_news_open_text {
		color: #111;
	}
	#bio_news_button:hover #bio_news_open_text {
		color: #04048d;
	}
	.mug_ribbon span {
		background: #07396b;
		background: linear-gradient(#07396b 0%, #02022d 100%);
	}
	#bio_mug {
		background-image: url(../img/jim_ypk.jpg);
	}
	#bio_map_light {
		display: none;
	}
	#bio_map_dark {
		display: inline-block;
	}
	.bio_map_spot {
		background: #6969e9;
		box-shadow: 0px 0px 2px 3px #ed9b03;
	}
	#bio_map_spot_description,
	#bio_map_spot_edu_description {
		color: #ddd;
	}
	#bio_container > h2 {
		border-bottom: 1px solid #ddd;
	}
	.bio_book_link a {
		color: #111;
		background: #ddd;
	}
	.bio_book_link a:hover {
		color: #333;
	}
	.bio_news_ribbon {
		background-color: #ddd;
	}
	.bio_news_ribbon:hover * {
		color: #444 !important;
	}
	.bio_book a {
		color: #ddd;
	}
	.bio_book a:hover {
		color: #fff;
	}
	#bio_map_close {
		color: #181818;
		border: 3px solid #181818;
	}
	.blog_tags a {
		background: #dddddd;
		color: #161616;
	}
	.blog_tags a:hover {
		color: #7b7b7b;
	}
	#bio_news_tags a {
		background: #ddd;
		color: #2f2f2f;
	}
	#bio_news_tags a:hover {
		background: #ddd;
		color: #000;
	}
	.time-slot div { color: #d48959; }
	div#timeline_wrapper table thead tr th:nth-of-type(2)::after,
	div#timeline_wrapper table thead tr th:nth-of-type(2)::before,
	div#timeline_wrapper table tbody tr td:nth-of-type(2)::after,
	div#timeline_wrapper table tbody tr td:nth-of-type(2)::before,
	div#timeline_wrapper table tfoot tr td:nth-of-type(2)::before,
	div#timeline_wrapper table tfoot tr td:nth-of-type(2)::after {
		background: #d48959;
		color: navy;
	}
	div#timeline_wrapper table tfoot tr td:nth-of-type(2)::after,
	div#timeline_wrapper table tbody tr td:nth-of-type(2)::after,
	div#timeline_wrapper table tbody tr td:nth-of-type(2)::after {
		background: navy;
	}
	#bulletin {
		background: #444;
		background-image: url(../img/bg-gray-inverted.jpg);
		background-repeat: no-repeat, no-repeat;
		background-position: top center;
	}
	nav a { 
		color: #e9cbba;
		background: url(../img/button_bg-inverted.png), linear-gradient(0deg, rgb(24 24 24) 74%, rgb(155 155 155) 100%);
	}
	nav a:hover * { 
		color: #e9cbba;
		text-shadow: 0px 0px 7px navy, 0px 0px 33px navy !important;
	}
	#bio_container {
		bbackground: rgb(16 16 16 / 60%);
		bbox-shadow: 1px 1px 4px #333232;
		color: unset;
	}
	#mobile_menu_button_wrapper {
		background: #100f0f;
	}
	#mug_img .mug_seal { box-shadow: 0px 0px 0px 6px #222; }
	.main aside .aside_item { 
		border-top: 5px solid #d48959;
		box-shadow: 0px 0px 0 5px #100f0f, 0px 5px 2px 2px #222;
		overflow: hidden;
		background-color: #060606;
		background-image: url(../img/aside_bg-inverted.png);
		color: #fff;
	}
	div.aside_item.recommendations ul *, div.aside_item.recommendations ul a * {
		color: #ddd;
		text-decoration: none;
	}
	div.aside_item.recommendations ul *, div.aside_item.recommendations ul a:hover * {
		color: #ccc;
	}
	.main aside a {
		color: #d4a78a;
	}
	.main aside a:hover {
		color: #d48959;
	}
	section:nth-child(even) {
		background: #161616;
	}
	header h1 {
		color: #d4a78a;
	}
	a {
		color: #d4a78a;
	}
	a:hover {
		color: #d48959;
	}
	.view_more_link {
		color: #d4a78a;
	}
	.view_more_link:hover {
		color: #d48959;
	}
	.date_calc:before {
		color: #d48959;
	}
	#recommendations_slider_controls a:hover {
		color: #d48959;
	}
	article header {
        box-shadow: 0 -5px 0 #d48959;
        border-top: 2px solid #d4a78a;
        border-bottom: 3px solid #d48959;
	}
	.footer-container {
		outline: 20px solid rgb(12 12 12);
		box-shadow: 0px -20px 4px #612727;
	}
	#footer {
		border-top: 2px solid #1f1f1f;
		box-shadow: 0px -20px 4px #612727;
	}
	.anchor_top_2 {
		color: navy;
        background: rgb(0, 0, 80);
        background-image: linear-gradient(0deg, rgb(2 2 41 / 50%) 15%, rgb(3 3 30 / 70%) 75%), url(../img/metal_bg-inverted.jpg);
		box-shadow: 0px 2px 6px 0px white;
    }
	.fa-anchor:before {
		color: #d48959;
	}
	.signature_top {
		color: #fff;
	}

	@media only screen and (min-width: 480px) {		
		.sub_title { 
			background: none !important;
		}
		.fa-solid.fa-anchor.anchor_top_2 {
			border: 5px solid #fff;
		}
	}
	
	#scroll_to_top {
        background: rgb(203 160 144 / 86%);
        color: rgb(33 33 33);
	}
	.logo_argonne { background-image: url(../img/logos/argonne_logo-inverted.png); }
	.logo_y12 { background-image: url(../img/logos/Y-12_logo-inverted.png); }
	.logo_etsu1 { background-image: url(../img/logos/ETSU_logo_1-inverted.png); }
	.logo_etsu3 { background-image: url(../img/logos/ETSU_logo_3-inverted.png); }
	.logo_etsu4 { background-image: url(../img/logos/ETSU_logo_4-inverted.png); }
	.logo_lru1 { background-image: url(../img/logos/LRU_logo_1-inverted.png); }
	.logo_lru2 { background-image: url(../img/logos/LRU_logo_2-inverted.png); }
	.logo_purdue1 { background-image: url(../img/logos/purdue_logo1_inverted.png); }
	.logo_ut1 { background-image: url(../img/logos/UT_logo_1-inverted.png); }
	.logo_hsm { background-image: url(../img/logos/HSM_logo_inverted.png); }
	.logo_ellucian { background-image: url(../img/logos/Ellucian_logo_inverted.png); }
	.logo_habitat1 { background-image: url(../img/logos/Habitat_logo_1-inverted.png); }
	.logo_habitat2 { background-image: url(../img/logos/Habitat_logo_2-inverted.png); } 
	.logo_ut2 { background-image: url(../img/logos/UT_logo_2-inverted.png); }
	.logo_wsp { background-image: url(../img/logos/wsp_logo-inverted.png); }
	.logo_safe { background-image: url(../img/logos/SAFe_logo-inverted.png); }
	.logo_ecg { background-image: url(../img/logos/Y-12_ECG_logo-inverted.png); }
	.logo_cns { background-image: url(../img/logos/CNS_logo-inverted.png); }
	.logo_sap { background-image: url(../img/logos/SAP_logo-inverted.png); }
	.logo_asu { background-image: url(../img/logos/ASU_logo-inverted.png); }
	.logo_ypk { background-image: url(../img/logos/YPK_logo-inverted.png); }
	.logo_ieee { background-image: url(../img/logos/IEEE_logo-inverted.png); }
	.logo_acm { background-image: url(../img/logos/ACM_logo-inverted.png); }
	.logo_scouts { background-image: url(../img/logos/Scouts_logo-inverted.png); }
	.logo_citi { background-image: url(../img/logos/citi_logo_inverted.png); }
	
	.hgm_card             { background-image: url(../img/logos/marriott_logo_inverted.png); }
	.springs_corners_card { background-image: url(../img/logos/springs_corners_logo_inverted.png); }
	.moores_ferry_card    { background-image: url(../img/logos/moores_ferry_logo_inverted.png); }
	.emg_card             { background-image: url(../img/logos/EMG_logo_inverted.png); }
	.hsm_card             { background-image: url(../img/logos/HSM_logo_inverted.png); }
	.d25_card             { background-image: url(../img/logos/d25_logo_inverted.png); }
	.ellucian_card        { background-image: url(../img/logos/Ellucian_logo_inverted.png); }
	.spectrum_card        { background-image: url(../img/logos/spectrum_logo_inverted.png); }
	.oak_card             { background-image: url(../img/logos/oak_logo_inverted.png); }
	.burton_card          { background-image: url(../img/logos/burton_logo_inverted.png); }
	.everett_card         { background-image: url(../img/logos/everett_logo_inverted.png); }
	.snt_card             { background-image: url(../img/logos/snt_logo_inverted.png); }
	.tnt_card             { background-image: url(../img/logos/tnt_logo_inverted.png); }
	.godfreys_card        { background-image: url(../img/logos/godfreys_logo_inverted.png); }
	

	#project_card_popup_wrapper {
		background: rgba(0, 0, 0, 0.8);
	}

	div.project_card_popup {
		background: #444;
	}

	div.project_card_popup > span > a {
		color: #eee;
	}
	
	.xp_time {
		color: #c0bebe;
	}

	#dark-mode-toggle:before {
		content: "\f186";
		color: #ccc;
	}
	#dark-mode-toggle:hover:before {
		color: #bbb;
	}
	#dark-mode-toggle:hover:after {
		content: "light mode";
		color: #000;
		text-shadow: 0 1px 0 #fff;
		background: #fff;
		background: rgba(255, 255, 255, .8);
	}

	.projects+ul * u {
		color: #ffcd72;
	}

}