html {
  font-size: 62.5%;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #f6f6f6;
  margin: 0;
}

.body-container {
  background-color: #fefefe;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}

a, a:hover {
  color: inherit;
}

a:hover {
  opacity: 0.5;
}

td, th {
  padding: 0.5rem;
}

span.avoid-wrap {
  display: inline-block;
}

/*
 * My Random Additions
 */
blockquote {
  border-left: 0.5rem solid #ccc;
  padding-left: 2rem;
}

/* Hack over existing Bootstrap tables */
.table-responsive > table.table {
  width: 100%;
  box-sizing: border-box;
}

/* Override Skeleton to use a 1200px-wide layout instead of 960px */
.container {
  max-width: 1200px;
  padding: 0;
}

.container-fluid {
  max-width: 100%;
  padding: 1rem;
}

/* Admin Question page */

.question-text {
  word-break: break-word;
}

/* FAQ */

.faq {
  padding: 1rem;
}

.question-entry {
  font-size: 2rem;
  font-weight: bold;
}

.answer-entry {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
}

.answer-entry p {
  margin-bottom: 1rem;
}

.post-nav-link {
  font-size: 1.5rem;
  height: 4rem;
  margin-left: 1rem;
  margin-right: 1rem;
}

/* Subscribe */
.rss-row {
  margin-top: 1rem;
}

.rss-row p:first-of-type {
  margin-bottom: 0;
}

.rss-row p:last-of-type {
  margin-top: 0;
}

.subscribe {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Bottom Row */

.bottom-row {
  padding-left: 1rem;
  padding-right: 1rem;
  margin-bottom: 2rem;
}

.entire-masthead-full {
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

/* Masthead */

.blog-header {
  text-align: center;
  display: inline-block;
  padding-top: 1rem;
}

.blog-header.mini-header .blog-title {
  font-size: 2rem;
}

.blog-header.mini-header .blog-description {
  font-size: 0.75rem;
}

.blog-header hr {
  display: block;
  border-top: 1px solid #F6F6F6;
  width: 50%;
}

.blog-header.mini-header hr {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.blog-header hr {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.blog-description {
  margin-bottom: 1rem;
}

.results {
  padding-left: 1rem;
  padding-right: 1rem;
}

.results-count {
  font-size: 1rem;
  color: #999;
}

.title-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-underline {
  text-decoration: none;
}

.mini-blog-logo {
  padding: 0.5rem 0.5rem;
}

.top-divider {
  margin-top: 0;
  margin-bottom: 1rem;
}

.post-divider {
  margin-bottom: 2rem;
}

.post-divider.last {
  margin-bottom: 3.5rem;
}

.text-center {
  text-align: center;
}

/* Navigation */

.mini-header-holder {
  display: flex;
}

.blog-masthead {
  font-size: 2rem;
  text-align: center;

  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-masthead-full {
  margin-bottom: 1rem;
}

.blog-masthead.blog-masthead-mini {
  box-shadow: inset 1px 0 0 #E1E1E1;
  text-align: center;
}

.mast-div {
  display: none;
}

.nav-link {
  color: #444;
  display: inline-block;
  margin: 0 0.5rem;
}

.nav-link.active {
  color: #000;
  font-weight: bold;
}

/* Posts */

.post-list {
  padding-left: 1rem;
  padding-right: 1rem;
}

.blog-post {
  margin-top: -1rem;
  padding: 1rem;
  padding-bottom: 0;
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 0;
}

.blog-title a {
  color: #222;
}

.blog-post-title {
  margin-bottom: 0.2rem;
  display: inline;
}

.small {
  font-size: 1.2rem;
}

/* Personal Savings Clock */

.amount-holder {
  display: flex;
  align-items: flex-end;
  width: 33%;
}

.prefix-unit {
  margin-right: 1rem;
}

.suffix-unit {
  margin-left: 1rem;
}

.savings-statement {
  display: flex;
  justify-content: space-around;
}

.savings-statement .custom-select {
  font-size: 1rem;
}

.savings-statement > div {
  font-size: 2rem;
}

.saving-buttons {
  display: flex;
  align-content: space-around;
}

.custom-savings {
  display: none;
  opacity: 0;
  flex: 1;
}

.saving-buttons button {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  opacity: 0;
  flex: 1;
}

.clock-class, .clock, .clock2 {
  height: 100%;
  font-size: 100%;
}

.clock2 {
  display: none;
  opacity: 0;
}

.clock, .clock2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.clock-headline {
  font-size: 4rem;
}

.labels {
  margin-top: 1rem;
}

.new-label {
  display: inline-block;
  width: auto;
}

.post-label.edit-label {
  cursor: pointer;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

.basic-header {
  margin-top: 16px;
}

.headline-img {
  text-align: center;
}

.headline-img img {
  max-height: 480px;
}

.inline-image {
  text-align: center;
  font-size: 14px;

  margin: 0 0.5rem;
}

.inline-image img {
  margin-top: 0 auto;

  max-width: 100%;
  box-sizing: border-box;
}

.inline-image img:hover {
  opacity: 0.75;
  cursor: pointer;
}

.inline-image p {
  margin: 1rem;
}

.other-images > .image-upload-holder:first-of-type > .remove-image  {
  display: none;
}

.other-image {
  margin-bottom: 10px;
}

input.images {
  display: inline;
}

a.tiny-edit {
  font-size: 75%;
  display: inline
}

/* Truck icon */
.from-inside {
  margin-right: 1rem;
  margin-top: 1rem;
}

a.actual-title {
  color: black;
}

.img-source {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

form.inline-form {
  display: inline;
}

/* For my lackluster search functionality */
span.highlight {
  background-color: yellow;
}

/* So the Title isn't against the masthead */
.edit-post {
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Multi-line buttons */
.btn-submit {
  margin-top: 10px;
  white-space: normal;
}

/* Multi-line error text */
.form-message .label {
  display: inline-block;
  white-space: normal;
  line-height: 1.5rem;
}

.form-message .label a {
  display: inline-block;
  white-space: normal;
  color: white;
}

.mini-logo-holder {
  width: 30%;
}

/* Larger than mobile stylings */
@media (min-width: 400px) {
  .inline-image {
    margin: 0 rem;

    border-left: 2px solid lightgrey;
    border-right: 2px solid lightgrey;
  }

  .blog-title {
    font-size: 6rem;
  }

  .blog-post {
    padding: 3rem;
    padding-top: 1rem;
    padding-bottom: 0;
  }

  .blog-header.mini-header .blog-title {
    font-size: 2.5rem;
  }

  .post-list {
    padding-left: 0;
    padding-right: 0;
  }

  .subscribe {
    padding-left: 0;
    padding-right: 0;
  }

  .bottom-row {
    padding-left: 0;
    padding-right: 0;
  }

  .faq {
    padding: 0;
  }

  .blog-header {
    flex: inherit;
  }

  .blog-masthead {
    text-align: left;
  }

  .mast-div {
    display: inline;
  }
}

.blog-post-body > p, .blog-post-body > ul, .blog-post-body > ol, .blog-post-body > blockquote, .blog-post-body > div {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.blog-post-body > p, .blog-post-body > div {
  margin-left: 1%;
  margin-right: 1%;
} 

.blog-post-body > ul, .blog-post-body > ol, .blog-post-body > blockquote {
  margin-left: 2%;
  margin-right: 2%;
} 
