/* Body */

	body {
	-webkit-text-size-adjust: none;
	font-family: roboto;
	font-size: 14pt;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
	margin-bottom: 0px;
	background-color: white;
	line-height: 1.4;
	}

	.padding {
	padding: 5px;
	}

	ul {
	margin-bottom: 0px;
	padding: 0;
	}

	li {
	color: black;
	list-style-type: none;
	}

	.column-20 {
	display: flex;
	flex-direction: column;
	gap: 20px;
	}

	.row {
	display: flex;
	gap: 20px;
	color: #777;
	font-size: 14pt;
	}

/* Message */

	
/* Search */

	.keywords {
		display: none;
	}

	.label {
		display: inline-block;
		padding: 20px;
		margin-bottom: 10px;
		background: rgba(35, 35, 35, .7);
		color: white;
	}
	
	input { 
		-webkit-appearance: none;
		border-radius: 0;
		touch-action: manipulation;
		outline: none;
		margin: 0;
	}
	
	input:focus {
	outline-width: 0px;
	outline: none;
	}
	
	.search {
		border: 1px solid #eee;
		display: flex;
		justify-content: space-between;
		align-items: center;
		background-color: white;
		padding: 20px;
	}

	.search-background {
		background-image: url(images/valley-bridge-small.png);
		background-position: center;
		background-size: cover;
		background-repeat: no-repeat;
		padding: 20px 10px;
	}

	#filter {
		box-sizing: border-box;
		border: none;
		padding: 0;
		width: 100%;
		font-size: 14pt;
		font-family: roboto;
	}
	
	.list {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	
	.hide {
		display: none;
	}

/* Article */

.article {
	font-family: lato;
	padding: 20px;
}

.article h1 {
	font-size: 36pt;
	font-weight: 700;
	margin-bottom: 20px;
	color: #003399;
}

.article h2 {
	font-size: 22pt;
	font-weight: 700;
	margin-bottom: 20px;
	color: #003399;
}

.article h3 {
	font-size: 16pt;
	font-weight: 700;
	margin-bottom: 20px;
	color: #003399;
}

.article p {
	margin-bottom: 20px;
	color: #494949;
}

/* Fact */

.fact {
	display: grid;
	gap: 20px;
	padding: 20px;
	margin-bottom: 20px;
	background-color: #f4f2f1;
}

.fact p {
	margin: 0;
}

.fact h2 {
	margin: 0;
	font-size: 22pt;
	font-weight: 500
	;
	color: #a30000;
}

.fact h6 {
	margin: 0;
	font-size: 10pt;
	font-weight: 400;
	color: #494949
}


/* Details (Card) */

	.list details {
	-webkit-tap-highlight-color: transparent;
	background-color: white;
	border-bottom: 1px solid #eee;
	color: #494949;
	}

	.list summary::-webkit-details-marker {
	display: none; 
	}

	.list summary {
	-webkit-tap-highlight-color: transparent;
	list-style: none;
	padding: 20px;
	}



	/*
	.list details summary:after {
	font-family: "Material Icons";
	content: '\e5cf';
	transition: 0.2s;
	margin-left: 10px;
	color: #999;
	}

	.list details[open] > summary:after {
	font-family: "Material Icons Outlined";
	content: '\e5cf';
	transform: rotate(180deg);
	transition: 0.2s;
	margin-left: 10px;
	color: #304FFE;
	}
	*/

	summary:hover {
	cursor: pointer;
	}

	.list details p {
	margin: 0;
	color: #494949;
	}
	
	.header {
	display: flex;
	flex-direction: column;
	gap: 10px;
	}
	
	.content {
	padding: 0px 20px;
	}

	.content p {
		margin-bottom: 20px !important;
	}

	.content em {
		margin-bottom: 20px !important;
	}

	.act {
		margin-bottom: 20px;
	}
	
/* More */

	.more {

	}
	
	.more p {
		margin-bottom: 20px !important;
	
	}
	
	.note {
	display: flex;
	flex-direction: column;
	gap: 10px;
	}
	

/* Feed */

	.tile-container {
		padding: 10px 0px;
		background-color: #f4f2f1;
	}

	.feed {
		background-color: #f4f2f1;
		padding-bottom: 20px;
	}

	.heading {
		padding: 20px;
		font-weight: 500;
		font-size: 16pt;
		color: #0026ca;
	}

	.tiles {
		padding: 0px 10px;
		display: flex;
		flex-wrap: wrap;
		gap: 10px 5px;

	}

	.tile {
		flex: 1 1 250px;
		width: 100%;
		display: flex;
		flex-direction: column;
		background-color: white;
	}

	.post {
		flex: 1 1 250px;
		width: 100%;
		display: flex;
		flex-direction: column;
		background-color: white;
	}

	.tiles p {
		margin: 0;
		color: #494949;
	}

	.tiles em {
		font-size: 16pt;
		color: #003399
	}

	.tile a {
		color: black;
		text-decoration: none;
		display: flex;
		flex-direction: column;
		font-weight: normal;
	}

	.tiles img {
		border: none;
		margin: 0;
		padding: 0;
	}

	.caption {
		padding: 20px;
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.tile:hover {
		cursor: pointer;
		background-color: #ccc;
	}

	.tile:hover em {
		color: #003399;
		text-decoration: underline;
	}

	

	.tiles summary {
		-webkit-tap-highlight-color: transparent;
	}

	.tiles details > summary {
		list-style: none;
	  }

	.tiles details > summary::-webkit-details-marker {
		display: none;
	  }



	.tile p {
		margin:0;
	}
	
	.tile b {
		font-weight: 500;
	}
	
	.tiles details {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	
	img {
		width: 100%;
		display: block;
	}
	
	.tiles details[open] summary {
		padding-bottom: 20px;
	}
	
	.tiles details {
		padding: 20px;
	}
	
	.post-title {
		display: grid;
		gap: 20px;
	}
	
	.post-body {
		display: grid;
		gap: 20px;
	}
	
	.post-title em {
		font-size: 16pt;
		font-weight: 500;
		color: #003399;
		font-style: normal;
	}
	
	.date {
		padding: 20px;
		padding-top: 0px;
		color: #666;
		font-weight: 500;
		font-size: 12pt;
	}









/* About */

/* Misc */

	a {
	color: #003399;
	font-weight: 500;
	}

	.code {
	font-weight: 500;
	color: #222;
	}
	
	.fine {	
	font-weight: 500;
	color: #222;
	}
	
	.points {
	font-weight: 500;
	color: #222;
	}
	
	.bullet {
		display: flex;
		flex-direction: column;
		gap: 10px;
		margin-bottom: 20px;
	}
	
	.bullet p {
		padding-left: 20px;
		margin: 0 !important;
	}
	
	.more:empty {
	display: none;
	}
		
	em {
	font-style: normal;
	font-weight: 500;
	color: #222;
	}
	

/* Nav */

	.nav-summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #304FFE;
	color: white;
	padding: 20px 25px;
	}

	.nav-summary a {
		color: white !important;
		text-decoration: none;
	}
	
	.nav-details {
	-webkit-tap-highlight-color: transparent;
	}
	
	.nav-summary:after {
	font-family: "Material Icons";
	content: '\e5d2';
	transition: 0.2s;
	font-size: 18pt;
	}
	
	.nav-details[open] > .nav-summary:after {
	font-family: "Material Icons";
	content: '\e5cd';
	transform: rotate(180deg);
	transition: 0.2s;
	font-size: 18pt;
	}

	.nav-details[open] summary ~ * {
		animation: sweep .5s ease-in-out;
	  }
	  
	  @keyframes sweep {
		0%    {opacity: 0; margin-left: -10px}
		100%  {opacity: 1; margin-left: 0px}
	  }
	
	.nav-summary::-webkit-details-marker {
	display: none; 
	}

	.items {
	display: flex;
	flex-direction: column;
	background-color: #0026ca;
	}
	
	.items a {
	padding: 20px 25px;
	text-decoration: none;
	font-weight: 400 !important;
	color: white;
	}

	.items a:hover {
		text-decoration: underline;
	}


	/* Images */

	img {
		width: 100%;
		border: 1px solid #eee;
	}

	.caption-bad {
		padding-top: 10px;
		color: #a30000;
		border-top: 12px solid #a30000;
		margin: 20px 0px;
	}






	

	




/* Footer */

	.footer {
	padding: 20px;
	background-color: #eee;
	color: #999;
	}
	
/* Page */

	.page {
	padding: 20px;
	background-color: white;
	}

	.column-30 {
	display: flex;
	flex-direction: column;
	gap: 30px;
	}
	
	h1 {
	margin: 0px;
	font-size: 26pt;
	font-weight: 400;
	}
	
	.page p {
	margin: 0;
	color: #555;
	}

	.page h2 {
		font-size: 20pt;
		color:#0026ca;
		font-weight: 400;
		margin: 0;
	}

	.study {
		padding: 20px;
		border: 1px solid #eee;
		border-radius: 5px;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.study h3 {
		font-weight: 400;
		margin: 0;
		color:#304FFE;
	}
	
	.page details {
	-webkit-tap-highlight-color: transparent;
	padding-top: 20px;
	}
	
	.page summary::-webkit-details-marker {
	display: none; 
	}
	
	.page summary {
	-webkit-tap-highlight-color: transparent;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	
	}

	.page details[open] summary {
	padding-bottom: 20px;
	color: #0026ca;
	}

	.page summary:after {
	font-family: "Material Icons";
	content: '\e5cf';
	margin-left: 20px;
	color: #999;
	font-size: 22pt;
	}

	.page details[open] > summary:after {
	font-family: "Material Icons Outlined";
	content: '\e5cf';
	transform: rotate(180deg);
	margin-left: 20px;
	}

	.page summary:hover {
	cursor: pointer;
	}
	
	.page ul {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 0px 20px;
	margin: 0;
	}
	
	.page li {
	list-style-type: none;
	list-style-position: outside;
	color: #555;

	}

	/*
	
	@media (prefers-color-scheme: dark) {

		body {
			background-color: black;
			color: white;
			}

		a {
			color: #8AB4F8;
			}

		

		.nav-summary {
			background-color: #111;
		}

		.message {
			background-color: #111;
		}

		.items {
			background-color: #000;
		}

		.items a {
		}

		

		.search {
			border: 1px solid #333;
			background-color: #222;
		}

		#filter {
			background-color: #222;
			color: #eee;
		}

		.search-padding {
			background-color: #000;
		}

		

		.list details {
			background-color: #222;
			color: white;
			border-bottom: 1px solid #333;
		}

		.list summary {
			color: #eee;
		}

		.list details p {
			color: #eee;
		}

		em {
			color: white;
		}

		.fine, .points, .code {
			color: white;
		}

		.list details[open] > summary:after {
			color: #8AB4F8;
		}

		

		img {
			border: 1px solid #333;
		}

		.caption-bad {
			color: #ff3d00;
			border-top: 12px solid #ff3d00;
		}

		

		.feed {
			background-color: #222;
		}

		.heading {
			color: #8AB4F8;
		}

		.tile {
			background-color: #333;
			border: 1px solid #444;
			box-shadow: 0px 2px 5px #111;
		}

		.tile:hover {
			background-color: #444;
		}

		.tile p {
			color: #eee;
		}

		

		.page {
			background-color: #222;
			border: 1px solid #333;
		}

		.page p {
			color: #eee;
		}

		.page h2 {
			color: #8AB4F8;
		}

		.page li {
			color: #eee;
		}

		
		.footer {
			padding: 20px;
			background-color: #111;
		}

		.post summary a {
			color: #8AB4F8;
			text-decoration: underline;
			font-weight: 500;
		}

	}

	*/

b {
	font-weight: 500;
}


/* Index */

.index {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px 25px;
    background-color: #eee;
    color: #003399;
	text-decoration: none;
	font-size: 14pt;
}

.index a {
    color: #003399;
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

/* Table */

table {
	background-color: #fafafa;
	width: 100%;
}

th, td {
	padding: 10px;
}

th {
	font-weight: 500;
	text-align: left;
}

table, th, td {
	border: 1px solid #eee;
	border-collapse: collapse;
}

/* Scrollable Cards */
/* Examples */

.scrollable-card {
	border: 1px solid #eee;
	margin: 20px 0px;
}

.scroll-container {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.scroll-area {
	scroll-snap-align: start;
	background-color:rgb(248, 246, 242);
}

.scroll-container, scroll-area {
	margin: 0 auto;
}

.scroll-area {
	min-width: 100%;
}

::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background-color: #eee;
}

::-webkit-scrollbar-thumb {
	background-color: darkgray;
	opacity: 0.7;
}

.scrollable-card img {
	display: block;
	width: 100%;
	border: none;
}

.example {
	font-weight: 500;
	padding: 20px;
	background-color: #a30000;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.example:after {
	font-family: "Material Icons";
	content: '\e9ec';
	font-size: 14pt;
	opacity: 0.5;
}

.case {
	font-weight: 500;
	padding: 20px;
	background-color:lightblue;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.case:after {
	font-family: "Material Icons";
	content: '\e9ec';
	font-size: 14pt;
	opacity: 0.5;
}

.caption {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	font-weight: 400;
	color: #a30000;
}

.caption p {
	margin: 0 !important;
}
.caption b {
	font-weight: 500;
}

.more em {
	display: block;
	margin-bottom: 20px !important;
}

/* Tint Graph */

.scene {
	background-image: url(images/scene.png);
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	border: 1px solid #eee;
	margin: 20px 0px;
}

.t25, .t50, .t75 {
	text-align: center;
	padding: 25% 0px;
	width: 100%;
	color: white;
	cursor: pointer;
}

.t25 {
	background: rgba(0, 0, 0, 0.75)
}

.t25:hover {
	width: 100vw;
	transition-duration: 0.5s;
}

.t50 {
	background: rgba(0, 0, 0, 0.50)
}

.t50:hover {
	width: 100vw;
	transition-duration: 0.5s;
}

.t75 {
	background: rgba(0, 0, 0, 0.25)
}

.t75:hover {
	width: 100vw;
	transition-duration: 0.5s;
}


.forum {
	padding: 20px;
}

.forum-title {
	padding-bottom: 20px;
	font-weight: 500;
	font-size: 16pt;
	color: #0026ca;
}


