/* Theme by IO200 CMS (https://www.IO200.com) */

/*#########################################################*/
/*##########LAYOUT#########################################*/
/*#########################################################*/
:root{--website-background:#fff;}
@media (min-width:1000px){html{scroll-behavior:smooth;scroll-padding-top:1rem;}}
@media (min-width:1000px){html:has(body.flavors-layoutfixedheader){scroll-behavior:smooth;scroll-padding-top:calc(var(--header-height) + 4.1rem);}}
@media (max-width:999px){html{scroll-behavior:smooth;scroll-padding-top:0.25rem;}}
@media (min-width:1000px){
  html:not(.glightbox-open){scrollbar-gutter:stable;}
  body.glightbox-open:not(.gscrollbar-fixer){scrollbar-gutter:stable;margin-right:0;}
}
body{font-size:16px;font-family: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){
  div#container{width:100%;max-width:1800px;margin:2.5rem auto;padding:0 3rem;box-sizing:border-box;}
  header, main, footer{width:100%;}
  header{display:flex;gap:0.2em 2em;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;}
  main{margin:1rem 0;}
  footer{clear:both;}
}
/*header*/
@media (min-width:1000px){
  header span.website-title{color:#222222;font-size:2.3em;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 {font-size:1.1em;width:100%;}
  header nav ul{display:flex;flex-wrap:wrap;gap:0.5em 1.5em;list-style:none;}
  header nav ul li{position:relative;}
  header nav ul li .nav-item-title{color:#343434;text-decoration:none;letter-spacing:0.025em;font-weight:300;}
  header nav li a:hover, header nav li.active > a{color:#aaaaaa;}
  header nav > ul > li > ul {font-size:0.96em;z-index:100;display:none;position:absolute;margin-left:-0.4em;padding:0.4em;background:var(--website-background);box-shadow:0 0 0.25em 0 rgba(0,0,0,0.1);box-sizing:border-box;}
  header nav > ul > li:hover ul, header nav > ul > li:focus ul, header nav > ul > li:focus-within ul{display:block;}
  header nav > ul > li > ul li{line-height:2em;padding:0 0.2em 0.2em 0.2em;white-space:nowrap;}
  header nav > ul > li > ul li:last-child{padding-bottom:0;}
}
/*footer*/
@media (min-width:1000px){
  footer nav ul.secondary li{font-size:0.96em;}
}

/*----------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 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{margin-top:1rem;margin-bottom:1rem;}
  footer{margin-bottom:2rem;}
}
/*header*/
@media (max-width:999px){
  header div.title-container{display:flex;align-items:center;justify-content:space-between;}
  header span.website-title{font-size:6vw;color:#222222;line-height:1em;display:inline-block;word-break:break-word;}
  header span.website-title:hover{cursor:pointer;}
  header span.website-title a{vertical-align:bottom;}
  header span.website-tagline{display:none;}
}
/*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{width:100%;box-sizing:border-box;}
  header nav > ul li > .nav-item-title{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;text-underline-offset:0.2em;}
  header nav > ul ul{margin-top:-0.4rem;}
  header nav > ul ul li .nav-item-title{font-size:0.96em;font-weight:600;padding:0.3rem 0.6rem 0.3rem 1.6rem;}
}
@media (max-width:999px){ /*hide nav icon when no links*/
  header:not(:has(nav ul li)) nav {display:none;}
  header:not(:has(nav ul li)){background-image:none!important;}
}
@media (max-width:999px){ /*full height*/
  body.shownav header nav > ul {height:calc(100dvh - 1.2rem - 2.6rem - 1rem + 1rem);overflow:auto;}
  body.shownav header nav > ul > *:last-child{padding-bottom:2rem;}
  body.shownav{overflow:hidden;}
}
@media (max-width:999px){ /*effect*/
  header.js-nav nav > ul{display:block;} /*reset*/
  body header nav > ul {height:calc(100dvh - 1.2rem - 2.6rem - 1rem + 1rem);} /*reset*/
  header.js-nav nav ul {opacity:0;max-height:0;overflow:hidden;transition:max-height 0.25s ease-out;}
  header.js-nav.shownav nav ul{opacity:1;max-height:100vh;transition:max-height 0.25s ease-out;}
  header.js-nav nav > ul > li{opacity:0;transition:opacity 0.25s ease-out;}
  header.js-nav.shownav nav > ul > li{opacity:1;transition:opacity 0.8s 0.1s ease-out;}
}
/*footer*/
@media (max-width:999px){
  footer, footer *{justify-content:center;text-align:center;}
  footer ul.secondary{font-size:0.96em;}
}


/*#########################################################*/
/*##########CUSTOM#########################################*/
/*#########################################################*/
/*---Flavor:MOBILE_TOP_WHEN_PHOTO_OR_ARTICLE---*/
@media (max-width:999px){
  main.template-photo div.photo-image img.photo{margin-top:-1rem;}
  main.template-blog article.style-article .header .article-image.image-available{margin-top:-1rem;}
}
/*---Flavor:MOBILE_TOP_WHEN_NOHEADING---*/
@media (max-width:999px){
  main{margin-top:0;}
  main:has(h1.mobile:first-child), main.template-photo{margin-top:1rem;}
}

/*---Flavor:TEXT_JUSTIFY_EXCEPT_BLOG---*/
@media (min-width:1000px){main:not(.template-blog) p{text-align:justify;}}

/*---Flavor:LAYOUT_CENTER---*/
@media (min-width:1000px){
  div#container main{padding-top:1em;margin-block:1.5em;}
  header{row-gap:0;}
  header div.title-container{width:100%;text-align:center;}
  header nav {margin:0.75em auto 0 auto;max-width:60em;}
  header nav ul{justify-content:center;}
  footer, footer *{justify-content:center;text-align:center;}
}
/*---Flavor:BASE_CENTER---*/
@media (min-width:1000px){
  div#container main.template-error404, 
  div#container main.template-page:not(.page-fullwidth), 
  div#container main.template-contact{max-width:64rem;margin-inline:auto;}
  div#container main.template-phototimeline{max-width:84rem;margin-inline:auto;}
  div#container main.template-set > .collection-description, 
  div#container main.template-album > .collection-description, 
  div#container main.template-albums > .collection-description{max-width:64rem;margin-inline:auto;}
  div#container main.template-photoshowcase{max-width:94rem;margin-inline:auto;}
  main h1 {text-align:center;}
  main blockquote{text-align:center;}
  main form.form-inline{justify-content:center;}
  main form.form-inline p{text-align:center;}
  main span.pretitle{display:none;}
  main div.backlink:not(.heading_none):not(.heading_mobile){display:block;}
  main p.links-prevnext{justify-content:center;}
  main div.pagecover div.cover-text{text-align:center;}
  main div.pagecover div.cover-text span.cover-tagline{margin-left:0;}
  main div.pagecover div.cover-text span.cover-link{margin-top:1em;}
  main ul.gallery.layout-grid {justify-content:center;}
  main ul.gallery.layout-mosaic{justify-content:center;}
  main ul.gallery.layout-slideshow.gallery-mounted ul.slideshow-navigation.thumbs{margin-inline:auto;width:min-content;max-width:100%;}
  main.template-blog ul.gallery.layout-slideshow.gallery-mounted ul.slideshow-navigation.thumbs,
  main.template-page ul.gallery.layout-slideshow.gallery-mounted ul.slideshow-navigation.thumbs{margin-inline:0;}
  main ul.gallery.layout-timeline{justify-content:center;}
  main ul.gallery.gallery-set.layout-masonry span.info-title{text-align:center;}
  main ul.gallery.gallery-set.layout-masonry span.info-summary{text-align:center;}
  main ul.pagination{justify-content:center;}
  div#container p.collection-description, div#container p.collection-empty, 
  main.template-photosearch h2, main.template-photosearch p, main.template-error404 p{text-align:center;}  
  main.template-photo div.photo-image img.photo{object-position:center 0!important;}
  main.template-photo div.photo-image iframe {margin:0 auto;}
  main.template-photo section.sectionaside:has(div.photo-caption) > .photo-title{text-align:left;}
  main.template-photo section.sectionaside:has(div.photo-caption) > .links-prevnext{justify-content:left;}
  main.template-photo section.sectionaside:not(:has(div.photo-caption)) > *:not(div.photo-caption){text-align:center;justify-content:center;}
  main.template-photo section.sectionaside form{text-align:left;}
  main.template-photo aside.sectionaside ul.gallery.layout-mosaic{justify-content:flex-start;}
  main.template-photoshowcase * {text-align:center;}
  main.template-photoshowcase > :first-child.start-singlephoto{margin-top:0;}
  main.template-photoshowcase div.start-singlephoto img.photo{margin-inline:auto;}
  main.template-phototags p {text-align:center;}
  main.template-phototags ul.tags {justify-content:center;}
  main.template-phototimeline > *{text-align:center!important;}
  main.template-phototimeline ul.gallery.gallery-album.layout-wall li.dummy{display:none;}
  main.template-blog .blogstyle-card .blog-posts {justify-content:center;}
  main.template-blog ul.gallery.gallery-set.layout-card span.info-title{text-align:center;}
  main.template-blog article .header{text-align:center;}
  main.template-blog article .content table{margin-inline:auto;}
  main.template-blog article .content blockquote{box-sizing:border-box;}
  main.template-blog article .content ul.gallery.layout-grid{justify-content:center;}
  main.template-blog article.style-card .header, 
  main.template-blog article.style-card .header h2, 
  main.template-blog article.style-card .content{text-align:left;} 
  main.template-blog section.blog-archive, 
  main.template-blog section.blog-archive p{text-align:center;}
  main.template-blog section.blog-archive ul{margin-left:0;list-style:none;}
  main.template-blog section.blog-archive ul li{margin-bottom:0.5em;}
  main.template-contact div.infobox{margin-inline:auto;text-align:center;}
  main.template-basket div.basketcontainer-empty div.infobox{margin:auto;text-align:center;}
}


/*---Flavor:NAV_UPPERCASE+UNDERLINE---*/
@media (min-width:1000px){
  header nav > ul > li > .nav-item-title{display:inline-block;font-size:0.86em;font-weight:400;line-height:1.5em;text-transform:uppercase;letter-spacing:1.5px;margin-top:1px;border-bottom:1px solid rgb(0 0 0 / 0%);}
  header nav > ul > li.active:not(:hover) > .nav-item-title{color:#343434;border-color:#343434;}
  header nav > ul > li:hover > .nav-item-title{color:#343434;}
  header nav > ul > li > a:last-child:hover{border-color:#343434;}
  header nav > ul ul li{text-transform:uppercase;font-size:0.92em;}
  header nav > ul ul a{letter-spacing:1.5px}
}
/*---Flavor:NAV_WIDER---*/
@media (min-width:1000px){
  header nav ul{column-gap:2.5em;}
  header nav > ul > li > .nav-item-title{letter-spacing:2px;}
}
/*---Flavor:MOBILE_NAV_CENTER---*/
@media (max-width:999px){
  header nav > ul li > .nav-item-title{text-align:center;}
  header nav > ul ul li .nav-item-title{padding:0.3rem 0.6rem;}
  header form.searchform{margin-inline:auto;max-width:12em;}
  header form.searchform button{display:none;}
  header form.searchform input{text-align:center;}
}

/*---Flavor:PAGECOVER---*/
/*margin-bottom*/
div.pagecover{margin-bottom:2.5em;}

/*---Flavor:SET/ALBUMS/ALBUM---*/
/*slideshow max height*/
@media (min-width:1000px){ 
  main.template-album, main.template-albums, main.template-set{ul.gallery.layout-slideshow ul.slideshow{max-height:calc(100vh - 5.5em);}}
}
/*---Flavor:PHOTOSITE---*/
/*photo max height*/
@media (min-width:1000px){main.template-photo div.photo-image img.photo{max-height:calc(100vh - 5.5em);}}
/*prev/next links outside*/
@media (min-width:1000px){
  main.template-photo p.photo-prevnext{position:fixed;}
  main.template-photo p.photo-prevnext a.link-prev,
  main.template-photo p.photo-prevnext a.link-next{opacity:1;position:fixed;top:calc(50% - 1em);visibility:hidden;}
  main.template-photo p.photo-prevnext a.link-prev{left:0.5rem;}
  main.template-photo p.photo-prevnext a.link-next{right:0.5rem;}
  main.template-photo p.photo-prevnext a.link-prev::before,
  main.template-photo p.photo-prevnext a.link-next::after{padding:0.2em;font-size:18px;font-family:sans-serif;font-weight:100;visibility:visible;}
  main.template-photo p.photo-prevnext a.link-prev::before{content:url("data:image/svg+xml,%3Csvg class='symbol' xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px'%3E%3Cpath d='m640-116 34-34-330-330 330-330-34-34-364 364 364 364Z'%3E%3C/path%3E%3C/svg%3E");}
  main.template-photo p.photo-prevnext a.link-next::after{content:url("data:image/svg+xml,%3Csvg class='symbol' xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px'%3E%3Cpath d='m320-116-34-34 330-330-330-330 34-34 364 364-364 364Z'/%3E%3C/svg%3E");}
  main.template-photo p.photo-prevnext svg{display:none;}
}
/*max width:center*/
@media (min-width:1000px){
  main.template-photo div.photo-image img.photo{margin-inline:auto;}
  main.template-photo div.photo-image img.photo.photo-portrait{max-width:64rem;}
  main.template-photo section.sectionaside-photo > *:not(.photo-image){max-width:64rem;margin-inline:auto;}
  main.template-photo aside.sectionaside-photo{max-width:64rem!important;margin-inline:auto;}
}
/*max width:center caption relaxed*/
main.template-photo section.sectionaside-photo > p.photo-caption{max-width:72rem;margin-inline:auto;}

/*---Flavor:PHOTOSHOWCASE---*/
/*show complete slideshow photo in browser (depends on header height) */
@media (min-width:1000px){
  main.template-photoshowcase ul.gallery.layout-slideshow.gallery-mounted:not(.fullscreen) ul.slideshow,
  main.template-photoshowcase ul.gallery.layout-slideshow.gallery-mounted:not(.fullscreen) ul.slideshow img{max-height:calc(100vh - 5rem - var(--header-height, 2rem) - 4.5em - var(--footer-height, 2rem) - 1px);}
  main.template-photoshowcase ul.gallery.layout-slideshow.gallery-mounted:not(.fullscreen):has(.slideshow-navigation.dots) ul.slideshow,
  main.template-photoshowcase ul.gallery.layout-slideshow.gallery-mounted:not(.fullscreen):has(.slideshow-navigation.dots) ul.slideshow img{max-height:calc(100vh - 5rem - var(--header-height, 2rem) - 4.5em - var(--footer-height, 2rem) - 2rem - 1px);}
  main.template-photoshowcase ul.gallery.layout-slideshow.gallery-mounted:not(.fullscreen):has(.slideshow-navigation.thumbs) ul.slideshow,
  main.template-photoshowcase ul.gallery.layout-slideshow.gallery-mounted:not(.fullscreen):has(.slideshow-navigation.thumbs) ul.slideshow img{max-height:calc(100vh - 5rem - var(--header-height, 2rem) - 4.5em - var(--footer-height, 2rem) - 5rem - 1px);}
}
/*mobile fullsize*/
@media (max-width:999px){  
  main.template-photoshowcase{margin-top:0;}
  body.template-photoshowcase footer{margin-bottom:0.5rem;}
  main.template-photoshowcase div.start-singlephoto,
  main.template-photoshowcase div.start-slideshow{width:calc(100% + 2rem);margin-left:-1rem;}
  main.template-photoshowcase ul.slideshow{height:calc(var(--viewport-initialheight, 2rem) - 0.2rem - var(--header-height, 2rem) - 1rem - var(--footer-height, 2rem));}
}

/*---Flavor:BLOG---*/
:root{--blog-articlewidth:62rem;}
/*article max width*/
@media (min-width:1000px){
  div#container main.template-blog section.blog-article article div.content,
  div#container main.template-blog section.blog-article article div.footer,
  div#container main.template-blog section.blog-article div.article-comments{margin-inline:auto;max-width:var(--blog-articlewidth);}
}
/*article navigationlinks/previews max width*/
@media (min-width:1000px){
  main.template-blog div.article-navigationlinks,
  main.template-blog div.article-previews{margin-inline:auto;max-width:var(--blog-articlewidth);}
  main.template-blog div.article-previews h3,
  main.template-blog div.article-previews ul.gallery span.info.info-title{text-align:left;}
}
/*blog sidebar appearance*/
@media (min-width:1000px){
  main.template-blog aside.blog-sidebar{display:none;}
  main.template-blog div.blog-article {margin-bottom:3em;}
  main.template-blog div.blog-article aside.blog-sidebar{margin-inline:auto;width:auto;max-width:var(--blog-articlewidth);text-align:left;}
}
@media (max-width:999px){
  main.template-blog div.blog-article aside.blog-sidebar{display:none;}
}