/*
@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Libre Baskerville'), local('LibreBaskerville-Regular'), url(///assets/fonts/kmKnZrc3Hgbbcjq75U4uslyuy4kn0qNZaxY.ttf) format('truetype');
}

body {
    font-family: 'Libre Baskerville', serif;
}


*/

/* set some colors to Pentagrd-blue */
h2, h3, h4, h5, a, a:hover {
    color: #1f3864;
}


/* 
 * adjust bullet points 
 */

#content ul.simple {
    list-style: none;
    list-style-position: outside;
    padding-left: 1em;
}

#content ul.simple li {
    display: table-row;
}

#content ul.simple li::before {
    color: red;
    content: '■';
    padding-right: 0.5em;
    display: table-cell;
}


img {
    max-width: 100%;
}



#content img {
    margin-bottom: 1em;
}

.titlebox {
    text-align: right;
}


td.label {
    /* Issue #290 */
    background-color: inherit;
}

.footnote-reference {
    /* Issue 290 */
    vertical-align: super;
    font-size: xx-small;
}

.caption {
    /* Issue 292 */
    text-align: center;
    padding-top: 1em;
    font-style: italic;
}

div.figure > img,
div.figure > a > img {
    /* Issue 292 */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

blockquote p, blockquote {
    /* Nothing special for block quotes. */
}

ul.bricks > li {
    display: inline;
    background-color: lightblue;
    padding: 8px;
    border-radius: 5px;
    line-height: 3;
    white-space:nowrap;
    margin: 3px;
}

pre, pre code {
    white-space: pre;
    word-wrap: normal;
    overflow: auto;
}

article.post-micro {
    /*font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 1.5em; */
}

.image-block {
    display: inline-block;
}

.tags {
    padding-left: 0;
    margin-left: -5px;
    list-style: none;
    text-align: right;

}

.tags > li {
    display: inline-block;
}
.tags > li a {
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    background-color: #868e96;
}

.tags > li a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #6c757d;
}

.metadata p:before,
.postlist .listdate:after {
    content: " — ";
}

.metadata p:first-of-type:before {
    content: "";
}

.metadata p {
    display: inline;
}

.posttranslations h3 {
    display: inline;
    font-size: 1em;
    font-weight: bold;
}

.posttranslations h3:last-child {
    display: none;
}

.entry-content {
    margin-top: 1em;
}

/* for alignment with Bootstrap's .entry-content styling */
.entry-summary {
    margin-top: 1em;
}

/* Custom page footer */
#footer {
    padding-top: 19px;
    padding-bottom: 19px;
    color: #777;
    border-top: 1px solid #e5e5e5;
}


#footer a, #footer a:hover, #footer a:active, #footer a:visited {
    color: #f8f9fa;
}

a.external, a.external:hover, a.external:active, a.external:visited {
    text-decoration: underline;
}

article a[href^="http"].external::after,
article a[href^="https://"].external::after {
        content: "";
	width: 11px;
	height: 11px;
	margin-left: 4px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	display: inline-block;
}


.codetable {
    table-layout: fixed;
}

.codetable pre {
    overflow-x: scroll;
}


#logo {
    padding-left: 0px;
}


pre {
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    padding: 0.75rem;
}

.postindexpager {
    padding-bottom: 1rem;
}

ul.navbar-nav {
    margin-top: 0;
}

ul.pager {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    padding-left: 0;
    margin: 0.5rem 0;
}

ul.pager li.previous {
    margin-right: auto;
    display: inline;
}

ul.pager li.next {
    margin-left: auto;
    display: inline;
}


ul.pager li a {
    display: inline;
    position: relative;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    border: 1px solid #ddd;
    border-radius: .25rem;
}

.codetable td {
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.codetable td.linenos pre {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.codetable td.code pre.code {
    margin-left: 0;
    margin-right: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


.bg-dark {
    background-color: #3A3D40!important;
}



/* Styles starting here are for the start page
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}

/* fix for really wide screens that are wider than the images */
.carousel img {
     width: 100%
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-md-3 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-md-3 p {
  margin-right: .75rem;
  margin-left: .75rem;
}



/* RESPONSIVE CSS for landing page images
-------------------------------------------------- */

@media (max-width: 576px) {

  .learn-more-button {display: none; }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
    line-height: 1;
  }

  .featurette-heading {
    font-size: 14px;
  }
}

@media (min-width: 576px) {

  .learn-more-button {display: none; }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .featurette-heading {
    font-size: 24px;
  }
}

@media (min-width: 768px) {

  .learn-more-button {display: block; }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .featurette-heading {
    font-size: 36px;
  }
}

@media (min-width: 992px) {


  .learn-more-button {display: block; }
  
  /* Bump up size of carousel content */

  .carousel-caption p {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
  }

  .featurette-heading {
    margin-top: 7rem;
    font-size: 50px;
  }
}


section > h1, h2, h3 {
    margin-top: 1rem;
}






/* hat tip bootstrap/html5 boilerplate */
@media print {

    @page {
	size: A4;
	margin: 2cm;
    }
    
    *, *:before, *:after {
        font-family: Garamond, Junicode, serif;
    }

    body {
	width: auto;
        font-size: 13pt;
	margin: 0;
	padding: 0;
	border: 0;
	padding: 0;
	overflow: visible;
    }

    article .entry-title a[href]:after,
    article .metadata a[href]:after,
    article .tags a[href]:after {
        content: "";
    }



    article .metadata .linkline a[href]:after {
        content: " (" attr(href) ")";
    }

    /* Hide some content when printing. */

    /* Remove box after external links. If a page is printed without bg, then empty spaces looks strange. */
    article a[href^="http"].external::after,
    article a[href^="https://"].external::after {
        content: "";
	width: 0px;
	height: 0px;
	margin: 0px;
	display: none;
    }
    
    article .metadata .sourceline {
        display: none;
    }
    
    .navbar {
        display: none;
    }

    hidden-print {
	display: none;
    }
    ul.pager {
	display: none;
    }
}
