/* Peter Butcher CV */
/* Copyright Peter Butcher 2024 */

html,
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 0.85em;
}

.page-break {
  break-after: page;
}

.wrapper {
  margin: 0px;
  background-color: #ffffff;
  padding: 0px;
  width: auto;
  border-radius: 0px;
  box-shadow: none;
}

heasder.page-header,
.back,
.menu,
.show-menu,
.close-menu,
h1.title,
.printcv,
.scroll-nav,
.scroll-nav-item,
.scroll-to-top {
  display: none;
}

footer {
  display: none;
}

/* Main Header */

header.main-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

/* Left section*/
header.main-header div:first-child {
  text-align: left;
  align-self: flex-end;
}

header.main-header div:first-child h2 {
  margin-bottom: 0;
}

/* Right section */
header.main-header div:last-child {
  text-align: right;
  font-style: italic;
  color: #245e96;
  line-height: 1.4;
}

header.main-header div:last-child p:first-child {
  margin-top: 0px;
}

header.main-header div:last-child p:last-child {
  margin-bottom: 0px;
}

header.main-header div:last-child a {
  text-decoration: none;
  color: inherit;
}

header.main-header div:last-child i {
  margin-left: 5px;
}

/* Headings */

h1 {
  font-weight: 400;
  margin-bottom: 5px;
  font-size: 2.5em;
}

h2 {
  font-weight: 400;
  margin-top: 0;
  font-style: italic;
}

/* Sections */

main > header {
  display: flex;
  font-size: 1.25em;
  margin-top: 30px;
  margin-bottom: 20px;
}

main header h3 {
  position: relative;
  background-color: #ffffff;
  white-space: nowrap;
  margin: 0px 15px 0px 0px;
}

main header .header-line {
  height: 1px;
  background-color: #245e96;
  width: 100%;
  align-self: center;
}

/* Listings */

.listing {
  margin-top: 20px;
}

.list-item {
  margin-bottom: 10px;
}

.list-item header {
  display: flex;
  font-size: 1em;
  margin-top: 12px;
}

.list-item header .list-item-icon {
  width: 34px;
  font-size: 1.5em;
  color: #245e96;
  flex: none;
}

.list-item header h4 {
  position: relative;
  margin: 0;
  font-size: 1.25em;
  font-weight: 500;
}

.list-item header h4.current-position::after {
  position: absolute;
  content: "current position";
  white-space: nowrap;
  background-color: #245e96;
  padding: 3px;
  font-size: 0.6em;
  color: white;
  text-transform: uppercase;
  margin-top: 1px;
  margin-left: 12px;
  font-weight: 700;
}

.list-item header .list-item-datestamp {
  font-style: italic;
  font-weight: 300;
  font-size: 1em;
  text-align: right;
  flex-grow: 1;
}

.list-item-content {
  margin: 0px 0px 0px 34px;
  /* margin-left: 34px; */
  font-size: 0.9em;
  line-height: 1.7em;
}

.list-item .list-item-record {
  display: flex;
  font-size: 0.9em;
  line-height: 1.7em;
}

.list-item-record .list-item-record-index {
  min-width: 24px;
  font-weight: 700;
  flex: none;
  margin-right: 10px;
}

.list-item-record .list-item-record-index.wide {
  min-width: 75px;
  font-weight: 700;
  flex: none;
  margin-right: 10px;
}

.list-item-record .list-item-record-index.datestamp {
  font-weight: 400;
}

.list-item-record .list-item-record-content p {
  margin: 0;
}

.list-item-record .list-item-record-content p:not(:first-child) {
  color: #245e96;
  font-style: italic;
}

.sub-heading {
  white-space: nowrap;
  display: block;
  min-width: 105px;
  margin-right: 15px;
}

.sub-heading-wide {
  white-space: nowrap;
  display: block;
  min-width: 175px;
  margin-right: 15px;
}

.doi,
.isbn,
.hdl,
.url {
  font-family: monospace;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
