@charset "UTF-8";

/*######################~[###|#1#]
	BASIC
###~############################*/
:root {
	--break-0: 0;
	--break-xs: 500;
	--break-sm: 750px;
	--break-md: 1000px;
	--break-lg: 2000px;
	--unit-1: 0.125rem;
	--unit-2: 0.250rem;
	--unit-3: 0.500rem;
	--unit-4: 0.750rem;
	--unit-5: 1.000rem;
	--unit-6: 1.250rem;
	--unit-7: 1.500rem;
	--unit-8: 1.750rem;
	--unit-9: 2.000rem;
	--font-size-1: 2.00rem;
	--font-size-2: 1.75rem;
	--font-size-3: 1.50rem;
	--font-size-4: 1.25rem;
	--font-size-5: 1.00rem;
	--font-size-6: 0.75rem; 
	--language-show: block;
	--language-hide: none;
	--index-nav: 1;
	--index-menu: 1;
	--index-main: 1;
	--index-debug: 2;
	--index-header: 1;
	--index-footer: 1;
}

*, *::before, *::after { box-sizing: border-box; }
* { transition: all linear 150ms; }

html, body {
	margin: 0;
	padding: 0;
	font-size: 16px;
}

body { 
	font-family: Consolas, "Courier New", Monaco, monospace; 
	background-color: cadetblue; 
}


/*[#1#|###]--TYPOGRAPHY*/
h1, .fs-1 { font-size: var(--font-size-1); margin: calc(var(--font-size-1) / 2) 0; }
h2, .fs-2 { font-size: var(--font-size-2); margin: calc(var(--font-size-2) / 2) 0; }
h3, .fs-3 { font-size: var(--font-size-3); margin: calc(var(--font-size-3) / 2) 0; }
h4, .fs-4 { font-size: var(--font-size-4); margin: calc(var(--font-size-4) / 2) 0; }
h5, .fs-5 { font-size: var(--font-size-5); margin: calc(var(--font-size-5) / 2) 0; }
h6, .fs-6 { font-size: var(--font-size-6); margin: calc(var(--font-size-6) / 2) 0; }

dl { border: 1px solid black; padding: 0.5em; }
dt {
	float: left;
	clear: left;
	width: 100px;
	text-align: right;
	font-weight: bold;
}
dt::after { content: ":"; }
dd { margin: 0 0 0 1rem; padding: 0 0 0.5em 0; }


/*[#1#|###]--HEADER--MAIN--FOOTER*/
header {
	z-index: var(--index-header);
}
main {
	z-index: var(--index-main);
}
footer {
	height: 15rem;
	z-index: var(--index-footer);
}


/*[#1#|###]--MENU*/
.menu {
	gap: 0.5rem;
	width: 100%;
	padding: 0.5rem;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	align-content: stretch;
	justify-content: space-between;
	z-index: var(--index-menu);
}
.menu-item {
	border: 1px solid black;
    padding: 0.25rem;
	position: relative;
	flex-grow: 1;
    background-color: hsla(0, 0%, 0%, 0.1);
}
.menu-item-disabled {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
	background-color: hsla(0, 0%, 0%, 0.25);
}
.menu-item-hl {
	gap: 0.5rem;
	margin: 0;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
}
.menu-item-control {
	width: 100%;
	height: 2rem;
	margin: 0;
	padding: 0;
	font-size: 1.5rem;
}
.menu-item-control-btn {
	text-decoration: none;
}
.menu-item-control-btn:hover {
	color: white;
	background-color: black;
}


/*[#1#|###]--MENU-ICON*/
.menu-item-hl .icon {
	width: 1.25rem;
	height: 1.25rem;
	background-size: contain;
	background-repeat: no-repeat;
}
#menuGo .icon { background-image: url(../../z5/icons/fa/solid/play.svg); }
#menuCat .icon { background-image: url(../../z5/icons/fa/solid/folder.svg); }
#menuSub .icon { background-image: url(../../z5/icons/fa/solid/folder-tree.svg); }
#menuYea .icon { background-image: url(../../z5/icons/fa/solid/hourglass.svg); }
#menuCss .icon { background-image: url(../../z5/icons/fa/solid/brush.svg); }
#menuReset .icon { background-image: url(../../z5/icons/fa/solid/arrows-rotate.svg); }
#menuSearchTerm .icon { background-image: url(../../z5/icons/fa/solid/magnifying-glass-chart.svg); }
#menuSearchTitle .icon { background-image: url(../../z5/icons/fa/solid/magnifying-glass.svg); }
#menuLanguage .icon { 
	/*width: 2.5rem;
	background-image: url(../../z5/icons/fi/1x1/de.svg), url(../../z5/icons/fi/1x1/us.svg); 
	background-position: left center, right center;*/
	background-image: url(../../z5/icons/bi/translate.svg); 
}


/*[#1#|###]--NAVI*/
.nav {
	--nav-dimension-unit: 36px;
	--nav-bg-color: hsla(0, 0%, 100%, 0.5);
	width: 100%;
	bottom: 0;
	z-index: var(--index-nav);
	padding: 0.75rem 0;
	position: fixed;
	background-color: var(--nav-bg-color);
	box-shadow: 0px -5px 5px 5px var(--nav-bg-color);
	/*FLEX*/
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	justify-content: space-evenly;
}
.nav .nav-link {
	width: var(--nav-dimension-unit); 
	height: var(--nav-dimension-unit); 
	margin: 0;
	cursor: pointer;
}
.nav img {
	width: var(--nav-dimension-unit); 
	height: var(--nav-dimension-unit);
	transition: all ease 300ms;
}
.nav img:hover {
	filter: invert(67%) sepia(100%) saturate(1606%) hue-rotate(137deg) brightness(102%) contrast(105%);
}


/*[#1#|###]--PREVIEW*/
.preview {
	gap: 0.5rem;
	display: flex;
    flex-wrap: wrap;
	justify-content: space-evenly;
	--preview-size-sm: 50px;
	--preview-size-md: 100px;
	--preview-size-lg: 200px;
 }
.preview a {
	height: var(--preview-size-md);
	position: relative;
	text-decoration: none;
}
.preview img {
	width: var(--preview-size-md);
	height: var(--preview-size-md);
}
.preview span.pre-outer {
	top: 0;
	left: 0;
	width: var(--preview-size-md);
	height: var(--preview-size-md);
	display: table;
	position: absolute;
	text-align: center;
}
.preview span.pre-inner {
	color: black;
	display: table-cell;
	vertical-align: middle;
}


/*[#1#|###]--SECTION-PART--TYPE*/
.part {
	width: calc(100% - 1rem);
	margin: 3rem 0.5rem;
	border: 1px solid black;
	padding: 0.5rem;
}
.part:first-of-type {
	margin-top: 0;
}
.part:last-of-type {
	margin-bottom: 0;
}

.part.start { 
	background-color: transparent;
}

.part.intro .legende { 
	margin-left: 0; 
}
.part.intro .legende { 
	border: 1px solid black; 
	margin: 0.25rem; 
}
.part.intro .legende td { 
	border: 1px solid black; 
	padding: 0.125rem 0.25rem; 
}
.part.intro .legende td:first-child { 
	text-align: right; 
	font-weight: bold; 
}

.part.artwork figure {
	margin: 0;
}
.part.artwork figure img {
	/*
	width: 100%;
	height: auto;
	*/
	max-width: 100%;
	height: auto;
}

.part.p {
	background-color: transparent;
}
.part.div {
	background-color: transparent;
}
.part.html {
	background-color: transparent;
}
.part.list {
	background-color: transparent;
}
.part.list li {
	margin: 0.5rem 0;
}

.part.iframe iframe {
	border: none;
	height: auto;
	max-width: 100%;
}

.part.error, 
.part.debug {
	color: limegreen;
	border: 0.125rem solid limegreen;
	padding: 0 1rem 1rem 1rem;
	font-family: 'Courier New', Courier, monospace;
	border-radius: 1rem;
	background-color: black;
    width: calc(100% - 1rem);
    margin: 0 auto;
}
.part.debug {
	color: black;
	border: 0.125rem solid darkcyan;
	background-color: darkseagreen;
}


/*[#1#|###]--SECTION-PART--TYPO*/
.part span.img > b { 
	display: block; 
}
.part span.img.flole {
	float: left;
	margin: 0 1.5rem 1rem 0;
}
.part span.img.flori {
	float: right;
	margin: 0 0 1rem 1.5rem;
}


/*[#1#|###]--EXTRAS*/
.clearfix::after {
	content: "";
	display: block;
	float: none;
	clear: both;
}

.f-left { float: left !important; }
.f-right { float: right !important; }
.f-none { float: none !important; clear: both !important; }

.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-block { display: block !important; }
.d-inblo { display: inline-block !important; }
.d-inline { display: inline !important; }


/*[#1#|###]--RESPONSIVE-VAR-NOT-WORKING-IN-MEDIA*/
/*
@media (min-width: 0) {}
@media (max-width: 500px) {}
@media (max-width: 750px) {}
@media (max-width: 1000px) {}
@media (max-width: 2000px) {}
*/
