html {
  background-color: #efefef;
}
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  line-height: 1.4;
  background-color: #fff;
}
a:link,
a:visited,
a:hover,
a:active {
  color: #1316d2;
}

/* Header and top navigation */
header {
  border-bottom: 1px solid #c6c6c6;
  padding: 0.6em 1.25em;
  background-color: #efefef;
  margin-bottom: 1em;
}
header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  max-width: 740px;
  margin: 0 auto;
}

.nav {
  margin-right: 20px;
}

.nav ul {
  list-style: none;
  display: flex;
}

.nav li {
  margin-left: 30px;
}

.nav a {
  text-decoration: none;
}

@media (max-width: 600px) {
  header .header-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .nav {
    margin-right: 0;
    margin-bottom: 0;
    text-align: left;
    width: 100%;
  }
  .nav ul {
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 0.5em;
  }
  .nav li {
    margin-left: 0;
    margin-right: 30px;
  }
}

/* Form inputs */
input[type="text"],
input[type="password"],
input[type="email"] {
  /* Get Mobile Safari to accept my styles */
  -webkit-appearance: none;
}
input[type="text"],
input[type="password"],
input[type="email"] {
  border: 1px solid #777;
  padding: 0.2em;
}
form.logout {
  display: inline;
}
form.logout input[type="submit"] {
  border: none;
  /* Looks like a regular link */
  background-color: transparent;
  color: #1316d2;
  cursor: pointer;
  font-size: 1em;
  font-family: sans-serif;
}
@media only screen and (max-width: 595px) {
  form.logout {
    width: 100%;
  }
}
.content-box {
  max-width: 800px;
  margin: 0 auto;
}
table th {
  text-align: left;
  vertical-align: top;
  padding-right: 1em;
}
table.table td,
table.table th {
  padding: 0.3em 1em 0.3em 0;
}
table.form textarea {
  max-width: 90%;
}
span.helptext {
  line-height: 1.6;
  font-size: 0.8em;
  color: #666;
}
footer .footer-inner {
  max-width: 740px;
  margin: 0 auto;
}
footer,
.staff-tools {
  border-top: 1px solid #c6c6c6;
  padding: 0.6em 1.25em;
  background-color: #efefef;
  margin-top: 4em;
  font-size: 0.8em;
}
.staff-tools {
  text-align: center;
}
footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
  color: navy;
  text-decoration: none;
}
#content {
  padding: 0em 1.25em;
  min-height: 300px;
  max-width: 740px;
  margin: 0 auto;
}
.button {
  box-shadow: inset 0px 1px 0px 0px #54a3f7;
  background-color: #007dc1;
  border-radius: 3px;
  border: 1px solid #124d77;
  display: inline-block;
  font-size: 1em;
  cursor: pointer;
  color: #ffffff;
  padding: 0.3em 1em;
  text-decoration: none;
  text-shadow: 0px 1px 0px #154682;
}
a.button:link,
a.button:visited,
a.button:hover,
a.button:focus,
a.button:active {
  color: #ffffff;
}
.button:hover {
  background-color: #0061a7;
}
.button:active {
  position: relative;
  top: 1px;
}
.button-small {
  font-size: 0.7em;
}
.button-red {
  background-color: red;
  box-shadow: inset 0px 1px 0px 0px #e69999;
  border: 1px solid darkred;
}
.button-red:hover {
  background-color: #ca0000;
}
.pending-invitations {
  background-color: #8fe690;
  padding: 0.5em;
}
.info {
  background-color: #d3f5fb;
  border: 1px solid #ccc;
  padding: 0.5em;
  max-width: 600px;
  background-repeat: no-repeat;
  background-size: 30px 30px;
  padding-left: 38px;
  background-position: 5px 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 256 256' width='256' height='256'%3E%3Cpath d='m128 22.158a105.84 105.84 0 0 0 -105.84 105.84 105.84 105.84 0 0 0 105.84 105.84 105.84 105.84 0 0 0 105.84 -105.84 105.84 105.84 0 0 0 -105.84 -105.84zm0 32.76c5.16 0.117 9.55 1.875 13.18 5.273 3.34 3.575 5.07 7.94 5.19 13.096-0.12 5.156-1.85 9.404-5.19 12.744-3.63 3.75-8.02 5.625-13.18 5.625s-9.4-1.875-12.74-5.625c-3.75-3.34-5.63-7.588-5.63-12.744s1.88-9.521 5.63-13.096c3.34-3.398 7.58-5.156 12.74-5.273zm-16.35 53.792h32.79v92.37h-32.79v-92.37z' fill-rule='evenodd' fill='%2372a7cf'/%3E%3C/svg%3E");
}
.pending-invitations h3 {
  margin-top: 0.5em;
}
.pending-invitations p {
  margin: 0.5em 0;
}
section.prose {
  max-width: 800px;
}

.messages {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.messages li {
  padding: 1rem 1rem 1rem 2.5rem;
  margin-bottom: 1rem;
  background-color: rgba(103, 201, 141, 0.3);
}
.messages .warning {
  background-color: rgba(245, 166, 35, 0.3);
}
.messages .error {
  background-color: rgba(208, 2, 27, 0.3);
}

.need-invite-code {
  background-color: rgba(103, 201, 141, 0.3);
  padding: 0.25em 0.75em;
}
.need-invite-code label {
  padding-right: 1em;
}
/* Blog content */
article img,
article video {
  max-width: 100%;
}
article h1,
article h2 {
  margin-bottom: 0;
}
article h2 a {
  text-decoration: none;
}
article a {
  word-break: break-word;
}
article p.dateline {
  margin-top: 0.2em;
  color: #666;
}
article pre {
  overflow: auto
}
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.codehilite .hll { background-color: #ffffcc }
.codehilite .c { color: #3D7B7B; font-style: italic } /* Comment */
.codehilite .err { border: 1px solid #FF0000 } /* Error */
.codehilite .k { color: #008000; font-weight: bold } /* Keyword */
.codehilite .o { color: #666666 } /* Operator */
.codehilite .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.codehilite .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.codehilite .cp { color: #9C6500 } /* Comment.Preproc */
.codehilite .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.codehilite .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.codehilite .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.codehilite .gd { color: #A00000 } /* Generic.Deleted */
.codehilite .ge { font-style: italic } /* Generic.Emph */
.codehilite .gr { color: #E40000 } /* Generic.Error */
.codehilite .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.codehilite .gi { color: #008400 } /* Generic.Inserted */
.codehilite .go { color: #717171 } /* Generic.Output */
.codehilite .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.codehilite .gs { font-weight: bold } /* Generic.Strong */
.codehilite .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.codehilite .gt { color: #0044DD } /* Generic.Traceback */
.codehilite .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.codehilite .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.codehilite .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.codehilite .kp { color: #008000 } /* Keyword.Pseudo */
.codehilite .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.codehilite .kt { color: #B00040 } /* Keyword.Type */
.codehilite .m { color: #666666 } /* Literal.Number */
.codehilite .s { color: #BA2121 } /* Literal.String */
.codehilite .na { color: #687822 } /* Name.Attribute */
.codehilite .nb { color: #008000 } /* Name.Builtin */
.codehilite .nc { color: #0000FF; font-weight: bold } /* Name.Class */
.codehilite .no { color: #880000 } /* Name.Constant */
.codehilite .nd { color: #AA22FF } /* Name.Decorator */
.codehilite .ni { color: #717171; font-weight: bold } /* Name.Entity */
.codehilite .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.codehilite .nf { color: #0000FF } /* Name.Function */
.codehilite .nl { color: #767600 } /* Name.Label */
.codehilite .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
.codehilite .nt { color: #008000; font-weight: bold } /* Name.Tag */
.codehilite .nv { color: #19177C } /* Name.Variable */
.codehilite .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
.codehilite .w { color: #bbbbbb } /* Text.Whitespace */
.codehilite .mb { color: #666666 } /* Literal.Number.Bin */
.codehilite .mf { color: #666666 } /* Literal.Number.Float */
.codehilite .mh { color: #666666 } /* Literal.Number.Hex */
.codehilite .mi { color: #666666 } /* Literal.Number.Integer */
.codehilite .mo { color: #666666 } /* Literal.Number.Oct */
.codehilite .sa { color: #BA2121 } /* Literal.String.Affix */
.codehilite .sb { color: #BA2121 } /* Literal.String.Backtick */
.codehilite .sc { color: #BA2121 } /* Literal.String.Char */
.codehilite .dl { color: #BA2121 } /* Literal.String.Delimiter */
.codehilite .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.codehilite .s2 { color: #BA2121 } /* Literal.String.Double */
.codehilite .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.codehilite .sh { color: #BA2121 } /* Literal.String.Heredoc */
.codehilite .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.codehilite .sx { color: #008000 } /* Literal.String.Other */
.codehilite .sr { color: #A45A77 } /* Literal.String.Regex */
.codehilite .s1 { color: #BA2121 } /* Literal.String.Single */
.codehilite .ss { color: #19177C } /* Literal.String.Symbol */
.codehilite .bp { color: #008000 } /* Name.Builtin.Pseudo */
.codehilite .fm { color: #0000FF } /* Name.Function.Magic */
.codehilite .vc { color: #19177C } /* Name.Variable.Class */
.codehilite .vg { color: #19177C } /* Name.Variable.Global */
.codehilite .vi { color: #19177C } /* Name.Variable.Instance */
.codehilite .vm { color: #19177C } /* Name.Variable.Magic */
.codehilite .il { color: #666666 } /* Literal.Number.Integer.Long */
