/* General */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Set page height */
html {
	height: 100%;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 1rem;
	background-color: #FFF7EC;
	color: #000;
	position: relative;
}

/* Links */
a:link    { color: #006600; text-decoration: underline;}
a:visited { color: #006600; text-decoration: none;}
a:active  { color: #0000CC; text-decoration: none;}
a:hover   { color: #CC0000; text-decoration: underline;}

/* Layout */
header {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

header div {
  margin: 1em 0;
}

nav {
	width: 100%;
}

nav div {
	max-width: 100%;
	height: auto;
	margin: 0.25rem;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	padding-bottom: 1em;
}

nav div table, main div table {
	max-width: 80%;
	border-spacing: 5px;
	border: 2px solid;
}

nav div table td, main div table td {
	padding: 3px;
	border: 1px solid;
	font-size: .7em;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: transparent;
	color: #000;
	width: 100%;
	height: auto;
}

article {
	display: flex;
	flex-direction: column;
	max-width: 75%;
}

article > div {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
}

figure {
  display: flex;
  flex-direction: column;
  margin: 0;
}

figcaption {
  align-self: flex-end;
  text-align: right;
}

figure img {
	max-width: 100%;
	height: auto;
	margin: 0;
	border: 1px solid;
}

div.minuteslists {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	margin-top: 1rem;
	max-width: 85%;
  min-width: 75%;
  justify-content: space-around;
}

footer {
  width: 100%;
  background-color: transparent;
  color: #000;
  font-size: 0.75em;
  margin-top: auto;
  padding: 1em;
}

hr {
	width: 80%;
	height: 2px;
	border: 0;
	background-color: black;
	margin: 1.5rem auto;
}

footer > hr {
	width: 100%;
}


/* Text */
h1 {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 2rem;
	color: darkgreen;
}
	
h2 {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1.5rem;
	color: darkgreen;
}
	
h3 {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1.25rem;
	color: darkgreen;
}

p.small {
	font-size: 0.75rem;
}

p.contenttext {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 1rem;
}

p.indented {
	text-indent: 3rem;
}

p.dblindented {
	text-indent: 5rem;
}

.redfont {
	color: red;
}

/* DIV */
div.centerpic {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	height: auto;
	margin: 1rem;
}

/* Lists */
li {
	list-style: none;
}

/* Table */
table.greenfont tr td {
	background-color: #FFDEAD;
	font-family: Comic Sans MS;
	color: #425A10
}

td img{
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Images */
img {
	max-width: 100%;
	height: auto;
	margin: 0.5em;
}

/* GRID */
.tbl-grid {
	display: inline-grid;
	width: 60%;
	height: auto;
	grid-template-rows: auto;
	grid-template-columns: 1fr 3fr;
	grid-auto-rows: auto;
	grid-auto-columns: 1fr 3fr;
	grid-auto-flow: row;
	grid-gap: .6em;
	color: black;
}

[class^='tbl-grid-item'] {
	padding: .25rem;
	outline: 2px solid #000;
	background-color: #eee;
	font-size: 0.8rem;
	color: black;
	overflow: hidden;
}

[class^='tbl-grid-item'] img {
	max-width: 100%;
	padding-right: .25rem;
}

	/*	With grid-auto-flow, need only to define title and one row. */
.tbl-grid-item-1 {
	display: grid;
	grid-row: 1;
	grid-column: 1/-1;
	justify-content: center;
	height: auto;
	padding: .25rem;
}

.tbl-grid-item-2 {
	grid-row: 2;
	grid-column: 1;
}

.tbl-grid-item-3 {
	grid-row: 2;
	grid-column: 2;
}

/* SLIDESHOW CSS -- Need to modify for NSPS */
#slideshow {
	display: flex;
	justify-content: flex-end;
	height: auto;
	margin: 0.5rem;
	overflow: hidden;
}
.slide {
    width: 35vw;
    height: 35vw;
    overflow: hidden;
    position: relative;
    background-color: #CCC;
}
.slide > div {
	width: 35vw;
	height: 35vw;
	background-size: cover;
	position: absolute;
	animation: slide 50s infinite;
	opacity: 0;
	background-image: url(images/slideshow/Adarius%20looking%20left.jpg);
}
.slide > div:nth-child(2) {
  animation-delay: 5s;
}
.slide > div:nth-child(3) {
  animation-delay: 10s;
}
.slide > div:nth-child(4) {
  animation-delay: 15s;
}
.slide > div:nth-child(5) {
  animation-delay: 20s;
}
.slide > div:nth-child(6) {
  animation-delay: 25s;
}
.slide > div:nth-child(7) {
  animation-delay: 30s;
}
.slide > div:nth-child(8) {
  animation-delay: 35s;
}
.slide > div:nth-child(9) {
  animation-delay: 40s;
}
.slide > div:nth-child(10) {
  animation-delay: 45s;
}

@keyframes slide {
  10% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  40% {
    transform: scale(1.2);
  }
}
/* END SLIDESHOW CSS */

