*, ::before, ::after {
	box-sizing: border-box;
}
html, body {
	min-height: 100vh;
	width: 100%;
	margin: 0;
	padding: 0;
}
html {
	background: #000;
}
html {
	overflow-y: scroll;
	overflow-x: hidden;
}
body {
	color: #f0f1f2;
	color: #cecece;
	font-size: 16px;
	font-family: 'Sofia Sans Semi Condensed', sans-serif;
	padding-top: 52px;
}
body a,
.link-like {
	cursor: pointer;
	text-decoration: none;
	color: #ffcb4a;
	border: none;
	background: transparent;
	padding: initial;
	display: inline;
}
body a:hover,
.link-like:hover {
	color: #ffe094;
	text-decoration: underline;
}
.link-like:focus-visible {
	outline: 2px dashed #7b6e4d;
}

.center-content {
	text-align: center;
}
.right-content {
	text-align: right;
}

.visual-cover,
.i-am-invisible {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	opacity: .002;
	clip-path: polygon(0 0, 1px 0, 0 1px);
	z-index: -100;
	height: 1px;
	width: 1px;
}

.ajax-waiting::before,
.ajax-waiting::after {
	content: '';
	transition: visibility .3s, opacity .3s;
	pointer-events: none;
	position: absolute;
	inset: 0;
	z-index: 10;
	opacity: 0;
	visibility: hidden;
}
.in-progress .ajax-waiting::before,
.ajax-waiting.in-progress::before,
.in-progress .ajax-waiting::after,
.ajax-waiting.in-progress::after {
	opacity: 1;
	visibility: visible;
}
.in-progress .ajax-waiting::before,
.ajax-waiting.in-progress::before {
	border-radius: inherit;
	background: rgba(151, 134, 116, 0.83);
}
.in-progress .ajax-waiting.ajax-waiting__darker::before,
.ajax-waiting.ajax-waiting__darker.in-progress::before {
	background: rgba(38, 33, 28, 0.83);
}
.in-progress .ajax-waiting.ajax-waiting__cover::before,
.ajax-waiting.ajax-waiting__cover.in-progress::before {
	pointer-events: all;
}
.in-progress .ajax-waiting::after,
.ajax-waiting.in-progress::after {
	width: 2em;
	height: 2em;
	border-radius: 100vh;
	border-top: 3px solid #64431a;
	border-right: 3px solid transparent;
	animation: loader-spin 1s linear infinite;
	margin: auto;
}

.external-open {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6' /%3E%3Cpolyline points='15 3 21 3 21 9' /%3E%3Cline x1='10' y1='14' x2='21' y2='3' /%3E%3C/svg%3E");
}

.bg-hugger {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000 url('/img/bg/masin-bg-3.jpg') repeat-y center -800px / 100% auto;
	/* background-image: url('/img/bg/pramod-tiwari-MmUX-D8-3Po-unsplash.jpg'); */
	z-index: -1;
}
.bg-hugger::before {
	content: '';
	background-color: rgba(0, 0, 0, 0.52);
	/* background-color: rgba(0, 0, 0, 0.278); */
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.body-content {
	display: flex;
	min-height: calc(100vh - 52px);
	flex-direction: column;
}
.body-content main {
	flex-grow: 1;
}

.main-header {
	position: fixed;
	height: 52px;
	width: 100%;
	top: 0;
	z-index: 777;
	/* display: grid;
	grid-template-columns: 200px 1fr; */
}
.titlebar {
	background: rgba(51, 39, 17, 0.71);
	background: hsla(281.2, 52.2%, 31.2%, 0.48);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	height: 52px;
	position: absolute;
	width: 100vw;
}
.main-link {
	-webkit-tap-highlight-color: transparent;
}
.main-header h1 {
	background: url('/img/path116.png') no-repeat 12px 44% / auto 70%;
	margin: 0 auto;
	line-height: 52px;
	padding: 0;
	text-align: center;
	width: 200px;
	padding-left: 50px;
	font-weight: 900;
	text-transform: uppercase;
	position: relative;
}
.main-subtitle {
	display: none;
	position: absolute;
	font-size: 0.4em;
	letter-spacing: .3em;
	left: 50%;
	transform: translateX(-50%);
	bottom: -34px;
	width: 100%;
	opacity: .5;
}

main .page-title {
	margin: 0.6em 14px 1em;
	margin: 1em 14px 0.8em;
	margin: 1.5em 14px 0.8em;
	text-align: center;
}
main .page-subtitle {
	font-size: 1.5em;
	font-weight: normal;
	text-align: center;
	margin: -.7em auto 1em;
}
main .page-subtitle.page-subtitle-tiny {
	font-size: 1.15em;
	color: #888;
}

#search-form {
	margin: 20px 14px;
	margin: 40px 14px 20px;
}
#search-form::after {
	content: '';
	display: table;
	clear: both;
}
#search-form .search-field {
	width: calc(100% - 120px);
	height: 40px;
	position: relative;
	float: left;
}
#search-field {
	width: 100%;
	display: block;
	border-radius: 20px;
	padding: 0 58px 0 17px;
	border: none;
	line-height: 38px;
	font-size: 1.1em;
	background: #111;
	color: #eee;
	box-shadow: 0 0 0 2px #ffcb4a;
	transition: box-shadow .3s;
}
#search-field:focus {
	outline: none;
	box-shadow: 0 0 0 2px #ffcb4a, 0 0 0 5px #c1921d;
}
#search-submit {
	position: absolute;
	top: -2px;
	right: -2px;
	bottom: -2px;
	width: 44px;
	height: 42px;
	border-radius: 0 20px 20px 0;
	background: #ffcb4a;
	border: none;
	overflow: hidden;
	text-indent: -1000px;
}

#search-submit::before,
#search-submit::after {
	content: '';
	position: absolute;
	border: 3px solid #281d0d;
}
#search-submit::before {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	top: 7px;
	left: 7px;
	transition: border-radius .3s, border-color .5s, width .3s, height .3s, transform .3s;
}
#search-field:focus + #search-submit::before {
	border-radius: 0;
	border-left-color: transparent;
	border-bottom-color: transparent;
	width: 12px;
	height: 12px;
	transform: rotate3d(0, 0, 1, 45deg) translate3d(12px, -2px, 0);
	transition: border-radius .3s, border-color .1s, width .3s, height .3s, transform .3s;
}
#search-submit::after {
	width: 12px;
	height: 3px;
	border-width: 0 0 4px 0;
	border-radius: 2px;
	top: 25px;
	left: 21px;
	transform: rotate3d(0, 0, 1, 45deg);
	transition: transform .3s, width .3s, border-radius .3s;
}
#search-field:focus + #search-submit::after {
	width: 16px;
	border-radius: 0;
	transform: rotate3d(0, 0, 1, 180deg) translate3d(9px, 7px, 0);
}

#search-form .filter-cont {
	float: left;
	width: 120px;
}
#toggle-artworks-filter {
	font-size: 1.1em;
	margin-left: 10px;
	line-height: 40px;
	width: calc(100% - 10px);
	background: #423327;
	padding: 0;
	border: none;
	border-radius: 20px;
	color: #ffdf63;
	cursor: pointer;
}
#toggle-artworks-filter:hover {
	background: #4a3a2c;
}
#toggle-artworks-filter:active {
	background: #2f241c;
}


.linked-buttons {
	--gold-color: #d2b978;
	--gold-color-glow: #f2cc6d;
	--purple-color-glow: #7545b9;
	--gold-color-glow-hover: #ffe29b;
	--purple-color-glow-hover: #8450ce;
	--gold-color-glow-active: #c1a35b;
	--purple-color-glow-active: #6b3eac;
	--dimmed-gold-color: #352f1e;
	--dimmed-gold-color-hover: #423b26;
	--dimmed-gold-color-active: #2d2819;
	--box-radius: 10px;
	--box-dist: 3px;
	--color-on-glow: #111;
	border: 1px solid var(--gold-color);
	border-radius: var(--box-radius);
	list-style-type: '';
	padding: var(--box-dist);
	display: grid;
	gap: var(--box-dist);
}
.linked-button-wrapper {
	display: block;
	position: relative;
	cursor: pointer;
	z-index: 0;
	padding: .5em .3em .5em 32px;
}
.linked-button {
	background: var(--dimmed-gold-color);
	display: block;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	cursor: pointer;
	border-radius: var(--box-dist);
	outline: none;
}
.linked-button:hover,
.linked-button:focus-visible {
	background: var(--dimmed-gold-color-hover);
}
.linked-button:active {
	background: var(--dimmed-gold-color-active);
}
.linked-button:checked {
	background: var(--gold-color-glow);
	background: var(--gold-color-glow);
}
.linked-button:checked:hover,
.linked-button:checked:focus-visible {
	background: var(--gold-color-glow-hover);
	background: var(--gold-color-glow-hover);
}
.linked-button:checked:active {
	background: var(--gold-color-glow-active);
	background: var(--gold-color-glow-active);
}
.linked-buttons > *:first-child .linked-button,
.linked-buttons > *:first-child .linked-button-text {
	border-radius:
		calc(var(--box-radius) - var(--box-dist))
		calc(var(--box-radius) - var(--box-dist))
		var(--box-dist) var(--box-dist)
	;
}
.linked-buttons > *:last-child .linked-button,
.linked-buttons > *:last-child .linked-button-text {
	border-radius:
		var(--box-dist) var(--box-dist)
		calc(var(--box-radius) - var(--box-dist))
		calc(var(--box-radius) - var(--box-dist))
	;
}
.linked-button::before,
.linked-button::after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	margin: auto;
	border-radius: 3px;
	background: #222;
	top: 0;
	bottom: 0;
	left: 10px;
	z-index: -1;
}
.linked-button:not(:checked)::before,
.linked-button:not(:checked)::after {
	border: 1px solid var(--gold-color-glow);
}
.linked-button:checked::before,
.linked-button:checked::after {
	box-shadow: inset 0 0 0 3px #222, inset 0 0 0 100vh var(--gold-color-glow);
}
.linked-button-text {
	pointer-events: none;
	user-select: none;
}
.linked-button:checked + .linked-button-text {
	color: var(--color-on-glow);
}


footer {
	margin: 100px auto 30px;
	width: 100%;
	background: rgba(36, 34, 29, 0.92);
	margin: 100px 0 0;
	padding: 30px;
	position: relative;
	min-height: 100px;
}
@supports (backdrop-filter: blur(1px)) {
	footer {
		background: rgba(79, 64, 29, 0.43);
		backdrop-filter: blur(20px);
	}
}
.language-toggler {
	border-radius: 100vh;
	padding: 0;
	background: #000;
	isolation: isolate;
	position: relative;
	bottom: 10px;
	left: 10px;
	/* overflow: hidden; */
	display: grid;
	width: 280px;
	margin: 0 auto -20px -20px;
	grid-template-columns: 140px 140px;
}
.language-toggler::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	background: #e8c163;
	mix-blend-mode: difference;
	border-radius: 100vh;
	transition: left .3s;
	pointer-events: none;
}
.language-toggler:has(a.lang-bg.active)::after {
	left: 0;
}
.language-toggler:has(a.lang-en.active)::after {
	left: 50%;
}
.language-toggler:has(a.lang-bg:hover)::after {
	left: 0;
}
.language-toggler:has(a.lang-en:hover)::after {
	left: 50%;
}
.language-toggler a {
	padding: 0.6em 1.3em;
	display: block;
	text-align: center;
	-webkit-tap-highlight-color: transparent;
}
.language-toggler a:hover {
	text-decoration: none;
}
.copyright-notice {
	position: absolute;
	bottom: .2em;
	right: .7em;
	font-size: 0.7em;
	text-align: center;
	opacity: 0.7;
	padding: 5px 0;
	color: #7b6944;
}
.copyright-notice a {
	color: inherit;
	text-decoration: underline;
}
.copyright-notice a:hover {
	text-decoration: none;
	color: inherit;
}


.nav-wrapper ul li a {
	position: relative;
	z-index: 0;
}
.nav-wrapper ul li.image-inside a {
	padding-left: 52px;
	background: no-repeat 14px center / auto 28px;
}
.nav-wrapper ul li a:hover {
	text-decoration: none;
}
.nav-wrapper ul li a::before {
	content: '';
	position: absolute;
	width: 100vw;
	z-index: -1;
	margin: auto;
	left: calc((100% - 100vw) / 2);
	top: 0;
	bottom: 0;
	transition: background .3s;
}
.nav-wrapper ul li a:hover::before {
	background: rgba(130, 102, 41, 0.19);
	background: rgba(113, 9, 200, 0.13);
}


/*  LEAFLET patch  */

.leaflet-attribution-flag { display: none !important; }


/*  List Items (in forms mostly)  */

.list-item-fileds {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25em;
}
.list-item-fields-controls {
	margin-top: 1.2em;
}


.missing-image {
	display: block;
	aspect-ratio: 1/1;
	background-color: #E5E5F7;
	--stripes-color: #2d1d44;
	background: repeating-linear-gradient(135deg, transparent 0, transparent 10px, var(--stripes-color) 10px, var(--stripes-color) 20px);
}


@media (min-width: 720px) {
	footer {
		width: calc(100% - 2 * 10px);
		margin: 100px 10px 10px;
		border-radius: 10px;
	}
	
	@supports (corner-shape: squircle) {
		footer {
			border-radius: 20px;
			corner-shape: squircle;
		}
	}
}

@media
	(min-width: 1011px) and (min-height: 701px),
	(min-width: 1161px) and (max-height: 700px)
{
	#main-nav-trigger {
		display: none;
		-webkit-tap-highlight-color: transparent;
	}
	.nav-wrapper ul {
		display: flex;
		list-style-type: '';
		font-size: 1.3em;
		font-weight: 500;
		margin: 0;
		padding: 0 0 0 20px;
		justify-content: end;
		/* align-items: center; */
		height: 100%;
	}
	.nav-wrapper ul li {
		/* height: 100%; */
		display: flex;
		align-items: center;
	}
	.nav-wrapper ul li a {
		height: 100%;
		display: flex;
		align-items: center;
		padding: 0 .8em;
		transition: box-shadow .3s, color .3s;
		outline: none;
	}
	.nav-wrapper ul li a.change-language {
		width: 50px;
		background: url('/img/change-language.svg') no-repeat center / 50%;
		background: url('/img/world-grid-svgrepo-com-smplf.svg') no-repeat center / 50%;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.nav-wrapper ul li a.change-language .cl-letters {
		text-align: center;
		font-size: .6em;
		display: inline-block;
		padding: 0 .2em;
		border-radius: .3em;
		background: #3a2607;
	}
	.nav-wrapper ul li a:hover,
	.nav-wrapper ul li a:focus-visible {
		--bs-blr: 2em;
		box-shadow:
			inset 0 .15em 0 currentColor,
			inset 0 var(--bs-blr) calc(var(--bs-blr) * .9) calc(var(--bs-blr) * -1) currentColor;
		text-decoration: none;
	}
	.nav-wrapper ul li a.active {
		background-color: rgba(255, 203, 74, 0.19);
		background-color: rgba(210, 114, 255, 0.19);
	}
}

@media (min-width: 1001px) {
	main .page-title {
		margin: 1.5em 14px 1.1em;
		margin: 1.3em 14px;
		font-weight: 300;
		font-size: 3em;
	}
	main .page-subtitle {
		margin: -2em auto 1em;
	}

	#search-form {
		margin: 20px 14px 120px;
		margin: 20px 14px 108px;
	}
	#search-form {
		position: relative;
		max-width: 700px;
		margin-left: auto;
		margin-right: auto;
	}
	/*#search-form .search-field {
		width: 600px;
		margin: 0 auto;
		float: none;
	}
	#search-form .filter-cont {
		position: absolute;
		top: 0;
		right: 0;
	}*/
}

@media (min-width: 1100px) {
	footer {
		width: calc(100% - 2 * 20px);
		margin: 100px 20px 20px;
		border-radius: 10px;
	}
}

@media (min-width: 1011px) {
	@media (min-height: 701px) {
		body {
			padding-top: 0;
		}
		.main-header {
			display: initial;
			position: static;
			background: none;
			height: auto;
			backdrop-filter: none;
			box-shadow: none;
		}
		.titlebar {
			position: static;
			background: transparent;
			backdrop-filter: none;
			box-shadow: none;
		}
		.main-link {
			display: block;
			margin: 20px auto 10px;
			width: max-content;
		}
		.main-subtitle {
			display: block;
		}
		.nav-wrapper {
			padding: 40px 0 10px;
		}
		.nav-wrapper ul {
			max-width: max-content;
			margin: 0 auto;
			padding: 0 30px;
			border-radius: 100vh;
			background: hsla(42.9, 74.4%, 49%, 0.23);
			background: hsla(281.2, 52.2%, 31.2%, 0.48);
		}
		@supports (backdrop-filter: blur(1px)) {
			.nav-wrapper ul {
				backdrop-filter: blur(7px);
			}
		}
		.nav-wrapper ul li {
			height: 50px;
		}
		.nav-wrapper ul li a::before {
			content: initial;
		}
	}
	
	@media (max-height: 700px) {
		.main-header h1 {
			margin: 0;
		}
		.nav-wrapper {
			position: absolute;
			height: 52px;
			right: 0;
		}
		.nav-wrapper nav {
			height: 100%;
		}
	}
}

@media (min-width: 1161px) {
	.nav-wrapper ul li a::before {
		content: initial;
	}
}

@media (min-width: 1240px) {
	footer {
		max-width: 1200px;
		margin: 170px auto 30px;
	}
}


@media
	(max-width: 1010px) and (min-height: 701px),
	(max-width: 1160px) and (max-height: 700px)
{
	.main-header {
		backdrop-filter: none;
	}
	.main-header h1 {
		margin: auto;
	}
	#main-nav-trigger {
		display: block;
		height: 52px;
		width: 52px;
		position: fixed;
		right: 0;
		top: 0;
		padding: 0;
		border: none;
		cursor: pointer;
		background: transparent;
		/* background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 15H19M5 9H19' stroke='%23ffcb4a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 70%; */
		z-index: 1;
		-webkit-tap-highlight-color: transparent;
	}
	#main-nav-trigger::before,
	#main-nav-trigger::after {
		--x: -3px;
		--y: 3px;
		content: '';
		display: block;
		height: 3px;
		width: 24px;
		border-radius: 100vh;
		position: absolute;
		left: 0;
		right: 0;
		background: #ffcb4a;
		margin: auto;
		transition: transform .3s;
	}
	#main-nav-trigger::before {
		top: 20px;
	}
	#main-nav-trigger::after {
		bottom: 20px;
	}
	body.main-menu-visible #main-nav-trigger::before {
		transform: rotate3d(0, 0, 1, 225deg) translate3d(var(--x), calc(var(--y) * -1), 0);
	}
	body.main-menu-visible #main-nav-trigger::after {
		transform: rotate3d(0, 0, 1, -225deg) translate3d(var(--x), calc(var(--y) * 1), 0);
	}
	.nav-wrapper {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		margin: 0 0 0 auto;
		padding: 0;
		overflow-y: auto;
		overflow-x: hidden;
		/* direction: rtl; */
		background: rgba(0, 0, 0, 0.87);
		background: rgba(36, 23, 40, 0.93);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s;
		backdrop-filter: blur(5px);
	}
	body.main-menu-visible .nav-wrapper {
		opacity: 1;
		visibility: visible;
	}
	.nav-wrapper ul {
		/* direction: ltr; */
		pointer-events: all;
		display: flex;
		flex-direction: column;
		gap: 5px;
		list-style-type: '';
		font-size: 1.5em;
		font-weight: 500;
		margin: 0 auto;
		padding: 40px 0 0 0;
		height: 100%;
		max-width: 300px;
		/* background: rgba(17, 17, 17, 0.43); */
	}
	.nav-wrapper ul li {
		position: relative;
	}
	.nav-wrapper ul li:not(:last-child)::after {
		content: '';
		height: 1px;
		width: calc(100% - 30px);
		position: absolute;
		top: calc(100% + 2.5px);
		left: 0;
		right: 0;
		margin: auto;
		background: hsla(41.7, 67.1%, 55.9%, 0.12);
	}
	.nav-wrapper ul li a {
		height: 60px;
		display: flex;
		align-items: center;
		border: 2px solid #8e6f22;
		border: 2px solid transparent;
		border-radius: 5px;
		-webkit-tap-highlight-color: transparent;
		transition: opacity .4s, transform .4s;
		transform: translate3d(0, 20px, 0);
		opacity: 0;
	}
	.nav-wrapper ul li a.image-inside:not(.change-language) {
		padding-left: 55px;
	}
	body.main-menu-visible .nav-wrapper ul li a {
		transform: translate3d(0, 0, 0);
		opacity: 1;
	}
	body.main-menu-visible .nav-wrapper ul li:nth-child(2) a {
		transition-delay: .05s;
	}
	body.main-menu-visible .nav-wrapper ul li:nth-child(3) a {
		transition-delay: .1s;
	}
	body.main-menu-visible .nav-wrapper ul li:nth-child(4) a {
		transition-delay: .15s;
	}
	body.main-menu-visible .nav-wrapper ul li:nth-child(5) a {
		transition-delay: .2s;
	}
	body.main-menu-visible .nav-wrapper ul li:nth-child(6) a {
		transition-delay: .25s;
	}
	body.main-menu-visible .nav-wrapper ul li:nth-child(7) a {
		transition-delay: .3s;
	}
	body.main-menu-visible .nav-wrapper ul li:nth-child(8) a {
		transition-delay: .35s;
	}
	.nav-wrapper ul li:first-child a {
		border-top-left-radius: 20px;
		border-top-right-radius: 20px;
	}
	.nav-wrapper ul li:last-child a {
		border-bottom-left-radius: 20px;
		border-bottom-right-radius: 20px;
	}
	.nav-wrapper ul li a.change-language {
		text-align: center;
		justify-content: center;
	}
	html[lang="bg"] .nav-wrapper ul li a.change-language::after {
		content: attr(data-text-bg);
	}
	html[lang="en"] .nav-wrapper ul li a.change-language::after {
		content: attr(data-text-en);
	}
	.nav-wrapper ul li a.change-language .cl-letters {
		display: none;
	}
	.nav-wrapper ul li a,
	.nav-wrapper ul li a {
		/* background-color: rgba(77, 58, 16, 0.78); */
	}
	.nav-wrapper ul li a:hover,
	.nav-wrapper ul li a:hover {
		/* background-color: rgba(117, 88, 23, 0.78);
		background-color: rgba(130, 102, 41, 0.19); */
	}
	.nav-wrapper ul li a:active,
	.nav-wrapper ul li a:active {
		/* background-color: rgba(32, 24, 7, 0.78); */
	}
}

@media (min-height: 701px) {
	.body-content {
		min-height: calc(100vh - 52px);
	}
	
	@media (min-width: 1011px) {
		.body-content {
			min-height: 100vh;
		}
	}
}

@keyframes loader-spin { to { transform: rotate3d(0, 0, 1, 1turn); } }

@view-transition {
    navigation: auto;
}