﻿body {
  font-family: Constantia, 'Times New Roman', serif;
  text-align: justify;
  font-size: 0.9em;
  /*line-height: 125%;*/
  padding: 1em;
}
/* Stop link underlines bleeding into following space */
ol li a, a.trim {
  display: inline-block;
}
abbr {
  display: inline-block;
}
h1 {
  font-family: Constantia, 'Times New Roman', serif;
  text-align: center;
  font-size: 150%;
}
div.sectionheader {
  margin-top: 3em;
  position: relative;
  color: white;
  background-color:gray;
}
img.sectionheader {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}
h2 {
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
  font-weight: bold;
  font-family: Corbel, Helvetica, sans-serif;
}
div.introduction {
  font-size: 110%;
  line-height: 125%;
}
table {
  width: 100%;
  border-collapse: collapse;
}
table.privatedetails {
  font-size: larger;
  font-weight: bold;
}
td.version {
  font-size: small;
  font-weight: normal;
  text-align: left;
}
td.profile {
  font-size: small;
  font-weight: normal;
  text-align: right;
}
td {
  border-style: solid;
  border-width: thin;
  border-color: #eeeeee;
  vertical-align: bottom;
  padding: 0.2em;
}
tr > td + td {
  text-align: center;
}
tr > td + td + td {
  text-align: right;
}
th {
  font-weight: normal;
  font-style: italic;
}
th._skill {
  vertical-align: top;
}
th.award, th.experience {
  color: #cccccc;
  font-size: smaller;
  text-align: right;
}
td.title, td.name, td.address, td.email, td.telephone, td.dateofbirth,
td.grade, td.period, td.institution, td.employer, td.period, td.when, td.location {
  font-family: Corbel, Helvetica, sans-serif;
  font-size: 110%;
  font-weight: bold;
}
td.title, td.employer {
  text-align: left;
}
div.ganttchart {
  position: relative;
  width: 90%;
  font-size: 75%;
  margin-left: auto;
  margin-right: auto;
  border: black solid thick;
}
table.ganttchart tr.timeline {
  height: 5em;
}
table.ganttchart tr.timeline div.timeline {
  position: relative;
  height: 4em;
  margin-left: 0.5em;
  margin-right: 0.5em;
}
table.ganttchart tr.timeline span.label {
  position: absolute;
  text-align: center;
  width: 4em;
  /* Some CSS3 to rotate text 90deg. Not widely supported yet */
  transform-origin: 0% 50%;
  -moz-transform-origin: 0% 50%;
  -webkit-transform-origin: 0% 50%;
  -o-transform-origin: 0% 50%;
  transform: rotate(90deg) translateX(-1em);
  -moz-transform: rotate(90deg) translateX(-1em);
  -webkit-transform: rotate(90deg) translateX(-1em);
  -o-transform: rotate(90deg) translateX(-1em);
}
table.ganttchart td.label {
  text-align: right;
  width: 250px;
}
table.ganttchart td.period {
  width: auto;
}
table.ganttchart td.period div {
  height: 12px;
  vertical-align: middle;
}
table.ganttchart td.period div div {
  border: 0;
  height: 0px;
  margin-top: 1px;
  border-top: 10px solid black; /* Forces printing */
  /*background-color: black;*/
}
table.skillsgroup td {
	text-align: center;
}
table.recognitions td.when {
  min-width: 5em;
}
td._specificskill {
  font-family: Corbel, Helvetica, sans-serif;
  font-size: smaller;
  text-align: center;
  vertical-align: middle;
}
/* First column */
table.experience tbody tr td.title, table.experience tbody tr td.employer {
  width: auto;
}
/* Middle column */
table.experience tbody tr td.href, table.experience tbody tr td.earnings {
  width: 12em;
  font-size: smaller;
}
/* Last column */
table.experience tbody tr td.period, table.experience tbody tr td.location {
  width: 10em;
  min-width: 10em;
}
tr.spacer {
  height: 2em;
  border: none;
}
tr.spacer * {
  border: none;
}
table.publications tr td {
  padding-left: 2em;
  text-indent: -2em;
}

ul li, ol li {
  margin-bottom: 0.5em;
}

div.employers, div.roles, div.books, div.publications, div.itreferences {
  column-width: 20em;
  -moz-column-width: 20em;
  -webkit-column-width: 20em;
}
div.books, div.publications, div.itreferences {
  font-size: 90%;
}
div.employers ul, div.roles ul, div.books ul, div.publications, div.itreferences ul {
  margin: 0;
}
div.employers ul li, div.roles ul li, div.books ul li, div.publications, div.itreferences ul li {
  break-inside: avoid;
  -moz-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-top: 4px;
  margin-bottom: 4px;
}
