/* CMS and Theme by IO200 CMS (https://www.io200.com) */
@import "_base.css?v=2.8.8";


/*#########################################################*/
/*##########LAYOUT#########################################*/
/*#########################################################*/
:root{--website-background:#fff;} 
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);}
*/
  html, body{height:100%;width:100%;}
  div#container{display:grid;grid-template-columns:18rem 1fr;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{grid-column-start:1;grid-row-start:2;align-self:start;}
  @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;padding-top:2rem;background:var(--website-background);} 
     header:hover{z-index:1;background:var(--website-background);}
  }
  main{max-width:72rem;}
  main.template-page, main.template-contact{max-width:60rem;}
  main.template-photoshowcase, main.template-set, main.template-album, main.template-phototags, main.template-photosearch, main.template-photo{max-width:90rem;}
  main.template-blog .blog-article {max-width:60rem;}  
  main.template-blog .sectioncontainer.layout-flat{justify-content:flex-start;}
} 
/*header*/
@media (min-width:1000px){
  header span.title{color:#222222;font-size:2.3em;font-weight:400;font-family:'Roboto Condensed', sans-serif;display:inline-block;}
  header span.title:hover{cursor:pointer;}
  header span.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){
  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 35px 1.2rem 0;background-image:url(../img/menu_light.png);background-position:center right;background-repeat:no-repeat;background-size:16px 12px;}
  main{padding-top:1rem;padding-bottom:1rem;}
  footer{margin-bottom:1.2rem;}
}
/*header*/
@media (max-width:999px){
  header span.title{color:#222222;line-height:1em;font-weight:400;font-family:'Roboto Condensed', sans-serif;display:inline-block;}
  header span.title:hover{cursor:pointer;}
  header span.tagline{display:none;}
}
@media (max-width:999px){header span.title{font-size:2.8em;}}
@media (max-width:600px){header span.title{font-size:2.6em;}}
@media (max-width:540px){header span.title{font-size:2.4em;}}
@media (max-width:500px){header span.title{font-size:2.2em;}}
@media (max-width:480px){header span.title{font-size:2.0em;}}
@media (max-width:440px){header span.title{font-size:1.8em;}}
@media (max-width:400px){header span.title{font-size:1.6em;}}
@media (max-width:360px){header span.title{font-size:1.4em;}}
/*nav*/ 
@media (max-width:999px){
  header nav {position:static;}
  header nav ul {line-height:2em;list-style:none;margin-top:1.2rem;}
  header nav > ul{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;border-bottom:1px solid #f4f4f4;}
  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{font-size:1.1em;font-weight:300;padding:0.6rem;width:100%;display:inline-block;box-sizing:border-box;text-decoration:none;text-transform:uppercase;letter-spacing:0.08em;}
  header nav > ul li a:hover{color:#fff;background:#222222;}
  header nav > ul ul{display:none;}
}
/*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{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.title{max-width:100%;object-fit:contain;object-position:0 0;}}/*logo*/
@media (min-width:1000px){
  header span.title{font-size:2em;line-height:1em;}  
  header span.tagline{margin-top:0.2rem;color:#4f4f4f;}
  header nav{margin-top:1rem;}
  main h1{font-size:1.8em;line-height:1em;}
}
@media (min-width:1000px){
  main.template-photo h4.photo-contextphotos{display:none;}
  main.template-photo div.sectioncontainer.photo-portrait{justify-content:flex-start;}
  main.template-photo div.sectioncontainer.photo-portrait section.sectionaside{max-width:calc(100vh / 3 * 2 - 2em);margin-right:60px;}
  main.template-photo div.sectioncontainer.photo-portrait section.sectionaside img.photo{max-height:none;}
}

/*---Flavor:GALLERY_SET_LAYOUT_GRID-LEFT---*/
ul.gallery.gallery-set.layout-grid li span {text-align:left;}
ul.gallery.gallery-set.layout-grid li span.title {font-weight:300;text-transform:uppercase;letter-spacing:1px;padding-top:0.6em;}
