@charset "UTF-8";
@-ms-viewport{
  width: device-width;
}

  a, a:hover {
    text-decoration: none;
    color: #000 !important;
  }

  p {
    flex-grow: 1;
    font-size:15px;
    transform: scale(1.05);
  }

  .index p a {
    color: #000;
  }

html, body {
  background-color: #fff;
  margin-top: 0px !important;
  overflow-x: hidden;
}

body,button,input,textarea {
    color: unset;
}

/* end reset */
/* start koken theming */

.flexlay {
  margin-right: 30px;
  display: flex;
  flex-direction: column;
 align-items: stretch;
 position: relative;
}

#head {
  width: 100vw;
  height: 130px;
  position: absolute;
  display: none;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
.flex-grid {
    display: flex;
}

header {flex-basis: 120px; text-align: center; margin-top: 15vh; padding: 0px;}

/* over riding default theme styles */
#main .thumb>.image {
    cursor: pointer !important;
}
footer.main {
    margin-top: 0;
      bottom: 0;
      margin-right: auto;
      margin-left: auto;
      display: block;
      width: 100vw;
      padding-top: 10px;
  }
  
  h1, .meta, .smallsans, button, button[type=submit], div.essay-page footer, div.paginate a, footer.main, h5, header h6, header span.tagline, label, nav li, span.k-note, ul.neighbor-links li {
   font-family: 'Ogg Roman';
  }
  
  
  .content_header {
        margin-bottom: 12px;
      margin-top: 5px;
  }
  
  .content_header ul li a, .content_header ul li {
    font-size: 20px;
      line-height: 18px;
  }
  
  nav li {
      display: block;
      margin-right: 0px;
      margin-bottom: 0px;
      margin-top: -10px;
  }
  
  /* first-child targets old header design where home h1 was part of nav <ul>
  nav li:nth-child(1) {
    margin-top: 0;
  }
    */
  
  ul.neighbor-links {
    float: none;
  }
  
    .flexlay {
      margin-top: 8vh;
      min-height: 89vh;
      width: 100%;
    }
  
    .content header {
      height: initial;
    }
  
    .flex-wrap-overlord {
    display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
    }
    
  /* /////////////////////////////// */

@media (max-width: 400px) {
    .flexlay, .flexplay {
      margin-top: 4vh;
    }
  
  div#albums-detail img {
      max-height: initial !important;
      width: 100%;
      height: auto;
    }
  }


/* end koken theming */
/* start zenphoto theming */

/* Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: 'Ogg Roman';
  }

#zoom, header {
    position: relative;
    margin-top: 0px;
}

header nav {
    position: relative;
}

@font-face {
    font-family: 'Ogg Roman';
    src: url('../fonts/Ogg-Roman.woff2') format('woff2'),
        url('../fonts/Ogg-Roman.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

html, body, header {
    background: #fff;
}

header {
    transition: none;
}

.flexlay header {
    justify-content: center;
    top: 0 !important;
    height: 162px;
}

body {
    padding: 0;
    transition: none;
}

header h1 {
    transform: scale(1.05);
    font-size: 36px; 
    height: 30px;
    max-width: initial;
    overflow: initial;
    line-height: 17px;
    margin-top: 0;
    color: #000 !important;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: initial;
    margin-bottom: 22px;
}

  #albums {
    margin-top: 50px;
  }

header nav>ul>li a, header nav>ul>li a:hover {
    color: #000 !important;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: initial;
}

header nav>ul {
    display: flex;
    justify-content: space-around;
}

 h1, h2, h3, h4, h5, h6 {
     text-transform:unset;
 }

h3 {
    line-height: 32px;
    font-size: 21px;
}

.scroll-me {
    width: 32%;
    min-width: 32%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scroll-me a {
margin: 12.5px
}

#albums-detail {
display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}

.detail-text p {
word-wrap: break-word;
  white-space: -moz-pre-wrap;
  white-space: pre-wrap;
}

.single-image-page img {
opacity: 1;
  max-height: calc(75vh - 135px);
  width: auto;
}

.row {
margin-bottom: 0;
}

.details {
min-height: calc(10vh - 5px);
}


.hidden {
display: none;
}

#content-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.detail-text p {
     color: black;
  line-height: 25px;
}

.details {
font-family: 'Ogg Roman';
font-size: 20px;
line-height: 17px;
color: black;
}

.details h1 {
font-size: 20px;
text-transform: initial;
}

.details p {
color: black;
font-size: 16px;
}

footer.main {
    color: black;
    text-align: center;
    font-size: 12px;
    line-height: normal;
    letter-spacing: initial;
}

.mtop-neg-50 {
    margin-top: -5px;
}

html body div.galleryphp.flexlay div#main div.home-pic.thumb > a.image {
    width: 100%;
    height: auto;
    max-width: 95%;
    display: block;
    margin-right: auto;
    margin-left: auto;
    /* height: calc(92vh - 209px); */
    object-fit: contain;
}

#main .thumb {
    width: 100%;
}

#main .thumb > a.image {
    margin: 12.5px;
    background-size: contain;
}

#main .thumb a img {
   /*  display: block !important;  shows <img> instead of background-image */
   width: 100%;
   height: calc(92vh - 209px);
   object-fit: contain;
   max-width: initial;
   max-height: initial;
}

.thumb h2 {
    display: none;
}

#main .thumb:after {
    background-image: none;
}

#main, .home-pic {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-left: -12.5px;
    margin-right: 12.5px;
    grid-template-columns: repeat(auto-fill, 32%); /* Adjust minmax for column width, e.g., 32% = minmax(200px, 1fr) */
    grid-auto-rows: masonry; /* Enables masonry layout */
    grid-gap: 10px; /* Space between items */
}

div.home-pic a.image img {
    height: calc(92vh - 209px);
}

div#main .home-pic {
    width: auto;
}

body.loading header {
    transform: none !important;
} 
body.loading :after, body.loading :before, body.loading :not(header), body.resizing *, body.resizing :after, body.resizing :before {
    -webkit-animation: none !important;
    animation: none !important;
    transition: none !important;
    letter-spacing: initial;
}/* remove stupid animations */


header nav ul li.active h3 a {
    --color: black;
    background-image: linear-gradient(var(--color) 0%, var(--color) 100%);
    background-repeat: repeat-x;
    background-position: 0 1.15em;
    background-size: 1px 1px;
  }

  h1.album-name {
    width: 100%;
    color: black;
    text-align: center;
    font-size: 32px;
    margin-top: 25px;
    letter-spacing: initial;
  }
/* begin gallery.php styling. a lot of it is just unorganized up there */
  .galleryphp div#main {
    margin-top: 0px;
    display: block;
  }
  div.galleryphp div#main div.thumb.home-pic {
    margin-right: 0px;
    margin-left: 0px;
    overflow: visible;
    }
    .galleryphp {
        display: block;
    }
    div#main .home-pic > a.image {
        height: calc(92vh - 209px);
        margin: auto;
        display: block;
    }
  /* end gallery.php styling */
/* begin album.php styling */

.subalbum-sign {
    display: none;
}

.albumphp #main .thumb:after, #main .thumb>.image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
}


.albumphp #main .thumb:after { /* what is this?? i dont remember... */
    display: none;
}

.albumphp .image h3 {
    color: black;
    letter-spacing: initial;
    text-align: center;
    line-height: 26px;
    height: 48px;
    margin-top: 7px;
}

.loading #page {
    opacity: 1;
}
.full-image {
    width: 100%;
    height: 100%;
}

#main .bg-image {
  width: 100%;
  min-width: 32%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
  cursor: auto;
}

.bg-image .image {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 0;
    /* position: absolute; */
    top: 0;
}

.thumb .image img {
    object-fit: cover;
    max-height: 300px;
    max-width: 66%;
    width: 100%;       /* Set your desired width */
    height: auto;      /* Height must be auto to allow the ratio to work */
    aspect-ratio: 16 / 9; 
}

.thumb .image.album-objects img {
    object-fit: contain;
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: initial;
    aspect-ratio: auto;
    /* aspect-ratio: 7 / 9; */
}

body.subalbum .thumb .image img {
    object-fit: contain;
    max-width: 100%;
}
nav ul li h3 a {
    padding: 0;
    transform: scale(1.05);
}
div.flexlay div#main a.bg-image .thumb {
    min-height: auto;
    margin: 12.5px;
    height: auto;
    display: block;
    position: relative;
    height: 100%;
    overflow: visible;
}
/* end album.php styling */
/* begin image.php styling */

.imagephp #img_info, .imagephp #img_info a {
    color: #000;
}

.flex-wrap-overlord #wrapper #main #container {
    box-shadow: initial;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    transform: translateX(0px) !important;
}

#container, #imagemetadata table tbody tr:nth-child(2n), #img_info, #tag_cloud ul {
    background-color: unset;
}
#container p, #image, #img_info {
    text-align: center;
}
#img_info {
    text-align: center;
    padding: 0;
    max-width: 100%;
}
.img_descr {
    padding: 0;
    text-align: center;
    color: black;
    font-size: 16px;
}
#container h1 {
    margin: 0;
}

#img_info h1 {
    font-size: 20px;
    vertical-align: baseline;
    letter-spacing: 2px;
    color: black;
}

.imagephp div#wrapper header {
    top: 0;
    height: 75px;
    flex-basis: 0;
}

div div#main {
    margin-right: 0;
    /* margin-top: -50px; */
    margin-left: 0;
}
.flex-wrap-overlord div#wrapper {
    margin-right: 0;
}

div#container div#image img {
    max-height: calc(75vh - 135px);
    width: auto;
}
.nav-next, .nav-previous, .poptrox-popup .closer {
    display: unset !important;
}
.nav-next, .nav-previous {
    font-size: 21px;
    transform: scale(1.05);
    line-height: 31px;
}
.nav-next a, .nav-previous a {
    font-family: Oswald, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.imagephp header {
    height: 75px;
}
div.imagephp div#main {
    margin-top: 50px;
}
div.imagephp nav {
    line-height: 1;
}
.imagephp nav ul, .imagephp nav ul li {
    height: 30px;
}

div.flex-wrap-overlord div.flexlay div#main #img_info > p > i {
    display: none;
}
.imagephp #container {

}

.imagephp header {
    height: 164px;
}
/* end image.php styling */
/* start page.php styling */
    .pagephp table tbody tr, tr {
        background: unset !important;
        border: unset;
    }
    .pagephp table tbody {
        text-align: center;
    } /* for setting up the table based "articles" section through zenpage */
    .pagephp header {
        height: 164px;
    }
    .pagephp #page > div > table > tbody > tr:nth-child(2) > td:nth-child(1) > a > span, .pagephp p {
        text-transform: none;
    }
/* end page.php theming */
/* end zenphoto theming */
@media (max-width: 768px) {
    nav ul li h3 {
        font-size: 12.5px;
    }
    header nav ul li.active h3 a {
    background-position: 0 1.65em;
}
}

@media (max-width: 500px) {
    #main a.bg-image:last-of-type .thumb {
    margin-left: 21.5px !important;
}
}

@media (max-width: 400px) {
    #main .thumb {
        width: 100%;
        margin: 12.5px;
    }
}