html, body, div, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, ol, ul, li, form, fieldset, legend, label, table, header, footer, nav, section, figure {
  margin: 0;
  padding: 0;
}

/* Make PhotoSwipe's loading-placeholder background transparent. PhotoSwipe
   creates a <div class="pswp__img pswp__img--placeholder"> sized to the
   slide's full rect while the image loads. Its default `--pswp-placeholder-bg`
   is a grey, which on non-rectangular artworks (diamonds, triangles) showed
   as a visible grey rectangle behind the actual painting for the brief
   moment before the image finished rendering. Transparent = invisible: the
   user just sees the dark lightbox backdrop until the image appears.
   NB: PhotoSwipe defines this var inside `.pswp { ... }` (its line 4-5),
   so an override on `:root` loses the cascade. We have to scope the override
   to `.pswp` (same selector specificity) to win. */
.pswp {
  --pswp-placeholder-bg: transparent;
}

body {
  background: #EEE;
  font-family: "myriad-pro","Myriad Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 18px;
  line-height: 26px;
  color: #282B30;

  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga", "kern";
}

figure {
  display: block;
  max-width: 100%;
}

a {
  color: #3169B3;
}
a:hover {
  color: #C00;
}

img {
  width: auto;
  max-width: 100%;
  height: auto;
  border: 0;
}

p {
  margin: 0 0 12px;
}
ul {
  list-style: disc;
}
ul, ol {
  padding: 0;
  margin: 0 0 12px 25px;
}
li {
  margin: 0 0 12px 0;
}
h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: normal;
}

h1 {
  font-size: 48px;
  line-height: 1;
  margin: 1em;
  font-weight: 600;
  text-align: center;
}

h1 a {
  text-decoration: none;
  /* `color` removed 2026-05-12 — was #282B30 (black). Letting the H1 link
     inherit the theme's general `a` color (#3169B3 blue) so users see the
     "Andrey Volkov — Gallery" heading is clickable back to the gallery root. */
}

strong {
  font-weight: 600;
}

figcaption {
  display:none;
}

.container {
  width: 100%;
}

.content {
  max-width: 1024px;
  margin: 24px auto;
  padding:2em 0;
}

#menu {
  width: 100%;
  background: #F7F7F7 none repeat scroll 0 0;
  padding: 30px 0;
}

#menu ul {
  max-width: 1024px;
  margin: 0 auto;
}

#menu li {
    display: inline;
    list-style: none; /* pour enlever les puces sur IE7 */
}

.album-list {
  width: 100%;
  padding: 2em 0;
  margin: auto;
  background: #EEE none repeat scroll 0 0;
  float:left;
}

.thumbnail {
  text-align: center;
  float:left;
}
.thumbnail img {
  max-width: 85%;
  height: auto;
  margin: 0 2px 5px 2px;
  border: 10px solid #fff;
  border-radius: 2px 2px 2px 2px;
  box-shadow: 0 0 3px #B1B1B1;
  padding: 0 0 2px;
}
.thumbnail img:hover {
  box-shadow: 0 0 5px #818181;
}

.album_title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video {
  width: 100%;
  margin: 0 0 24px 0;
}
.video__container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  padding-top: 35px;
  height: 0;
  overflow: hidden;
}
.video__container iframe,
.video__container video {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2% 0 15% 0;
}
.video-desc {
  width: 100%;
  max-width: 740px;
  margin: 12px auto;
}

.additionnal-infos {
  width: 100%;
  height: auto;
  float: left;
}

.gallery {
  width: 100%;
  height: auto;
  float: left;
  padding-top:1em;
}
.gallery a {
  line-height: 0;
}

.menu-img,
.gallery__img--main,
.gallery__img--secondary {
  width: 25%;
  float:left;
  margin-bottom: 1em;
}

.gallery__title {
  line-height: 14px;
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
  width: 100%;
  float: left;
}

footer {
  width:100%;
  float:left;
}

footer p {
  text-align: center;
}
footer span:not(:last-child):after {
  content: ' - ';
}

@media screen and (max-width: 700px) {
  h1 {
    font-size: 40px;
  }
  .menu-img,
  .gallery__img--main,
  .gallery__img--secondary {
    width: 33%;
  }
}


@media screen and (max-width: 500px) {
  .menu-img,
  .gallery__img--main,
  .gallery__img--secondary {
    width: 50%;
  }
}


@media screen and (max-width: 300px) {
  .menu-img,
  .gallery__img--main,
  .gallery__img--secondary {
    width: 100%;
  }
}

.pswp__dynamic-caption {
  color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  transition: opacity 120ms linear !important; /* override default */
}

.pswp-caption-content {
  display: none;
}

.pswp__dynamic-caption a {
  color: #fff;
}

.pswp__dynamic-caption--faded {
  opacity: 0 !important;
}

.pswp__dynamic-caption--aside {
  width: auto;
  max-width: 300px;
  padding: 20px 15px 20px 20px;
  margin-top: 70px;
}

.pswp__dynamic-caption--below {
  width: auto;
  max-width: 700px;
  padding: 15px 0 0;
}

.pswp__dynamic-caption--on-hor-edge {
  padding-left: 15px;
  padding-right: 15px;
}

.pswp__dynamic-caption--mobile {
  width: 100%;
  background: rgba(0,0,0,0.5);
  padding: 10px 15px;

  right: 0;
  bottom: 0;

  /* override styles that were set via JS.
    as they interfere with size measurement */
  top: auto !important;
  left: 0 !important;
}

/* Static caption overlay (replaces PhotoSwipeDynamicCaption plugin).
   Anchored to viewport bottom, doesn't change image bounds — so the
   lightbox image opens at its final geometry and never re-positions
   after load. No jitter, no ghost trace. */
.pswp__custom-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 12px 20px 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
  max-height: 35vh;
  /* `pointer-events: none` so a tap on the caption area passes through
     to PhotoSwipe's background-click handler and closes the lightbox
     (otherwise iPad Safari was eating the tap on/near the caption and
     trapping the user in the lightbox). Links inside the caption
     re-enable pointer events so they remain clickable. */
  pointer-events: none;
}
.pswp__custom-caption a {
  pointer-events: auto;
}
.pswp__custom-caption h3.pswp-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
}
.pswp__custom-caption p {
  margin: 3px 0;
}
.pswp__custom-caption a {
  color: #9FC4F0;
  text-decoration: underline;
}
.pswp__custom-caption a:hover {
  color: #fff;
}
.pswp__custom-caption:empty {
  display: none;
}

/* Tonality-adjustment side panel (gated by `const ENABLE_TONE_PANEL` in
   the theme's base.html). Hidden by default; the tune button in the
   toolbar toggles `.is-open` to slide it in/out. Sits as an overlay on
   the right side of the lightbox so the underlying image stays in place
   and updates live as sliders are dragged. */
.pswp__tone-panel {
  position: absolute;
  top: 60px;
  right: 0;
  width: 280px;
  max-height: calc(100vh - 80px);
  padding: 16px;
  background: rgba(0, 0, 0, 0.92);
  color: #fff;
  display: none;
  z-index: 10;
  font-size: 13px;
  overflow-y: auto;
  pointer-events: auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  border-left: 1px solid #444;
  box-sizing: border-box;
}
.pswp__tone-panel.is-open {
  display: block;
}
.pswp__tone-panel .tone-row {
  margin: 10px 0;
}
.pswp__tone-panel .tone-row label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.pswp__tone-panel .tone-row .val {
  color: #9FC4F0;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}
.pswp__tone-panel input[type="range"] {
  width: 100%;
  accent-color: #9FC4F0;
}
.pswp__tone-panel .tone-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.pswp__tone-panel .tone-actions button {
  flex: 1;
  padding: 8px 12px;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 3px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}
.pswp__tone-panel .tone-actions button:hover { background: #444; }
.pswp__tone-panel .tone-actions button:disabled { opacity: 0.5; cursor: wait; }
.pswp__tone-panel .tone-apply {
  background: #3169B3 !important;
  border-color: #4480c8 !important;
}
.pswp__tone-panel .tone-apply:hover {
  background: #3a78c8 !important;
}

.pswp__tone-panel .tone-status {
  margin-top: 10px;
  min-height: 18px;
  font-size: 12px;
  line-height: 1.4;
}
.pswp__tone-panel .tone-status--ok { color: #7FCB7F; }
.pswp__tone-panel .tone-status--warn { color: #E8C547; }
.pswp__tone-panel .tone-status--err { color: #F08080; }
.pswp__tone-panel .tone-status--pending { color: #9FC4F0; }
.pswp__tone-panel .tone-recipe-label {
  margin-top: 14px;
  margin-bottom: 4px;
  color: #aaa;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pswp__tone-panel .tone-recipe {
  background: #111;
  padding: 8px;
  border-radius: 3px;
  font-family: ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 11px;
  color: #9FC4F0;
  white-space: pre-wrap;
  word-break: break-all;
  margin: 0;
  user-select: all;
  line-height: 1.4;
}
