/*
	Site-specific overrides of the Dimension template.
	Loaded after main.css, so rules here win. Edit this file rather than main.css.
*/

/* Typeface: Lato (loaded in main.css), replacing the template's Source Sans Pro. */
body, input, select, textarea,
h1, h2, h3, h4, h5, h6,
#header nav ul li a, .button, #footer .copyright {
	font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Light body text; emphasis is one step heavier rather than full bold. */
body, input, select, textarea {
	font-weight: 300;
}

b, strong, h1, h2, h3, h4, h5, h6 {
	font-weight: 400;
}

/* Large headings (name, panel titles) in Lato Light; regular looks heavy at this size. */
h1, h2 {
	font-weight: 300;
}

/* Headings and nav stay in caps, with tighter letter-spacing. */
h1, h2, h3, h4, h5, h6 {
	letter-spacing: 0.1rem;
}

h1, h2 {
	letter-spacing: 0.2rem;
}

#header nav ul li a {
	letter-spacing: 0.1rem;
}

/* Front page: position and tagline in normal capitalization. */
#header .content p {
	text-transform: none;
	letter-spacing: normal;
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

#header .content .tagline {
	max-width: 32rem;
	margin: 0 auto 1.5rem auto;
	opacity: 0.9;
}

/* Front-page CV button. */
#header .content .cv-button {
	margin-bottom: 1rem;
}

/* Course details line (Teaching). */
.authors {
	font-size: 14px;
	margin-bottom: 1.75rem;
}

/* Gap between the address and the links on the Contact panel. */
#contact p {
	margin-bottom: 1.5rem;
}

/* Subscripts (e.g. CO2) as previously set inline in index.html. */
sub {
	vertical-align: super;
	font-size: 8pt;
}

/* Gap between the Software intro paragraph and the model lists. */
#software > p {
	margin-bottom: 1.5rem;
}

/* Inline-SVG icons (e.g. Bluesky) sized to match the Font Awesome icons in the circles. */
ul.icons li a.svg-icon svg {
	width: 1.2rem;
	height: 1.2rem;
	vertical-align: middle;
	position: relative;
	top: -0.1rem;
}

ul.icons li a {
	vertical-align: middle;
	border-bottom: 0;
}

/* ---------------------------------------------------------------------------- */
/* Text hierarchy inside panels: titles bright, supporting text muted.          */
/* ---------------------------------------------------------------------------- */

/* Small section labels with a thin rule (Software lists). */
h3.list-label {
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.15rem;
	color: rgba(255, 255, 255, 0.65);
	border-bottom: solid 1px rgba(255, 255, 255, 0.25);
	padding-bottom: 0.35rem;
	margin: 0 0 0.85rem 0;
}

/* Software entries: description muted, repo name stays white. */
#software ul {
	margin-bottom: 2.25rem;
}

#software ul li {
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 0.45rem;
}

#software ul li > b {
	color: #ffffff;
}

/* Teaching: one block per course; description indented and close to the course line. */
#teaching .course {
	margin-bottom: 2.25rem;
}

#teaching .course .authors {
	margin-bottom: 0.5rem;
	color: rgba(255, 255, 255, 0.85);
}

#teaching .course-desc {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.68);
	margin: 0;
	padding-left: 1rem;
	border-left: solid 1px rgba(255, 255, 255, 0.25);
}

/* About: space between the bio and the CV links. */
#about p {
	margin-bottom: 1.25rem;
}

#about .cv-links {
	margin-top: 2rem;
	margin-bottom: 0;
}

/* Papers: CV-style citations. Citation muted; title, your name and links stand out. */
.pub-note {
	font-size: 12px;
	font-style: italic;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 1.75rem;
}

ol.pubs {
	margin-bottom: 2.5rem;
	padding-left: 1.5rem;
}

ol.pubs li {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin-bottom: 1.1rem;
	padding-left: 0.35rem;
}

ol.pubs .me {
	color: #ffffff;
	font-weight: 400;
}

ol.pubs .pub-title {
	color: #ffffff;
}

ol.pubs .journal {
	color: rgba(255, 255, 255, 0.9);
}

ol.pubs .pub-extra {
	display: block;
	font-size: 12px;
	margin-top: 0.2rem;
	color: rgba(255, 255, 255, 0.6);
}

/* Links inside panels: soft light blue so they stand out from the grey text.
   (Menu buttons, icons and the CV button keep the template's white style.) */
#main article a {
	color: #8ec5f0;
	border-bottom-color: rgba(142, 197, 240, 0.45);
}

#main article a:hover {
	color: #bfdffa;
	border-bottom-color: transparent;
}
