/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
  color: #bbbbbb;
}

html {
  min-height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-container {
  flex: 1 0 auto;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

img {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

/* The three families, self-hosted so every platform renders the same text
   (primary artifact primary/home-php/fonts, laid into fonts/ by the build).
   Each subset to Latin and Latin Extended-A.

   Sizes match each family's text width to the Windows system font named
   after it, so lines wrap alike: PT Sans runs at 17/16 of that font's size,
   Inter at 15/16, PT Serif at 24/25. Inter and PT Serif sizes, and line
   heights meant to stay as they are, are in rem so body's 17px does not
   scale them. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/pt-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/pt-sans-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/pt-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'PT Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/pt-serif-400-italic.woff2') format('woff2');
}

body {
  font:
    17px/26px 'PT Sans',
    Arial,
    sans-serif;
}

.wrapper {
  width: 90%;
  margin: 0 5%;
}

/* ===================
    ALL: Theme
   =================== */

body {
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 400px,
      rgba(0, 0, 0, 0) -300px,
      rgba(0, 0, 0, 0.5) 100%
    ),
    #4f3b22;
}

/* A page's photo sits on body::before, fixed to the viewport (iOS ignores
   background-attachment: fixed), and the tint over it on body::after, which
   scrolls with the page. */
body {
  position: relative;
}
body::before,
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
body::after {
  position: absolute;
  z-index: -1;
}

.header-container {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.58) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.58) 100%
  );
}

.header-container {
  margin-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.71);
  border-bottom: 1px solid rgba(0, 0, 0, 0.71);
  box-shadow: rgba(160, 160, 160, 0.44) 0 0 5px;
}

.footer-container {
  border-top: 20px solid rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.58);
  text-shadow: 0 0 5px #000;
}

.mainpage .footer-container {
  display: none;
}

.footer-container p {
  color: #888;
  text-align: center;
}

.footer-container p a {
  color: #aaa;
  text-decoration: underline;
}

.footer-container p em {
  color: #fff;
  font-style: normal;
  font-weight: bold;
}

/*
.header-container {
    border-bottom: 20px solid #e44d26;
}

.footer-container,
.main aside {
    border-top: 20px solid #e44d26;
}

.header-container,
.footer-container,
.main aside {
    background: #f16529;
}

.title {
    color: white;
}
*/

/* ADMIN */

body.bg-admin {
  background-color: #555;
}
/*body.bg-admin a { color: #fff; }*/
body.bg-admin input,
body.bg-admin textarea {
  box-sizing: border-box;
  background: #000;
  color: #bbb;
  padding: 3px 5px;
  border: 1px solid #888;
}
body.bg-admin input.submit {
  padding: 8px 12px;
  color: #eee;
  font-weight: bold;
  background: #666;
}
/* A form that reads as a link: admin actions that change state are POSTs. */
form.as-link {
  display: inline;
}
form.as-link input[type='submit'] {
  padding: 0;
  border: 0;
  background: none;
  color: LinkText;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
table.grey {
  border: 1px solid #111;
}
table.grey th {
  background: #9ca498;
  text-align: left;
  font-family: 'Inter', Tahoma, sans-serif;
  font-size: 1rem;
  vertical-align: middle;
  padding: 5px 8px;
  color: #fff;
  font-weight: bold;
}
table.grey th.strong {
  background: #abb19b;
}
table.grey td {
  background: #222;
  padding: 5px 8px;
  font-family: 'PT Sans', Tahoma, sans-serif;
  vertical-align: middle;
}
table.grey td .dim {
  color: #888;
}
table.grey td.strong {
  background: #222;
}
table.grey tr.strong td {
  background: #161616;
}
table.grey tr.strong td.strong {
  background: #161616;
}
input.checkbox,
.wrtext input.radio {
  background: transparent;
}
table.grey tr.footnote td {
  background: #292929;
  border-top: 1px dashed #555;
}
table.grey tr.footnote td.strong {
  background: #292929;
}
table.grey tr.headnote td {
  background: #292929;
  border-bottom: 1px dashed #555;
}
table.grey tr.headnote td.strong {
  background: #292929;
}
table.grey tr.midnote td {
  background: #292929;
  border-top: 1px dashed #aaa;
  border-bottom: 1px dashed #555;
}
table.grey tr.midnote td.strong {
  background: #292929;
}

/* ==============
    MOBILE: Menu
   ============== */

.title {
  color: white;
  margin: 0 0 0 10px;
  padding: 18px 32px 3px 92px;
  /*background: rgba(0,71,125,0.20);*/
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: normal;
  line-height: 1.6rem;
  min-height: 41px;
  margin-bottom: 19px;
  text-shadow: 0 0 8px #000000;
}

#site-link {
  margin-right: 8px;
  color: #fff;
  text-decoration: none;
}
#site-link:hover {
  text-decoration: underline;
}

.title iframe {
  border: none;
  overflow: hidden;
  width: 130px;
  height: 21px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.fblike-container {
  width: 240px;
  height: 21px;
  margin: 0 auto;
  position: relative;
  left: 36px;
  top: -11px;
}
.fblike-container iframe {
  border: none;
  overflow: hidden;
  width: 240px;
  height: 21px;
}

nav.top ul {
  margin: 0;
  padding: 0;
}

nav.top form {
  display: flex;
  margin: 0;
}

nav.top button {
  flex: 1 1 auto;
  border: 0;
  line-height: inherit;
  cursor: pointer;
}

nav.top a,
nav.top button {
  display: block;
  margin-bottom: 10px;
  padding: 15px 0;

  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Inter', Tahoma, Arial, sans-serif;
  font-size: 1rem;

  color: white;
  background: #1e4363;
}

nav.top a:hover,
nav.top a:visited {
  color: white;
}

nav.top a:hover,
nav.top button:hover {
  text-decoration: underline;
}

nav.album-tags {
  display: block;
  margin: 30px 0;
}
nav.album-tags ul {
  margin: 0;
  padding: 0;
  display: inline-block;
}
nav.album-tags li {
  float: left;
  width: 50%;
}
nav.album-tags a {
  display: block;
  margin: 6px;
  padding: 10px 0;

  text-align: center;
  text-decoration: none;
  font-weight: normal;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.9375rem;

  color: white;
  background: rgba(142, 102, 64, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
nav.album-tags a:hover,
nav.album-tags a:visited {
  color: white;
}
nav.album-tags a:hover {
  text-decoration: none;
  background: rgba(142, 102, 64, 1);
}
nav.album-tags a.selected {
  background: rgba(255, 204, 128, 0.7);
  color: #000;
}

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

.center-children > * {
  display: inline-block;
}

.wr-tooltip {
  position: absolute;
  z-index: 9999999;
  pointer-events: none;
  border-radius: 8px;
  background: rgba(255, 255, 200, 0.95);
  color: #333;
  box-shadow: 2px 0px 16px rgba(0, 0, 0, 0.6);
  font-family: 'PT Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 15.5px;
  font-weight: normal;
  line-height: 22px;
  text-align: left;
  padding: 10px 15px 14px 15px;
}
/* The arrow, pointing at the described element's centre: down from a tooltip
   above it, up from one below. */
.wr-tooltip::after {
  content: '';
  position: absolute;
  left: var(--wr-tooltip-arrow-x, 50%);
  top: 100%;
  margin-left: -8px;
  border: 8px solid transparent;
  border-bottom: 0;
  border-top-color: rgba(255, 255, 200, 0.95);
}
.wr-tooltip.wr-tooltip--below::after {
  top: auto;
  bottom: 100%;
  border: 8px solid transparent;
  border-top: 0;
  border-bottom-color: rgba(255, 255, 200, 0.95);
}

/* The archive note under the header, on every page. */
.archive-note {
  /* The gravatar hangs below the header on wide screens: the top margin keeps
     the note clear of it and of the nav bar. */
  width: fit-content;
  max-width: 90%;
  box-sizing: border-box;
  margin: 40px auto 0;
  padding: 10px 18px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 0.9em;
  line-height: 1.26rem;
  text-align: center;
  text-shadow: 0 0 8px #000;
}
.archive-note a {
  color: #fff;
  text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
  padding: 30px 0;
}

main h1,
main h2.h1-look {
  font-size: 2.8rem;
  font-weight: normal;
  color: #ffc;
  text-shadow:
    3px 1px 10px #000,
    0 0 50px #fff;
  line-height: 3.6rem;
  clear: both;
  font-family: 'Inter', Arial, sans-serif;
  text-align: center;
  margin: 50px 20px 40px 20px;
}

section.album-intro {
  margin: 20px 0 80px 0;
}
p.tagline {
  text-align: center;
  color: #fff;
  max-width: 580px;
  margin: 30px auto;
  font-family: 'PT Serif', Times, serif;
  font-size: 1.25rem;
  font-style: italic;
  text-shadow:
    1px 1px 5px #000,
    0 0 30px #fff;
}
p.showall-link {
  text-align: center;
  color: #fff;
  font-family: 'Inter', Tahoma, 'Segoe UI', Arial, sans-serif;
  font-size: 0.9375rem;
  opacity: 0.7;
  margin: 20px auto;
  text-shadow:
    1px 1px 10px #000,
    0 0 30px #fff;
}
section.album-intro a,
p.showall-link a {
  color: #fff;
  text-decoration: underline;
}

.main aside {
  color: white;
  padding: 0px 5% 10px;
}

.footer-container footer {
  color: white;
  padding: 20px 0;
}

.pswp__caption {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(90%, 800px);
  transition: opacity 0.333s;
}
.pswp__caption[hidden],
.pswp:not(.pswp--ui-visible) .pswp__caption {
  opacity: 0;
  pointer-events: none;
}
.pswp__caption .desc {
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 20px 8px 20px;
  border-radius: 5px;
  font-family: 'PT Sans', 'Segoe UI', Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1.82rem;
  color: #ffa;
}
.pswp__caption .desc a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.album-dates {
  background: rgba(0, 0, 0, 0.2);
  padding: 8px 12px;
  border-radius: 5px;
  color: rgba(180, 180, 180, 0.5);
  font-size: 10px;
  line-height: 15px;
  font-family: 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
  text-shadow: 2px 1px 3px rgba(0, 0, 0, 0.4);
  text-align: center;
}
.album-dates b {
  font-weight: normal;
  color: rgba(255, 255, 255, 0.5);
}

.playpause_btn {
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent url(play_pause.png);
  opacity: 0.15;
  cursor: pointer;
}
.playpause_btn:hover,
.playpause_btn:focus-visible {
  opacity: 0.4;
}
.playpause_btn.play {
  background-position: 40px 0;
}
.playpause_btn.pause {
  background-position: 0 0;
}
.loading_notice {
  color: #fff;
  opacity: 0.2;
  position: absolute;
  text-shadow: 0 0 3px black;
}

.gravatar-container {
  position: relative;
}

.gravatar-container .gravatar {
  position: absolute;
  top: -10px;
  border: 1px solid rgba(0, 0, 0, 0.58);
  box-shadow: rgba(160, 160, 160, 0.8) 0 0 2px;
}

section.related {
  background: rgba(255, 196, 128, 0.3);
  border: 5px solid rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 50px 20px 20px 20px;
}

section.related > h2 {
  margin: 0 0 60px 0;
  text-align: center;
  color: #222;
  font-size: 29px;
  font-weight: normal;
  font-family: 'PT Serif', Times, serif;
  font-style: italic;
}

section.albums {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 50px;
}
section.albums .album {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.9375rem;
  text-decoration: none;
  display: block;
  text-align: left;
  flex: none;
  width: 304px;
  margin: 0 0 30px 0;
  min-height: 330px;
  position: relative;
}
section.albums .album-year {
  position: absolute;
  display: table-cell;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px 1px 8px;
  top: -27px;
  opacity: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  transition: all 0.4s ease;
}
section.albums .album-year.visible {
  opacity: 1;
}

section.albums .album .clip {
  width: 300px;
  height: 199px;
  border: 2px solid rgba(0, 0, 0, 0.58);
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* A cover of another shape is cropped from its top left corner. */
section.albums .album img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0 0;
}

.mainpage a.album-thumbs {
  display: block;
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  text-decoration: none;
}
.mainpage a.album-thumbs img {
  margin: 0 10px 0 0;
  border: 1px solid rgba(0, 0, 0, 0.5);
}

.mainpage .playpause_btn {
  position: absolute;
}
.mainpage a.album-info {
  display: block;
  text-decoration: none;
  padding: 12px 18px;
  width: 400px;
  min-height: 74px;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 3px;
  position: absolute;
  opacity: 0.01;
  box-shadow: 3px 3px 25px rgba(255, 255, 255, 0.1);
}
.mainpage a.album-info h2 {
  margin: 0 0 0.5em 0;
  padding: 0;
  font-size: 1.4375rem;
  font-style: italic;
  font-family: 'PT Serif', Times, serif;
  font-weight: normal;
  color: #ddac37;
}
.mainpage a.album-info p {
  margin: 0;
  line-height: 1.17rem;
  font-size: 0.9em;
  color: #bbb;
}

section.albums .album .desc {
  margin-top: 5px;
  padding: 7px 12px 10px 12px;
  width: 280px;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 5px;
}

section.albums .album p {
  margin: 0;
  line-height: 1.17rem;
  font-size: 0.9em;
  color: #ddd;
}

section.albums .album.tag-h .desc {
  background: rgba(20, 20, 20, 0.58);
  opacity: 0.8;
}
section.albums .album.tag-h h2 {
  color: #999;
}

section.albums .album h2 {
  margin: 0 0 0.3em 0;
  padding: 0;
  font-size: 1em;
  font-weight: normal;
  color: #ddac37;
}

section.album-desc {
  margin: 0 0 20px 0;
  background: rgba(255, 255, 200, 0.85);
  color: rgba(0, 0, 0, 0.9);
  padding: 25px 28px;
  border-radius: 15px;
  font-family: 'PT Sans', Tahoma, sans-serif;
  font-size: 1em;
  line-height: 1.6rem;
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
}

.white-primary {
  margin: 0 0 20px 0;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(0, 0, 0, 0.9);
  padding: 25px 28px;
  border-radius: 15px;
  font-family: 'PT Sans', Tahoma, sans-serif;
  font-size: 1em;
  line-height: 1.6rem;
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
}
.white-primary.yellow {
  background: rgba(255, 255, 170, 0.8);
}
.white-primary a {
  color: rgba(0, 0, 128, 0.7);
  text-decoration: underline;
  font-weight: bold;
}
.paragraphs > *:first-child {
  margin-top: 0;
}
.paragraphs > *:last-child {
  margin-bottom: 0;
}
.white-primary h1,
.white-primary h2 {
  font-size: 1.2em;
  font-weight: bold;
}
.white-primary h1 {
  margin: 0.83em 0;
  color: inherit;
  font-family: inherit;
  line-height: inherit;
  text-align: inherit;
  text-shadow: none;
  clear: none;
}
.bg-about .white-primary {
  margin-top: 40px;
}
.bg-about .gallery {
  padding-top: 40px;
}

section.album-desc > p:first-child {
  margin-top: 0;
}
section.album-desc > h2:first-child {
  margin-top: 4px;
}
section.album-desc > p:last-child {
  margin-bottom: 0;
}
section.album-desc ul {
  margin: 0;
  padding: 0 0 0 18px;
}
section.album-desc li {
  margin: 10px 0 0 0;
}
section.album-desc img.gmap {
  display: block;
  width: 100%;
  border: 1px solid #999;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
}

section.gallery {
  clear: both;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 50px;
}

section.gallery .photo {
  flex: none;
  width: 304px;
  margin: 0 0 30px 0;
}

section.gallery .photo.colspan-2 {
  width: 654px;
  max-width: 100%;
}

/* A panorama narrower than its thumbnail scales down to fit. */
section.gallery .photo.colspan-2 > a:first-child {
  max-width: calc(100% - 4px);
  height: auto !important;
}
section.gallery .photo.colspan-2 img {
  display: block;
  max-width: 100%;
  height: auto;
}

section.gallery .photo > a:first-child {
  text-decoration: none;
  display: block;
  margin: 0 auto;
  border: 2px solid rgba(0, 0, 0, 0.58);
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
}

section.gallery .photo img {
}

section.gallery .photo .desc {
  padding: 8px 12px;
  width: 280px;
  background: rgba(0, 0, 0, 0.58);
  border-radius: 5px;
  line-height: 1.17rem;
  font-size: 0.9em;
  color: #ddd;
  margin: 5px auto 0 auto;
}
section.gallery .photo .desc a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}
section.gallery .photo .desc p {
  line-height: 1.17rem;
  font-size: 1em;
  color: #ddd;
}
section.gallery .photo .desc p strong {
  color: #ffa;
}
section.gallery .photo.colspan-2 .desc {
  width: 620px;
  max-width: calc(100% - 24px);
}

section.album-editor {
}

section.album-editor div.threecols {
  margin: 0 0 50px 0;
}

section.album-editor div.threecols > div {
  margin: 0 0 5px 0;
  text-align: center;
}

section.album-editor div.threecols > div:first-child {
  color: #fff;
  font-size: 1.5em;
}

section.album-editor input,
section.album-editor textarea {
  width: 100%;
}
textarea.dyna-field {
  min-height: 60px;
}
.dyna-field {
  outline: green solid 1px;
}
.dyna-field.saving {
  outline: yellow solid 3px;
}
.dyna-field.success {
  outline: green solid 3px;
}
.dyna-field.error {
  outline: red solid 5px;
}
section.album-editor .tag-x,
section.album-editor .tag-h {
  opacity: 0.3;
}
section.album-editor .bad-cover {
  background: rgba(255, 0, 0, 0.2);
}
.admin-albums .tag-x,
.admin-albums .tag-h {
  opacity: 0.3;
}
.admin-albums input {
  background: transparent;
}
.admin-albums .tag-f td {
  background: #242;
}
.admin-albums .tag-ff td {
  background: #020;
}

section.album-editor .photo {
  width: 304px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto 0 auto;
}
section.album-editor .photo a:first-child {
  text-decoration: none;
  display: block;
  margin: 0 auto;
  border: 2px solid rgba(0, 0, 0, 0.58);
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {
  /* ====================
    INTERMEDIATE: Menu
   ==================== */

  .album-dates {
    float: right;
  }

  .header-container {
    padding-bottom: 15px;
  }

  nav.top {
    padding-top: 5px;
  }

  nav.top ul {
    display: flex;
  }

  nav.top li {
    flex: 1 1 auto;
  }

  nav.top a,
  nav.top button {
    display: block;
    text-align: center;
    margin: 0 3px;
    padding: 5px 0;
    font-weight: normal;
  }

  nav.top li:first-child a,
  nav.top li:first-child button {
    margin-left: 0;
  }

  nav.top li:last-child a,
  nav.top li:last-child button {
    margin-right: 0;
  }

  nav.album-tags {
    text-align: center;
  }
  nav.album-tags ul {
    display: inline-block;
    text-align: center;
  }
  nav.album-tags li {
    display: inline-block;
    float: none;
    width: auto;
  }
  nav.album-tags a {
    display: block;
    text-align: center;
    margin: 3px;
    padding: 5px 10px;
  }

  section.albums {
    clear: both;
    margin-top: 50px;
  }

  section.albums .album {
    margin-bottom: 50px;
  }

  section.gallery {
    margin-top: 50px;
  }

  section.gallery .photo {
    margin-bottom: 50px;
  }
}

@media only screen and (min-width: 850px) {
  .header-container {
    padding-bottom: 0;
  }

  body.bg-albums {
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0) 400px,
        rgba(0, 0, 0, 0) -300px,
        rgba(0, 0, 0, 0.5) 100%
      ),
      url(layout/background-for-albums.jpg) 55% 0% / cover no-repeat,
      #4f3b22;
  }
  body.bg-about {
    background: #4e3b22;
  }
  body.bg-about::before {
    background: url(/ac16aee6a23fff4eddc2a3afd2a2d8e6) 50% 0% / cover no-repeat;
  }

  /* ============
    WIDE: Menu
   ============ */

  .title {
    float: left;
    margin-bottom: 0;
  }

  nav.top {
    float: right;
    width: auto;
  }

  nav.top ul {
    margin: 12px 0 0 auto;
  }

  nav.top li {
    width: auto;
  }

  nav.top a,
  nav.top button {
    display: inline;
    text-align: left;
    margin: 0 10px;
    padding: 0 5px 0 5px;
    background: transparent;
    text-shadow: 0 0 8px #000000;
  }

  section.album-editor div.threecols {
    float: left;
    width: 100%;
  }

  section.album-editor div.threecols > div {
    float: left;
    margin: 0 10px 5px 0;
    width: 31%;
  }
  section.album-editor div.threecols > div.extra {
    width: 50%;
  }

  section.album-editor textarea {
    min-height: 110px;
  }

  .bg-about .column {
    width: 48%;
    padding: 10px;
    float: left;
    margin-top: 30px;
  }

  .bg-about .column .white-primary {
    margin: 0 0 20px 0;
  }

  /* ============
    WIDE: Main
   ============ */

  /*
    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
    */
}

/* The album description floats left of the photos. A flex container cannot
   wrap around a float, so the gallery beside it flows as inline blocks, its
   negative right margin taking back the last photo's in each row. */
@media only screen and (min-width: 1140px) {
  section.album-desc {
    float: left;
    width: 50%;
    margin: 0 50px 50px 0;
  }
  section.album-desc + section.gallery {
    display: block;
    clear: none;
    margin-right: -50px;
  }
  section.album-desc + section.gallery .photo {
    display: inline-block;
    vertical-align: middle;
    margin: 0 50px 50px 0;
  }
}

@media only screen and (min-width: 1300px) {
  section.album-desc {
    width: 404px;
  }
  .wrapper {
    width: 1170px; /* 1300px - 10% for margins */
    margin: 0 auto;
  }
  /*
    nav.album-tags {
        float: left;
        width: 100px;
        margin-top: 50px;
        display: block;
    }
    nav.album-tags a,
    nav.album-tags li,
    nav.album-tags ul {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
    section.albums {
        float: right;
        clear: none;
        width: 1100px;
    }
    */
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: '';
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: ' ';
  display: table;
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: ' (' attr(href) ')';
  }

  abbr[title]:after {
    content: ' (' attr(title) ')';
  }

  /*
     * Don't show links for images, or javascript/internal links
     */

  .ir a:after,
  a[href^='javascript:']:after,
  a[href^='#']:after {
    content: '';
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
