:root {
  --header-height: 200px;
  --leftbar-width: 220px;
  --rightbar-width: 180px;
  --wrapper-max-width: 1300px;
  --content-padding: 10px;
  --content-padding-mobile: 5px;
  --content-margin: 15px;
  --sidebar-padding: 20px;
  --container-gradient: rgba(45, 33, 28, 0.65), rgba(41, 37, 47, 0.8);
  --white-text: #e2ddd3;
  --text-color: #2b2828;
  --gold: #bb9866;
  --gallery-spacing: 5px;
  --border: 1px solid black;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  background-image: url("/assets/images/full_gauge.png"), url("/assets/images/flower-bg-med.png"), linear-gradient(#373440, #4b4135);
  background-repeat: no-repeat, repeat repeat, no-repeat;
  background-attachment: fixed;
  background-position: calc(100% + 50px) 100%, top left, top left;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover, a:active, a:focus {
  text-decoration: underline;
}

#wrapper {
  max-width: var(--wrapper-max-width);
  margin: 0 auto;
  border: var(--border);
  background-image: linear-gradient(rgb(30, 4, 4), rgba(0, 0, 0, 0));
  background-attachment: fixed;
}

#top {
  margin: 0 0 10px 0;
  border: var(--border);
}

#container {
  display: flex;
}

#content {
  flex: 1;
  order: 2;
  padding: var(--content-padding);
  margin: 0 var(--content-margin);
  border: var(--border);
  background-color: rgba(255, 251, 244, 0.87);
}

#content h1 {
  text-align: center;
}

#content .box {
  width: 80%;
  margin: 16px auto;
  padding: 10px;
  border: 3px dotted var(--text-color);
  background: rgba(255, 255, 255, 0.4);
  text-align: center;
}

#leftbar {
  width: var(--leftbar-width);
  color: var(--white-text);
  background-image: linear-gradient(var(--container-gradient));
  height: 100%;
  border: var(--border);
  order: 1;
}

#rightbar {
  width: var(--rightbar-width);
  color: var(--white-text);
  background-image: linear-gradient(var(--container-gradient));
  text-align: center;
  height: 100%;
  border: var(--border);
  order: 3;
}

#footer {
  border: var(--border);
  text-align: center;
  font-size: smaller;
  /* some math to position the footer exactly under the content */
  margin-left: calc(var(--leftbar-width) + var(--content-margin));
  width: calc(100% - var(--leftbar-width) - var(--rightbar-width) - var(--content-margin) * 2);
}

#header {
  height: var(--header-height);
  background-image: url("/assets/images/header.png");
  background-position: bottom;
  border: var(--border);
}

#header {
  height: var(--header-height);
  background-image: url("/assets/images/shbtwtbanner.jpg");
  background-position: top;
  border: 5px double var(--black);
}

#mobilemenu {
  display: none;
}

/* menu */
#menu {
  font-size: 14pt;
}
#menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#menu ul li a {
  display: block;
  padding: 5px 10px;
}
#menu ul li {
  font-weight: bold;
  background-image: linear-gradient(to right, rgba(230, 168, 142, 0.5), rgba(0, 0, 0, 0));
}
#menu ul ul li {
  font-weight: initial;
  background-image: linear-gradient(to right, rgba(165, 105, 142, 0.5), rgba(0, 0, 0, 0));
  padding-left: 5px;
}
#menu ul ul ul {
  padding-left: 10px;
}
#menu ul ul ul li {
  background-image: initial;
  background-color: initial;
}

/* this hides the "skip to content" button when it's not currently highlighted through keyboard navigation */
.skipbutton:not(:focus):not(:active) {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(100%);
  clip-path: inset(100%);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* info bar */
#infobar {
  text-align: center;
  padding: 5px;
}

#infobar img {
  max-width: 100%;
  padding: 0 5px;
}

#infobar hr {
  color: var(--gold);
  text-align: center;
}

/* post navigation */
.postnavigation {
  display: grid;
  grid-template-columns: minmax(25%, 300px) minmax(50%, 70%) minmax(25%, 300px);
}
.postnavigation a {
  padding: 5px;
}

@media screen and (max-width: 1080px) {
  .postnavigation {
    font-size: large;
    padding: 8px;
  }
}
.prev {
  text-align: left;
}

.next {
  text-align: right;
}

.trail {
  text-align: center;
}

.currentpage {
  color: var(--text-color) !important;
  font-weight: bold;
}

/* post lists */
.list_post_title {
  font-weight: bold;
}

/* tags page */
table {
  border-collapse: collapse;
  margin: 0 auto;
  min-width: 80%;
  --tags-table-border: 3px double var(--gold);
}
table tr {
  border-bottom: var(--tags-table-border);
}
table tr:first-of-type {
  border-top: var(--tags-table-border);
}
table td {
  padding: 6px;
}
table td:last-of-type {
  width: 150px;
  text-align: right;
}

/* individual posts */
#postfooter .postnavigation {
  grid-template-columns: minmax(50%, 300px) 0 minmax(50%, 300px);
}

/* image gallery */
#imagetaglist {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0;
}
#imagetaglist .tagbutton {
  color: black;
  margin: 5px;
  padding: 5px 10px;
  text-decoration: underline;
}
#imagetaglist .tagbutton:hover {
  cursor: pointer;
}
#imagetaglist .active {
  color: purple;
}

#gallery {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  align-items: center;
  justify-content: space-evenly;
}
#gallery .show {
  display: table;
}
#gallery figure {
  display: none;
  padding: 0;
  margin: var(--gallery-spacing);
  max-width: calc(100% - 2 * var(--gallery-spacing));
}
#gallery figcaption {
  display: table-caption;
  caption-side: bottom;
  padding: 0 0 5px 0;
}
#gallery img {
  max-height: 300px;
  max-width: 100%;
}
#gallery img:hover {
  cursor: pointer;
}

#lightbox {
  border: none;
  outline: none;
}
#lightbox img {
  max-height: 90vh;
  max-width: 90vw;
}

::backdrop {
  backdrop-filter: blur(3px) brightness(80%);
}

#wrapper:has(* #lightbox:popover-open) {
  pointer-events: none;
}

#lightbox {
  pointer-events: auto;
}
#lightbox button {
  display: block;
  width: 30px;
  height: 30px;
  margin: 10px auto;
}

/* responsive stuff */
@media screen and (max-width: 1080px) {
  #container {
    flex-wrap: wrap;
  }
  #content {
    padding: var(--content-padding-mobile);
  }
  #leftbar, #rightbar, #footer {
    width: 100%;
  }
  #leftbar {
    margin-bottom: 5px;
    display: none;
  }
  #rightbar {
    margin-top: 5px;
  }
  #footer, #top {
    margin: 0px;
  }
  /* button for opening menu on small screens */
  #mobilemenu {
    display: flex;
    width: 100%;
  }
  #mobilemenu p {
    margin: 15px auto;
  }
  #closemenu {
    display: none;
  }
  #menu ul li a {
    padding: 15px 20px;
  }
}
@media screen and (min-width: 1081px) {
  #leftbar {
    display: block !important;
  }
}

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