/* Sticky footer styles
-------------------------------------------------- */

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

/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  margin: 0 auto -60px;
}

/* Set the fixed height of the footer here */
#push,
#footer {
  height: 60px;
}
#footer {
  /* background-color: #f5f5f5; */
  padding: 0;
}

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
  #footer {
    margin-left: -20px;
    /* margin-right: -20px; cause mobile horizontal scroll bar*/
    padding-left: 20px;
    padding-right: 20px;
  }
}

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

#wrap > .container {
  padding-top: 60px;
}
.container .credit {
  margin: 20px 0;
  /* smaller font so it won't cause body scrollbar*/
  font-size: 14px;
  line-height: 20px;
}

/* below are by ingram */

/* slat theme not include <code>, so we make some tweak */
code {
  background-color: rgba(21, 105, 86, 0.54);
  color: #d3d3d3;
}

/* slate theme link only bold font, override to make it blue */
a, a:hover {
  color: #73BBD0;
}

.index.jumbotron {
  margin-top: 25px;
}

.index.jumbotron h1 {
  font-size: 48px;
  margin-bottom: 25px;
}

article {
}

article p {
  margin: 0 0 25px;
  font-size: 17px;
  /* color: #505050; */
}

article img {
  max-width: 100%;
}

article li {
  font-size: 17px;
  margin-bottom: 10px;
  /* color: #505050; */
}

/* when in big screen (>768px) use justify. mobile use justify is ugly */
@media (min-width: 768px) {
  article li, article p {
    text-align: justify;
  }
  .comment_content {
    text-align: justify;
  }
}

article ul, article ol {
  padding-left: 25px;
  margin-bottom: 25px;
}

article h3, article h4 {
  font-weight: bold;
}

article blockquote {
  font-size: 17px;
}

article.post > *:last-child:after {
  content: "☘";
  padding-left: 10px;
  /* color: black; */
  color: white;
}

.comments {
  margin-right: 24px;
}

.comments .media-heading small {
  padding-left: 10px;
}

.comments .media-object {
  color:#ddd;
  font-size: 150%;
}

.comments .media-body {
  /* color: #666; */
  font-size: 15px;
}

.comment_content pre {
  font-size: 90%;
}

.google_search {
  width: 400px;
}

/* prevent too wide cause mobile scroll bar */
div.gplusone {
  overflow: hidden !important;
}

/* fix markdown generate deprecated <th align="right"> */
table th[align="right"] {
  text-align: right;
}

table th[align="center"] {
  text-align: center;
}
