/* CMS and Theme by IO200 CMS (https://www.io200.com) */
@import "_base.css?v=2.11a2";


/*#########################################################*/
/*##########LAYOUT#########################################*/
/*#########################################################*/
:root{--website-background:#fff;}
@media (min-width:1000px){
  body.gscrollbar-fixer{scrollbar-gutter:stable;margin-right:0;}
}
body {font-size:15.2px;font-family:'Open Sans', sans-serif;color:#464646;background:var(--website-background);}
main h1,main h2,main h3,main h4,main h5,main h6{color:#222222;}

/*----------DESKTOP----------------------------------------*/
@media (min-width:1000px){
/*
  html, body{height:100%;width:100%;}
  div#container{width:100%;max-width:80rem;height:100%;max-height:100%;box-sizing:border-box;}
  header, main, footer{margin:2rem;box-sizing:border-box;}
  header{position:fixed;top:0;left:0;width:16rem;height:calc(100% - 4rem - 16% - 6em - 1em);}
  main{width:calc(100% - 24rem);max-width:72rem;position:absolute;left:18rem;padding-bottom:2em;}
  footer{position:fixed;bottom:0;left:0;width:16rem;max-height:calc(16%);overflow-y:auto;}
  header nav{overflow-y:auto;height:100%;}
  header nav::-webkit-scrollbar, footer::-webkit-scrollbar{width:0.4em;height:0.4em;}
  header nav::-webkit-scrollbar-track, footer::-webkit-scrollbar-track {background-color:rgba(0, 0, 0, 0.05);}
  header nav::-webkit-scrollbar-thumb, footer::-webkit-scrollbar-thumb {background-color:rgba(0, 0, 0, 0.15);}
  header nav::-webkit-scrollbar-thumb:hover, footer::-webkit-scrollbar-thumb:hover {background-color:rgba(0, 0, 0, 0.2);}
  header nav{overflow:auto;}
  header nav:hover{overflow-y:auto;}
*/
  html, body{height:100%;width:100%;}
  div#container{display:grid;grid-template-columns:18rem calc(100% - 18rem);grid-template-rows:min-content 1fr;min-height:100%;box-sizing:border-box;}
  header, main, footer{margin:2rem 2rem 0 2rem;height:min-content;box-sizing:border-box;}
  header{grid-column-start:1;grid-row-start:1;}
  main{padding:1rem 0;margin-top:1rem;grid-column-start:2;grid-row-start:1;grid-row-end:3;}
  footer{margin-bottom:1rem;grid-column-start:1;grid-row-start:2;align-self:start;}
  @media (max-height: 720px) {footer {margin-top:1rem;}}
  @media (min-height: 720px) {
     div#container{grid-template-rows:1fr min-content;}
     header, main, footer{padding-bottom:2rem;}   
     header {position:sticky;top:2rem;}   
     footer {position:sticky;bottom:0;margin-bottom:0;padding-top:2rem;background:var(--website-background);} 
     header:hover{z-index:1;background:var(--website-background);}
  }
  @media (min-height: 720px) {
	 .glightbox-open header{position:fixed;top:0;width:18rem;}
	 .glightbox-open footer{position:fixed;bottom:0;width:18rem;}
  }
  main{max-width:90rem;}
  main.template-page:not(.page-fullwidth):not(.frontpage), main.template-contact{max-width:60rem;}
  main.template-photoshowcase, main.template-set, main.template-album, main.template-albums, main.template-phototags, main.template-photosearch, main.template-photo{max-width:100rem;}
  main.template-blog {max-width:90rem;}
  main.template-blog .blog-article {max-width:64rem;}  
  main.template-blog .sectioncontainer.layout-flat.view-article aside.sectionaside{max-width:64rem;}
  main.template-blog .sectioncontainer.layout-flat{justify-content:flex-start;}
} 
/*header*/
@media (min-width:1000px){
  header span.website-title{color:#222222;font-size:2.3em;font-weight:400;font-family:'Roboto Condensed', sans-serif;display:inline-block;}
  header span.website-title:hover{cursor:pointer;}
  header span.website-tagline{margin-top:0.1rem;font-size:0.92em;display:block;}
}
/*nav*/
@media (min-width:1000px){ 
  header nav ul, footer nav ul{list-style:none;}
  header nav ul li{padding:0.2em 0;}
  header nav ul ul{margin-top:0.2em;margin-bottom:-0.2em;}
  header nav ul li a, header nav ul li span{font-size:0.92em;font-weight:300;text-decoration:none;text-transform:uppercase;letter-spacing:1px;}
  header nav ul li:not(.active) a:hover, footer nav ul li:not(.active) a:hover{color:#b4b4b4;}
  header nav ul li.active:not(.active-sublink) > a, footer nav ul li.active > a{font-weight:600!important;}
  header nav ul ul{margin-left:0.75em;}
}
/*footer*/
@media (min-width:1000px){
  footer:has(nav ul.secondary:last-child){gap:0.5em;}
  footer nav ul{flex-basis:100%;}
  footer nav ul.secondary li{padding:0.2em 0;}
  footer nav ul.secondary li a, footer nav ul.secondary li span{font-size:0.8em;font-weight:300;text-decoration:none;text-transform:uppercase;letter-spacing:0.5px;}
  footer p.footer-info{font-size:0.8em;}
}


/*----------MOBILE----------------------------------------*/
@media (max-width:999px){ /*font*/
  main, footer{font-family:'Karla', sans-serif;}
  main{font-size:16px;}
  main{font-weight:300;}
 main h1{text-transform:uppercase;font-weight:300;}
}
@media (max-width:999px){
  div#container{padding:0 1rem;width:100%;box-sizing:border-box;}
  header, main, footer{width:100%;box-sizing:border-box;}
  header{margin-top:0.2em;padding:1.2rem 36px 1.2rem 0;background-image:url(../img/menu_light.png);background-position:center right;background-repeat:no-repeat;background-size:16px 12px;}
  header.shownav{background-image:url(../img/menu-close_light.png);background-size:16px 16px;}
  body::after{position:absolute;width:0;height:0;overflow:hidden;z-index:-1;content:url(../img/menu-close_light.png);} /*preload image*/
  main{padding-top:1rem;padding-bottom:1rem;}
  footer{margin-bottom:1.2rem;}
}
/*header*/
@media (max-width:999px){
  header div.title-container{display:flex;align-items:center;justify-content:space-between;}
  header span.website-title{color:#222222;line-height:1em;font-weight:400;font-family:'Roboto Condensed', sans-serif;display:inline-block;}
  header span.website-title:hover{cursor:pointer;}
  header span.website-tagline{display:none;}
}
@media (max-width:999px){header span.website-title{font-size:2.8em;}}
@media (max-width:720px){header span.website-title{font-size:2.4em;}}
@media (max-width:580px){header span.website-title{font-size:2.1em;}}
@media (max-width:460px){header span.website-title{font-size:1.8em;}}
@media (max-width:380px){header span.website-title{font-size:1.6em;}} 
@media (max-width:300px){header span.website-title{font-size:1.4em;}} 
/*nav (modern)*/
@media (max-width:999px){
  header nav {position:static;}
  header nav ul {line-height:1.6em;list-style:none;}
  header nav > ul{margin-top:1.2rem;text-align:center;z-index:1000;display:none;position:absolute;left:0;width:100%;border:0;background:var(--website-background);box-shadow:0 6px 8px rgba(0, 0, 0, 0.2);border-top:1px solid #f4f4f4;}
  header.js-nav.shownav nav > ul, header:not(.js-nav):hover nav > ul, header:not(.js-nav):active nav > ul{display:block;}
  header nav > ul > li{padding:0.3rem;}
  header nav > ul li{border-right:0;width:100%;box-sizing:border-box;}
  header nav > ul li:first-child{border-left:none;margin-left:0;}
  header nav > ul li > a, header nav > ul li > span{color:#222222;font-size:1.1em;font-weight:700;padding:0.4rem 0.6rem;width:100%;display:inline-block;box-sizing:border-box;text-align:left;text-decoration:none;letter-spacing:0.04em;}
  header nav > ul li a:hover, header nav > ul li a:active{text-decoration:underline;}
  header nav > ul ul{margin-top:-0.4rem;}
  header nav > ul ul li a, header nav > ul ul li span{font-size:0.96em;font-weight:600;padding:0.3rem 0.6rem 0.3rem 1.6rem;}
}
@media (max-width:999px){
  body.shownav header nav > ul {height:calc(100vh - 1.2rem - 2.6rem - 1rem + 1rem);overflow:auto;}
  body.shownav header nav > ul > *:last-child{margin-bottom:6rem;}
  body.shownav{overflow:hidden;}
}
@media (max-width:999px){ 
  header:not(:has(nav ul li)) nav {display:none;}
  header:not(:has(nav ul li)){background-image:none!important;}
}
/*footer*/
@media (max-width:999px){
  footer, footer nav, footer nav ul{justify-content:center;flex-basis:100%;text-align:center;}
  footer nav ul.secondary{font-size:0.96em;line-height:1.8em;}
  footer nav ul.secondary li, footer nav ul.secondary ul{display:inline-block;}
  footer nav ul.secondary li:after, footer nav ul.secondary ul:before{content:"\00a0\00a0\2022\00a0\00a0";}
  footer nav ul.secondary li:last-child:after{content:"";}
  footer p.footer-info{font-size:0.8em;text-align:center;}
}



/*#########################################################*/
/*##########CUSTOM#########################################*/
/*#########################################################*/
@media (max-width:999px){main.template-photoshowcase, main.template-photo{margin-top:-1rem;}}
@media (min-width:1000px){header span.website-title{max-width:100%;object-fit:contain;object-position:0 0;}}/*logo*/
@media (min-width:1000px){
  header span.website-title{font-size:2em;line-height:1em;}  
  header span.website-tagline{margin-top:0.2rem;color:#4f4f4f;}
  header nav{margin-top:1rem;}
  main h1{font-size:1.8em;line-height:1em;}
}

/*logo height*/
@media (min-width: 1000px){header span.website-title {height:auto!important;}}


@media (min-width:1000px){ /*photoshowcase*/
  main.template-set .collection-description, main.template-album .collection-description, main.template-albums .collection-description{max-width:60rem;}
}

/*---Flavor:GALLERY_SET_LAYOUT_GRID-LEFT---*/
@media (min-width:1000px){
  ul.gallery.gallery-set.layout-grid li span {text-align:left;}
  ul.gallery.gallery-set.layout-grid li span.info-title {text-transform:uppercase;letter-spacing:0.5px;padding-top:0.5em;}
  ul.gallery.gallery-set.layout-grid li div.photo-wrapper.photo-portrait{margin-left:0;}
}


/*---Flavors:PHOTOSITE---*/
/*photo max height*/
@media (min-width:1000px){main.template-photo div.photo-image img.photo{max-height:calc(100vh - 5.5em);}}
/*mobile styles on desktop*/
@media (min-width:1000px){ /*copy _base mobile*/
  main.template-photo .sectionaside > h4{margin-top:0;margin-bottom:0;}
  main.template-photo dl.photo-exif {display:flex;flex-wrap:wrap;column-gap:1em;}
  main.template-photo dl.photo-exif dt {display:none;}
  main.template-photo dl.photo-exif dd {white-space:nowrap;}
  main.template-photo ul.photo-albums{display:flex;flex-wrap:wrap;column-gap:1em;}
  main.template-photo aside{display:flex;flex-direction:column;}
  main.template-photo aside .photo-contextphotos{order:99;}
}
/*table layout*/
@media (min-width:1000px){
  main.template-photo .sectioncontainer-photo{display:block;}
  main.template-photo .sectionaside-photo{width:100%;}
  main.template-photo aside.sectionaside-photo{margin-top:2em;gap:1em 1em;width:auto!important;display:grid;grid-template-columns:auto 1fr;align-items:baseline;} 
  main.template-photo aside.sectionaside-photo > *{margin:0;line-height:initial;font-size:1em;}
  main.template-photo aside ul.photo-albums li{margin-bottom:0;}
  main.template-photo aside h4.photo-contextphotos{grid-column:1 / 3;font-size:1.1em;margin-top:1em!important;margin-bottom:-0.6em!important;}
  main.template-photo aside ul.photo-contextphotos{grid-column:1 / 3;order:99;}
}
/*max width:left*/
@media (min-width:1000px){
  main.template-photo section.sectionaside-photo > *:not(.photo-image){max-width:64rem;}
  main.template-photo aside.sectionaside-photo{width:auto!important;max-width:64rem!important;}
}
/*contextphotos desktop gallery*/
@media (min-width:1000px){
  main.template-photo ul.photo-contextphotos.gallery.layout-mosaic{width:100%;}
  main.template-photo ul.photo-contextphotos.gallery.layout-mosaic {overflow-x:initial;gap:1em;align-items:self-start;flex-wrap:wrap;}
  main.template-photo ul.photo-contextphotos.gallery.layout-mosaic li {width:calc((100% - 1em * 5) / 6 - 0.1px);margin:0;aspect-ratio:3/2;}  
}
/*contextphotos mobile swipe gallery*/
@media (max-width:999px){	
  main.template-photo ul.photo-contextphotos.gallery.layout-mosaic{width:100%;padding-bottom:0.4em;}
  main.template-photo ul.photo-contextphotos.gallery.layout-mosaic {overflow-x:auto;gap:2%;align-items:self-start;flex-wrap:nowrap;}
  main.template-photo ul.photo-contextphotos.gallery.layout-mosaic li {width:42%;aspect-ratio:3/2;flex-shrink:0;}
  main.template-photo ul.photo-contextphotos.gallery.layout-mosaic li:has(img.photo-portrait) {width:calc(42% / 3 * 2 / 3 * 2);aspect-ratio:2/3;}
}
/*mobile fullsize photo*/
@media (max-width:999px){
  main.template-photo div.photo-image{width:calc(100% + 2rem);margin-left:-1rem;margin-bottom:1rem;}
  main.template-photo{margin-top:0;}
  main.template-photo div.photo-image img.photo{margin-top:-1rem;}
}

/*---Flavor:PHOTOSHOWCASE---*/
/*mobile fullsize*/
@media (max-width:999px){
  main.template-photoshowcase div.start-singlephoto,
  main.template-photoshowcase div.start-slideshow{width:calc(100% + 2rem);margin-left:-1rem;}
}