/* vim: set tabstop=2 shiftwidth=2 expandtab smarttab: */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11.5pt;
  font-weight: 300;
  line-height: 1.5;
}

b, strong {
  font-weight: 700;
}

header, section, footer, nav {
  display: block;
}

.fakelink {
  cursor: pointer;
}

a, .fakelink {
  text-decoration: none;
  transition: text-shadow 0.1s;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
}

h1 a, h2 a, h3 a, nav a, footer a,
h1 .fakelink, h2 .fakelink, h3 .fakelink, nav .fakelink, footer .fakelink {
  color: inherit;
  text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, nav a:hover, footer a:hover,
h1 .fakelink:hover, h2 .fakelink:hover, h3 .fakelink:hover, nav .fakelink:hover, footer .fakelink:hover {
  text-decoration: underline;
}

h1 {
  font-size: 1.6em;
}

h2 {
  font-size: 1.3em;
}

h3 {
  font-size: 1.2em;
}

.gf-fill-width, table.gf-fill-width {
  width: 100%;
  box-sizing: border-box;
}

input[type=range].gf-fill-width {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.gf-truncated {
  display: inline-block;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: "..";
  /* You should specify your own max-width when using this, and probably a title="" too */
}

.gf-smol-tag {
  font-variant: small-caps;
  cursor: default;
  display: inline-block;
  padding: 2px 3px;
  font-size: 80%;
  border-radius: 3px;
  margin: 0 2px;
  vertical-align: middle;
}

.dotted-underline {
  text-decoration: underline;
  text-decoration-style: dotted;
  -webkit-text-decoration-style: dotted;
}

.transition-background, .transition-background > * {
  transition: background-color 1.5s;
}

.desktop {
  display: none;
}

.screen-really-small {
  display: none;
}

/* large screens (desktop) */
@media print, screen and (min-width: 700px) {
  .desktop {
    display: revert;
  }

  .mobile {
    display: none;
  }
}

/* really small screens */
@media screen and (max-width: 374px) {
  .screen-really-small {
    display: revert;
  }

  .screen-reasonably-sized {
    display: none;
  }
}
