/* Sam Hubish Photography - site-specific layout and Galleria styles.
   Generated from legacy CSS; unused WordPress styles removed. */

body::before {
  content: "In memoriam of Sam Hubish            1957–2026";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: verdana, arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  background-color: #7f952c;
  color: #f3ebd5;
}

html,
body,
div,
span,
h1,
p,
a,
em,
img,
strong,
ul,
li {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

ul {
  list-style: none;
}

:focus {
  outline: 0;
}

a img {
  border: none;
}

body {
  background: #fff;
  position: relative;
  padding-top: 50px !important;
  margin: 0 !important;
}

body {
  color: #111;
  font:
    12px Arial,
    sans-serif;
  line-height: 1.5;
}

h1 {
  font-weight: normal;
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

ul {
  margin: 0 0 1.5em 2.5em;
}

ul {
  list-style: disc;
}

ul ul {
  margin-bottom: 0;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

.aligncenter,
img.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.photocrati-menu,
.photocrati-menu ul,
.photocrati-menu li,
.photocrati-menu a {
  margin: 0;
  padding: 0;
  position: relative;
  border: 0;
  line-height: 1;
  box-sizing: content-box;
}

.photocrati-menu:after,
.photocrati-menu ul:after {
  content: "";
  display: block;
  clear: both;
}

.photocrati-menu a {
  color: #000;
  display: block;
  padding: 0 17px;
  text-decoration: none;
}

.photocrati-menu ul {
  list-style: none;
  width: auto;
}

.photocrati-menu > ul {
  width: auto;
  margin: 0 auto;
}

.photocrati-menu > ul > li {
  vertical-align: top;
  display: inline-block;
}

.photocrati-menu .menu-item-has-children:hover > ul {
  display: block;
}

.photocrati-menu .menu-item-has-children ul {
  text-align: left;
  display: none;
  position: absolute;
  z-index: 99997;
  top: 100%;
  left: 0;
  min-width: 15em;
}

.photocrati-menu .menu-item-has-children ul li a {
  filter: none;
  display: block;
  line-height: 120%;
  padding: 8px 17px;
}

.photocrati-menu .menu-item-has-children .menu-item-has-children:hover > ul {
  display: block;
}

.photocrati-menu .menu-item-has-children .menu-item-has-children ul {
  display: none;
  position: absolute;
  z-index: 99998;
  left: 100%;
  top: 0;
}

html {
  min-height: 100%;
}

body {
  background: #ffffff 0 0px;
  padding-top: 0;
  margin-top: 0;
  min-height: 100%;
}

h1 {
  font-size: 30px;
  font-family: "Open Sans", serif;
  color: #333333;
  text-decoration: none;
  clear: none;
  text-transform: normal;
  font-weight: bold;
  text-align: center;
}

h1 a:link {
  color: #333333;
}

a:link,
a:visited {
  color: #5da85b;
  text-decoration: none;
}

a:hover,
a:active {
  color: #2ecc29;
  text-decoration: none;
}

#main_container {
  min-height: 100%;
  z-index: -1;
}

#main_container:before,
#main_container:after {
  content: " ";
  display: table;
}

#main_container:after {
  clear: both;
}

#wrapper {
  position: relative;
  margin: 0 auto;
  overflow: visible;
}

#wrapper:before,
#wrapper:after {
  content: " ";
  display: table;
}

#wrapper:after {
  clear: both;
}

#main {
  position: relative;
  width: 960px;
  min-width: none;
  max-width: none;
  margin: 0 auto;
  margin-bottom: 15px;
  background: transparent;
  border: 0px solid #666666;
}

#main:before,
#main:after {
  content: " ";
  display: table;
}

#main:after {
  clear: both;
}

#container {
  margin: 0 0px 0px 0px;
}

#container:before,
#container:after {
  content: " ";
  display: table;
}

#container:after {
  clear: both;
}

#menu_wrapper {
  clear: both;
  width: auto;
  margin: 1em 0 0.55em 0;
  text-align: center;
  overflow: visible;
  z-index: 4;
  background: transparent;
}

#menu_wrapper .photocrati-menu {
  margin: 0 3px;
}

.photocrati-menu > ul > li > a {
  padding-top: 17px;
  padding-bottom: 17px;
}

.photocrati-menu a {
  font-size: 14px;
  text-transform: uppercase;
}

.photocrati-menu a:link,
.photocrati-menu a:visited {
  color: #666666;
  font-family: "Open Sans", serif;
  font-weight: bold;
  text-decoration: none;
  background: #ffffff;
}

.photocrati-menu a:hover,
.photocrati-menu a:active,
.photocrati-menu .current_page_item a:link,
.photocrati-menu .current_page_item a:visited {
  color: #5da85b;
  background: #e8e8ea;
}

.photocrati-menu ul li ul li a:link,
.photocrati-menu ul li ul li a:visited {
  color: #5da85b;
  background: #e8e8ea;
  font-size: 12px;
  font-family: "Open Sans", serif;
  text-transform: uppercase;
  text-decoration: none;
}

.photocrati-menu ul li ul li a:hover,
.photocrati-menu ul li ul li a:active {
  color: #595959;
  background: #b2d3b1;
}

#header {
  background: #ffffff;
  width: auto;
  min-height: 140px;
  position: static;
  margin-bottom: 10px;
}

#header:before,
#header:after {
  content: " ";
  display: table;
}

#header:after {
  clear: both;
}

#masthead {
  width: auto;
  margin: 0 auto;
  position: relative;
}

#masthead:before,
#masthead:after {
  content: " ";
  display: table;
}

#masthead:after {
  clear: both;
}

#branding {
  display: block;
  width: 100%;
  text-align: center;
  margin: 25px 0 20px 0;
}

#branding #blog-title {
  word-wrap: break-word;
}

#branding a {
  display: block;
  text-decoration: none;
}

#branding h1 {
  font-size: 38px;
  font-family: "Oswald", serif;
  color: #b2d3b1;
  line-height: 40px;
  border: 0;
  margin-top: 15px;
  margin-bottom: 5px;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}

#branding .description {
  font-size: 16px;
  font-family: "Oswald", serif;
  color: #999999;
  text-transform: uppercase;
  text-decoration: none;
}

#wrapper-content-spacer {
  background: transparent;
  width: 960px;
  min-width: none;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  height: 5px;
  line-height: 0px;
  font-size: 0px;
  padding-bottom: 0px;
}

#content {
  position: relative;
  margin: 0;
  width: 100%;
  z-index: 1;
}

#content {
  color: #333333;
  font-size: 16px;
  font-family: "Open Sans", serif;
  text-decoration: none;
  font-style: normal;
}

#content p {
  line-height: 25px;
  margin-bottom: 25px;
}

p {
  margin-bottom: 0.5em;
}

.galleria-info-title {
  font-size: 16px;
  font-family: "Open Sans", serif;
}

.galleria-info-description {
  font-size: 16px;
  font-family: "Open Sans", serif;
}

#footer {
  clear: both;
  width: auto;
  text-align: center;
  margin: 15px auto 15px auto;
  padding-top: 5px;
  color: #333333;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 16px;
  font-family: "Open Sans", serif;
}

#footer a {
  color: #5da85b;
}

#footer a:hover,
#footer a:active {
  color: #b2d3b1;
  text-decoration: none;
}

@media screen and (min-width: 1025px) {
  #branding .description {
    margin-top: -5px;
  }
}

@media screen and (min-width: 0px) and (max-width: 1024px) {
  #main_container {
    width: auto;
    min-width: none;
    max-width: none;
    margin: 0;
  }

  #wrapper {
    width: auto;
    min-width: none;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
  }

  #main {
    width: auto;
    min-width: none;
    max-width: none;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }

  #header {
    position: static;
    max-height: none;
    width: auto;
    height: auto;
  }

  #header:before,
  #header:after {
    content: " ";
    display: table;
  }

  #header:after {
    clear: both;
  }

  #masthead {
    width: auto;
    min-width: none;
    max-width: none;
    text-align: center;
  }

  #wrapper-content-spacer {
    width: auto;
    padding-bottom: 15px;
  }

  #branding {
    width: auto;
    float: none;
    clear: both;
    text-align: center;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
  }

  #branding h1 {
    text-align: center;
  }

  #branding #blog-title {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  #branding #blog-title h1 {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  #branding #blog-title .description {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  #container {
    margin-left: 15px;
    margin-right: 15px;
  }

  #menu_wrapper {
    width: auto;
    float: none;
    clear: both;
    margin: 1em auto 0 auto;
    display: inline-block;
    text-align: center;
  }

  .photocrati-menu > ul > li {
    display: block;
    clear: both;
  }

  .photocrati-menu > ul > li > a,
  .photocrati-menu > ul > li > a:link,
  .photocrati-menu > ul > li > a:visited,
  .photocrati-menu > ul > li > a:hover,
  .photocrati-menu > ul > li > a:active {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .photocrati-menu .menu-item-has-children ul {
    display: none;
    position: static;
    top: auto;
    left: auto;
    text-align: center;
  }

  .photocrati-menu .menu-item-has-children .menu-item-has-children ul {
    display: none;
    position: static;
    left: auto;
    top: auto;
  }

  .photocrati-menu .menu-item-has-children .menu-item-has-children ul li a {
    padding-left: 28px;
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.3),
  only screen and (min--moz-device-pixel-ratio: 1.3),
  only screen and (-moz-min-device-pixel-ratio: 1.3),
  only screen and (-o-min-device-pixel-ratio: 13/10),
  only screen and (min-device-pixel-ratio: 1.3),
  only screen and (min-resolution: 120dpi),
  only screen and (min-resolution: 1.3dppx) {
  h1 {
    font-size: 22.5pt;
  }

  .photocrati-menu a {
    font-size: 10.5pt;
  }

  .photocrati-menu ul li ul li a:link,
  .photocrati-menu ul li ul li a:visited {
    font-size: 9pt;
  }

  #branding h1 {
    font-size: 28.5pt;
  }

  #branding .description {
    font-size: 12pt;
  }

  #content {
    font-size: 12pt;
  }

  .galleria-info-title {
    font-size: 12pt;
  }

  .galleria-info-description {
    font-size: 12pt;
  }

  #footer {
    font-size: 12pt;
  }
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
  only screen and (min--moz-device-pixel-ratio: 2),
  only screen and (-moz-min-device-pixel-ratio: 2),
  only screen and (-o-min-device-pixel-ratio: 2/1),
  only screen and (min-device-pixel-ratio: 2),
  only screen and (min-resolution: 192dpi),
  only screen and (min-resolution: 2dppx) {
  h1 {
    font-size: 22.5pt;
  }

  .photocrati-menu a {
    font-size: 10.5pt;
  }

  .photocrati-menu ul li ul li a:link,
  .photocrati-menu ul li ul li a:visited {
    font-size: 9pt;
  }

  #branding h1 {
    font-size: 28.5pt;
  }

  #branding .description {
    font-size: 12pt;
  }

  #content {
    font-size: 12pt;
  }

  .galleria-info-title {
    font-size: 12pt;
  }

  .galleria-info-description {
    font-size: 12pt;
  }

  #footer {
    font-size: 12pt;
  }
}

#gallery {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 600px;
  clear: both;
  line-height: 0;
}

#gallery .galleria-container {
  height: 100%;
}

#gallery .galleria-theme-classic .galleria-info-text {
  background-color: rgba(0, 0, 0, 0.7);
}

#gallery .icons {
  position: absolute;
  top: 10px;
  right: 20px;
  padding: 5px;
  z-index: 2;
  text-align: right;
}

#gallery .icons a {
  cursor: pointer;
}

#gallery .icons img {
  opacity: 0.7;
}

#gallery .icons img:hover {
  opacity: 0.9;
}

.aligncenter {
  clear: both;
}

:where(body) {
  margin: 0;
}

body {
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

a {
  background-color: transparent;
}

strong {
  font-weight: bolder;
}

img {
  border-style: none;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

#galleria-loader {
  height: 1px !important;
}

.galleria-theme-classic {
  position: relative;
  overflow: hidden;
  background: #000;
}

.galleria-theme-classic img {
  -moz-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}

.galleria-theme-classic .galleria-stage {
  position: absolute;
  top: 10px;
  bottom: 60px;
  left: 10px;
  right: 10px;
  overflow: hidden;
}

.galleria-theme-classic .galleria-thumbnails-container {
  height: 50px;
  bottom: 0;
  position: absolute;
  left: 10px;
  right: 10px;
  z-index: 2;
}

.galleria-theme-classic .galleria-carousel .galleria-thumbnails-list {
  margin-left: 30px;
  margin-right: 30px;
}

.galleria-theme-classic .galleria-thumbnails .galleria-image {
  height: 40px;
  width: 60px;
  background: #000;
  margin: 0 5px 0 0;
  border: 1px solid #000;
  float: left;
  cursor: pointer;
}

.galleria-theme-classic .galleria-counter {
  position: absolute;
  bottom: 10px;
  left: 10px;
  text-align: right;
  color: #fff;
  font:
    normal 11px/1 arial,
    sans-serif;
  z-index: 1;
}

.galleria-theme-classic .galleria-loader {
  background: #000;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: none;
  background: url("data:image/gif;base64,R0lGODlhEAAQAPQAAAAAAP///w4ODnR0dB4eHri4uISEhP///6amptra2lJSUkBAQOrq6mJiYvr6+sjIyJaWlgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAAKAAEALAAAAAAQABAAAAV2ICACAmlAZTmOREEIyUEQjLKKxPHADhEvqxlgcGgkGI1DYSVAIAWMx+lwSKkICJ0QsHi9RgKBwnVTiRQQgwF4I4UFDQQEwi6/3YSGWRRmjhEETAJfIgMFCnAKM0KDV4EEEAQLiF18TAYNXDaSe3x6mjidN1s3IQAh+QQACgACACwAAAAAEAAQAAAFeCAgAgLZDGU5jgRECEUiCI+yioSDwDJyLKs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XkgIAICKZzkqJ4nQZxLqZKv4NqNLKK2/Q4Ek4lFXChsg5ypJjs1II3gEDUSRInEGYAw6B6zM4JhrDAtEosVkLUtHA7RHaHAGJQEjsODcEg0FBAFVgkQJQ1pAwcDDw8KcFtSInwJAowCCA6RIwqZAgkPNgVpWndjdyohACH5BAAKAAkALAAAAAAQABAAAAV5ICACAimc5KieLEuUKvm2xAKLqDCfC2GaO9eL0LABWTiBYmA06W6kHgvCqEJiAIJiu3gcvgUsscHUERm+kaCxyxa+zRPk0SgJEgfIvbAdIAQLCAYlCj4DBw0IBQsMCjIqBAcPAooCBg9pKgsJLwUFOhCZKyQDA3YqIQAh+QQACgAKACwAAAAAEAAQAAAFdSAgAgIpnOSonmxbqiThCrJKEHFbo8JxDDOZYFFb+A41E4H4OhkOipXwBElYITDAckFEOBgMQ3arkMkUBdxIUGZpEb7kaQBRlASPg0FQQHAbEEMGDSVEAA1QBhAED1E0NgwFAooCDWljaQIQCE5qMHcNhCkjIQAh+QQACgALACwAAAAAEAAQAAAFeSAgAgIpnOSoLgxxvqgKLEcCC65KEAByKK8cSpA4DAiHQ/DkKhGKh4ZCtCyZGo6F6iYYPAqFgYy02xkSaLEMV34tELyRYNEsCQyHlvWkGCzsPgMCEAY7Cg04Uk48LAsDhRA8MVQPEF0GAgqYYwSRlycNcWskCkApIyEAOwAAAAAAAAAAAA==")
    no-repeat 2px 2px;
}

.galleria-theme-classic .galleria-info {
  width: 50%;
  top: 15px;
  left: 15px;
  z-index: 2;
  position: absolute;
}

.galleria-theme-classic .galleria-info-text {
  background-color: #000;
  padding: 12px;
  display: none;
  zoom: 1;
}

.galleria-theme-classic .galleria-info-title {
  font:
    bold 12px/1.1 arial,
    sans-serif;
  margin: 0;
  color: #fff;
  margin-bottom: 7px;
}

.galleria-theme-classic .galleria-info-description {
  font:
    italic 12px/1.4 georgia,
    serif;
  margin: 0;
  color: #bbb;
}

.galleria-theme-classic .galleria-info-close {
  width: 9px;
  height: 9px;
  position: absolute;
  top: 5px;
  right: 5px;
  background-position: -753px -11px;
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: pointer;
  display: none;
}

.galleria-theme-classic .notouch .galleria-info-close:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

.galleria-theme-classic .touch .galleria-info-close:active {
  opacity: 1;
  filter: alpha(opacity=100);
}

.galleria-theme-classic .galleria-info-link {
  background-position: -669px -5px;
  opacity: 0.7;
  filter: alpha(opacity=70);
  position: absolute;
  width: 20px;
  height: 20px;
  cursor: pointer;
  background-color: #000;
}

.galleria-theme-classic.notouch .galleria-info-link:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

.galleria-theme-classic.touch .galleria-info-link:active {
  opacity: 1;
  filter: alpha(opacity=100);
}

.galleria-theme-classic .galleria-image-nav {
  position: absolute;
  top: 50%;
  margin-top: -62px;
  width: 100%;
  height: 62px;
  left: 0;
}

.galleria-theme-classic .galleria-image-nav-left,
.galleria-theme-classic .galleria-image-nav-right {
  opacity: 0.3;
  filter: alpha(opacity=30);
  cursor: pointer;
  width: 62px;
  height: 124px;
  position: absolute;
  left: 10px;
  z-index: 2;
  background-position: 0 46px;
}

.galleria-theme-classic .galleria-image-nav-right {
  left: auto;
  right: 10px;
  background-position: -254px 46px;
  z-index: 2;
}

.galleria-theme-classic.notouch .galleria-image-nav-left:hover,
.galleria-theme-classic.notouch .galleria-image-nav-right:hover {
  opacity: 1;
  filter: alpha(opacity=100);
}

.galleria-theme-classic.touch .galleria-image-nav-left:active,
.galleria-theme-classic.touch .galleria-image-nav-right:active {
  opacity: 1;
  filter: alpha(opacity=100);
}

.galleria-theme-classic .galleria-thumb-nav-left,
.galleria-theme-classic .galleria-thumb-nav-right {
  cursor: pointer;
  display: none;
  background-position: -495px 5px;
  position: absolute;
  left: 0;
  top: 0;
  height: 40px;
  width: 23px;
  z-index: 3;
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.galleria-theme-classic .galleria-thumb-nav-right {
  background-position: -578px 5px;
  border-right: none;
  right: 0;
  left: auto;
}

.galleria-theme-classic .galleria-thumbnails-container .disabled {
  opacity: 0.2;
  filter: alpha(opacity=20);
  cursor: default;
}

.galleria-theme-classic.notouch .galleria-thumb-nav-left:hover,
.galleria-theme-classic.notouch .galleria-thumb-nav-right:hover {
  opacity: 1;
  filter: alpha(opacity=100);
  background-color: #111;
}

.galleria-theme-classic.touch .galleria-thumb-nav-left:active,
.galleria-theme-classic.touch .galleria-thumb-nav-right:active {
  opacity: 1;
  filter: alpha(opacity=100);
  background-color: #111;
}

.galleria-theme-classic.notouch .galleria-thumbnails-container .disabled:hover {
  opacity: 0.2;
  filter: alpha(opacity=20);
  background-color: transparent;
}

.galleria-theme-classic .galleria-carousel .galleria-thumb-nav-left,
.galleria-theme-classic .galleria-carousel .galleria-thumb-nav-right {
  display: block;
}

.galleria-theme-classic .galleria-thumb-nav-left,
.galleria-theme-classic .galleria-thumb-nav-right,
.galleria-theme-classic .galleria-info-link,
.galleria-theme-classic .galleria-info-close,
.galleria-theme-classic .galleria-image-nav-left,
.galleria-theme-classic .galleria-image-nav-right {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA/gAAAAfCAYAAABTcmYwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YW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sYIM7+ZPl2gUAAAq+cg8o+QD8R2ciR4wB4O/NdkR/sNx3kyOvQP05rg/D5Q/9MWMwrxrLa/fT/nOqcQy1Os3+ldVz/TvQcB3lHmiIwa/Qm0x28mGwrGJudfcycidy2SiGOh+ZSn9eMrs78i5yyIigfao7+Mo90ATWMpi/pNoVNTdWvrxD/zyyNf3+Om0u948jayM3I0eNCtqlU3kgdrQVaILPyU4+zFVSMcc6y+/e5+P5l4xiqOmBz7r8HL+vUu7vRU4aE7RP3sHPD775eM8W5R5okOpO/vvIHmsbSmnx2W8s5ldDVyPr0q/L9fJz6QdjGap6/8xMKjbvcrnPO/ffjQfaWfDzu047I18i2zwAAw0r+W8iGyKvIruMBAVVQTW/2snFvlv+mYv+18h6Y1mwvHP/sCz33yLbIx+NBdopLwQXUvEbv/wAPGEkQINMlGvbTLnWQdsoo+a5EuRCny/WO1z+/Y6RLNh45Eal3K9JxTF9r6ZBiwv+rciBVBzjOZ3cWgo0w+VyTfternG3jASlFHOstf7x/GdGseBy33/n/nYqdu7dPwMK/k+PUvFbUyUfaFq5P1yucaCcYn711a38nMvpOSOZV75FPx/Lz6fU8m35x1NxLL9bKfnXjAnaW/CVfEC5ByUVc/tfvlZ+zu/h3zWSeeVb9E9Frqfitvz+hXr9b5LJpyDOGBO08EOr1/vj/pj95aK6KnLF4gAo9wCMwOYyk0YBsHwFX8kHlHsAAFhhOnP8u+P6gHIPAAANKPhKPqDcAwBAQwq+kg8o9wAA0JCCr+QDyj0AADSk4Cv5gHIPAAANKfhKPqDcAwBAjc31NXnzqX6F3sHIA2MERuRA5L5yDwAAy1Pw+yV/PHLRCIERm4i8UO4BAGB5Cj4AAABQIz8EGAC+MAY7hAP2pgAAAABJRU5ErkJggg==");
  background-repeat: no-repeat;
}

.galleria-theme-classic.galleria-container.videoplay .galleria-info,
.galleria-theme-classic.galleria-container.videoplay .galleria-counter {
  display: none !important;
}

.sigal-converted-content .breadcrumb {
  margin: 0 0 18px;
  line-height: 1.5;
}

.sigal-converted-content #description {
  margin-top: 1.5em;
  line-height: 1.45;
}

.local-gallery-heading {
  font:
    600 26px "Open Sans",
    Arial,
    sans-serif;
  color: #444;
  margin: 22px 0 12px;
}

.local-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin: 18px 0 42px;
}

.local-gallery-grid a {
  display: block;
  text-decoration: none;
  background: #f5f5f5;
  color: #333;
}

.local-gallery-grid img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  background: #e4e4e4;
}

.local-gallery-grid span {
  display: block;
  padding: 14px 12px;
  font-size: 14px;
  line-height: 1.4;
}

.local-archive-note {
  max-width: 740px;
  margin: 24px auto 60px;
  padding: 20px;
  background: #f3f3f3;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .local-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }

  .local-gallery-grid img {
    height: 135px;
  }
}

/* Anchor flyingrib to the website header */
#header {
  position: relative;
}

#header::before {
  content: "";
  display: block;
  position: absolute;
  top: -41px;
  left: calc(50% + 72.5px);
  transform: translateX(-50%);

  width: 49px;
  height: 32px;

  background-image: url("./flyingrib-solo_small.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  z-index: 10;
  pointer-events: none;
}

@media screen and (max-width: 450px) {
  /* Hide the flying rib */
  #header::before {
    content: none !important;
    display: none !important;
  }

  /* Remove extra spaces from memorial text */
  body::before {
    content: "In memoriam of Sam Hubish 1957–2026";
    padding: 0 8px;
    white-space: normal;
    word-spacing: normal;
    font-size: 13px;
  }
}

/* About page portrait: responsive image with horizontal padding. */
.about-portrait {
  box-sizing: border-box;
  width: 100%;
  max-width: 694px; /* 630px image + 32px padding on each side */
  margin: 0 auto 24px;
  padding-inline: clamp(16px, 4vw, 32px);
}

.about-portrait a {
  display: block;
}

.about-portrait img {
  display: block;
  width: 100%;
  max-width: 630px;
  height: auto;
  margin-inline: auto;
}

.contact-portrait {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.contact-portrait img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
