#meta-data {
    margin-bottom: 1em;
}

blockquote {
    font-size: inherit !important;
    color: #666666;
    padding: 0 0 0 1em;
    margin: 1em 0 1em 0;
}

/* Blog -------------------------------------------------------------------- */
.blog-posts hr:last-child {
    display: none;
}

section.article h2 {
	margin-top: -2px;
}

section.article img {
    margin-bottom: 2em;
}

/* Photoswipe -------------------------------------------------------------- */
.ps-gallery.multi-image {
  width: 100%;
  float: left;
  margin-bottom: 1em;
  text-align: center;
}

.ps-gallery.multi-image img {
  height: 150px;
}

.ps-gallery.multi-image figure {
  display: inline-block;
  margin: 0 5px 5px 0;
}

.ps-gallery.multi-image figcaption {
  display: none;
}

.ps-gallery.single-image img {
    margin-top: 0.67em;
}

.ps-gallery figcaption {
    text-align: justify;
    font-size: 80%;
    font-style: italic;
}

@media screen and (min-width: 480px) {
    .ps-gallery.left {
        margin-right: 50px !important;
    }

    .ps-gallery.right {
        margin-left: 50px !important;
    }

    .ps-gallery.center figcaption {
        text-align: center;
    }

    .ps-gallery.right figcaption {
        text-align: right;
    }
}

@media screen and (max-width: 480px) {
    .ps-gallery {
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .ps-gallery figcaption {
        text-align: left;
        width: auto !important;
    }
}

.pswp {
    z-index: 3000 !important;
}

.pswp__caption .pswp__caption__center {
    text-align: center;
}

/* Alerts ------------------------------------------------------------------ */
.alert p {
    margin: 0;
    padding: 0;
}

/* Code Block -------------------------------------------------------------- */
#content .code-block {
    margin-bottom: 1em;
}

#content .code-block .license {
    text-align: right;
    font-size: 75%;
}

.highlight .go { color: #555555 }

/* Misc -------------------------------------------------------------------- */
#content ul,
#content ol {
    list-style-position: outside;
}

#content .ptx-sidebar img {
    width: 100% !important;
}

#content .copyright {
    font-size: 75%;
    text-align: right;
    margin-top: 5em;
}

#content .blog-navigation {
    margin-top: 2em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

#content img {
    max-width: 100%;
}

#content div.system-messages {
    display: none;
}

table.ptx-table,
table.docutils {
    color: #777777;
}

/* Admonitions ------------------------------------------------------------------ */

div.admonition {
  padding: 10px;
  margin: 10px 0px;
}

div.admonition p.admonition-title {
  color: #e0e0e0;
  font-weight: bold;
  margin: -10px -10px 10px -10px;
  padding-left: 10px;
}

div.admonition p.last {
  margin-bottom: 0px;
}

div.tip {
  background-color: #494949;
}

div.tip p.admonition-title {
  background-color: #494949;
}

div.note {
  background-color: #b2d6e9;
}

div.note p.admonition-title {
  background-color: #4ca0cd;
}

div.important{
  background-color: #e9b2ba;
}

div.important p.admonition-title {
  background-color: #cd4c60;
}

div.warning{
  background-color: #e9c5b2;
}

div.warning p.admonition-title {
  background-color: #cd794c;
}

/* 2024 adaptions */

:root {
    --background-color: #1a1a1a;
    --text-color: #e0e0e0;
    --accent-color: #c0aa60;
    --link-color: #8d8fc9;
}

body, #top, footer {
    background: var(--background-color) !important;
    color: var(--text-color);
    font-weight: bold;
}

strong, #languages-menu-top a.active {
    color: var(--accent-color) !important;
}

.wrapper {
    max-width: 120rem !important;
}

#languages-menu-top {
    margin-top: 6px
}

#languages-menu-top, #languages-menu-top a {
    color: var(--text-color) !important;
}

#top #logo {
    margin-top: 8px;
}

#top #logo-text img {
    margin-top: 62px !important;
    margin-left: 65px !important;
}

#content h1, #content h2, #content h3, #content h4, .ptx-sidebar .body {
    color: var(--accent-color) !important;
}

#content a {
    color: var(--link-color);
    text-decoration: underline;
    text-decoration-thickness: 0.11em;
}

#content a:hover {
    filter: brightness(1.2);
}

.btn-warning, .btn-warning:hover {
    background: var(--link-color);
    color: white;
    font-weight: bold;
    border-width: 0;
}

.admonition {
    color: black;
}

.tiles {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 3rem 0 5rem 0;
}

.new-tile, .new-color-tile {
    width: 20em;

    padding: 1em;

    background: #333;
    color: var(--text-color);

    cursor: pointer;

    transition: all 0.1s;
}

.new-tile h1, .new-color-tile h1 {
    color: var(--accent-color) !important;
}

.new-tile:hover {
    transform: scale(1.05);
}

.header {
    min-height: 10rem;
    font-size: 120%;
    text-align: center;
    padding: 2rem;
    background-size: 15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#content .header h1 {
    color: var(--text-color) !important;
    font-size: 200%;
    margin-bottom: 0.8em;
}

.header p {
    max-width: 40em;
}

.email {
    margin-top: 1em;
}

.email a {
    font-size: 150%;
}

.dropdown-menu li:hover a {
    color: black !important;
}

#footer-top, .ptx-navbar, #ribbon {
    background: #494949 !important;
}
