
/* Code 662 Science Website CSS
=============================== */

.center {
	text-align: center;
}

table.styled {
	border-collapse: collapse;
	color: #000;
	margin: 1em 0 0 0;
	width: 100%;
}

table.styled,
table.styled th,
table.styled td {
	border: 1px solid #000;
}

table.styled tr {

}

table.styled th,
table.styled td {
	padding: 0.5em;
	vertical-align: middle;
}


/* Research Grid */

.grid-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: flex-start;
}

.grid-item-container {
	width: 90%;
	margin: 0 auto 2em auto;
	text-align: center;
}

@media only screen and (min-width: 600px) { /* Scale grid for tablet */
	.grid-item-container {
		width: 50%;
	}
}

@media only screen and (min-width: 952px) { /* Scale grid for desktop */
	.grid-item-container {
		width: 50%;
	}
}

.grid-item {
	margin: 0 auto;
	text-align: center;
}

.grid-caption {
	margin: 1em 3em;
	text-align: center;
}

.return-button a {
	background: #666;
	border: 1px #000 solid;
	border-radius: 10px;
	color: #fff;
	display: inline-block;
	font-size: 13px;
	letter-spacing: 0.05em;
	line-height: 1;
	margin: 12px 0;
	padding: 8px;
	text-align: center;
}

.return-button a:active,
.return-button a:hover {
	background: #4a385f;
	color: #fff;
	text-decoration: none;
}

.return-button a:visited {
	color: #fff;
}
