---
---
/*
The MIT License (MIT)

Copyright (c) 2011-2016 Twitter, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Originally sourced from: https://raw.githubusercontent.com/twbs/bootstrap/20261385eacd6e86a362a08d56b4b4241ef248df/docs/examples/blog/blog.css
*/

/* Variables */
$primary_colour: #428bca;
$highlight_colour: #cdddeb;

/*
 * Globals
 */

@media (min-width: 48em) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #555;
  position: relative;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: normal;
  color: #333;
}


/*
 * Override Bootstrap's default container.
 */

.container {
  max-width: 60rem;
}


/*
 * Masthead for nav
 */

.site-masthead {
  margin-bottom: 3rem;
  background-color: $primary_colour;
  -webkit-box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.2);
          box-shadow: inset 0 -.1rem .25rem rgba(0,0,0,.2);

  /* Nav links */
  .nav-link {
    position: relative;
    padding: 1rem;
    font-weight: 500;
    color: $highlight_colour;
  }
  .nav-link:hover,
  .nav-link:focus {
    color: #fff;
    background-color: transparent;
  }

  /* Active state gets a caret at the bottom */
  .nav-link.active {
    color: #fff;
  }
  .nav-link.active:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    margin-left: -.3rem;
    vertical-align: middle;
    content: "";
    border-right: .3rem solid transparent;
    border-bottom: .3rem solid;
    border-left: .3rem solid transparent;
  }
}

.stickyrow {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

.sidenav {
  .nav-item {
    padding: 0px;
  }

  .nav-item.active {
    background: white;
  }

  .nav-item > a {
    display: block;
    padding: 0.75rem 1.25rem;
    border-width: 0 1px;
    border-style: solid;
    border-color: transparent;
  }

  .nav-item > a:hover {
    background: $highlight_colour;
    border-color: $primary_colour;
  }

  .nav-item.active > a {
    border-width: 0 1px;
    border-color: $primary_colour;
    border-style: solid;
  }
}

.bibliography {
  padding: 0;

  > li {
    list-style: none;
    border-top: 1px solid #eee;
    padding: 1em;
  }

  .pub-title a {
    color: black;
  }

  p {
    margin-bottom: 0.25rem;
  }
}

/*
 * Blog name and description
 */

.site-header {
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
  border-bottom: .05rem solid #eee;
}
.site-title {
  margin-bottom: 0;
  font-size: 2rem;
  font-weight: normal;
}
.site-description {
  font-size: 1.1rem;
  * {
    color: #999;
  }
}

@media (min-width: 50em) {
  .site-title {
    font-size: 2.75rem;
  }
}


/*
 * Main column and sidebar layout
 */

/* Sidebar modules for boxing content */
.sidebar-module {
  padding: 1rem;
  /*margin: 0 -1rem 1rem;*/
}
.sidebar-module-inset {
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: .25rem;
}
.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
  margin-bottom: 0;
}


/* Pagination */
.pager {
  margin-bottom: 4rem;
  text-align: left;
}
.pager > li > a {
  width: 8rem;
  padding: .75rem 1.25rem;
  text-align: center;
  border-radius: 2rem;
}

.people {
  .card-deck {
    margin-bottom: 1.25rem;
  }
}

.person-img {
  margin-left: auto;
  margin-right: auto;
  width: 160px;
  text-align: center;
  display: block;
}

/*
 * Blog posts
 */

.post {
  margin-bottom: 4rem;
}
.post-title {
  margin-bottom: .75rem;
  font-size: 2.5rem;
}
.post-meta {
  margin-bottom: 1.25rem;
  color: #999;
}


.site-card-list {
  list-style-position: inside;
  padding-left: 0px;
}

/*
 * Footer
 */

.site-footer {
  padding: 2.5rem 0;
  color: #999;
  text-align: center;
  background-color: #f9f9f9;
  border-top: .05rem solid #e5e5e5;
}
.site-footer :last-child {
  margin-bottom: 0;
}

.post-content {
  text-align: left;
}