/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 54px;
  line-height: 54px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

h1 {
  margin-top: 10px;
}

h2 {
  margin-top: 18px;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
  padding: 90px 15px 0;
  padding-bottom: 12px;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

pre {
  background-color: #f5f5f5;
  padding: 6px;
  margin-left: 16px;
  margin-right: 16px;
  margin-top: 16px;
  border: 1px solid #bbb;
  border-left: 8px solid #bbb;
}

code {
  color: black;
  font-size: .88em;  
  background-color: #f5f5f5;
  border: 1px solid #bbb;
  padding: 2px;
  display: inline-block;
}

p {
  margin-top: 12px;
  margin-bottom: 12px;
}

div.task {
  margin-left: 16px;
  margin-right: 16px;
  margin-bottom: 12px;
  margin-top: 12px;
  border: 1px solid #3a3;
  border-left: 8px solid #3a3;
  background-color: #cfc;
  padding: 6px;
}

p.warning {
  margin-left: 16px;
  margin-right: 16px;
  border: 1px solid #aa3;
  border-left: 8px solid #aa3;
  background-color: #ffc;
  padding: 6px;
}

ul {
  margin-top: 6px;
}

li {
  margin-bottom: 5px;
}

div.navigation {
  display: flex;
  margin-top: 10px;
}

a.next-topic {
  flex-grow: 0;
  background-image: url("../images/forward-icon.png");
  padding-right: 32px;
  background-repeat: no-repeat;
  background-position: right center;
}

.separator {
  flex-grow: 1;
  min-width: 10px;
}

a.prev-topic {
  flex-grow: 0;
  background-image: url("../images/back-icon.png");
  padding-left: 32px;
  background-repeat: no-repeat;
  background-position: left center;
}
