body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI",  "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans",
    "Droid Sans", "Helvetica Neue", sans-serif;
  /*height: 100vh;*/
}

h2 {
  /*font-variant: small-caps;*/

}

.basic-content.h1 {
  text-transform: uppercase;
}

h2.label {
  margin: 0;
  font-size: 1.0rem;
}

aside h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2em;
}

aside h2 {
  margin-bottom: 0.25em;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 1.4rem;
}

aside h3 {
  margin-bottom: 0.25em;
  margin-top: 1.0em;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 1px;
  font-size: 1.0rem;
}

#container {
  height: 100%;
  width: 100%;
  max-width: 1200px;
  display: table;
}

aside {
  padding: 1em;

  color: white;
  background-color: #2b3c4d;
}

@media only screen and (max-device-width: 640px) {
  #container-row {
    display: flex;
    flex-flow: column;
  }

  main {
    padding: 2rem;
    order: 1;
  }

  aside {
    order: 2;
  }

  aside h1.name, aside h2.label {
    display: none;
  }

  main h1.name, main h2.label {
    text-align: center;
  }

  main h1.name {
    margin: 0;
  }

  main h2.label {
    margin-bottom: 2rem;
  }

  footer {
    margin-top: 1rem;
  }

  table.main-content tr:nth-child(odd) td:last-child {
    display: none;
  }

  table.main-content tr:nth-child(even) td:nth-child(1) {
    display: none;
  }

  .team {
    text-align: right;
  }
}

@media only screen and (min-device-width: 640px) {
  main {
    display: table-cell;
  }

  aside {
    display: table-cell;
    width: 30%;
    min-width: 18rem;

    position: relative;
  }

  #container-row {
     display: table-row;
  }

  .sidebar-footer {
    position: absolute;
    bottom: 2em;
  }

  .sidebar-spacer {
    height: 7em;
  }

  main h1.name, main h2.label {
    display: none;
  }

  footer {
    margin-bottom: 1rem;
  }

  table.main-content tr:nth-child(odd) td:nth-child(2) span {
    display: none;
  }
}


@media only screen and (min-device-width: 1200px) {
  #container {
    margin: 1em auto;
  }

  main {
    border-top: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 3px solid #e0e0e0;
    border-radius: 3px;
  }
}


main {
  background-color: #fafafa;
}

main h1 {
  /*font-variant: all-small-caps;*/
}

.main-content {
  padding: 0 1rem;
  margin: 0;
}

table.main-content {
  width: 100%;
}

table.main-content tr td:first-child {
  /*text-align: center;*/
}

table.main-content tr:nth-child(odd) td:last-child {
  text-align: right;
}

table.main-content ul {
  margin-top: 0;
}

.sidebar-content {
  width: 100%;
}

.sidebar-content td:last-child {
  text-align: right;
  padding-right: 1.5rem;
}

.sidebar-content td:first-child {
  font-size: x-large;
  width: 1px;
}

.sidebar-content td:first-child > * {
  vertical-align: middle;
}

.sidebar-content td:first-child > i {
  height: 1.0em;
  width: 1.0em;
}

.sidebar-content td > i {
  padding: 0.2em;
  color: white;
  font-size: smaller;
  vertical-align: middle;
}

.sidebar-content td > i.inactive {
  color: #52606e;
}

.sidebar-content a {
  color: white;
  text-decoration: none;
}

ul.keyword {
  padding: 0;
  margin: 0;
}

li.keyword {
  display: inline-block;
  zoom: 1;
  *display: inline;

  margin: 0.25em;
  padding: 0.2em 0.4em;
  background-color: #52606e;
  border-radius: 5px;

  font-size: 0.9rem;
}

ul#basics {
  list-style: none;
}

main span.basic-hex {
  width: 100%;
  line-height: 1.5em;
  font-size: 1.2rem;
  left: -1.0rem;
}

.basic-hex i {
  left: 0.32em;
  text-align: left;
}

.hexagon-border {
  transform: scale(1.2, 1.2);
  background-color: #fafafa !important;
}

.hexagon-border:before {
  border-bottom-color: #fafafa !important;
}

.hexagon-border:after {
  border-top-color: #fafafa !important;
}

.hexagon {
  position: absolute;
  width: 2rem;
  height: calc(2rem * 0.5773);
  margin: calc(2rem * 0.16) 0;
  background-color: #2b3c4d;
}

.hexagon:before,
.hexagon:after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 1rem solid transparent;
  border-right: 1rem solid transparent;
}

.hexagon:before {
  bottom: 100%;
  border-bottom: calc(2rem * 0.28866) solid #2b3c4d;
}

.hexagon:after {
  top: 100%;
  width: 0;
  border-top: calc(2rem * 0.28866) solid #2b3c4d;
}

span .basic-content {
  margin-left: 2.5rem;
  position: absolute;
  font-size: smaller;
}

.basic-content a {
  color: black;
  text-decoration: none;
}

.basic-content.h1 {
  /*font-weight: 600;*/
  font-size: 1.4rem;
}

.basic-content.h2 {
  font-style: italic;
  font-size: 1.2rem;
  margin-left: 1.2rem;
  margin-bottom: 1rem;
}

span.nobr {
  white-space: nowrap;
}

td span.date {
  margin: 0 1rem;
}

footer {
  text-align: center;
  font-style: italic;
}

a {
  color: black;
  text-decoration: none;
}

.team {
  margin-top: 0;
}

.country-flag {
  margin-bottom: 6px;
  height: 0.75em;
  width: 0.75em;
}
