/* ==================================================================

body {
	font-family: "Times New Roman", Times, serif;
	font-size: 16px;
	font-weight: normal;
	font-style: normal;
	font-variant: normal;
	color: black;
}

html {
	overflow-y: scroll;
}


/* --- layout ------------------------------------------------------- */
.container {
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
}

.body-container {
	width: 780px;
	margin: 0 auto;
	overflow: hidden;
}

#body {
	position: relative;
	float: right;
	top: 10px;
	width: 780px;
	background: #FFFFFF;
	margin-left: 20px;
}

/* [OPTIONAL] Enable these two rules to make the site responsive, so the
   @media block at the end of this file actually takes effect. Test all
   pages first: #header and #sidemenu are position:fixed at 150px and
   will overlap the content once the body column starts shrinking.

.container { max-width: 960px; width: 100%; }
#body      { max-width: 780px; width: 100%; }
*/

#header {
	position: fixed;
	float: left;
	align-content: center;
	width: 150px;
	height: 120px;
	top: 10px;
	margin: 0px auto;
	border: 0px solid #CCC;
	background: white;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

#sidemenu {
	position: fixed;
	float: left;
	top: 160px;
	width: 150px;
	border: 0px solid #CCC;
	list-style: none;
	margin: 0px auto;
	background: white;
	transform: translateZ(0);
	-webkit-transform: translateZ(0);
}

#footer {
	width: 960px;
	height: 100px;
	bottom: 0px;
	background-color: white;
}


/* --- side menu ---------------------------------------------------- */
#sidemenu li {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: normal;
	font-size: 100%;
}

#sidemenu a {
	background: white;
	border-bottom: 1px solid #00A6D6;
	border-left: 1px solid #00A6D6;
	border-right: 1px solid #00A6D6;
	border-radius: 6px;
	color: #00A6D6;
	display: block;
	padding: 8px 10px;
	text-decoration: none;
	font-weight: normal;
	font-size: 100%;
}

#sidemenu a.top {
	border-top: 1px solid #00A6D6;
}

#sidemenu a:hover {
	background: #afc2f0 left center no-repeat;
	color: #00A6D6;
	padding-bottom: 8px;
}

#sidemenu .box {
	border: 1px solid #00A6D6;
	border-radius: 6px;
	background: white;
	height: 40px;
	display: block;
}

#sidemenu a.image {
	border: 0px solid #00A6D6;
	border-radius: 10px;
	float: left;
	padding: 8px 2px;
	margin-left: 14px;
}

#sidemenu a.image:hover {
	background: #afc2f0 left center no-repeat;
	border: 1px solid #00A6D6;
	border-radius: 8px;
	color: white;
	padding-bottom: 8px;
}


/* --- typography --------------------------------------------------- */
b {
	font-weight: bold;
}

a {
	color: #527ddf;
	font-weight: normal;
	font-size: 16px;
	text-decoration: none;
}

a:hover {
	color: blue;
}

/* [FIXED] h1/h2 margins tightened from 0.83em to give the front page a
   cleaner rhythm against hr.heavy. Revert to 0.83em if other pages
   look too compressed. */
h1 {
	color: #00A6D6;
	font-weight: bold;
	font-size: 32px;
	margin-top: 1.6rem;
	margin-bottom: 0.6rem;
}

h1 small {
	color: #00A6D6;
	font-weight: bold;
	font-size: 22px;
	margin-top: 0.83em;
	margin-bottom: 0.83em;
}

h2 {
	color: #00A6D6;
	font-weight: bold;
	font-size: 24px;
	margin-top: 1.6rem;
	margin-bottom: 0.6rem;
}

h3 {
	color: #00A6D6;
	font-weight: bold;
	font-size: 20px;
	margin-top: 0.83em;
	margin-bottom: 0.83em;
}

h4 {
	color: #00A6D6;
	font-weight: bold;
	font-size: 18px;
	margin-top: 0.83em;
	margin-bottom: 0.83em;
}

p {
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
}


/* --- rules -------------------------------------------------------- */
hr.shadow {
	height: 12px;
	border: 0;
	box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.5);
}

/* [FIXED] margin added so the front page breathes without <div>&nbsp;</div> */
hr.heavy {
	height: 3px;
	border: 0;
	color: #00A6D6;
	width: 100%;
	background-color: #00A6D6;
	clear: both;
	margin: 2.5rem 0;
}

hr.light {
	height: 1px;
	border: 0;
	color: #00A6D6;
	width: 100%;
	background-color: #00A6D6;
	clear: both;
}

hr.transp {
	border: 0;
	height: 1px;
	background-image: -webkit-linear-gradient(left, rgba(0,0,0,1.0), rgba(0,0,0,0.5), rgba(0,0,0,0));
	background-image:    -moz-linear-gradient(left, rgba(0,0,0,1.0), rgba(0,0,0,0.5), rgba(0,0,0,0));
	background-image:     -ms-linear-gradient(left, rgba(0,0,0,1.0), rgba(0,0,0,0.5), rgba(0,0,0,0));
	background-image:      -o-linear-gradient(left, rgba(0,0,0,1.0), rgba(0,0,0,0.5), rgba(0,0,0,0));
}


/* --- images and shadows ------------------------------------------- */
.shadow {
	-moz-box-shadow: 3px 3px 4px #000;
	-webkit-box-shadow: 3px 3px 4px #000;
	box-shadow: 3px 3px 4px #000;
}

.shadow-rounded {
	position: relative;
	border: 2px solid #fff;
	-moz-box-shadow: 10px 10px 5px #ccc;
	-webkit-box-shadow: 10px 10px 5px #ccc;
	box-shadow: 10px 10px 5px #ccc;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
}

.shadow-rounded-wrap {
	float: left;
	position: relative;
	border: 2px solid #fff;
	-moz-box-shadow: 10px 10px 5px #ccc;
	-webkit-box-shadow: 10px 10px 5px #ccc;
	box-shadow: 10px 10px 5px #ccc;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	margin-right: 30px;
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 20px;
}

/* [NEW] front-page portrait: overrides the float/margins of
   .shadow-rounded-wrap, so keep it after that rule. */
.portrait {
	height: 160px;
	width: auto;
	float: right;
	margin: 0 0 1rem 1.5rem;
}


/* --- front page: lists -------------------------------------------- */
/* [NEW] */
.plain-list {
	list-style: none;
	padding-left: 0;
	margin: 0 0 .4rem;
}

.plain-list li {
	margin: .15rem 0;
}


/* --- front page: CV and profile links ------------------------------ */
/* [NEW] */
.resource-links {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	margin: 1.2rem 0 .2rem;
}

.resource-link {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .45rem .9rem;
	border: 1px solid rgba(0,0,0,.18);
	border-radius: 999px;
	text-decoration: none;
	line-height: 1;
	font-size: .95rem;
	transition: background-color .15s ease, border-color .15s ease;
}

.resource-link:hover,
.resource-link:focus-visible {
	background: rgba(0,0,0,.05);
	border-color: rgba(0,0,0,.4);
}

.resource-link,
.resource-link span,
.resource-link svg {
	color: #527ddf;
}

.resource-link:hover,
.resource-link:hover span,
.resource-link:hover svg {
	color: blue;
}

.resource-link img,
.resource-link svg {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex: 0 0 auto;
}

.resource-meta {
	opacity: .6;
	font-size: .85em;
}


/* --- research topics ---------------------------------------------- */
.research-section {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px;
}

.topic-section {
	margin-top: 1rem;
}

.topic-container {
	margin: 0 0 2.5rem;
}

/* [MERGED] your justify/indent rules plus a measure cap */
.topic-text {
	max-width: 68ch;
	text-align: justify;
	line-height: 1.6;
	margin-bottom: 20px;
	padding-left: 5px;
}

/* [MERGED] your rounding/shadow plus overflow protection */
.topic-img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.img-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	margin-top: .9rem;
}

.img-row .topic-img          { width: auto; }
.img-row--sm .topic-img      { height: 150px; }
.img-row--md .topic-img      { height: 200px; }
.img-row .topic-img.short    { height: 100px; }

.topic-img--wide {
	width: 600px;
	margin-top: .9rem;
}


/* --- people cards -------------------------------------------------- */
.people-card {
	margin: 0px 0px 20px 0px;
	float: left;
	width: 40%;
	margin-left: 10px;
	margin-right: 20px;
	margin-top: 20px;
}

.people-card img {
	float: left;
	width: 80px;
	height: 80px;
	position: relative;
	border: 1px solid #fff;
	-moz-box-shadow: 4px 4px 2px #ccc;
	-webkit-box-shadow: 4px 4px 2px #ccc;
	box-shadow: 4px 4px 2px #ccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin-left: 2px;
	margin-right: 6px;
}

.people-card name {
	color: black;
	font-weight: bold;
	font-size: 18px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.people-card a {
	color: #527ddf;
	font-weight: normal;
	font-size: 16px;
	text-decoration: none;
	margin-top: 1px;
	margin-bottom: 1px;
}

.people-card a:hover {
	color: blue;
}

.people-card email {
	color: #777777;
	font-weight: normal;
	font-size: 16px;
	margin-top: 1px;
	margin-bottom: 2px;
}


/* --- event cards --------------------------------------------------- */
.event-card {
	word-wrap: break-word;
	overflow-wrap: break-word;
	float: left;
	width: 80%;
	margin-left: 10px;
	margin-right: 20px;
	margin-top: 5px;
}

.event-card type {
	word-wrap: break-word;
	overflow-wrap: break-word;
	color: black;
	font-weight: bold;
	font-size: 18px;
	display: inline-block;
	margin-bottom: 6px;
}

.event-card location,
.event-card event {
	word-wrap: break-word;
	overflow-wrap: break-word;
	color: black;
	font-weight: normal;
	font-size: 16px;
	margin-bottom: 6px;
}

.event-card date {
	color: black;
	font-weight: normal;
	font-size: 16px;
}

.event-card a {
	word-wrap: break-word;
	overflow-wrap: break-word;
	color: #527ddf;
	font-weight: normal;
	font-size: 16px;
	text-decoration: none;
}

.event-card a:hover {
	color: blue;
}


/* --- news ---------------------------------------------------------- */
.newsbox {
	background: #afc2f0;
	border-radius: 1.2em;
	border: none;
	margin: 1em 2em 1em 0em;
	padding: 0.2em;
	color: black;
	font-weight: bold;
	font-size: 20px;
	padding-left: 1.0em;
	padding-bottom: 1.2em;
	outline: none;
	box-shadow: 0 4px 6px -5px hsl(0, 0%, 40%), inset 0px 4px 6px -5px hsl(0, 0%, 2%);
}

.newsbox img {
	width: 48px;
	height: 48px;
	float: left;
	margin-left: 4px;
	margin-right: 14px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	border: 0px solid #fff;
	border-radius: 0px;
	box-shadow: 0px 0px 0px #ccc;
	vertical-align: middle;
}

p.news {
	line-height: 40px;
	color: black;
	font-weight: bolder;
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 2px;
	margin-left: 0;
	margin-right: 0;
}

p.date {
	color: black;
	text-decoration: underline;
	font-size: 18px;
	margin-top: 0;
	margin-bottom: 2px;
	margin-left: 0;
	margin-right: 0;
}


/* --- bibliography cards -------------------------------------------- */
.bib-card {
	margin: 20px 2px 20px 2px;
	width: 80%;
	height: 180px;
	border: 0px solid #000;
}

.bib-card img {
	float: left;
	width: 160px;
	height: 160px;
	position: relative;
	border: 1px solid #fff;
	-moz-box-shadow: 4px 4px 2px #ccc;
	-webkit-box-shadow: 4px 4px 2px #ccc;
	box-shadow: 4px 4px 2px #ccc;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin-left: 0px;
	margin-right: 10px;
}

.bib-card paper {
	color: black;
	font-weight: bold;
	font-size: 16px;
	margin-left: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.bib-card authors {
	color: #333;
	font-weight: normal;
	font-size: 14px;
	margin-top: 1px;
	margin-bottom: 2px;
}

.bib-card highlight {
	color: red;
	font-weight: bold;
	font-size: 14px;
	margin-top: 1px;
	margin-bottom: 2px;
	line-height: 20px;
}

.bib-card p {
	color: #333;
	font-weight: normal;
	font-size: 14px;
	margin-top: 1px;
	margin-bottom: 2px;
	line-height: 20px;
}

.bib-card a {
	color: #527ddf;
	font-weight: normal;
	font-size: 14px;
	text-decoration: none;
	margin-top: 1px;
	margin-bottom: 1px;
}

.bib-card a:hover {
	color: blue;
}


/* --- icons and misc ------------------------------------------------ */
.icon {
	float: left;
}

.icon img {
	width: 32px;
	height: 32px;
	float: left;
	margin-left: 4px;
	margin-right: 4px;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 0px;
	border: 0px solid #fff;
	border-radius: 0px;
	box-shadow: 0px 0px 0px #ccc;
	vertical-align: middle;
}

ul.square {
	list-style-type: square;
	padding: 0px 15px;
	margin: 0px;
}

li.square {
	padding: 5px;
	margin: 5px;
}


/* --- small screens -------------------------------------------------
   [NEW] Inert until .container and #body use max-width (see the
   OPTIONAL block near the top of this file).
   ------------------------------------------------------------------ */
@media (max-width: 700px) {
	.portrait {
		float: none;
		display: block;
		margin: 0 0 1rem;
	}

	.topic-img--wide {
		width: 100%;
	}

	.img-row--sm .topic-img,
	.img-row--md .topic-img,
	.img-row .topic-img.short {
		height: auto;
		width: 100%;
	}
}
