/* Custom container */

/* Replaced with normal container and standard footer */
/*.container-narrow {
  margin: 0 auto;
  max-width: 700px; }

.container-narrow > hr {
  margin: 30px 0; }
*/

/* Replaced with standard BS3 Navbar */
/*.navbar .nav {
  float: right; }*/

/* Main Styles */
body {
  font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4 {
  color: #F84339;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

a {
  color: #005C81;
}

.navbar-default .navbar-brand {
  color: #F84339;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.button,
.category-heading {
  border-radius: 0.3em;
  border: 1px solid;
  display: inline-block;
}

.button {
  margin: 1em 0;
  padding: 0.5em 0.75em;
  color: #005C81;
}

.button.active {
  background: #005C81;
  color: #FFF;
}

.hidden {
  display: none;
}

#content:focus {
  outline: none;
}

#footer {
  background-color: #d8d8d8;
}

#site-posts-showing {
  display: block;
  padding: 10px;
  text-align: right;
}

/* home page items */

.logo {
  width: 92px;
  height: 92px;
  float: left;
}
.page-header h1 {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 10px;
}

.post-sharing {
  clear: both;
  padding-top: 15px;
}

.post-sharing a:hover {
  text-decoration: none;
}

.social-logo {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.tagline {
  margin-top: 0px;
}

.learning-item {
  margin-bottom: 20px;
}

.learning-cat-item {
  text-align: center;
  font-size: 1.1em;
}

/* Better img loading: http://daverupert.com/2015/12/intrinsic-placeholders-with-picture/ */

.intrinsic {
  display: block;
  position: relative;
  height: 0;
  width: 100%;
}

.intrinsic-item {
  padding-bottom: 57.143%;
}

.intrinsic-square-item {
  padding-bottom: 100%;
}

.intrinsic-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* Category Page Styles */
.category-heading,
.view-button {
  margin: 1em 0;
  padding: 0.25em 0.5em;
  background-color: #005C81;
  color: #FFF;
  width: 100%;
}

.category-heading:hover,
.category-heading:focus,
.view-button:hover,
.view-button:focus {
  background-color: #F84339;
  color: #FFF;
  text-decoration: none;
}

.view-button {
  text-align: center;
  font-size: 1.2em;
}

.labels i {
  color: #005C81;
}

.cat-image {
  min-width: 200px;
  margin: 0 auto;
}

.attribution {
  font-weight: bold;
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .cat-info {
    width: 70%;
  }
}

/* Search */
.navbar-form {
  padding-right: 30px;
  border: 0px;
}

.no-results {
  font-size: 1.5em;
}

/* posts index */
.post > h3.title {
  position: relative;
  padding-top: 10px; }

.post > h3.title span.date {
  position: absolute;
  right: 0;
  font-size: 0.9em; }

.post > .more {
  margin: 10px 0;
  text-align: left; }

/* post-full*/
.post-full .date {
  margin-bottom: 20px;
  font-weight: bold; }

/* tag_box */
.tag_box {
  list-style: none;
  margin: 0;
  overflow: hidden; }

.tag_box li {
  line-height: 28px; }

.tag_box li i {
  opacity: 0.9; }

.tag_box.inline li {
  float: left; }

.tag_box a {
  padding: 3px 6px;
  margin: 2px;
  background: #eee;
  color: #555;
  border-radius: 3px;
  text-decoration: none;
  border: 1px dashed #cccccc; }

.tag_box a span {
  vertical-align: super;
  font-size: 0.8em; }

.tag_box a:hover {
  background-color: #e5e5e5; }

.tag_box a.active {
  background: #57A957;
  border: 1px solid #4c964d;
  color: #FFF; }

  html,
  body {
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
  }
