/*
This file is released to the public domain.
*/

img {
    vertical-align: middle;
}
.figure p img {
    width: 100%;
}


@font-face {
    font-family: 'linux_libertineregular';
    src: url('linlibertine_rah-webfont.woff2') format('woff2'),
         url('linlibertine_rah-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

* {
    /* border: 2px dotted black; */
    font-family: 'linux_libertineregular';
    font-weight: normal;
    font-style: normal;
    line-height: 1.5;
    box-sizing: border-box;
}


@media only screen and (min-width: 800px) {

    p {
	margin-left: 20pt;
    }
    .org-dl {
	margin-left: 30pt;
    }
    .outline-3 {
	margin-left: 20pt;
    }
    .outline-4 {
	/* margin-left: 30pt; */
    }
    .outline-5 {
	margin-left: 10pt;
    }
    .outline-6 {
	margin-left: 10pt;
    }

    .outline-text-4 {
	/* border-left: 3px solid black; */
	/*! border-style: outset; */
    }
    .outline-text-5 {
	border-left: 2px solid gray;
	/*! border-style: outset; */
    }
    .outline-text-6 {
	border-left: 1px solid lightgray;
    }
}


body {
    margin: 0 auto;
    max-width: 60em;
    overflow-x: hidden;
    /* background: #8e3b46; */
}

.navigation > a {
    text-decoration: none;
    color:#2d2d2d !important;
}
.navigation > a:visited {
    color: #feb969 !important;
}

.notice-me {
    color:#2d2d2d;
}

.notice-me b {
    color: #feb969 !important;
}

.notice-me i {
  color: black;
  font-size: medium;
  text-decoration: underline;
}


a, a:visited {
    font-weight:bold;
    text-decoration: underline;
}

a {
    color:#d93712;
}

a:visited {
    color: #feb969;
}


a:hover, a:visited:hover {
    color: #f4771c;
}


ul li,
ol li {
    margin-bottom:10px;
}
ul li ul,
ul li ol,
ol li ul,
ol li ol {
    margin-top:10px;
}

h1 {
    margin-top: 5px;
    margin-bottom: 5px;
}


hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin: 1em 0;
    width: 100%;
}

.navigation-container {
    margin: 0;
    padding: 0;
    display: inline-block;
    width: 100%;
}

.navigation-container  header {
    /* background: #f87060; */
    padding-top: 1px;
}

.navigation-container  header p {
    align-content: center;
    text-align: center;
    font-size: 15px;
}

.navigation-container  header strong {
    font-size: 24px;
    font-weight: bold;
}

.navigation-container  header nav {
    /* background: #a2666f; */
}

.navigation-container  header nav a, .navigation-container  header nav a:visited {
    color:#2d2d2d;
    font-weight:bold;
    text-decoration: None;
}

.navigation-container  header nav a:hover, .navigation-container  header nav a:visited:hover {
    /* color: #f4771c; */
}


.navigation-container  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.navigation-container  ul li {
    display: inline-block;
    margin-bottom: 5px;
    margin-top: 5px;
}

.navigation-container  ul  li  a {
    margin-right: 1rem;
    margin-left: 1rem;
    font-weight: bold;
}

.project-box p {
    margin-left: 0pt !important;
}

.project-box {
    float: left;
    padding: 20px;
    width: 275px;
    height: 275px;
    /* background: #f49390; */
    margin: 10px;

    border-style: dashed;
    border-width: 3px;
    border-radius: 20px;
    border-color: #FF6600;
    position: relative;
}

.project-box .project-click {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -9999px;
    overflow: hidden;
}

.project-box  img {
    margin-left: 25px;
    margin-right: 25px;
    text-align: center;
}

.project-box  h3 {
    font-weight: bold;
    font-size: 20px;
}

.project-box  p {
    font-size: 18px;
}

.project-grid {
    text-align: center;
    margin-left: 25px;
    margin-right: 25px;

    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.content-container {
    width: 100%;
}

.content-container {
    padding: 0;
    display: inline-block;
    margin: 10px 0px 10px 0px;
}

.content-container > main {
    /* background: #f49390; */
    padding: 10px 20px;
}

dd > .src, li > .src, p > .src {
    padding: 4px !important;
    border-radius: 5px;
}


.src {
    background: #272822;
    color: #F8F8F2;
    word-wrap: break-word;
    max-width: 50em;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    overflow: scroll;
    font-family: 'courier' !important;
}

.src span {
    font-family: 'courier' !important;    
}

table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
}

table tbody tr:first-child {
    border-bottom: 2px solid black;
}

table tbody td {
    padding-right: 30px;
}

footer {
    /* background: #a2666f; */
    text-align: center;
}


h1 {
    font-weight: bold;
}

h2 {
    font-weight: bolder;
}

h3 {
    font-weight: bold;
    font-style: italic;
    border-bottom: 5px solid black;
}

h4 {
    font-weight: bolder;
    font-style: oblique;
    border-bottom: 3px solid gray;
}

h5 {
    font-weight: bold;
    font-style: inherit;
    border-bottom: 3px solid lightgray;
    font-size: 1.0em;
}
h6 {
    font-weight: bold;
    font-style: inherit;
    font-variant-caps: all-small-caps;
    border-bottom: 1px solid lightgray;
}

dt {
    font-weight: bolder;
}
dt > code {
    font-weight: bolder;
}
header p {
    margin-left: 0;
}

.small-image img {
    width:150px !important;
    display: block;
    margin-left:auto;
    margin-right:auto;
}

.center-math {
    text-align: center;
}

.text-image img {
        width: initial !important;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
}
.text-aside-image-reverse img {
    margin-top: auto;
    margin-bottom: auto;
    max-height: max-content;
}
.text-aside-image img {
    margin-top: auto;
    margin-bottom: auto;
    max-height: max-content;
}


@media only screen and (min-width: 800px) {
    .comments-nested {
        padding-left: 2em;
    }
    .comment {
        margin-bottom: 35px;  
    }

    .medium-image img {
        width: 60% !important;
        display: block;
        margin-left:auto;
        margin-right:auto;
        height: auto;
    }

    .dynamic-medium-image img {
        width: auto;
        max-width: 300px;
        display: block;
        margin-left:auto;
        margin-right:auto;
        height: auto;
    }

    .small-medium-image img {
        width: 40% !important;
        display: block;
        margin-left:auto;
        margin-right:auto;
        height: auto;
    }

    .text-aside-image {
        display: flex;
        flex-direction: row;
    }

    .text-aside-image-reverse {
        display: flex;
        flex-direction: row-reverse;
    }

}
@media only screen and (max-width: 800px) {
    .comments-nested {
        padding-left: 0.5em;
    }
    .comment {
        margin-bottom: 20px;  
    }

    .dynamic-medium-image img {
        width: 80% !important;
        max-width: 600px;
        display: block;
        margin-left:auto;
        margin-right:auto;
        height: auto;
    }

    .medium-image img {
        width: 80% !important;
        display: block;
        margin-left:auto;
        margin-right:auto;
        height: auto;
    }

    .small-medium-image img {
        width: 60% !important;
        display: block;
        margin-left:auto;
        margin-right:auto;
        height: auto;
    }

    .text-aside-image {
        display: flex;
        flex-direction: column;
    }

    .text-aside-image-reverse {
        display: flex;
        flex-direction: column;
    }

    
}

.comments-nested {
    margin-bottom: 25px;
    width: 100%;
    padding-right: 2em;
}
.comment {
    border-radius: 50%;
    display: flex;
    width: 100%;
    flex-basis: 100%;
}
.comment-user {
    width: 100px;
    margin-right: 20px;
    flex-grow: 1;
}
.comment-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}
.comment-message {
    display: inline-block;
}

.comment-name {
    text-align: center;
}

.comment-name {
    text-align: center;
    display: block;
    font-size: 12px;
}

.comment-avatar {
    text-align: center;
}

.comment-content {
    width: 100%;
}

.comment-content {
    flex-grow: 20;
}

.comment-url img {
    height: 15px;
    width: 15px;
    text-align: center;
}

.comment-url {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.comment-reply {
    display: table;
}

.comment-reply img {
    height: 25px;
    width: 25px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.post-reply {
    width: 100%;
    text-align: center;
    display: table;
}

.post-reply img {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 25px;
    height: 25px;
}
.center-text  b {
    text-align: center;
    display: block;
    font-weight: bold;
    font-size: large;
    font-style: italic;
    border-width: 1px 0px 1px 0px;
    border-color: black;
    border-style: dashed;
    background: whitesmoke;
}

b {
    font-weight: bold;
    font-size: inherit;
}

i {
    font-style: italic;
    font-size: inherit;
}

.post-url {
    vertical-align: middle;
}
.comment-date b {
    padding-right: 5px;
    color: gray;
    font-style: italic;
}
.comment-date {
    color: grey;
    font-style: initial;
    font-weight: bold;
}

.comments-no-js div {
    display: block;
    text-align: center;
    font-weight: bold;
    color: ;
    color: black;
}

.comments-panel.comments-panel-error {
    text-align: center;
    border: 3px solid red;
    border-radius: 10px;
    padding: 10px;
    width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.comments-panel-error p {
    padding: 0px;
    margin: 0px;
    font-size: large;
    font-weight: bold;
}

.warning {
  border-width: medium;
  display: block;
  background: #ffe1e1;
  border-radius: 5px;
  padding: 10px;
  border-style: dashed;
}

.note {
  border: dashed;
  border-radius: 5px;
  background-color: #d3eaff;
  padding: 10px 15px 10px 15px;
}

#footnotes {
  padding: 10px 20px;
}
.footpara {
  padding: 0px;
  margin-top: 0px;
  /*! margin-bottom: 0px; */
}
.footdef {
  padding-left: 30px;
}
.footnotes {
  /*! font-weight: normal; */
  font-size: large;
  font-style: italic;
}
.footdef sup {
  float: left;
}
.footnum {
  padding-right: 10px;
}

/* org-ref seems to chuck these in without my permission

probably should work out how to hack the elisp to prevent this, but
this will do for now.
*/
.equation-label {
    display: none;
}

@media screen and (min-width: 640px) {
    .code-side-by-side {
        display: flex;
        justify-content: space-around;
        align-items: stretch;
    }

    .code-side-by-side > div {
        margin-left: 1rem;
        margin-right: 1rem;
        flex-grow: 2;
    }
}
