/**
 * Custom Bootstrap and Theme Overrides
 *
 * Bootstrap designers: Feel free to remove all of the styles in this
 * file to start a fresh new design. Most of the critical/functional
 * styles are found within the other CSS files, with this one included last.
 *
 * Bootstrap and Hexo markdown style overrides would typically happen here.
 */


/* Globals */

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #555;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin-top: 1em;
  margin-bottom: 15px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}
p {
  margin: 0 0 15px;
}
code {
  background-color: #eeeeee;
  font-size: 80%;
}
.fa {
  margin-right: 0.25em;
}

/* Buttons */

.btn {
  border-radius: 30px;
}
.btn-primary {
  background-color: #428bca;
  border-color: #337ab7;
}
.nav-pills>li>a {
  border-radius: 30px;
}

/* Override Bootstrap's default container width */

@media (min-width: 1200px) {
  .container {
    width: 970px;
  }
}

/*
 * Masthead for nav
 */

.navbar {
  background-color: #888;
  -webkit-box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, .1);
}
.navbar-inverse {
  border: 0;
}
.navbar-inverse .navbar-toggle {
  border-color: #cdddeb;
}
.navbar-inverse .navbar-toggle .icon-bar {
  background-color: #cdddeb;
}
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
  background-color: #65A2D6;
}
.navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav>li>a {
  color: #cdddeb;
  font-weight: 500;
}
.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
  border-color: #cdddeb;
}
.navbar-inverse .navbar-nav>li>a.active {
  color: #fff;
}

.navbar-right.navbar-nav > li > a {
  font-size: 20px;
  padding-left: 5px;
  padding-right: 5px;
}

@media (min-width: 768px) {
  .navbar {
    border-radius: 0;
    min-height: 40px;
  }
  /** The following may need modification depending on
      the size of your `navbar-brand` (if enabled) */
  #main-menu-navbar {
    margin-left: -30px;
  }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
  }

  /** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ */
  .navbar-inverse .navbar-nav>li>a.active:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -5px;
    vertical-align: middle;
    content: " ";
    border-right: 5px solid transparent;
    border-bottom: 5px solid;
    border-left: 5px solid transparent;
  }
}

/*
 * Blog header and description
 */

.blog-header {
  padding-bottom: 20px;
}
.blog-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 30px;
  font-weight: normal;
  color: #009688;
}
.blog-title > span {
  color: #607D8B;
}
.blog-description {
  font-size: 20px;
  color: #999;
}

/*
 * Main column and sidebar layout
 */

.blog-main {
  font-size: 18px;
  line-height: 1.5;
}
.blog-main > article:last-of-type {
  margin-bottom: 30px;
}

/* Sidebar modules for boxing content */

.sidebar-module {
  padding: 15px;
  margin: 0 -15px 15px;
}
.sidebar-module h4 {
  margin-top: 0;
  margin-bottom: 10px;
}
.sidebar-module-inset {
  width: 220px;
  height: auto;
  padding: 10px 10px;
  border-radius: 50px 0px;
  background: rgba(15, 150, 120, 0.8);
  text-align: left;
}
.sidebar-module-inset > div.profile {
  padding: 10px 0;
  line-height: 24px;
  color: #EEE;
  padding-top: 0px;
}
.sidebar-module-inset > div.profile:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.sidebar-module-inset > h4.title {
  /*background: linear-gradient(to right, #FFF, rgba(15, 150, 120, 0.8));*/
  font-size: 14px;
  line-height: 24px;
  font-family: 'Spirax', cursive;
  text-transform: uppercase;
  text-align: right;
  color: #fff;
  margin-left: 60px;
  padding-right: 20px;
  margin-bottom: 0;
}
.sidebar-module-inset > div.profile > div.image {
  width: 48px;
  height: 48px;
  float: left;
  /* padding: 2px 2px; */
  background: #fff;
  /* border: 1px solid #9d6156; */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}
.sidebar-module-inset > div.profile > div.image > img {
  width: 48px;
  height: 48px;
  display: block;
  text-align: center;
  vertical-align: middle;
  border-radius: 10px;
}
.sidebar-module-inset > div.profile > div.text {
  width: 150px;
  padding-left: 10px;
  float: left;
  font-size: 12px;
  line-height: 18px;
}
.sidebar-module-inset > div.profile > div.text > p {
  padding-top: 0;
  margin-top: 0;
  display: table-cell;
  height: 48px;
  vertical-align: middle;
  padding-bottom: 0;
  margin-bottom: 0;
}
.sidebar-module-inset p:last-child, .sidebar-module-inset ul:last-child, .sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}
.sidebar-module-list {
  padding-left: 0;
}
.sidebar-module-list-child {
  padding-left: 25px;
}

/*
 * Blog posts
 */

.article {
  box-shadow: 1px 1px 1px #eee;
    margin-bottom: 15px;
    border-radius: 15px;
    padding: 5px 15px;
    border: 1px solid #efefef;
}
.article-header h1 {
  margin-top: 0;
  margin-bottom: 5px;
  font-size: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #188E36;
}
.article-header h1 a {
  color: #337AB7;
}
.article-header h1 a:hover {
  color: #5CB85C;
  text-decoration: none;
}
.article-meta {
  margin-bottom: 0px;
  color: #795548;
  font-size: 0.9em;
}
.article-meta > * {
  display: inline-block;
  margin-right: 15px;
}
.article-meta a {
  color: inherit;
}
.article-entry {
  margin-top: 5px;
  font-size: 16px;
}
.article-entry .article-more-link {
  margin: 15px 0;
}
.article-entry .thumbnail .caption {
  padding: 0;
}
.article-entry>*:last-child {
  margin-bottom: 15px;
}
.gutter {
  display: none;
}
.code > pre {
  margin-bottom: 1em;
  padding: 10px 10px;
  color: #fff;
  overflow: auto;
  background-color: #333;
}

/* article footer content */

.highlight table.table > tbody > tr > * {
  border: 0;
}
.article-footer {
  font-size: 0.85em;
  padding-top: 0;
  padding-bottom: 15px;
}
.article-footer:after {
  /* clearfix */
  content: " ";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}
.article-footer a {
  color: #AAA;
  text-decoration: none;
}
.article-footer a:hover {
  color: #888;
  text-decoration: underline;
}

.article-footer a.article-share-link {
  color: #5CB85C;
}

.article-footer a.article-share-link:hover {
  color: #3C763D;
}

/*
 * Archives
 */

.archives-wrap {
}
.archive-year-wrap a, .archive-article .article-datetime a {
  color: #333;
  text-decoration: none;
}
.archive-article .article-datetime a {
  color: #999;
  text-decoration: none;
}

/*
 * Pagination
 */

#page-nav {
  text-align: center;
}
#page-nav .pagination {
  margin-top: 0;
  margin-bottom: 30px;
}
#page-nav .pagination .active>* {
  background-color: #428bca;
  border-color: #428bca;
}
#page-nav .pagination>li:last-child>* {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}
#page-nav .pagination>li:first-child>* {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

/*
 * Footer
 */

.blog-footer {
  padding: 40px 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: 1px solid #e5e5e5;
}
.blog-footer p:last-child {
  margin-bottom: 0;
}
