/*******************************************************************************
 * Variables used throughout the theme.
 * To adjust anything, simply edit the variables below and rebuild the theme.
 ******************************************************************************/
/*******************************************************************************
 * Themes
 ******************************************************************************/
:root {
  --global-bg-color: #eceff4;
  --global-code-bg-color: #81a1c1;
  --global-text-color: #4c566a;
  --global-text-color-light: #151f2f;
  --global-theme-color: #bf616a;
  --global-hover-color: #bf616a;
  --global-footer-bg-color: #151f2f;
  --global-footer-text-color: #d8dee9;
  --global-footer-link-color: #eceff4;
  --global-distill-app-color: #151f2f;
}
:root .fa-sun {
  display: none;
}
:root .fa-moon {
  padding-left: 10px;
  padding-top: 12px;
  display: block;
}

html[data-theme=dark] {
  --global-bg-color: #151f2f;
  --global-code-bg-color: #2e3440;
  --global-text-color: #d8dee9;
  --global-text-color-light: #d8dee9;
  --global-theme-color: #e2699b;
  --global-hover-color: #e2699b;
  --global-footer-bg-color: #d8dee9;
  --global-footer-text-color: #151f2f;
  --global-footer-link-color: #4c566a;
  --global-distill-app-color: #d8dee9;
}
html[data-theme=dark] .fa-sun {
  padding-left: 10px;
  padding-top: 12px;
  display: block;
}
html[data-theme=dark] .fa-moon {
  display: none;
}

/******************************************************************************
 * Content
 ******************************************************************************/
body {
  padding-bottom: 70px;
  color: var(--global-text-color);
  background-color: var(--global-bg-color);
}

body.fixed-top-nav {
  padding-top: 56px;
}

body.sticky-bottom-footer {
  padding-bottom: 0;
}

.container {
  max-width: 800px;
}

.profile img {
  width: 100%;
}

/******************************************************************************
 * Publications
 ******************************************************************************/
/*****************************************************************************
* Projects
*****************************************************************************/
/*******************************************************************************
 * Styles for the base elements of the theme.
 ******************************************************************************/
p, h1, h2, h3, h4, h5, h6, em, div, span, strong {
  color: var(--global-text-color);
}

a, table.table a {
  color: var(--global-theme-color);
}
a:hover, table.table a:hover {
  color: var(--global-theme-color);
  text-decoration: underline;
}
a:hover:after, table.table a:hover:after {
  width: 100%;
}

.equation {
  margin-bottom: 1rem;
  text-align: center;
}

.caption {
  font-size: 0.875rem;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.citation, .citation-number {
  color: var(--global-theme-color);
}

.profile {
  margin-left: 1rem;
  width: 100%;
}
.profile .address {
  margin-bottom: 5px;
  margin-top: 5px;
  font-family: monospace;
  font-size: 1.2rem;
}
.profile .address p {
  display: inline-block;
  margin: 0;
}

@media (min-width: 576px) {
  .profile {
    width: 30%;
  }
  .profile .address p {
    display: block;
  }
}
.post-description {
  margin-bottom: 2rem;
  font-size: 0.875rem;
}
.post-description a {
  color: inherit;
}
.post-description a:hover {
  color: var(--global-theme-color);
  text-decoration: none;
}

.navbar {
  box-shadow: none;
  border-bottom: 1px solid #d8dee9;
  background-color: var(--global-bg-color);
  opacity: 0.95;
}

.navbar.navbar-light a:hover {
  text-decoration: none;
}
.navbar.navbar-light .navbar-brand {
  color: var(--global-text-color);
}
.navbar.navbar-light .navbar-nav .nav-item .nav-link {
  color: var(--global-text-color);
}
.navbar.navbar-light .navbar-nav .nav-item .nav-link:hover {
  color: var(--global-hover-color);
}
.navbar.navbar-light .navbar-nav .nav-item.active > .nav-link {
  background-color: inherit;
  font-weight: bolder;
  color: var(--global-theme-color);
}
.navbar.navbar-light .navbar-nav .nav-item.active > .nav-link:hover {
  color: var(--global-hover-color);
}
.navbar.navbar-light .navbar-brand.social {
  padding-bottom: 0;
  padding-top: 0;
  font-size: 1.7rem;
}
.navbar.navbar-light .navbar-brand.social a i::before {
  color: var(--global-text-color);
  -webkit-transition: all 0.2s ease-in-out;
}
.navbar.navbar-light .navbar-brand.social a:hover i::before {
  color: var(--global-theme-color);
}

.navbar-toggler .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--global-text-color);
  border-radius: 1px;
  margin-bottom: 4px;
  transition: all 0.2s;
}
.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggler .middle-bar {
  opacity: 0;
}
.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

.news table td {
  font-size: 1rem;
  color: var(--global-text-color);
}

.news table th {
  color: var(--global-text-color);
}

.social {
  text-align: center;
}
.social .contact-icons {
  font-size: 4rem;
}
.social .contact-icons a i::before {
  color: var(--global-text-color);
  -webkit-transition: all 0.2s ease-in-out;
}
.social .contact-icons a:hover i::before {
  color: var(--global-theme-color);
}
.social .contact-note {
  font-size: 0.8rem;
}

footer.fixed-bottom {
  background-color: var(--global-footer-bg-color);
  font-size: 0.75rem;
}
footer.fixed-bottom .container {
  color: var(--global-footer-text-color);
  padding-top: 9px;
  padding-bottom: 8px;
}
footer.fixed-bottom a {
  color: var(--global-footer-link-color);
}
footer.fixed-bottom a:hover {
  color: var(--global-theme-color);
  text-decoration: none;
}

footer.sticky-bottom {
  border-top: 1px solid #d8dee9;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}

.header-bar {
  border-bottom: 1px solid #d8dee9;
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
}
.header-bar h1 {
  color: var(--global-theme-color);
  font-size: 5rem;
}

.tag-list {
  border-bottom: 1px solid var(--global-divider-color);
  text-align: center;
  padding-top: 1rem;
}
.tag-list ul {
  justify-content: center;
  display: flow-root;
}
.tag-list ul p, .tag-list ul li {
  list-style: none;
  display: inline-block;
  padding: 1rem 0.5rem;
  color: var(--global-text-color-light);
}

.post-list {
  margin: 0;
  margin-bottom: 40px;
  padding: 0;
}
.post-list li {
  border-bottom: 1px solid #d8dee9;
  list-style: none;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.post-list li .post-meta {
  color: var(--global-text-color-light);
  font-size: 0.875rem;
  margin-bottom: 0;
}
.post-list li a {
  color: var(--global-text-color);
  text-decoration: none;
}
.post-list li a:hover {
  color: var(--global-theme-color);
}

.pagination .page-item .page-link {
  color: var(--global-text-color);
}
.pagination .page-item .page-link:hover {
  color: #4c566a;
}
.pagination .page-item.active .page-link {
  color: #eceff4;
  background-color: var(--global-theme-color);
}
.pagination .page-item.active .page-link:hover {
  background-color: var(--global-theme-color);
}

.distill a:hover {
  border-bottom-color: var(--global-theme-color);
  text-decoration: none;
}

.projects .card-item {
  width: auto;
  margin-bottom: 10px;
}
.projects .card-item a {
  text-decoration: none;
}
.projects .card-item .row {
  display: flex;
  align-items: center;
}
.projects .card-item .card img {
  width: 100%;
}
.projects .grid-item {
  width: 250px;
  margin-bottom: 10px;
}
.projects .grid-item a {
  color: black;
  text-decoration: none;
}
.projects .grid-item a:hover {
  color: var(--global-theme-color);
}
.projects .grid-item .card img {
  width: 100%;
}
.projects .grid-item .card .card-title {
  color: #4c566a;
}
.projects h2.category {
  color: #d8dee9;
  border-bottom: 1px solid #d8dee9;
  padding-top: 0.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: right;
}

.publications {
  margin-top: 2rem;
}
.publications h1 {
  color: var(--global-theme-color);
  font-size: 2rem;
  text-align: center;
  margin-top: 1em;
  margin-bottom: 1em;
}
.publications h2 {
  margin-bottom: 1rem;
}
.publications h2 span {
  font-size: 1.5rem;
}
.publications h2.year {
  color: #d8dee9;
  border-top: 1px solid #d8dee9;
  padding-top: 1rem;
  margin-top: 2rem;
  margin-bottom: -2rem;
  text-align: right;
}
.publications ol.bibliography {
  list-style: none;
  padding: 0;
  margin-top: 0;
}
.publications ol.bibliography li {
  margin-bottom: 1rem;
}
.publications ol.bibliography li .abbr {
  height: 2rem;
  margin-bottom: 0.5rem;
}
.publications ol.bibliography li .abbr abbr {
  display: inline-block;
  background-color: var(--global-theme-color);
  padding-left: 1rem;
  padding-right: 1rem;
}
.publications ol.bibliography li .abbr abbr a {
  color: white;
}
.publications ol.bibliography li .abbr abbr a:hover {
  text-decoration: none;
}
.publications ol.bibliography li .abbr .award {
  color: var(--global-theme-color) !important;
  border: 1px solid var(--global-theme-color);
}
.publications ol.bibliography li .title {
  font-weight: bolder;
}
.publications ol.bibliography li .author a {
  border-bottom: 1px dashed var(--global-theme-color);
}
.publications ol.bibliography li .author a:hover {
  border-bottom-style: solid;
  text-decoration: none;
}
.publications ol.bibliography li .author > em {
  border-bottom: 1px solid;
  font-style: normal;
}
.publications ol.bibliography li .links a.btn {
  color: var(--global-text-color);
  border: 1px solid var(--global-text-color);
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.publications ol.bibliography li .links a.btn:hover {
  color: var(--global-theme-color);
  border-color: var(--global-theme-color);
}
.publications ol.bibliography li .hidden {
  font-size: 0.875rem;
  max-height: 0px;
  overflow: hidden;
  text-align: justify;
  -webkit-transition: 0.15s ease;
  -moz-transition: 0.15s ease;
  -ms-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: all 0.15s ease;
}
.publications ol.bibliography li .hidden p {
  line-height: 1.4em;
  margin: 10px;
}
.publications ol.bibliography li .hidden pre {
  font-size: 1em;
  line-height: 1.4em;
  padding: 10px;
}
.publications ol.bibliography li .hidden.open {
  max-height: 100em;
  -webkit-transition: 0.15s ease;
  -moz-transition: 0.15s ease;
  -ms-transition: 0.15s ease;
  -o-transition: 0.15s ease;
  transition: all 0.15s ease;
}
.publications ol.bibliography li div.abstract.hidden {
  border: dashed 1px var(--global-bg-color);
}
.publications ol.bibliography li div.abstract.hidden.open {
  border-color: var(--global-text-color);
}

figure.highlight {
  margin: 0 0 1rem;
}

pre {
  color: var(--global-theme-color);
  background-color: var(--global-code-bg-color);
  border-radius: 6px;
  padding: 6px 12px;
}
pre pre, pre code {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
}

code {
  color: var(--global-theme-color);
  background-color: var(--global-code-bg-color);
  border-radius: 3px;
  padding: 3px 3px;
}

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after {
  transition: all 750ms !important;
  transition-delay: 0 !important;
}

/*******************************************************************************
 * Style overrides for distill blog posts.
 ******************************************************************************/
d-byline {
  border-top-color: #d8dee9 !important;
}

d-byline h3 {
  color: var(--global-text-color) !important;
}

d-byline a, d-article d-byline a {
  color: var(--global-text-color) !important;
}
d-byline a:hover, d-article d-byline a:hover {
  color: var(--global-hover-color) !important;
}

d-article {
  border-top-color: #e8e8e8 !important;
}
d-article a, d-article p, d-article h1, d-article h2, d-article h3, d-article h4, d-article h5, d-article h6 {
  color: var(--global-text-color) !important;
}
d-article a, d-article h1, d-article h2, d-article hr {
  border-bottom-color: #d8dee9 !important;
}
d-article a:hover {
  border-bottom-color: var(--global-hover-color) !important;
}

d-appendix {
  border-top-color: #d8dee9 !important;
  color: var(--global-distill-app-color) !important;
}
d-appendix h3, d-appendix li, d-appendix span {
  color: var(--global-distill-app-color) !important;
}
d-appendix a, d-appendix a.footnote-backlink {
  color: var(--global-distill-app-color) !important;
}
d-appendix a:hover, d-appendix a.footnote-backlink:hover {
  color: var(--global-hover-color) !important;
}

/* Adjusted to give override background and text colour */
.highlight pre, pre, .highlight .hll {
  background-color: #49483E;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 3px;
  color: #FFFFFF;
}

.gist pre {
  color: #515151;
}

/* Highlights taken from https://gist.github.com/asaaki/1007420  for Monokai theme */
.c {
  color: #75715e;
} /* Comment                     */
.err {
  color: #960050;
  background-color: #1e0010;
} /* Error                       */
.k {
  color: #66d9ef;
} /* Keyword                     */
.l {
  color: #ae81ff;
} /* Literal                     */
.n {
  color: #f8f8f2;
} /* Name                        */
.o {
  color: #f92672;
} /* Operator                    */
.p {
  color: #f8f8f2;
} /* Punctuation                 */
.cm {
  color: #75715e;
} /* Comment.Multiline           */
.cp {
  color: #75715e;
} /* Comment.Preproc             */
.c1 {
  color: #75715e;
} /* Comment.Single              */
.cs {
  color: #75715e;
} /* Comment.Special             */
.ge {
  font-style: italic;
} /* Generic.Emph                */
.gs {
  font-weight: bold;
} /* Generic.Strong              */
.kc {
  color: #66d9ef;
} /* Keyword.Constant            */
.kd {
  color: #66d9ef;
} /* Keyword.Declaration         */
.kn {
  color: #f92672;
} /* Keyword.Namespace           */
.kp {
  color: #66d9ef;
} /* Keyword.Pseudo              */
.kr {
  color: #66d9ef;
} /* Keyword.Reserved            */
.kt {
  color: #66d9ef;
} /* Keyword.Type                */
.ld {
  color: #e6db74;
} /* Literal.Date                */
.m {
  color: #ae81ff;
} /* Literal.Number              */
.s {
  color: #e6db74;
} /* Literal.String              */
.na {
  color: #a6e22e;
} /* Name.Attribute              */
.nb {
  color: #f8f8f2;
} /* Name.Builtin                */
.nc {
  color: #a6e22e;
} /* Name.Class                  */
.no {
  color: #66d9ef;
} /* Name.Constant               */
.nd {
  color: #a6e22e;
} /* Name.Decorator              */
.ni {
  color: #f8f8f2;
} /* Name.Entity                 */
.ne {
  color: #a6e22e;
} /* Name.Exception              */
.nf {
  color: #a6e22e;
} /* Name.Function               */
.nl {
  color: #f8f8f2;
} /* Name.Label                  */
.nn {
  color: #f8f8f2;
} /* Name.Namespace              */
.nx {
  color: #a6e22e;
} /* Name.Other                  */
.py {
  color: #f8f8f2;
} /* Name.Property               */
.nt {
  color: #f92672;
} /* Name.Tag                    */
.nv {
  color: #f8f8f2;
} /* Name.Variable               */
.ow {
  color: #f92672;
} /* Operator.Word               */
.w {
  color: #f8f8f2;
} /* Text.Whitespace             */
.mf {
  color: #ae81ff;
} /* Literal.Number.Float        */
.mh {
  color: #ae81ff;
} /* Literal.Number.Hex          */
.mi {
  color: #ae81ff;
} /* Literal.Number.Integer      */
.mo {
  color: #ae81ff;
} /* Literal.Number.Oct          */
.sb {
  color: #e6db74;
} /* Literal.String.Backtick     */
.sc {
  color: #e6db74;
} /* Literal.String.Char         */
.sd {
  color: #e6db74;
} /* Literal.String.Doc          */
.s2 {
  color: #e6db74;
} /* Literal.String.Double       */
.se {
  color: #ae81ff;
} /* Literal.String.Escape       */
.sh {
  color: #e6db74;
} /* Literal.String.Heredoc      */
.si {
  color: #e6db74;
} /* Literal.String.Interpol     */
.sx {
  color: #e6db74;
} /* Literal.String.Other        */
.sr {
  color: #e6db74;
} /* Literal.String.Regex        */
.s1 {
  color: #e6db74;
} /* Literal.String.Single       */
.ss {
  color: #e6db74;
} /* Literal.String.Symbol       */
.bp {
  color: #f8f8f2;
} /* Name.Builtin.Pseudo         */
.vc {
  color: #f8f8f2;
} /* Name.Variable.Class         */
.vg {
  color: #f8f8f2;
} /* Name.Variable.Global        */
.vi {
  color: #f8f8f2;
} /* Name.Variable.Instance      */
.il {
  color: #ae81ff;
} /* Literal.Number.Integer.Long */

/*# sourceMappingURL=main.css.map */