/*---ALL PAGES---*/

@media (max-width: 1000px) {
	body {
		color: black;
		background-color: crimson;
		margin-left: 2%;
		margin-right: 2%;
		font-family: sans-serif;
	}
}

@media (min-width: 1000px) {
	body {
		color: black;
		background-color: crimson;
		margin-left: 15%;
		margin-right: 15%;
		font-family: sans-serif;
	}
}

figcaption {
	font-size: 12px;
}

/*---Header---*/

h1 {
	font-size: 45px;
	padding-left: 20px;
}

#header {
	display: flex;
	align-items: center;
	justify-content: center;
}

/*---Navigation---*/

nav {
	background-color: lightcoral;
	/*background-color: #E56B6F;*/
	color: black;
	width: 100%;
	text-align: center;
	font-weight: bold;
	font-size: x-large;
	padding: 5px 0px 5px;
}

#sub {
	background-color: #fdc492;
	/*background-color: #EAAC8B;*/
}

.selected {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

nav a:link {
	color: black;
	text-decoration: none;
}

nav a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}

nav a:visited {
	color: black;
	text-decoration: none;
}

/*---Column---*/

#column {
	background-color: white;
	padding: 25px 50px 25px;
}

#content {
	margin: 16px auto;
	max-width: 640px;
}

h2, h3 {
	line-height: 1.2;
}

/*---Links---*/

a:link {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/*---Footer---*/

#footer {
	font-size: large;
	color: white;
	padding: 10px 0px 50px 0px;
}

#institution-logos {
	float: left;
	display: grid;
	padding-right: 30px;
}

#footer a {
	color: white
}

#footer-links {
	padding-top: 20px;
}

/*---SCHEDULE---*/

#schedule {
	font-size: medium;
	max-width: 800px;
	margin: auto;
	overflow-x: auto;
}

#schedule table {
	white-space: nowrap;
	border: solid 2px;
	border-collapse: collapse;
	width: 100%;
	text-align: center;
}

#schedule tr:hover .mark {
	background-color: black;
	border: solid 1px black;
	color: white;
}

#schedule tr:hover td a {
	color: white;
}

colgroup {
	border: solid 2px;
}

td a {
	font-weight: bold;
	color: black;
}

th {
	border: solid 2px;
}

.mark {
	border: solid 1px;
}

.lecture {
	background-color: lightblue;
}

.workshop {
	background-color: lightgreen;
}

.break {
	background-color: yellow;
}

.misc {
	background-color: pink;
}

.tophead {
	font-size: large;
}


/*---SPEAKER LIST---*/

.odd img {
	width: 200px;
	float: left;
	margin-right: 20px;
	margin-bottom: 10px;
}

.even img {
	width: 200px;
	float: right;
	margin-left: 20px;
	margin-bottom: 10px;
}

/*---LOGO GALLERY---*/

.logo-gallery {
	width: 100%;
	display: grid;
	justify-items: center;
	align-items: center;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.logo-gallery img {
	padding: 10px;
}

/*---TEAM GALLERY---*/

#team-gallery {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

#team-gallery img {
	width: 120px;
}

a img:hover {
	opacity: 0.5;
	filter: alpha(opacity=50);
}

figure {
	display: inline-block;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 5px;
	margin-bottom: 5px;
}

#team-gallery figcaption {
	text-align: center;
	max-width: 120px;
	font-size: 10pt;
}
