#profile-container
{
	display: flex;
	flex-wrap: wrap;
	width: 90%;
}

#profile-container a,
#profile-container a:active
{
	color: #006800;
}

#profile-top
{
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 1em;
}

#profile-photo
{
	max-width: 20%;
}

#profile-photo img
{
	width: 100%;
}

#profile-name
{
	max-width: 50%;
}

#profile-middle
{
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin-bottom: 1em;
}

#profile-department
{
	max-width: 50%;
}

#profile-contact
{
	max-width: 50%;
	font-size: 0.8em;
}

#profile-contact ul
{
	list-style-type: none;
}

#profile-contact .fa-solid,
#profile-contact .svg-inline--fa
{
	display: inline-block;
	width: 1em;
	margin-right: 0.5em;
}

#profile-contact ul li span
{
	display: inline-block;
}

#profile-tablist
{
	width: 100%;
	border-bottom: solid 3px #00853e;
}

#profile-tablist a
{
	background-color: #ffffff;
	color: #276436;
	padding: .75em 1.5em;
	font-weight: 500;
	transition: 0.5s;
	background: #fafafa;
	border: solid 1px #eee;
	border-width: 1px 1px 0 1px;
	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
}

#profile-tablist a.active
{
	background-color: #276436;
	color: #ffffff;
}

#profile-tablist > a
{
	outline: none;
	display: inline-block;
}

#profile-tabs
{
	width: 100%;
}

#profile-tabs h2
{
	font-size: 1.5em;
	margin-top: 0.75em;
}

#profile-tabs h3
{
	font-size: 1.25em;
	margin-top: 0.5em;
}

#tab-current-teaching
{
	
}

#tab-previous-teaching
{
	
}

#tab-publications
{
	
}

#tab-research
{
	
}

.profile-tab
{
	display: none;
	float: left;
	padding: 1em 0.5em;
	width: 100%;
}

.profile-tab.active
{
	display: block;
	border-bottom: solid 3px #00853e;
	margin-bottom: 3rem;
}

.profile-courses-table tr:nth-child(2n)
{
	  background-color: #f9f9f9;
}

.profile-publication-list li,
.profile-research-list li
{
	margin-left: 2em;
}

.profile-publication-type-header,
.profile-research-type-header
{
	color: #006a31;
}

.profile-legal-disclaimer
{
	font-size: 60%;
}

/* === SPOT results ===*/

.definition
{
	display:none;
}

#spot-legend table
{
	width:100%;
}

table caption 
{
	margin: 0 0 1rem 0;
	font-size: 1.5rem;
	color: #FFF;
	background-color: #276436;
	padding: .375rem;
	padding-left: 1rem;
	text-align: left;
	margin-bottom: 0;
	border-bottom: 5px solid #72B844;
}

#spot-legend td 
{
	font-size: .75rem;
	line-height: 1.25em;
}

#spot-scores-table
{
	position: fixed;
	height: 100%;
	width: 100%;
	background-color: rgba(0,0,0,.85);
	top: 0;
	left: 0;
	z-index: 9999;
	display:none;
	padding-top:5%;
}

#score-table th,
#score-table td 
{
	text-align: center;
	color: #222222;
}

#score-table th
{
	background: #efefef;
}

#score-table td
{
	background: #ffffff;
}

#spot-legend
{
	background-color:#ffffff;
	width:75%;
	max-width:60rem;
	margin:auto;
	padding: 1em;
	overflow:auto;
	border-radius:3px;
}

#spot-legend a 
{
	text-decoration: underline;
}

#spot-legend li 
{
	font-size: .8125rem;
}

#spot-table-header
{
	font-weight: bold;
	caption-side: top;
}

.bold,
.result
{
	font-weight:bold;
}
.result 
{
	font-size: 2rem;
	line-height: 1.5;
}

#spot-scores-table ul > li
{
	margin-bottom: 1rem;
	list-style:none;
}

#spot-scores-table ul ul li 
{
	list-style: initial;
	margin-bottom:0;
}
#spot-scores-table a
{
	color: #00853e;
}

.profile-courses-spot,
.profile-courses-syllabus
{
	text-align: center;
}

.button-link
{
	display: inline-block;
	margin: 0 .1em;
	background-color: #dddddd;
	padding: 0 .5em;
	border-radius: 3px;
	border: 1px solid #006800;
	font-weight: 700;
	font-size: .75rem;
}

a.button-link
{
	color: #00853e;
	text-decoration: underline;
	font-weight: bold;
}

a.button-link:hover,
a.button-link:active
{
	color: #333333;
}

#spot-legend ul
{
	margin:0 1em;
}

a.close-modal 
{
	display:inline-block;
	background-color:#A00;
	color:#ffffff !important;
	font-weight: bold;
	border-radius:3px;
	float: right;
	padding:.5rem;
	margin: 0 .5rem .5rem 0;
	transition: background-color .35s;
}

#spot-eid
{
	font-size: .75rem;
	font-weight: normal;
	float: right;
}

a.close-modal:hover
{
	background-color:#F00;
}

.reveal
{
	display:block;
}

/* On screens that are 900px or less */
@media screen and (max-width: 900px) 
{
	.profile-tablinks
	{
		width: 100%;
	}
	
	#spot-legend
	{
		width: 100%;
		padding: 0.5em;
		position: sticky;
	}
	
	#spot-table-header
	{
		font-size: 1.25em;
	}
	
	#score-table th,
	#score-table tr
	{
		padding: 3px 2px;
		line-height: 150%;
	}
	
	#profile-top
	{
		flex-direction: column;
	}
	
	#profile-photo,
	#profile-name,
	#profile-contact
	{
		max-width: 100%;
		width: 100%;
	}
	
	#profile-photo img
	{
		max-width: 50%;
	}
	
	#profile-contact ul
	{
		padding-left: 0px;
	}
	
	#profile-tabs ul
	{
		padding-left: 1em;
	}
	
	.profile-publication-list li,
	.profile-research-list li
	{
		margin-left: 1em;
	}
	
	.definition
	{
		line-height: 125%;
	}	
}