/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0; }

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal; }

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px; }

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle; }

/**
 * Figures
 */
figure > img {
  display: block; }

figcaption {
  font-size: 14px; }

/**
 * Lists
 */
ul, ol {
  margin-left: 30px; }

li > ul,
li > ol {
  margin-bottom: 0; }

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400; }

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none; }
  a:visited {
    color: #1756a9; }
  a:hover {
    color: #111;
    text-decoration: underline; }
  .social-media-list a:hover {
    text-decoration: none; }
    .social-media-list a:hover .username {
      text-decoration: underline; }

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic; }
  blockquote > :last-child {
    margin-bottom: 0; }

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  background-color: #eef; }

code {
  padding: 1px 5px; }

pre {
  padding: 8px 12px;
  overflow-x: auto; }
  pre > code {
    border: 0;
    padding-right: 0;
    padding-left: 0; }

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - (30px * 2));
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px; }
  @media screen and (max-width: 800px) {
    .wrapper {
      max-width: -webkit-calc(800px - (30px));
      max-width: calc(800px - (30px));
      padding-right: 15px;
      padding-left: 15px; } }

/**
 * Clearfix
 */
.wrapper:after, .footer-col-wrapper:after {
  content: "";
  display: table;
  clear: both; }

/**
 * Icons
 */
.icon > svg {
  display: inline-block;
  vertical-align: middle; }
  .icon > svg path {
    fill: #828282; }

.social-media-list .icon {
  padding-right: 5px; }
.social-media-list li + li {
  padding-top: 5px; }

/**
 * Site header
 */
.site-header {
  border-top: 5px solid #424242;
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative; }

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left; }
  .site-title, .site-title:visited {
    color: #424242; }

.site-nav {
  float: right;
  line-height: 54px; }
  .site-nav .nav-trigger {
    display: none; }
  .site-nav .menu-icon {
    display: none; }
  .site-nav .page-link {
    color: #111;
    line-height: 1.5; }
    .site-nav .page-link:not(:last-child) {
      margin-right: 20px; }
  @media screen and (max-width: 600px) {
    .site-nav {
      position: absolute;
      top: 9px;
      right: 15px;
      background-color: #fdfdfd;
      border: 1px solid #e8e8e8;
      border-radius: 5px;
      text-align: right; }
      .site-nav label[for="nav-trigger"] {
        display: block;
        float: right;
        width: 36px;
        height: 36px;
        z-index: 2;
        cursor: pointer; }
      .site-nav .menu-icon {
        display: block;
        float: right;
        width: 36px;
        height: 26px;
        line-height: 0;
        padding-top: 10px;
        text-align: center; }
        .site-nav .menu-icon > svg path {
          fill: #424242; }
      .site-nav input ~ .trigger {
        clear: both;
        display: none; }
      .site-nav input:checked ~ .trigger {
        display: block;
        padding-bottom: 5px; }
      .site-nav .page-link {
        display: block;
        padding: 5px 10px;
        margin-left: 20px; }
        .site-nav .page-link:not(:last-child) {
          margin-right: 0; } }

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0; }

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px; }

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0; }

.footer-col-wrapper {
  font-size: 15px;
  color: #828282;
  margin-left: -15px; }

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px; }

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - (30px / 2)); }

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - (30px / 2)); }

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - (30px / 2)); }

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - (30px / 2)); }

  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2)); } }
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - (30px / 2)); } }
/**
 * Page content
 */
.page-content {
  padding: 30px 0; }

.page-heading {
  font-size: 20px; }

.post-list {
  margin-left: 0;
  list-style: none; }
  .post-list > li {
    margin-bottom: 30px; }

.post-meta {
  font-size: 14px;
  color: #828282; }

.post-link {
  display: block;
  font-size: 24px; }

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px; }

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1; }
  @media screen and (max-width: 800px) {
    .post-title {
      font-size: 36px; } }

.post-content {
  margin-bottom: 30px; }
  .post-content h2 {
    font-size: 32px; }
    @media screen and (max-width: 800px) {
      .post-content h2 {
        font-size: 28px; } }
  .post-content h3 {
    font-size: 26px; }
    @media screen and (max-width: 800px) {
      .post-content h3 {
        font-size: 22px; } }
  .post-content h4 {
    font-size: 20px; }
    @media screen and (max-width: 800px) {
      .post-content h4 {
        font-size: 18px; } }

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff; }
  .highlighter-rouge .highlight {
    background: #eef; }
  .highlight .c {
    color: #998;
    font-style: italic; }
  .highlight .err {
    color: #a61717;
    background-color: #e3d2d2; }
  .highlight .k {
    font-weight: bold; }
  .highlight .o {
    font-weight: bold; }
  .highlight .cm {
    color: #998;
    font-style: italic; }
  .highlight .cp {
    color: #999;
    font-weight: bold; }
  .highlight .c1 {
    color: #998;
    font-style: italic; }
  .highlight .cs {
    color: #999;
    font-weight: bold;
    font-style: italic; }
  .highlight .gd {
    color: #000;
    background-color: #fdd; }
  .highlight .gd .x {
    color: #000;
    background-color: #faa; }
  .highlight .ge {
    font-style: italic; }
  .highlight .gr {
    color: #a00; }
  .highlight .gh {
    color: #999; }
  .highlight .gi {
    color: #000;
    background-color: #dfd; }
  .highlight .gi .x {
    color: #000;
    background-color: #afa; }
  .highlight .go {
    color: #888; }
  .highlight .gp {
    color: #555; }
  .highlight .gs {
    font-weight: bold; }
  .highlight .gu {
    color: #aaa; }
  .highlight .gt {
    color: #a00; }
  .highlight .kc {
    font-weight: bold; }
  .highlight .kd {
    font-weight: bold; }
  .highlight .kp {
    font-weight: bold; }
  .highlight .kr {
    font-weight: bold; }
  .highlight .kt {
    color: #458;
    font-weight: bold; }
  .highlight .m {
    color: #099; }
  .highlight .s {
    color: #d14; }
  .highlight .na {
    color: #008080; }
  .highlight .nb {
    color: #0086B3; }
  .highlight .nc {
    color: #458;
    font-weight: bold; }
  .highlight .no {
    color: #008080; }
  .highlight .ni {
    color: #800080; }
  .highlight .ne {
    color: #900;
    font-weight: bold; }
  .highlight .nf {
    color: #900;
    font-weight: bold; }
  .highlight .nn {
    color: #555; }
  .highlight .nt {
    color: #000080; }
  .highlight .nv {
    color: #008080; }
  .highlight .ow {
    font-weight: bold; }
  .highlight .w {
    color: #bbb; }
  .highlight .mf {
    color: #099; }
  .highlight .mh {
    color: #099; }
  .highlight .mi {
    color: #099; }
  .highlight .mo {
    color: #099; }
  .highlight .sb {
    color: #d14; }
  .highlight .sc {
    color: #d14; }
  .highlight .sd {
    color: #d14; }
  .highlight .s2 {
    color: #d14; }
  .highlight .se {
    color: #d14; }
  .highlight .sh {
    color: #d14; }
  .highlight .si {
    color: #d14; }
  .highlight .sx {
    color: #d14; }
  .highlight .sr {
    color: #009926; }
  .highlight .s1 {
    color: #d14; }
  .highlight .ss {
    color: #990073; }
  .highlight .bp {
    color: #999; }
  .highlight .vc {
    color: #008080; }
  .highlight .vg {
    color: #008080; }
  .highlight .vi {
    color: #008080; }
  .highlight .il {
    color: #099; }

.fig {
  border: 1px solid black; }

.important {
  border: 2px solid black;
  padding: 10px;
  margin-bottom: 10px;
  margin-top: 10px;
  font-size: 20px;
  border-radius: 10px;
  background-color: lightgray; }

.important.warn {
  position: fixed;
  top: 100px;
  left: 50%;
  margin-left: -410px;
  width: 600px;
  padding: 10px;
  z-index: 1; }

.important.deprecated {
  position: fixed;
  top: 10px;
  left: 50%;
  margin-left: -400px;
  width: 600px;
  border: solid 20px rgba(0, 0, 0, 0.16);
  padding: 100px;
  z-index: 1; }

.important.deprecated ~ *,
.important.deprecated ~ * a,
.important.deprecated ~ * img {
  opacity: 0.2; }

.important {
  border: 1px solid black; }

h1,
h2,
h3,
h4,
h5,
h6 {
  position: relative; }
  h1:hover .heading-anchor, h1 .heading-anchor:hover .heading-anchor,
  h2:hover .heading-anchor,
  h2 .heading-anchor:hover .heading-anchor,
  h3:hover .heading-anchor,
  h3 .heading-anchor:hover .heading-anchor,
  h4:hover .heading-anchor,
  h4 .heading-anchor:hover .heading-anchor,
  h5:hover .heading-anchor,
  h5 .heading-anchor:hover .heading-anchor,
  h6:hover .heading-anchor,
  h6 .heading-anchor:hover .heading-anchor {
    opacity: 1; }

.heading-anchor {
  position: absolute;
  margin-left: -1em;
  color: #828282 !important;
  text-decoration: none !important;
  opacity: 0;
  padding-right: 0.5em;
  transition: opacity 0.25s; }

details.vihje {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 0.5em 1em;
  margin-bottom: 15px; }
  details.vihje summary {
    cursor: pointer;
    font-weight: bold; }
  details.vihje[open] summary {
    margin-bottom: 0.5em; }

table {
  border-collapse: collapse;
  margin-bottom: 15px;
  font-size: 0.95em; }
  table th, table td {
    border: 1px solid #e0e0e0;
    padding: 0.4em 0.8em;
    text-align: left;
    vertical-align: top; }
  table thead th {
    background-color: #f3f5f8;
    border-bottom: 2px solid #c8ced6; }
  table tbody tr:nth-child(even) {
    background-color: #fafbfc; }
  table tbody tr:hover {
    background-color: #eef3fa; }

.code-copy-wrapper {
  position: relative; }
  .code-copy-wrapper:hover .code-copy-button,
  .code-copy-wrapper .code-copy-button:focus {
    opacity: 1; }

.code-copy-button {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.75em;
  padding: 0.2em 0.6em;
  color: #333;
  background-color: #ffffff;
  border: 1px solid #c8ced6;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.25s; }
  .code-copy-button:hover {
    background-color: #eef3fa; }

.checkbox-reset {
  font-size: 0.85em;
  padding: 0.3em 0.8em;
  margin-bottom: 15px;
  border: 1px solid #c8ced6;
  border-radius: 4px;
  background-color: #f3f5f8;
  cursor: pointer; }
  .checkbox-reset:hover {
    background-color: #e6ebf2; }

.site-search {
  float: right;
  position: relative;
  margin: 14px 0 0 20px; }
  .site-search .site-search-input {
    width: 200px;
    padding: 4px 8px;
    font-size: 0.9em;
    border: 1px solid #c8ced6;
    border-radius: 4px; }
  .site-search .site-search-results {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 2000;
    width: 480px;
    max-width: 90vw;
    max-height: 70vh;
    overflow-y: auto;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #c8ced6;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); }
  .site-search .site-search-result {
    display: block;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    color: #111;
    text-decoration: none;
    line-height: 1.4; }
    .site-search .site-search-result:hover, .site-search .site-search-result:focus {
      background-color: #eef3fa;
      outline: none;
      text-decoration: none; }
  .site-search .site-search-result-title {
    display: block;
    font-weight: bold;
    font-size: 0.9em;
    color: #2a7ae2; }
  .site-search .site-search-result-snippet {
    display: block;
    font-size: 0.8em;
    color: #555; }
  .site-search .site-search-info {
    padding: 8px 12px;
    font-size: 0.85em;
    color: #555; }
  .site-search mark {
    background-color: #fff3a3;
    padding: 0; }
  @media screen and (max-width: 600px) {
    .site-search {
      float: none;
      clear: both;
      margin: 0 0 10px; }
      .site-search .site-search-input {
        width: 100%; }
      .site-search .site-search-results {
        left: 0;
        right: auto; } }

/**
 * Navbar
 */
.site-header {
  border-top: 4px solid #2a7ae2;
  border-bottom: 1px solid #e3e7ec;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  min-height: 0; }
  .site-header .wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 20px; }
    .site-header .wrapper::after {
      display: none; }

.site-title {
  float: none;
  flex: 0 1 auto;
  font-weight: 400;
  line-height: 1;
  padding: 16px 0 10px; }
  .site-title, .site-title:visited {
    color: #1b2b3a; }
  .site-title:hover {
    color: #2a7ae2;
    text-decoration: none; }

.site-search {
  float: none;
  margin: 6px 0 0 auto; }

.site-nav {
  float: none;
  order: 3;
  flex: 1 0 100%;
  line-height: 1.5; }
  .site-nav .trigger {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-left: -10px; }
  .site-nav .page-link {
    display: inline-block;
    padding: 10px 10px 9px;
    color: #3a4651;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s, background-color 0.15s; }
    .site-nav .page-link:not(:last-child) {
      margin-right: 0; }
    .site-nav .page-link:hover, .site-nav .page-link:focus {
      color: #2a7ae2;
      text-decoration: none; }
    .site-nav .page-link.active {
      color: #2a7ae2;
      border-bottom-color: #2a7ae2; }
  .site-nav .nav-caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.7; }

.site-nav .nav-dropdown {
  position: relative;
  display: inline-block; }
  .site-nav .nav-dropdown.active > .page-link {
    color: #2a7ae2;
    border-bottom-color: #2a7ae2; }
  .site-nav .nav-dropdown .nav-dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 10;
    min-width: 180px;
    padding: 6px 0;
    background-color: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    text-align: left; }
    .site-nav .nav-dropdown .nav-dropdown-content .page-link {
      display: block;
      padding: 6px 16px;
      border-bottom: none;
      white-space: nowrap; }
      .site-nav .nav-dropdown .nav-dropdown-content .page-link:hover, .site-nav .nav-dropdown .nav-dropdown-content .page-link:focus {
        background-color: #eef3fa; }
      .site-nav .nav-dropdown .nav-dropdown-content .page-link.active {
        font-weight: bold;
        background-color: #eef3fa; }
  .site-nav .nav-dropdown:hover .nav-dropdown-content, .site-nav .nav-dropdown:focus-within .nav-dropdown-content {
    display: block; }

@media screen and (max-width: 600px) {
  .site-header .wrapper {
    padding-right: 60px; }

  .site-title {
    padding: 14px 0 10px; }

  .site-search {
    flex: 1 0 100%;
    margin: 0 0 10px; }

  .site-nav {
    order: 0;
    flex: none;
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 20;
    background-color: #fff;
    border: 1px solid #e3e7ec;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: left; }
    .site-nav input ~ .trigger {
      display: none; }
    .site-nav input:checked ~ .trigger {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      margin: 0;
      min-width: 220px;
      padding: 0 0 6px; }
    .site-nav .page-link {
      display: block;
      margin-left: 0;
      padding: 8px 16px;
      border-bottom: none; }
      .site-nav .page-link.active {
        border-bottom: none;
        background-color: #eef3fa; }

  .site-nav .nav-dropdown {
    display: block; }
    .site-nav .nav-dropdown.active > .page-link {
      border-bottom: none; }
    .site-nav .nav-dropdown .nav-caret {
      display: none; }
    .site-nav .nav-dropdown .nav-dropdown-content {
      display: block;
      position: static;
      min-width: 0;
      padding: 0 0 4px;
      border: none;
      border-radius: 0;
      box-shadow: none; }
      .site-nav .nav-dropdown .nav-dropdown-content .page-link {
        padding: 5px 16px 5px 32px;
        font-size: 0.9em;
        color: #5a6670; } }
details.tehtavalista ul {
  margin-bottom: 0; }
