body {
   font-family: 'Gill Sans', sans-serif;
   font-size: 1em;
   color: #330066;
   background-color: #FFFFFF;
   margin: 0;
   padding: 10px 20px 20px 20px;
}

samp {
   font-size: 1.3em;
}

a {
   color: #330066;
   background-color: #FFFFFF;
}

sup a {
   text-decoration: none;
}

hr {
   margin-left: 90px;
   height: 1px;
   color: #330066;
   background-color: #000000;
   border: none;
}

#logo {
   margin-bottom: 10px;
   margin-left: 28px;
}

.text {
   width: 80%;
   margin-left: 90px;
   line-height: 140%;
}

img.fullwidth {
	width: 100%;
}

.site-title {
	margin: 1em 0;
}

/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #330066;
  text-decoration: none;
}

/* Custom default button */
.btn-secondary,
.btn-secondary:hover,
.btn-secondary:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: .05rem solid #fff;
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #fff;
}

body {
  display: -ms-flexbox;
  display: flex;
}

.cover-container {
  max-width: 60em;
}

/*
 * Cover
 */
.cover {
  padding: 2rem;
  border: 1px solid white;
}
.cover .btn-lg {
  padding: .75rem 1.25rem;
  font-weight: 700;
}


/*
 * Footer
 */
.mastfoot {
  color: rgba(255, 255, 255, .5);
}

.bd-placeholder-img {
	font-size: 1.125rem;
	text-anchor: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

@media (max-width: 576px) {
	ul.navlinks {
		padding-left: 0px;
	}
	ul.navlinks li {
		display: inline;
		padding: 0 10px;
	}
	
	ul.navlinks > :not(:first-child) {
		border-left: 1px solid #330066;
	}
	
	#pc-img, .site-title {
		display: none;
	}
	
	#page-title {
		display: none;
	}
}

@media (min-width: 576px) {
	.bd-placeholder-img-lg {
		font-size: 3.5rem;
	}
	.cover {
	  padding: 15vh 0;
	}
	ul.navlinks {
		font-size: 120%;
		padding-left: 0px;
		margin-left: 0px;
		border-top: 1px dotted #330066;
	}
	ul.navlinks li {
		list-style: none;
		text-align: left;
		border-bottom: 1px dotted #330066;
	}
	#cell-img {
		display: none;
	}
}


#cell-img {
	padding: 1em;
}

a:hover {
	text-shadow: 2px 0 2px grey;
}

.uncentred > p, .uncentred > h5 {
	text-align: left;
}

.uncentred > .lead {
	text-align: center;
}

.degree, .appointment, .module {
	margin-left: 1em;
}

.degree > .name, .appointment > .name, .module > .name {
	display: block;
}

.degree > .name > .subject, .appointment > .name > .subject, .module > .name > .subject {
	display: inline;
	color: #999999;
}

.degree > .institution, .appointment > .institution, .module > .institution {
	display: flex;
}

.degree > .years, .appointment > .years, .module > .years {
	display: inline;
}

.module > .institution > .years {
	display: block;
	font-style: italic;
	color: #999999;
}

.degree > .institution > .years::before {
	content: ', ';
}

.appointment > .institution > .years::before, .appointment > .institution > .years::after {
	content: '. ';
}

.employer::before {
	font-style: normal;
	content: 'Under ';
	color: #999999;
}

.degree > .dissertation {
	display: block;
	font-style: italic;
	color: #999999;
}

.dissertation::before {
	font-style: normal;
	content: 'Dissertation Title: ';
	color: #330066;
}

.degree > .dissertation-topic {
	display: block;
	font-style: italic;
	color: #999999;
}

.dissertation-topic::before {
	font-style: normal;
	content: 'Subject of Research: ';
	color: #330066;
}

.module > .level {
	display: block;
	color: #999999;
}

.module > .level::before {
	font-style: normal;
	content: 'Level: ';
	color: #330066;
}

.module > .institution {
	display: block;
	color: #999999;
}

.module > .institution::before {
	font-style: normal;
	content: 'Institution: ';
	color: #330066;
}

.module > .years {
	display: block;
	color: #999999;
}

.module > .years::before {
	font-style: normal;
	content: 'Years: ';
	color: #330066;
}

.disciplines {
	display: inline;
	font-style: normal;
}

.disciplines::before {
	content: ' [';
}

.disciplines::after {
	content: ']';
}

.experience {}

.organisation {
	display: block;
	font-size: 120%;
}

.job-title {
	display: block;
	margin-left: 1em;
	margin-top: 1em;
	color: #999999;
}

.description {
	display: block;
	font-style: italic;
	margin-top: 0.5em;
	margin-left: 1em;
}

h4 {
	margin-top: 2em;
}


.presentation {margin-left: 1em;}
.presentation .author {}
.presentation .title {font-style: italic;}
.presentation .title::after {content: '. ';}
.presentation .type::after {content: '.'}
.presentation .occasion {display:block;}
.presentation .date::after {content: ' - ';}
.presentation .location {}

.publication {margin-left: 1em;}
.publication .author {}
.publication .author::after {content: '. ';}
.publication .title {font-style: italic;}
.publication .title::after {content: '. ';}
.publication .details {}
.publication .details::after {content: '. ';}
.publication .date::after {content: '. ';}
.publication .download {display: block;}
.publication .download::before {content: '[';}
.publication .download::after {content: ']';}
