@import url('https://fonts.googleapis.com/css?family=Titillium+Web:200,200i,300,300i,400,400i,600,600i,700,700i,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400..700,0..1,0');

@font-face {
	font-family: 'shiro-icon';
	src: url('../fonts/shiro-icon.eot?56132354');
	src: url('../fonts/shiro-icon.eot?56132354#iefix') format('embedded-opentype'),
		url('../fonts/shiro-icon.woff2?56132354') format('woff2'),
		url('../fonts/shiro-icon.woff?56132354') format('woff'),
		url('../fonts/shiro-icon.ttf?56132354') format('truetype'),
		url('../fonts/shiro-icon.svg?56132354#shiro-icon') format('svg');
	font-weight: normal;
	font-style: normal;
}

.material-symbols {
	font-variation-settings: 'FILL'1, 'wght'400;
}

.material-symbols-outlined {
	font-variation-settings: 'FILL'0, 'wght'400;
}


.serif {
	font-family: "Literata", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

:root {
	--color-theme: #F7941E;
	--lightbg: #ffffff;
	--white: #ffffff;
	--black: #000000;
	--lightergray: #EFEAE9;
	--lightergray-transp: #EFEAE9F2;
	--lightgray: #E6E2DF;
	--lightgray-transp: #E6E2DFF2;
	--gray: #6D6D6D;
	--darkgray: #2D3432;
	--darkgray-transp: #2D3432F7;
	--darkblue: #1C548D;
	--lightblue: #1995D3;
	--green: #D6EB00;
	--darkgraygreen: #3A403F;
	--graygreen: #424947;
	--lightorange: #BF9540;
	--color-placeholder: #f6f6f6;
	--midgray: #CCCCCC;

	--article-image-height: 60vh;
	--slide-swipe-height: 60vh;
	--gallery-swipe-height: 30vh;
	--swiper-navigation-color: var(--color-theme);
	--swiper-pagination-color: var(--color-theme);

	/* --color-lighter: hsl(from var(--color-theme) h s calc(l * 1.2));
	--color-lighterer: oklch(from var(--color-theme) calc(l + 0.2) c h);
	--color-alpha-50: oklab(from var(--color-theme) l a b / 50%); */
	
	--color-bg-btn: #f0f0f0;

	--shadow-light: rgba(0, 0, 0, 0.2) 0px 2px 8px 0px;
	--shadow-medium: rgba(0, 0, 0, 0.1) 3px 4px 8px;
	--shadow-dark: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;;
	--shadow-big: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;

	--scroll-width: 12px;
	--scroll-radius: 5px;

}

::-webkit-scrollbar {
	width: var(--scroll-width);
	border-radius: var(--scroll-radius);
	color: black;
	background: black;
	scrollbar-color: darkred;
}

::-webkit-scrollbar-track {
	border-radius: var(--scroll-radius);
	background-color: #ddd;
}

::-webkit-scrollbar-thumb {
	background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: var(--scroll-radius);
}

html,
body {
	width: 100%;
	max-width: 100%;
	scroll-behavior: smooth;
}

body {
	position: relative;
	font-family: 'Titillium Web', sans-serif;
	font-weight: 300;
	color: var(--darkgray);
	text-wrap: pretty;
	overflow-x: hidden;
	overflow-y: scroll;
}

body.high-contrast{
	--color-theme:white;
	--swipper-navigation-color:white;
	color: white;
}

body.high-contrast form,body.high-contrast input, body.high-contrast select, body.high-contrast .autocomplete-component{ 
	color: var(--darkgray);
}

body.high-contrast .home-banner a,.high-contrast .hero a,.high-contrast .hero{
	color: var(--darkgray);
}

body.high-contrast .home-banner a:hover{
	color: white;
}


main:not(#home-landing){
	padding-top:160px;
}

body.high-contrast.header-social-bttns:not(.opened-menu) > header .upper-menu .header-social-bttns ,body.high-contrast.header-social-bttns:not(.opened-menu) > header .upper-menu .header-social-bttns a {
	color: inherit;
}


.high-contrast #header-nav .header-social-bttns a{
	color:inherit;
}

body.opened-menu {
	overflow: hidden;
}

.wrap {
	width: 85%;
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}

[hidden] {
	display: none;
}

.dot-line {
	display: block;
	content: '';
	position: relative;
	width: 100%;
	height: 1px;
	margin-bottom: 4em;
}

.dot-line:not(:first-of-type) {
	margin-top: 4em;
}

.dot-line::before {
	display: block;
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 10px;
	height: 10px;
	background-color: var(--color-theme);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.dot-line::after {
	display: block;
	content: '';
	position: absolute;
	top: 50%;
	bottom: 0;
	left: 0;
	right: -50%;
	border: 1px solid var(--color-theme);
	transform: translateY(-50%);
}

a:focus-visible {
	background: #ffc70044;
}

figcaption:empty {
	display: none;
}


.btn-more{
    font-family: 'Titillium web', sans-serif;
    border: 1px solid var(--midgray);
    padding: .1em 1.2em;
    font-size: .7em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 1em;
    margin-top: 1em;
    display: inline-block;
    transition: all .3s ease;
}

.btn-more:hover{
	background-color: var(--gray);
	border-color: var(--gray);
	color: var(--white);
}


/* -- HEADER -- */

/* https://css-tricks.com/how-to-detect-when-a-sticky-element-gets-pinned/ */

body > header {
	/* background-color: #ffffffcc; */
	position: fixed;
	width:100%;
	top: 0;
	z-index: 99;
	transition: background .5s ease;
}



body.scrolled > header {
	background-color: #ffffffee;
}

body.high-contrast > header{
	background-color: #ffffff;
	}

body.hero > header {
	background-color: #ffffff00;
}

body.hero:not(.opened-menu) > header .header-menu > ul > li > a,
body.hero:not(.opened-menu) > header .upper-menu {
	color: #ffffff;
}

body.hero:not(.opened-menu) .logo {
	filter: brightness(20);
	transition: all .5s ease;
}

body > header #header-nav {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto 1fr;
	gap: .5em 2em;
	padding: .5em 0;
	/* color: black; */
}

body:not(.home).high-contrast > header{
	color:black;
}

footer img.logo,
#header-nav img.logo {
	width: auto;
    height: min(2.5em, 3.5vh);
	margin-top: 1.6em;
}

#header-nav #logo {
	grid-area: 1 / 1 / 3 / 2;
	align-self: end;
}

#header-nav .upper-menu {
	justify-self: end;
	display: flex;
	gap: 2.5em;
	align-items: center;
	align-self: start;
	min-height: 1.8em;
	@media (width < 900px) {
		font-size: 1.2em;
		gap: 1.5em;
	}
}

#header-nav .upper-menu button span {
	font-size: .8em;
	display: block;
	font-weight: 600;
	text-transform: uppercase;
}

#header-nav .menu-toggle {
	display: flex;
	gap: .35em;
	align-items: center;
}

#header-nav .menu-toggle::after {
	font-family: 'shiro-icon';
	content: '\E805';
	font-size: 1.5em;
	line-height: 1;
	width: .75em;
	text-align: center;
}

#header-nav .login-icon {
	display: flex;
	gap: .5em;
	align-items: center;
}

#header-nav .login-icon::before {
	font-family: 'shiro-icon';
	content: '\E806';
}

#header-nav .header-social-bttns {
	display: flex;
	gap: 1.5em;
	font-size: .6em;
	align-items: center;
}


/* -- MENU -- */

#header-nav nav ul {
	display: flex;
	gap: 0 1.5em;
}

#header-nav nav > ul > li {
	position: relative;
}

#header-nav nav  li.active > a{
	color: var(--color-theme);
	font-weight: 700;
}

.high-contrast #header-nav nav li.active > a {
	color:black;
}

body:not(.opened-menu) #header-nav nav > ul > li > ul {
	flex-direction: column;
	gap: .2em;
	background: var(--white);
	border: 1px solid var(--lightgray);
	position: absolute;
	bottom: 0;
	transform: translateY(100%);
	min-width: 15em;
	width: 15vw;
	margin-left: -1em;
	display: none;
	padding: .5em;
	border-radius: .25em;
	box-shadow: var(--shadow-medium);
}

body:not(.opened-menu) #header-nav nav > ul > li:hover > ul {
	display: flex;
}

#header-nav nav > ul > li > ul > li a {
	padding: .3em .5em;
	display: block;
	line-height: 1.2;
	font-size: .95em;
}

#header-nav nav > ul > li > ul > li a:hover {
	font-weight: 700;
}

#header-nav nav > ul > li > a {
	font-weight: 600;
	white-space: nowrap;
	font-size: .95em;
	margin-top: .25em;
	margin-bottom: .25em;
	display: block;
}

.user-info {
	display: flex;
	gap: 1.5em;
	align-items: center;
}

.user-info a{
	font-size: .8rem;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
}

.user-info a:hover{
	font-weight: 700;
}

.user-info a.user-logout{
	border: 1px solid var(--lightgray);
    padding: .1em .75em;
    border-radius: 1em;
	transition: all .3s ease;
}

.user-info a.user-logout:hover{
	background-color: var(--lightgray);
}

/* OPENED MENU */

body.opened-menu #header-nav .menu-toggle::after { content: '\E820'; }

body.opened-menu > header{
	position: fixed;
	inset: 0 0 0 0;
	background-color: #ffffffee;
	backdrop-filter: blur(5px);
}

body.opened-menu > header #header-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    height: 100vh;
    position: relative;
    padding: .5em 0 5em 0;
	gap: 4em 2em;
}

body.opened-menu > header #header-nav #logo {
	grid-area: initial;
}

body.opened-menu > header #header-nav nav {
	grid-area: 2 / 1 / 3 / 3;
	overflow-y: auto;
	overflow-x: hidden;
	padding-right: 3%;
	padding-bottom: 2em;
}

body.opened-menu > header #header-nav nav > ul {
	flex-direction: column;
	gap: 2em;
}

body.opened-menu > header #header-nav nav > ul > li {
	border-top: 2px solid var(--color-theme);
	display: grid;
	grid-template-columns: minmax(200px, 2fr) 5fr;
    gap: .5em 6em;
	padding-top: 0.75em;
	@media (width < 900px) {
		grid-template-columns: auto;
	}
}

 body.opened-menu.high-contrast > header #header-nav nav > ul > li {
	border-top: 2px solid black;
}

body.opened-menu > header #header-nav nav > ul > li > ul {
	position: relative;
	display: block;
	transform: initial;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
}

body.opened-menu > header #header-nav nav > ul > li > a {
	font-weight: 700;
	font-size: 1.4em;
	color: var(--color-theme);
}

.high-contrast.opened-menu > header #header-nav nav > ul > li > a {
	color:black;
}

body.opened-menu > header #header-nav nav > ul > li > a:hover {
    color: hsl(from var(--color-theme) h s calc(l * 1.2))
}

body.opened-menu > header #header-nav nav > ul > li > ul > li a {
    font-size: 1.1em;
    padding: .3em 0;
	font-weight: 500;
}

body.opened-menu > header #header-nav nav > ul > li > ul > li a:hover {
	font-weight: 700;
}

body #header-nav button.menu-toggle span,
body #header-nav button.login-icon span,
body #header-nav .header-social-bttns,
body #header-nav .user-name,
body:not(.opened-menu) #header-nav nav{
	@media (width < 900px) {
		display: none;
	}
}

body.opened-menu #header-nav .header-social-bttns{
	@media (width < 900px) {
		display: flex;
		position: absolute;
		bottom: 1em;
		left: 0;
		font-size: .9rem;
	}
}


/* ------------- */

body > main {
	padding: 24px 0;
    background-color: var(--lightbg);
    z-index: 1;
}

body.high-contrast > main {
	background-color: black;
}

body:not(.home) > main::before {
	content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    opacity: 0.15;
    background-image: url(../images/curva_bg.svg);
    background-size: 1920px auto;
    background-position: center -250px;
    background-repeat: no-repeat;
    z-index: 0;
	pointer-events: none;
}


body > main .header {
	margin-bottom: 1em;
}

body > main .header h1 {
	font-size: 2em;
	color: var(--color-theme);
}

body > main header h2 {
	font-size: 2em;
	line-height: 1.1;
	font-weight: 700;
}

body > main header h2 span {
	font-size: .85em;
	font-weight: 400;
	display: block;
	color: var(--gray);
}

body > main header .alternateName {
    font-size: 1.4em;
    line-height: 1.25;
    font-weight: 400;
    display: block;
    color: var(--gray);
	font-style: italic;
}

body > main.restricted {
	padding: 5em 0;
}

.section-alt {
	background-color: #eee;
}
.high-contrast .section-alt {
	background-color: black;
}

.section-alt .curve {
	content: "";
	display: block;
	width: 100%;
	height: 20vh;
	background-image: url(../images/curva_branco.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position-y: bottom;
}

/* -- */

.acervo-landing article header.subsection,
section > header {
	display: flex;
	gap: 3em;
	justify-content: space-between;
	align-items: center;
}

.acervo-landing article header.subsection,
section > header.subsection {
	margin-bottom: 1em;
}

.acervo-landing article header h3,
section > header h3 {
	font-size: 1.4em;
	line-height: 1;
	font-weight: 600;
	color: var(--color-theme);
}

/* -- */

.home-hero {
	margin-top: -104px;
	min-height: 60vh;
	position: relative;
	background-color: #ffffff;
	overflow: hidden;
	padding-top: 6em;
	padding-bottom: 2em;
	margin-bottom: 3em;

	display: flex;
	align-items: end;
}

.home-hero::before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url(../images/curva.svg);
    background-size: auto 550px;
    background-position: center -70%;
    background-repeat: no-repeat;
    z-index: 2;
    mix-blend-mode: hard-light;
}


.home-hero::after {
	content: ' ';
	display: block;
	position: absolute;
	bottom: -2px;
	left: -2px;
	right: -2px;
	width: 101%;
	height: 10vw;
	background-image: url(../images/curva_cores.svg);
	background-size: 100%;
	z-index: 2;
	background-repeat: repeat-x;
	background-position-y: bottom;
}

.high-contrast .home-hero::after{
	content: none;
}

.home-hero-text {
	margin: 12em 0 4em 0;
	display: flex;
	align-items: end;
	gap: 2.5em;

	@media (width < 800px) {
		flex-direction: column;
		;
	}
}

.home-hero-text__title {
	font-size: 2em;
	font-weight: 700;
	line-height: 1.1;
	color: #ffffff;
	text-shadow: 2px 2px 4px var(--black);
	flex-grow: 10;
	flex-basis: 80%;
}

.home-hero-text__title span {
	font-size: .8em;
	font-weight: 400;
}

.home-hero-text__credits {
	font-size: .8em;
	font-weight: 500;
	color: #ffffff;
	text-align: end;
	flex-shrink: 5;
	max-width: 320px;

    border-right: 2px solid var(--color-theme);
    padding-right: .75em;
}

.high-contrast .home-hero-text__credits{
	display:none;
}

/* .home-hero-text__credits .label {
    font-weight: 700;
    font-size: .9em;
    letter-spacing: .5px;
    opacity: .7;
    text-transform: uppercase;
} */

.home-hero-img {
	position: absolute;
	width: 100%;
	height: 100%;
	inset: 0 0 0 0;
	z-index: 1;
}

.home-hero-img::before {
	content: ' ';
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to right top, #ffc700, #ffa10a, #ff7829, #ff4b41, #f80057);
	z-index: 2;
	mix-blend-mode: multiply;
}

.high-contrast .home-hero-img::before{
	background: black !important ;
}

.home-hero-img img {
	display: block;
	position: absolute;
	inset: 0 0 0 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	filter: grayscale() brightness(110%) opacity(.8);
	transform: scale(1.25);
}

.home-hero-body {
	width: 100%;
	position: relative;
	z-index: 3;
}

.swiper.home-hero-highlight {
	margin: 3em 0 7vw 0;
    z-index: 1;
    display: block;
    width: calc(100% + 1em);
    padding: .5em;
    margin-left: -.5em;
}

.home-hero-highlight .swiper-wrapper {
	margin-bottom: 1em;
}

.home-hero-highlight__item {
	box-sizing: border-box;
	padding: .25em;
	display: flex !important;
	flex-direction: column;
	gap: .75em;
	background-color: var(--white);
	height: auto !important;
	border-radius: .35em;
	box-shadow: var(--shadow-dark)
}

.home-hero-highlight__item > a {
	display: flex !important;
	flex-direction: column;
	gap: .5em;
}

.home-hero-highlight__item img {
	border-radius: .25em .25em 0 0;
	background: var(--lightergray);
	overflow: hidden;
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 7 / 2;
}

.list .home-hero-highlight {
	margin-top: 0;
	margin-bottom: 2em;
}

.list .home-hero-highlight__item {
	box-shadow: var(--shadow-light);
}

.list .home-hero-highlight__item img{
	aspect-ratio: 16 / 9;
}

.home-hero-highlight__item-text {
	display: flex;
	justify-content: space-between;
	gap: 1em;
	padding: .5em 1em 1em 1em;
	/* height: 100%; */
	font-size: .8em;
}

.high-contrast .home-hero-highlight__item-text{
	color: var(--darkgray);
}

.home-hero-highlight__item-text h4 {
    font-weight: 700;
    font-size: 1.4em;
    line-height: 1.2;
}

.home-hero-highlight__item-text .description {
	margin-top: .75em;
}

.home-hero-highlight__item-text .date {
    font-weight: 700;
	margin-top: .75em;
}

.home-hero-highlight__item-text p {
	font-size: .9em;
}

.home-hero-highlight__item-action {
	align-self: flex-end;
}

/*---*/

.section-transition {
	height: 5vw;
	overflow: hidden;
	margin: -1px 0;
}

.high-contrast .section-transition{
	display:none;
}

.section-transition svg {
	margin: 0 0 -1px 0;
}

.section-transition-footer {
	background-color: var(--white);
	padding-top: 4em;
}

.high-contrast .section-transition-footer{
	display:none;
}

body.home .section-transition-footer {
	display: none;
}

/*---*/

.cases-swiper {
	padding: 0 3% !important;
}

.cases-swiper__item {
	box-sizing: border-box;
	padding: .75em .75em 0 .75em;
	display: flex !important;
	flex-direction: column;
	gap: 1.5em;
	background-color: var(--white);
	height: auto !important;
	align-items: center;
}

.high-contrast .cases-swiper__item {
	background-color: black;
}

.cases-swiper__item-text {
	text-align: center;
}

.cases-swiper__item-text h4 {
	font-weight: 700;
	line-height: 1.2;
}

.cases-swiper__item-text .type {
	color: var(--color-theme);
	text-transform: uppercase;
	font-size: .75em;
	font-weight: 700;
	margin-top: .5em;
}

.cases-swiper__item picture {
	padding: 0 6%;
	transition: all .5s ease;
	width: 100%;
}

.cases-swiper__item img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	object-fit: cover;
}

.cases-swiper__item:hover picture {
	transform: scale(1.05);
}

/*---*/

.home-acervo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5em;
	margin: 5em 0;
	@media (width < 800px) {
		grid-template-columns: 1fr;
	}
}

/*---*/

.home-banner {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(24em, 1fr));
	gap: 1.5em 2em;
	font-size: .9em;
	margin: 6em 0;
}

.home-banner a {
	display: flex;
	align-items: center;
	background-color: var(--color-bg-btn);
	border-radius: .75em;
    padding: .25em .75em;
	width: 100%;
	height: 100%;
	gap: .5em;
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.2;
}

.home-banner a img{
	height: 4em;
	flex-shrink: 1;
}

.home-banner a:hover {
	color: var(--white);
    background-image: linear-gradient(to right top, #ffc700, #ffa10a, #ff7829, #ff4b41, #f80057);
}

.home-banner a:hover img{
	filter:  contrast(0%) brightness(200%);
}

/*---*/

.home-video {
	display: flex;
	gap: 1.5em 3em;
	margin: 3em 0;

	@media (width < 800px) {
		flex-direction: column;
	}
}

.home-video__player {

	border-radius: .5em;
	overflow: hidden;
	position: relative;
	display: block;
    width: min(600px, 100%);
	aspect-ratio: 560 / 315;
	flex: 2 1 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	background-size: auto 150%;
	@media (width < 800px) {
		flex: auto;
	}
}

.home-video__player iframe {
	width: 100%;
	height: 100%
}

.home-video__info {
	flex: 3 1 0;
	@media (width < 800px) {
		flex: auto;
	}
}

.video-player{
	position: relative;
}

.video-player::after {
	font-family: 'shiro-icon';
	content: '\E80A';
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	font-size: 2em;
	width: 2.25em;
	height: 2.25em;
	padding-left: 5px;
	background-color: #88888844;
	backdrop-filter: blur(6px);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	transition: all .3s ease;
	border: 2px solid var(--white);
	pointer-events:none;
}

.video-player:hover::after {
	transform: translate(-50%, -50%) scale(1.1);
}

/*---*/

.home-gallery {
	margin: 3em 0 6em 0;
}

.home-gallery .gallery {
	display: flex;
	flex-wrap: wrap;
}

.home-gallery .gallery .gallery-item {
	margin: 2px;
	cursor: pointer;
	overflow: hidden;
	position: relative;
	position: relative;
}

.home-gallery .gallery .gallery-item::after {
	content: ' ';
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	inset: 0 0 0 0;
	opacity: 0;
	transition: all .6s ease;
	background-image: linear-gradient(to right top, #ffc700, #ffa10a, #ff7829, #ff4b41, #f80057);
	mix-blend-mode: multiply;
}

.home-gallery .gallery .gallery-item:hover::after {
	opacity: 1;
}

.home-gallery .gallery .gallery-item img {
	user-select: none;
	width: 100%;
	vertical-align: middle;
	transform: scale(1.05);
	transition: all .75s ease;
}

.home-gallery .gallery .gallery-item:hover img {
	filter: grayscale() brightness(110%) opacity(1);
}

.home-gallery .gallery .gallery-item:hover img {
	transform: scale(1);
}

.home-gallery .gallery .gallery-item .gallery-item-description {
	position: absolute;
	display: flex;
	flex-direction: column;
	gap: .25em;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	inset: 0 0 0 0;
	color: #fff;
	font-size: .8em;
	font-weight: 600;
	text-shadow: 0px 1px 3px var(--black), 0px 0px 6px var(--black);
	text-align: center;
	z-index: 2;
	transition: all .3s ease;
	opacity: 0;
	padding: .75em;
}

.home-gallery .gallery .gallery-item .gallery-item-description span.date {
	font-weight: 400;
	display: block;
	font-size: .9em;
}

.home-gallery .gallery .gallery-item:hover .gallery-item-description {
	opacity: 1;
}

.home-gallery .gallery .gallery-end {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-grow: 99999;
	min-width: calc(100vw / 4);
	padding: .5em 2em;
}

.home-gallery .gallery .gallery-end a {
	background: #fff;
	margin: 1.5em 0 0 0;
	padding: .25em 1.5em;
	font-size: .9em;
	font-weight: 600;
	border-radius: 2em;
	display: flex;
	align-items: baseline;
	gap: .5em;
	transition: all .3s ease;
}

.home-gallery .gallery .gallery-end a::after {
	font-family: 'shiro-icon';
	content: '\E815';
	font-size: .8em;
	transition: all .3s ease;
}

.home-gallery .gallery .gallery-end a:hover::after {
	transform: scale(1.25);
}

.home-gallery .gallery .gallery-end a:hover {
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

/*---*/

.gallery-swiper {
	position: relative;
}

.gallery-swiper .swiper {
	width: 100%;
	height: var(--gallery-swipe-height);
}

.gallery-swiper .swiper-wrapper {
	align-items: center;
}

.gallery-swiper .swiper-wrapper.slider-inactive {
	justify-content: center;
}

.gallery-swiper .swiper-slide {
	width: auto;
	display: block;
	position: relative;
	height: auto;
}

.gallery-swiper .swiper-slide figcaption {
	display: none;
}

.gallery-swiper .swiper-slide img {
	height: var(--gallery-swipe-height);
	width: auto;
	border: 2px solid var(--lightergray)
}

.swiper-button-next {
	right: 0 !important;
	transform: translateX(140%) scale(.7) !important;
}

.swiper-button-prev {
	left: 0 !important;
	transform: translateX(-140%) scale(.7) !important;
}

.swiper-wrap {
	position: relative;
}

.grid-news {
	margin-bottom: 3em;
}

.grid-news .swiper-slide {
	display: flex;
	flex-direction: column;
	gap: 1.25em;
}

.grid-news .swiper-slide img {
	width: 100%;
	aspect-ratio: 5 / 3;
	height: auto;
	object-fit: cover;
	object-position: center;
	transition: all .3s ease;
	display: block;
}

.grid-news .swiper-slide picture {
	overflow: hidden;
}

.grid-news .swiper-slide:hover img {
	transform: scale(1.05);
}

.grid-news .swiper-slide h4 {
	font-weight: 700;
	font-size: 1.1em;
	line-height: 1.2;
}

.grid-news .swiper-slide .description {
	margin-top: .5em;
	font-size: .8em;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
	color: var(--lightgray);
}

.swiper-pagination {
	position: relative !important;
	display: flex;
	gap: 4px;
	width: 100%;
	justify-content: center;
	align-items: center;
	bottom: 0 !important;
	margin-top: 1em;
}

.swiper-pagination .swiper-pagination-bullet {
	width: 15px;
	height: 2px;
	margin: 0 !important;
	border-radius: 0;
}

.swiper-hero-pagination .swiper-pagination-bullet{
	background: #fff;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	width: 15px;
	height: 4px;
}

.swiper-hero-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
	background: var(--color-theme);
}

.swiper-pagination-bullet.swiper-pagination-bullet-active{
	background: var(--color-theme);
}

.swiper-button-next, .swiper-button-prev{
	color: var(--midgray)!important;
}

.swiper-highlight-pagination{
	margin-top: 2em;
}

/*---*/

.section-header h3 {
	font-size: 1.6em;
	font-weight: 700;
	color: var(--color-theme);
	line-height: 1.1;
}

.section-header h3 span {
	font-size: .8em;
	color: var(--gray);
	font-weight: 400;
	display: block;
}

.high-contrast .section-header h3 span {
	color: white;
}

.section-header .description {
	margin-top: 1.25em;
	font-family: "Literata", serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 1em;
	line-height: 1.4;
	font-style: italic;
}

.section-body .tools,
.section-header .tools {
	margin-top: 1.2em;
}

.see-more {
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-theme);
	white-space: nowrap;
	align-self: self-end;
	font-size: .8rem;
	display: inline-flex;
	align-items: center;
}

.see-more::after {
	font-family: 'shiro-icon';
	content: '\F0A9';
	font-size: 1.2em;
	margin-left: .4em;
	transition: all .3s ease;
}

.see-more:hover::after {
	transform: scale(1.25);
}

/* ---- */

footer {
	margin-bottom: 33vh;
	box-shadow: 0 40px 40px -40px var(--black);
	background-color: #eeeeee;
	padding: 5em 0 4em 0;
	background-color: var(--lightbg);
	z-index: 1;
}

.high-contrast footer{
	background-color: black;
}

body:not(.home) footer {
	background-color: #eee;
}

body:not(.home).high-contrast footer{
	background-color: black;
}

footer #logo {
	margin-bottom: 2em;
	filter: brightness(0);
	opacity: .6;
}

footer #logo :is(h1,h2,h3){
	display: inline-block;
}

footer .footer-seals {
	display: flex;
	gap: .25em;
	filter: brightness(0);
	opacity: .5;
	margin-bottom: .5em;
}

footer .footer {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 4em;
    border-top: 2px solid #eee;
    padding-top: 3em;
    margin-top: 5em;
	padding-bottom:64px;
	@media (width < 800px) {
		grid-template-columns: 1fr;
	}
}

footer .footer-menu>ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(12em, 1fr));
	gap: 1.5em 1.25em;
	font-size: .9em;
}

footer .footer-menu a {
	display: block;
}

footer .footer-menu>ul>li>a {
	font-weight: 700;
	color: var(--color-theme);
	margin-bottom: .25em;
}

footer .footer-menu>ul>li>a:hover {
	color: hsl(from var(--color-theme) h s calc(l * .9))
}

footer .footer-menu>ul>li>ul>li>a {
	margin-bottom: .25em;
	font-weight: 500;
}

footer .footer-menu>ul>li>ul>li>a:hover {
	color: var(--black);
}

.high-contrast footer .footer-menu > ul > li > ul > li > a:hover {
	color:white;
}

.footer-hero {
	background-image: url(../images/footer/footer-001.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 34vh;
	position: fixed;
	bottom: 0;
	z-index: -1;
}

footer .footer-seal {
	width: auto;
	height: 4rem;
}

footer .footer-service {
	font-size: .9em;
}

footer .footer-info {
	display: flex;
	flex-direction: column;
	gap: 1em;
	font-size: .8em;
	font-weight: 700;
}

.social-bttns {
	margin: 3em 0 1em 0;
	display: flex;
	align-items: center;
	gap: 1.25em;
}

.social-bttn::before {
	font-family: 'shiro-icon';
	font-size: 2em;
}

.social-bttn.linkedin::before {
	content: '\F0E1';
}

.social-bttn.facebook::before {
	content: '\E84E';
}

.social-bttn.instagram::before {
	content: '\E850';
}

.social-bttn.youtube::before {
	content: '\E851';
	font-size: 1.8em;
}

/*  -----------------   */

:is(.item, .landing) .property-row {

	display: grid;
	grid-template-columns: minmax(120px, 1fr) 4fr;
	gap: .2em 3em;
	margin-bottom: .65em;
	padding-top: .65em;

	@media (width < 600px) {
		grid-template-columns: 1fr;
	}

	&:not(:first-child){
		border-top: 1px dotted #cccccc;
		margin-top: .5em;
	}

	& .property-label {
		display: flex;
		flex-wrap: wrap;
		gap: .5em;
		align-items: flex-start;
		align-content: flex-start;
		font-size: .7em;
		line-height: 1.4;
		font-weight: 500;
		text-transform: uppercase;
		color: #b3abaa;
		letter-spacing: .35px;

		& span {
			font-size: .9em;
		}

		& .property-label-total {
			font-size: .9em;
			font-weight: 600;
			color: var(--black);
			line-height: 1.6;
		}

		& .property-label-order {
			font-size: .85em;
			padding: .25em .5em;
			border-radius: 1em;
			border: 1px #dddddd solid;
			cursor: pointer;
			opacity: 0;
			transition: opacity .3s ease;
		}
	}

	&:hover .property-label .property-label-order {
		opacity: 1;
	}

	& .property-value {

		color: var(--color-darker);
		display: fit-content;
		line-height: 1.5;
		display: flex;
		flex-direction: column;
		gap: 0.35em;

		overflow-wrap: break-word;
		word-wrap: break-word;
		
		-ms-word-break: break-all;
		word-break: break-all;
		word-break: break-word;
		
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		hyphens: auto;

		& h2 {
			font-size: 1.2em;
            font-weight: 700;
            margin-top: 1.5em;
            margin-bottom: .5em;
		}

		& h3 {
			font-size: .9em;
            font-weight: 700;
            margin-top: 1.75em;
            margin-bottom: .75em;
            color: var(--gray);
            text-transform: uppercase;
		}

		& b {
			font-weight:600;
		}

		& i {
			font-style: italic;
		}

		& a {
			text-decoration: underline;
			text-decoration-thickness: 1px;
			text-underline-offset: 0px;
			text-decoration-color: var(--lightbg);
			transition: all .3s ease;

		}

		& a:focus-visible,
		& a:hover {
			text-decoration-color: var(--color-dark);
			text-underline-offset: 3px;
		}

		&>div {

			display: flex;
			flex-wrap: wrap;
			align-items: baseline;
			gap: .2em .5em;

			&:hover .value-description {
				opacity: 1;
			}
		}

		&>div:not(:last-child) {
			margin-bottom: .2em;
		}

		& .value-separator:empty {
			display: none;
		}

		& .value-type {
			font-size: .5em;
			text-transform: uppercase;
			font-weight: 500;
			letter-spacing: .5px;
			color: var(--color-theme);
			font-family: 'Titillium', sans-serif;
		}

		& .property-value-language {
			font-size: .5em;
			text-transform: uppercase;
			font-style: italic;
			color: var(--gray)
		}

		& p:not(:last-child) {
			margin-bottom: .75em;
		}

		& .taxonomy-separator::before {
			margin: 0 .1em;
			content: '\E802';
			font-family: 'shiro-icon';
			font-size: .8em;
			font-weight: 100;
		}

		& img {
            max-height: 40vh;
            width: auto;
            max-width: 80%;
		}
	}
}

:is(.item, .landing) .item-title {}

:is(.item, .landing) .item-thumb {
	margin: 1em 0 3em 0;
}

:is(.item, .landing) .item-thumb img {
	width: 100%;
	max-width: 12em;
	height: auto;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	object-fit: cover;
	border-radius: 50%;
}

:is(.item, .landing) .item-type {
	text-transform: uppercase;
	font-size: .7em;
	font-weight: 600;
	letter-spacing: .5px;
	color: var(--color-theme);
	margin-bottom: .5em;
}

:is(.item, .landing) .item-date {
	margin-top: .5em;
	font-size: .9em;
	font-weight: 500;
}

:is(.item, .landing) .item-dateUpdate {
	margin-top: 2em;
	font-size: .75em;
	font-weight: 600;
}

:is(.item, .landing) .default-text {
	display: grid;
	grid-template-columns: minmax(200px, 2fr) 5fr;
	gap: 2em 6em;
	@media (width < 900px) {
		grid-template-columns: 1fr;
	}
}

:is(.item, .landing) .default-text>*:empty {
	@media (width < 900px) {
		display: none;
	}
}

:is(.item, .landing) .default-text iframe {
	max-width: 100%;
	width: 100% !important;
	height:50vh !important;
	margin-left: 0;
	margin-right: 0;
}

:is(.item, .landing) .default-text .default-text-stage > .image:not(:first-child),
:is(.item, .landing) .default-text .default-text-stage > .movie:not(:first-child),
:is(.item, .landing) .default-text .default-text-stage > [mention]:not(:first-child) {
	margin-top: 3.5em !important;
}

:is(.item, .landing) .default-text .default-text-stage > .image,
:is(.item, .landing) .default-text .default-text-stage > .movie,
:is(.item, .landing) .default-text .default-text-stage > [mention] {
	margin-bottom: 3.5em;
}

:is(.item, .landing) .default-text p:has(> img),
:is(.item, .landing) .default-text .mention-item {
	display: flex;
	justify-content: center;
}

:is(.item, .landing) .default-text p:has(> img),
:is(.item, .landing) .default-text .mention-item figure {
	padding: 1.5em !important;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1em;
	border: 1px solid var(--lightgray);
	border-radius: .75em;
	background: var(--lightergray);
}

:is(.item, .landing) .default-text .mention-item img {
	max-width: 100%;
	max-height: var(--article-image-height);
	align-self: center;
	border: 1px solid var(--gray);
}

:is(.item, .landing) .default-text p.image .caption{
	display: inline-block;
    margin-inline: auto;
	font-size: .75em;
	line-height: 1.35em;
	max-width: 450px;
	text-align: center;
	font-family: 'Titillium Web', sans-serif;
	letter-spacing: .5px;
	margin: 0 auto;	
}

:is(.item, .landing) .default-text p>em,
:is(.item, .landing) .default-text .mention-item figcaption {
	font-size: .75em;
	line-height: 1.35em;
	max-width: 450px;
	text-align: center;
	font-family: 'Titillium Web', sans-serif;
	letter-spacing: .5px;
	margin: 0 auto;
}

.contact p a,
:is(.item, .landing) .default-text-stage p a {
	text-decoration: underline;
	text-decoration-style: solid;
	text-decoration-thickness: 1px;
	text-decoration-color:  var(--color-theme);
	text-underline-offset: 4px;
	font-weight: 500;
	transition: all .3s ease;
}

.contact p a:hover,
:is(.item, .landing) .default-text-stage p a:hover {
	text-decoration-style: solid;
	text-decoration-thickness: 2px;
}

:is(.item, .landing) .default-text-info {
	position: relative;
}

:is(.item, .landing) .default-text-info-donor {
	display: inline-block;
	margin-block: 1.5em .5em;
}
:is(.item, .landing) .default-text-info-donor-text {
	text-align: center;
	font-size: .8em;
	font-weight: 600;
	margin-top: .5em;
}

:is(.item, .landing) .default-text-info-donor-img {
	aspect-ratio: 1;
	border-radius: 50%;
	object-fit: cover;
	object-position: center;
}

:is(.item, .landing) .default-form {
	font-size: .95em;
	min-width: 1px;
}

:is(.item, .landing) .default-form > *:not(:first-child) {
	margin-top: 3em;
}

:is(.item, .landing) .default-text-info-wrap {
	position: sticky;
	top: 6em;
}

:is(.item, .landing) .default-text-info .item-link {
	margin-top: 1.5em;
	display: flex;
	flex-direction: column;
	gap: 2em;
}

:is(.item, .landing) .default-text-info .item-link h4 {
	text-transform: uppercase;
	margin-bottom: 1em;
	color: #000;
	font-size: .6em;
	font-weight: 600;
}

:is(.item, .landing) .default-text-info .item-link li {
	padding: 0;
	margin: 0;
}

.default-text-info .item-link:empty{
	display: none;
}

/* ---- */

:is(.item, .landing) .default-text-info .item-credit ul li:nth-child(n+6){
	display: none;
}

:is(.item, .landing) .default-text-info .item-credit.show-all ul li:nth-child(n+6){
	display: flex;
}

.btn-credits{
	font-size: .8em;	
	font-weight: 500;
	margin-top: .5em;
}

.btn-credits span{
	font-weight: 700;
}

.item-credit.show-all .btn-credits{
	display: none;
}

.section-title{
    /* text-transform: uppercase; */
    font-size: 1.6em;
    font-family: 'Titillium web', sans-serif;
    /* font-weight: 700; */
    margin-top: 1.5em;
    margin-bottom: .5em;
    /* letter-spacing: .5px; */
    color: var(--midgray);
}

/* ---- */

:is(.item, .landing) .default-text-info .item-organizer a,
:is(.item, .landing) .default-text-info .item-partnership a,
:is(.item, .landing) .default-text-info .item-author a {
	display: flex;
	gap: .5em;
	align-items: center;
	font-size: .9em;
	font-weight: 600;
}

:is(.item, .landing) .default-text-info .item-organizer a:hover,
:is(.item, .landing) .default-text-info .item-partnership a:hover,
:is(.item, .landing) .default-text-info .item-author a:hover {
	/* font-weight: 700; */
	color: var(--black);
}

:is(.item, .landing) .default-text-info .item-author .description {
    font-size: .9em;
    margin: .5em 0 1.5em 0;
}

:is(.item, .landing) .default-text-info .item-organizer ul,
:is(.item, .landing) .default-text-info .item-partnership ul,
:is(.item, .landing) .default-text-info .item-author ul {
	display: flex;
	flex-direction: column;
	gap: .3em;
	/* @media (width < 900px) {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
		gap: .25em 1em;
	} */
}

:is(.item, .landing) .default-text-info .item-organizer a img,
:is(.item, .landing) .default-text-info .item-organizer a span.img-placeholder,
:is(.item, .landing) .default-text-info .item-partnership a img,
:is(.item, .landing) .default-text-info .item-partnership a span.img-placeholder,
:is(.item, .landing) .default-text-info .item-author a img,
:is(.item, .landing) .default-text-info .item-author a span.img-placeholder {
	display: block;
	width: 2.5em;
	height: 2.5em;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
	overflow: hidden;
	border: 1px solid var(--lightgray);
	background-color: var(--lightgray);
	transition: all .3s ease;
	aspect-ratio: 1 / 1;
	flex-shrink: 0;
}

:is(.item, .landing) .default-text-info .item-organizer a:hover img,
:is(.item, .landing) .default-text-info .item-organizer a:hover span.img-placeholder,
:is(.item, .landing) .default-text-info .item-partnership a:hover img,
:is(.item, .landing) .default-text-info .item-partnership a:hover span.img-placeholder,
:is(.item, .landing) .default-text-info .item-author a:hover img,
:is(.item, .landing) .default-text-info .item-author a:hover span.img-placeholder {
	border: 1px solid var(--gray);
}

:is(.item, .landing) .default-text-info .item-organizer span,
:is(.item, .landing) .default-text-info .item-partnership span,
:is(.item, .landing) .default-text-info .item-author span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

:is(.item, .landing) .default-text-info .item-eventType a,
:is(.item, .landing) .default-text-info .item-about a {
	padding: .15em .75em;
	display: inline-block;
	font-size: .8em;
	max-width: 100%;
	border: 1px solid var(--midgray);
	border-radius: 1em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: all .3s ease;
	font-weight: 600;
}

:is(.item, .landing) .default-text-info .item-eventType a:focus-visible,
:is(.item, .landing) .default-text-info .item-eventType a:hover,
:is(.item, .landing) .default-text-info .item-about a:focus-visible,
:is(.item, .landing) .default-text-info .item-about a:hover {
	border: 1px solid var(--lightgray);
	background-color: var(--lightgray);
}

.default-text-stage {
	font-size: 1em;
	line-height: 1.6;
	min-width: 1px;
}

:is(.item, .landing) .item-tools {
	margin-top: 1.5em;
}

.default-text-stage > * {
	margin-top: 1.2em !important;
}

.default-text-stage:first-child {
	margin-top: 0 !important;
}

.default-text-stage ul {
	list-style-type: disc;
	display: flex;
	gap: .75em;
	flex-direction: column;
}

.default-text-stage ul li::marker {
	color: var(--color-theme);
}

.default-text-stage u {
	text-decoration: underline;
}

.default-text-stage p b,
.default-text-stage p strong {
	font-weight: 600;
	color: #000
}

.default-text-stage i {
	font-style: italic;
}

.default-text-stage :is(h1, h2, h3, h4, h5, h6) {
	font-weight: 700;
	font-family: 'Titillium Web', sans-serif;
	line-height: 1.25;
	margin-bottom: .5em;
}

.default-text-stage :is(h1, h2, h3, h4, h5, h6)+p {
	margin-top: .5em !important;
}

.default-text-stage :is(h1, h2, h3, h4, h5, h6):not(:first-child) {
	margin-top: 1.5em;
}

.default-text-stage h2 {
	font-size: 1.6em;
	color: var(--gray);
	border-top: 1px solid var(--lightgray);
	padding-top: .5em;
	margin-top: 2.5em !important;
}

.high-contrast .default-text-stage h2{
	color:white;
}

.default-text-stage h3 {
	font-size: 1.4em;
	font-weight: 600;
	color: var(--color-theme);
	margin-bottom: .25em;
	margin-top: 1.75em !important;
}

.default-text-stage h4 {
	font-size: 1.3em
}

.default-text-stage h5 {
	font-size: 1.2em;
	opacity: .5
}

.default-text-stage iframe {
	width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
	margin: 2em 0;
}

.default-text-stage iframe.instagram-media {
    height: revert-layer;
    aspect-ratio: unset;
}

:is(.item, .landing) .default-text-stage > :first-child {
	border: 0 !important;
	margin-top: 0 !important;
	padding-top: 0 !important;
}

:is(.item, .landing) .default-text-stage p:empty{
	display: none;
}

.default-text details{
    margin-bottom: .75em;
    /* border-bottom: 1px solid var(--midgray); */
} 

.default-text details[open]{
	margin-bottom: 2em;
} 

.default-text details summary{
	/* color: var(--color-theme); */
	font-family: 'Titillium web', sans-serif;
	font-weight: 700;
	font-size: 1.1em;
	cursor: pointer;
	margin-bottom: .25em;
	position: relative;

	border-bottom: 2px solid #ccc;
    padding-bottom: .3em;
} 

.default-text details summary::after{
    content: '\E80E';
	font-family: 'shiro-icon';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    padding: .5em .5em;
    line-height: 1;
} 
.default-text details[open] summary::after{
    content: '\E847';
} 

.default-text details .subevent-group{
	margin-bottom: 1em;
	margin-top: .5em;
} 

/* ---- */

:is(.item, .landing) .form-gallery {
	background-color: var(--lightgray);
	width: 100%;
	min-height: 200px;
	padding: 1em;
	margin-bottom: 4em;
	border-radius: .5em;
}

:is(.item, .landing) .form-gallery img {
	max-height: 50vh;
	width: auto;
	max-width: 100%;
}

:is(.item, .landing) .form-gallery figcaption {
	font-size: .8em;
	font-style: italic;
}

:is(.item, .landing) .form-gallery .swiper {
	width: 100%;
}

:is(.item, .landing) .form-gallery .swiper-wrapper {
	align-items: center;
}

:is(.item, .landing) .form-gallery .swiper-slide {
	width: auto;
	max-width: 100%;
	text-align: center;
}

:is(.item, .landing) .form-gallery .swiper-pagination {
	position: relative !important;
	display: flex;
	width: 100%;
	justify-content: center;
	margin-top: 1em;
	font-size: .8em;
	gap: .35em;
	color: var(--gray);
	align-items: baseline;
	letter-spacing: 1px;
}

:is(.item, .landing) .form-gallery .swiper-pagination .swiper-pagination-current {
	color: var(--black);
	font-weight: 700;
}

:is(.item, .landing) .form-gallery.single-slide .swiper-wrapper {
	justify-content: center;
}

:is(.item, .landing) .form-gallery.single-slide .swiper-pagination {
	display: none;
}


.fancybox-caption__body span {
	display: block;
}

.fancybox-caption__body .fancybox-item-link {
	display: inline-block;
	background: var(--white);
	color: var(--black) !important;
	font-weight: 700;
	padding: .25em 1em .35em 1em;
	text-transform: uppercase;
	font-size: .8em;
	line-height: 1;
	border-radius: 1em;
	margin-top: .75em;
}

.fancybox-caption__body {
	overflow: hidden;
}

.fancybox-caption__body .caption-link{
	text-decoration: none !important;
	font-size: .8em;
	font-weight: 600;
	background-color: var(--white);
	color: var(--black) !important;
	padding: .15em 1em;
	display: inline-block;
	text-transform: uppercase;
	margin-top: 1em;
}

.fancybox-caption__body .caption-ImageObject{
	display: none;
}

:is(.item, .landing) .related-items {
	margin-top: 5em;
}

:is(.item, .landing) .related-items h2 {
	font-weight: 700;
	color: var(--color-theme);
	font-size: 1.4em;
	margin-bottom: .75em;
}

:is(.item, .landing) .related-items .related-items-links li:not(:first-child) {
	border-top: 1px solid var(--gray);
}

:is(.item, .landing) .related-items .related-items-links li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1em;
	padding: .5em 0;
}

:is(.item, .landing) .related-items .related-items-links li a .name {
	font-weight: 600;
	flex-grow: 10;
	line-height: 1.1;
}

:is(.item, .landing) .related-items .related-items-links li a .size {
	font-size: .8em;
	letter-spacing: 1px;
	color: var(--darkgray)
}

:is(.item, .landing) .related-items .related-items-links li a::before {
	font-family: 'shiro-icon';
	content: '\E813';
	color: var(--color-theme);
	border: 2px solid var(--color-theme);
	border-radius: 50%;
	width: 2em;
	height: 2em;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
	transition: all .3s ease;
}

:is(.item, .landing) .related-items .related-items-links li a:focus-visible::before,
:is(.item, .landing) .related-items .related-items-links li:hover a::before {
	font-family: 'shiro-icon';
	content: '\E813';
	background-color: var(--color-theme);
	color: #fff;
}

:is(.item, .landing) .related-items .related-items-links li a.private {
	/* pointer-events: none;
	cursor: crosshair; */
}
:is(.item, .landing) .related-items .related-items-links li a.private::before,
:is(.item, .landing) .related-items .related-items-links li a.private:focus-visible::before,
:is(.item, .landing) .related-items .related-items-links li:hover a.private::before {
	content: '\E806';
}

:is(.item, .landing) .related-items-tabs ul {
	display: flex;
	gap: 0 .5em;
	margin-bottom: -1px;
	flex-wrap: wrap-reverse;
}

:is(.item, .landing) .related-items-tabs li {
	border-color: var(--lightgray) var(--lightgray) transparent var(--lightgray);
	border-width: 1px 1px 2px 1px;
	border-style: solid;
	border-radius: .5em .5em 0 0;
	padding: .25em .75em;
	font-size: .9em;
	display: block;
	transition: all .3s ease;
}

:is(.item, .landing) .related-items-tabs li.active {
	border-bottom: 2px solid #fff;
	background: initial;
	font-weight: 700;
	pointer-events: none;
}

:is(.item, .landing) .related-items-tabs li:not(.active):hover {
	background-color: var(--lightgray);
}

:is(.item, .landing) .related-items-tabs li .total {
	font-weight: 400;
	color: var(--color-theme);
	margin-left: .5em;
}

:is(.item, .landing) .related-items-stage {
	border: 1px solid var(--lightgray);
	border-radius: 0 .5em .5em .5em;
	padding: 1.5em;
}

.head-description {
	font-size: 1.4em;
	font-style: italic;
	color: #aaa;
}

.default-text-stage .head-description {
	margin-bottom: 2em;
}

/* --- */

.shiro-content {
	position: relative;
}

.shiro-content .loadingBox {
	position: absolute;
	inset: 0 0 0 0;
	width: 100%;
	height: 100%;
	background-color: #ffffff99;
	backdrop-filter: blur(3px);
	z-index: 99;
}

.shiro-content .loadingBox::before {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	content: " ";
	width: 1rem;
	height: 1rem;
	border-radius: 50%;
	-webkit-animation: rotating .65s linear infinite;
	border-style: solid;
	border-color: #44444411 #444 #44444411 #44444411;
	border-width: 2px;
}

@-webkit-keyframes rotating {
	from {
		-webkit-transform: translate(-50%, -50%) rotate(0deg);
	}
	to {
		-webkit-transform: translate(-50%, -50%) rotate(360deg);
	}
}


.shiro-content .box-more {
	width: 100%;
	grid-column: 1 / -1;
}

.related-items .box-more {
	text-align: center;
}

.related-items .box-more a {
	margin: 0 !important;
	font-size: .9em !important;
}

/* -- */

.limited-text {
	max-height: 15em;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 65%, transparent 100%);
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 65%, transparent 100%);
	position: relative;
	display: block;
}


.limited-text-btn-wrap {
	position: relative;
}

.shiro-content .box-more a,
.limited-text-btn {
	display: inline-block;
	font-size: .6em;
	text-transform: uppercase;
	padding: .25em 1.25em .1em 1.25em;
	border: 1px solid #cccccc;
	border-radius: 1em;
	outline: 0;
	cursor: pointer;
	transition: all .3s ease;
	font-family: 'Titillium web', sans-serif;
	font-weight: 700;
	letter-spacing: .5px;
	margin-bottom: .5em;
}

.shiro-content .box-more a:hover,
.limited-text-btn:hover {
	color: #fff;
	background-color: var(--gray);
}

.limited-text.full {
	max-height: inherit;
	overflow: auto;
	-webkit-mask-image: none;
	mask-image: none;
}

/*  -----------------   */

.list .list-header {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin-bottom: 1em;
}

.list .list-header .total .number {
	font-weight: 700;
	color: var(--black);
}

.list-search {
	display: flex;
	gap: 1em;
}

.list-tools {
	display: flex;
	gap: 2em;
	text-transform: uppercase;
	font-size: .75em;
	font-weight: 600;
}

.list-tools #searchFilterBtn {
	display: flex;
	gap: .75em;
}

.list-tools #searchFilterBtn::before {
	content: '\E833';
	font-family: 'shiro-icon';
}

.list-tools select{
	padding: .1em .5em;
}

.listSearch-form-item{
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 5fr;
	gap: 0.2em 3em;
	align-items: center;
	@media (width < 600px) {
		display: block;
	}
}

.listSearch-form-field {
	width: 100%;
}

.listSearch-form-label{
    text-transform: uppercase;
    font-size: .75em;
    font-weight: 600;
    letter-spacing: .5px;
}

.listSearch-form-field > div{
	display: flex;
	align-items: center;
	gap: .75em;
}


.listSearch-form-field .operator{
	font-size: .8em;
}

.listSearch-form-field  input[type=text],
.listSearch-form-field  select{
	width: 100%;
	padding: 0 .25em;
}

.listSearch-form-field select[data-search] {
	all: revert;
}

.listSearch-form-field input[data-search],
.listSearch-form-field select[data-search],
.js-pillbox-containter{
	width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5em;
    width: 100%;
    padding: 0.35em 0.5em;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 700;
	background-color: #fff;
    border: 1px solid var(--midgray);
    border-radius: 1em;
	font-size: .9em;
}

/* ---- */
/* ---- */

/* ------------------------------------------------------- */

/*

.js-pillbox-containter{
	width: 100%;
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5em;
    width: 100%;
    padding: 0.25em 0.5em;
    box-sizing: border-box;
    font-family: inherit;
    font-weight: 700;
	background-color: #fff;
    border: 1px solid var(--gray);
    border-radius: 4px;
}

.js-pillbox-items{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5em;
	align-items: center;
}
.js-pillbox-items:empty{
	display: none;
}
.js-pillbox-items input{
	display: inline-flex;
}
.js-pillbox-item{
	background-color: #eee;
	padding: 0.1em 0.5em;
	border-radius: 4px;
	white-space: nowrap;
    display: flex;
	align-items: center;
}
.js-pillbox-item.str{
    background-color: #fefefe;
    border: 1px solid #ddd;
}
.js-pillbox-label{
	font-size: .75em;
	line-height: 1;
}

.js-pillbox-text,
.js-pillbox-autocomplete{
	flex-grow: 1;
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	position: relative;
}

.js-pillbox-autocomplete.loading::before{
	position: absolute;
	display: block;
	content: '';
	top: 50%;
	right: 0;
    width: 25px;
    height: 20px;
    background-color: #fff;
	transform: translateY(-50%);
}
.js-pillbox-autocomplete.loading::after{
	position: absolute;
	display: block;
	content: '';
	top: 50%;
	right: 0;
    width: 12px;
    height: 12px;
    border: 2px dotted var(--color-dark);
    border-radius: 20px;

	-webkit-animation: rotatingAutocomplete 2s linear infinite;
	-moz-animation: rotatingAutocomplete 2s linear infinite;
	-ms-animation: rotatingAutocomplete 2s linear infinite;
	-o-animation: rotatingAutocomplete 2s linear infinite;
	animation: rotatingAutocomplete 2s linear infinite;
}

@keyframes rotatingAutocomplete {
	from {
		-ms-transform: translate(0, -50%) rotate(0deg);
		-moz-transform: translate(0, -50%) rotate(0deg);
		-webkit-transform: translate(0, -50%) rotate(0deg);
		-o-transform: translate(0, -50%) rotate(0deg);
		transform: translate(0, -50%) rotate(0deg);
	}
	to {
		-ms-transform: translate(0, -50%) rotate(360deg);
		-moz-transform: translate(0, -50%) rotate(360deg);
		-webkit-transform: translate(0, -50%) rotate(360deg);
		-o-transform: translate(0, -50%) rotate(360deg);
		transform: translate(0, -50%) rotate(360deg);
	}
}



*/



/* ------------------------------------------------------- */

.js-pillbox-items{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: .5em;
	align-items: center;
}

.js-pillbox-items:empty{
	display: none;
}

.js-pillbox-items input{
	display: inline-flex;
}

.js-pillbox-item{
	background-color: #eee;
	padding: 0.1em 0.5em;
	border-radius: 1em;
	white-space: nowrap;
    display: flex;
	align-items: center;
}
.js-pillbox-item.str{
    background-color: #fefefe;
    border: 1px solid var(--midgray);
}

.js-pillbox-label{
	font-size: .9em;
	line-height: 1;
}

.js-pillbox-item-remove{
	outline: 0;
	border: 0;
	padding-left: .5em;
	margin-left: .5em;
	color: var(--midgray);
	background-color: transparent;
	font-size: .75em;
	cursor: pointer;
	transition: all .3s ease;
}

.js-pillbox-item-remove::before{
	font-family: 'shiro-icon';
	content: '\E820';
	transition: all .3s	ease;
}

.js-pillbox-item-remove:hover::before{
	color: var(--gray);
}

.js-pillbox-text,
.js-pillbox-autocomplete{
	flex-grow: 1;
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	position: relative;
}

.js-pillbox-autocomplete{
	flex-grow: 1;
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	position: relative;
}

.js-pillbox-autocomplete.loading::before{
	position: absolute;
	display: block;
	content: '';
	top: 50%;
	right: 0;
	width: 25px;
	height: 20px;
	background-color: #fff;
	transform: translateY(-50%);
	z-index: 2;
}

.js-pillbox-autocomplete.loading::after{
	position: absolute;
	display: block;
	content: '';
	top: 50%;
	right: 0;
	width: 1em;
	height: 1em;
	border-width: 2px;
	border-style: solid;
	border-color: var(--gray) var(--lightergray) var(--lightergray) var(--lightergray);
	border-radius: 50%;
	z-index: 5;
	
	-webkit-animation: rotatingAutocomplete .5s linear infinite;
	-moz-animation: rotatingAutocomplete .5s linear infinite;
	-ms-animation: rotatingAutocomplete .5s linear infinite;
	-o-animation: rotatingAutocomplete .5s linear infinite;
	animation: rotatingAutocomplete .5s linear infinite;
}

@keyframes rotatingAutocomplete {
	from {
		-ms-transform: translate(0, -50%) rotate(0deg);
		-moz-transform: translate(0, -50%) rotate(0deg);
		-webkit-transform: translate(0, -50%) rotate(0deg);
		-o-transform: translate(0, -50%) rotate(0deg);
		transform: translate(0, -50%) rotate(0deg);
	}
	to {
		-ms-transform: translate(0, -50%) rotate(360deg);
		-moz-transform: translate(0, -50%) rotate(360deg);
		-webkit-transform: translate(0, -50%) rotate(360deg);
		-o-transform: translate(0, -50%) rotate(360deg);
		transform: translate(0, -50%) rotate(360deg);
	}
}

.js-pillbox-autocomplete[data-load-all] .input-wrap{
	position: relative;
}

.js-pillbox-autocomplete[data-load-all] .input-wrap::after{
	content:"\E800";
	font-size: .9em;
	font-family: 'shiro-icon';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
    margin: 0 .25em;
	cursor: pointer;
    pointer-events: none;
}

.js-pillbox-containter[data-total="0"] .js-pillbox-operator,
.js-pillbox-containter[data-total="1"] .js-pillbox-operator{
	display: none;
}
.js-pillbox-operator{
	width: 3em !important;
	border: 0 !important;
	outline: 0 !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-weight: 600;
	font-size: .75em;
	align-self: center;
    padding: 0 .25em;
	cursor: pointer;
}

.js-pillbox-operator option{
	direction: rtl;
}

.js-pillbox-containter .autocomplete-component-results {

	border-radius: .5em;
	display: none;
	position: absolute;
	top: 100%;
	left: 0px;
	right: 0px;
	padding-top: var(--ff-y-padding);
	padding-bottom: var(--ff-y-padding);
	background-color: rgba(255, 255, 255, 0.95);
	z-index: 999;
	max-height: 75vh;
	overflow-y: auto;
	overflow-x: none;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.js-pillbox-containter .autocomplete-component-results.open  {
	display: flex;
	flex-direction: column;
}

.js-pillbox-containter .autocomplete-component-results:empty  {
	display: none;
}

.js-pillbox-containter .autocomplete-component-results:before,
.js-pillbox-containter .autocomplete-component-results:after {
	content: "";
	display: block;
	position: absolute;
	bottom: 100%;
	width: 24px;
	height: 12px;
	background-color: inherit;
}

.js-pillbox-containter .autocomplete-component-results:before {
	left: 0;
}

.js-pillbox-containter .autocomplete-component-results:after {
	right: 0;
}

.js-pillbox-containter .i-autocomplete-item {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: nowrap;
	padding: var(--ff-y-padding) var(--ff-x-padding);
	cursor: pointer;
	gap: 1em;
	color: var(--color-darker-grey);
}

.js-pillbox-containter .i-autocomplete-item .type{
	font-size: .7em;
	font-weight: 600;
	color: var(--color-mobileBg);
	text-transform: uppercase;
	flex-shrink: 0;
}

.js-pillbox-containter .i-autocomplete-item.selected,
.js-pillbox-containter .i-autocomplete-item:hover {
	background-color: var(--color-beige);
}

.js-pillbox-containter .i-autocomplete-item>* {
	max-width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.js-pillbox-containter .i-autocomplete-item .item-section {
	order: -1;
	font-size: 0.8em;
}



.js-pillbox-autocomplete input{
	border: 0;
	outline: 0;
}

.js-pillbox-autocomplete input::placeholder {
    font-size: .9em;
    font-weight: 400;
	color: var(--midgray);
    font-style: italic;
	opacity: 0;
	transition: all .5s ease;
}

.js-pillbox-autocomplete input:focus::placeholder,
.js-pillbox-containter:hover input::placeholder {
	opacity: 1;
}
		/* .js-pillbox-autocomplete .autocomplete-component-results:not(:empty){
			position: absolute;
			width: 100%;
			z-index: 9999;
			display: block;
			border-left: 1px solid #ddd;
			border-right: 1px solid #ddd;
			border-bottom: 1px solid #ddd;
			padding: 0;
			background-color: #ffffff;
		} */
		
		/* .js-pillbox-autocomplete .autocomplete-component-results:empty{
			display: none;
		}
		.js-pillbox-autocomplete .autocomplete-component-results::before,
		.js-pillbox-autocomplete .autocomplete-component-results::after {
			display: none;
		}
		 */

		.js-pillbox-autocomplete .autocomplete-component-results .i-autocomplete-item{
			display: flex;
    		justify-content: space-between;
			padding: .15em .5em;
			border-top: 1px dotted var(--gray) ;
		}

		.js-pillbox-autocomplete .autocomplete-component-results .i-autocomplete-item:hover,
		.js-pillbox-autocomplete .autocomplete-component-results .i-autocomplete-item.selected {
			background-color: var(--lightergray);
			cursor: pointer;
		}

		.js-pillbox-autocomplete .autocomplete-component-results .i-autocomplete-item .label{
			font-size: 1.1em;
			font-weight: 600;
		}
		.js-pillbox-autocomplete .autocomplete-component-results .i-autocomplete-item .item-section{
			font-size: .8em;
			color: var(--color-red);
			text-transform: uppercase;
			margin-left: 2em;
		}
		.js-pillbox-autocomplete .autocomplete-component-results .i-autocomplete-item .type{
			font-weight: 400;
			opacity: .8;
		}

/* ---- */
/* ---- */

.header-search {
	margin-top: .5em;
}

.filter-fields-row {
	display: grid;
	grid-template-columns: minmax(200px, 1fr) 4fr;
	gap: .2em 6em;
}

.filter-fields-row .filter-fields-item {
	width: 100%;
	max-width: none;
}

.filter-fields {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: .25em 1em;
	display: none;
	margin-top: 1em;
    margin: 1em 0 2em 0;
}

.filter-fields.show {
	display: grid;
}

.filter-fields-rows{
    margin: 1em 0 2em 0;
	display: none;
	background-color: var(--color-placeholder);
	padding: 1em;
	border-radius: .5em;
}

.filter-fields-rows.show{
	display: flex;
	flex-direction: column;
	gap: .5em;
}

.filter-fields-rows form{
	display: flex;
    flex-direction: column;
    gap: .5em;
}

.filter-fields-rows .search-submit{
	display: flex;
	gap: .5em;
	margin-top: .5em;
	justify-content: space-between;
}

.filter-fields-rows .search-submit button{
	padding: .1em 1em .15em 1em;
	border-radius: 1em;
	font-size: 1.2em;
}

.filter-fields-rows .search-submit button.submit{
	font-weight: 600;
	color: var(--white);
	background-color: var(--color-theme);
}
.filter-fields-rows .search-submit button.reset{
	background-color: var(--lightergray);
}

.filter-fields-rows .search-submit .help{
	flex-grow: 10;
	text-align: right;
	align-self: center;
}
.filter-fields-rows .search-submit .help button{
    font-size: .8em;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    gap: .5em;
    letter-spacing: .5px;
}
.filter-fields-rows .search-submit .help button::before{
	content: '\E81D';
	font-family: 'shiro-icon';
	font-weight: 400;
}

.filter-fields .filter-fields-item {
	display: flex;
	flex-direction: column;
	gap: .5em;
	border: 1px solid var(--lightgray);
	border-radius: .5em;
	position: relative;
}

#search-help{
	width: 95%;
    max-width: 800px;
}
#search-help > div{
	width: 95%;
    max-width: 800px;
	display: flex;
	flex-direction: column;
	gap: .75em
}

#search-help h3{
	font-weight: 700;
	font-size: 2.1em;
	color: var(--color-theme)
}
#search-help p b{
	font-weight: 600;
}

.form-component,
.autocomplete-component {
	border: 1px solid var(--lightgray);
	border-radius: .75em;
	position: relative;
	display: flex;
	margin-right: 10%;
	width: 100%;
	max-width: 480px;
	background-color: #fff;
}

.form-component.paragraph,
.autocomplete-component.paragraph {
	border-color: var(--gray);
	margin-top: 1.5em;
}

.form-component select,
.autocomplete-component select {
	padding: .25rem 0 .25rem .75em;
	font-weight: 600;
	flex-grow: 1.4;
	width: 60%;
	white-space: nowrap;
}

.form-component input,
.autocomplete-component input {
	width: 100%;
	padding: .25rem 1.5rem .25rem .75em;
	flex-grow: 3.6;
}

.autocomplete-component .autocomplete-component-results {
	position: absolute;
	bottom: 0;
	width: min(200%, 85vw);
	transform: translateY(100%);
	z-index: 12;
	background-color: #fff;
	border-color: var(--lightgray);
	border-style: solid;
	border-width: 0 1px 1px 1px;
	border-radius: 0 .25em .25em 0;
	display: none;
}

.autocomplete-component.open .autocomplete-component-results {
	display: block;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.form-component .autocomplete-icon,
.autocomplete-component .autocomplete-icon {
	position: absolute;
	z-index: 1;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	transition: all .15s ease-out;
	padding: .25em .5em;
}

.form-component .autocomplete-icon::before,
.autocomplete-component .autocomplete-icon::before {
	color: var(--gray);
	font-family: 'Material Symbols Outlined';
	font-weight: 500;
	font-style: normal;
	font-size: 1em;
	line-height: 2;
	display: inline-block;
	letter-spacing: normal;
	white-space: nowrap;
	text-transform: none;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
	content: '\e8b6';
}

.autocomplete-component .autocomplete-icon:hover::before {
	color: #000;
}

.autocomplete-component:not([data-open-search="true"]) .autocomplete-icon,
.autocomplete-component.load-all .autocomplete-icon {
	pointer-events: none;
}

.autocomplete-component.load-all .autocomplete-icon::before {
	content: '\e313';
}

.autocomplete-component.loading .autocomplete-icon::before {
	content: '\e863';
	-webkit-animation: spin 1s linear infinite;
	-moz-animation: spin 1s linear infinite;
	animation: spin 1s linear infinite;
}

@-moz-keyframes spin {
	100% {
		-moz-transform: rotate(360deg);
	}
}

@-webkit-keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
	}
}

@keyframes spin {
	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

.autocomplete-component .autocomplete-component-results .i-autocomplete-item {
	padding: .25em .5em;
	display: flex;
	gap: .5em;
	justify-content: space-between;
	align-items: baseline;
	border-top: 1px var(--lightgray) dotted;
}

.autocomplete-component .autocomplete-component-results .i-autocomplete-item:hover,
.autocomplete-component .autocomplete-component-results .i-autocomplete-item.selected {
	background-color: var(--lightergray);
	cursor: pointer;
}

.autocomplete-component .autocomplete-component-results .label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.autocomplete-component .autocomplete-component-results .i-autocomplete-item .type,
.autocomplete-component .autocomplete-component-results .i-autocomplete-item .item-section {
	font-size: .55em;
	text-transform: uppercase;
	font-weight: 600;
	white-space: nowrap;
}

.main-title-wrap {
	width: 100%;
	max-width: 450px;
}

/* ---- */

.list-filter {
	display: flex;
	flex-wrap: wrap;
	gap: .25em 1em;
	font-size: .8em;
	margin-bottom: 3em;
}

.list-filter:empty{
	display: none;
}

.list-filter .list-filter-item {
	display: flex;
	gap: .5em;
	border: 1px solid var(--midgray);
	border-radius: 1em;
	padding: 0 .5em;
}

.list-filter .list-filter-add {
	line-height: 1;
    border: 1px solid var(--lightgray);
    border-radius: 1em;
	padding: .15em .75em .2em .35em;
    background-color: var(--lightgray);
    color: var(--darkgray);
    font-weight: 500;
    transition: all .3s ease;
    display: block;
    align-self: center;
}

.list-filter .list-filter-add::before {
	content: '\E80E';
	font-family: 'shiro-icon';
	padding: 0em .35em .25em .35em;
	margin-right: .25em;
}

.list-filter .list-filter-add:hover {
	border-color: var(--gray);
	background-color: var(--gray);
	color: var(--white);
}

.list-filter .list-filter-label {
	text-transform: lowercase;
}

.list-filter .list-filter-label-separator {
	font-weight: 400;
}

.list-filter .list-filter-value {
	font-weight: 600;
}

.list-filter .list-filter-remove {
	color: var(--midgray);
	transition: all .3s ease;
}

.list-filter .list-filter-remove:hover {
	color: var(--darkgray);
}

.list-filter .list-filter-remove::after {
	font-family: 'shiro-icon';
	content: '\E820'
}

.list-filter .active-filter-reset {
	font-style: italic;
}

/* ---- */

.list .list-type {
	margin: 3em 0;
	display: flex;
	flex-direction: column;
}

.list .list-type-header {
	display: flex;
	justify-content: space-between;
	align-items: end;
	margin-bottom: 1em;
}

.list .list-type-header h4 {
	font-size: 1.2em;
	font-weight: 700;
	line-height: 1;
}

.list .list-type-header .total {
	font-size: .8em;
	color: var(--darkgray);
}

.list .list-type-header .total .number {
	font-weight: 700;
	color: var(--black);
}

.list .list-type-content {
	min-height: 3em;
}

.list .numbered-pagination {
	display: flex;
	justify-content: center;
	gap: 1em;
	font-size: 1.25em;
	margin: 5em 0 0 0;
}

.list .numbered-pagination .pagination-item.current {
	font-weight: 700;
	color: var(--color-theme);
}

.list .numbered-pagination .pagination-item a.page-prev::before {
	content: '<';
}

.list .numbered-pagination .pagination-item a.page-next::before {
	content: '>';
}

.list .numbered-pagination a.all {
	font-weight: 700;
    padding: .5em 2em;
    border-radius: 2em;
    border: 1px solid var(--gray);
	transition: all .3s ease;
}

.list .numbered-pagination a.all:hover {
    background: var(--gray);
	color: var(--white);
}

.list .default-list-empty{
    display: flex;
    width: 100%;
    min-height: 5em;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: 700;
    color: var(--lightgray);
}

/* ------- */

.account form .account-sections {
	width: 100%;
	border: 1px solid var(--lightgray);
	border-radius: .5em;
	margin-top: 2em;
	padding: .75em 1.5em;
}

.account form .account-sections .account-section-label {
	font-size: 1.6em;
	font-weight: 600;
	color: var(--color-theme);
	margin-bottom: .5em;
}

.account form .account-sections .account-input-group {
	display: flex;
	flex-direction: column;
	gap: .75em;
}

.account form .account-sections .account-input-group.second {
	margin-top: 2.5em;
}


.account form #account-send > .account-input-group {
    margin-top: 2em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2em;
}

.account form .account-sections .two-columns {
	display: grid;
	grid-template-columns: minmax(150px, 1fr) 4fr;
	gap: .2em 4em;

	@media (width < 800px) {
		grid-template-columns: 1fr;
	}
}

.account form .account-sections .auto-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: .2em 2em;
}

.account form input[type=text],
.account form input[type=password] {
	padding: .25em .5em;
	border: 1px solid var(--gray);
	border-radius: .25em;
	width: 100%;
	font-weight: 600;
}

.account form input[type=checkbox] {
	padding: .25em .5em;
	border: 1px solid var(--gray);
	border-radius: .2em;
	width: 1em;
	height: 1em;
	cursor: pointer;
}

.account form input[type=checkbox]:checked {
	background-color: var(--gray);
	border-color: var(--gray);
}

.account form div:has(> input[type=checkbox]) {
	display: flex;
	align-items: center;
	gap: .5em;
}

.account form input[type=text][class=error],
.account form input[type=checkbox][class=error],
.account form input[type=password][class=error] {
	border: 2px solid var(--color-theme);
}

.account form .col-auto {
	text-align: right;
}

.account form input[type=submit] {
	font-size: 1.4em;
	font-weight: 700;
	padding: .25em 1.5em;
	border-radius: .25em;
	cursor: pointer;
	border: 2px solid var(--color-theme);
	color: #fff;
	background-color: var(--color-theme);
	transition: all .3s ease;
}

.account form input[type=submit]:hover {
	background-color: hsl(from var(--color-theme) h s calc(l * .9))
}

.account form label {
	line-height: 1;
	text-transform: uppercase;
	font-weight: 600;
	font-size: .8em;
	color: var(--gray);
}

.account .error-msg {
	font-size: 1.2em;
	font-weight: 700;
	background-color: var(--color-theme);
	color: #fff;
	padding: .25em 1em;
	margin-top: .5em;
	display: inline-block;
}

/* ------- */

header.main {
	display: flex;
	gap: 1em 3em;
	justify-content: space-between;
	align-items: end;
	margin-bottom: 4em;
	@media (width < 800px) {
		flex-direction: column;
		align-items: start;
	}
}

header.main h2 {
	color: var(--color-theme);
}

header.main nav {
	max-width: 25em;
}

header.main nav ul.two-cols {
	columns: 2;
	column-gap: 1.5rem;
}

header.main nav ul li {
	border-left: 2px solid var(--color-theme);
	padding: .25em 0 .25em .75em;
	font-size: .85em;
	font-weight: 500;
	color: var(--gray);
}

.high-contrast header.main nav ul li {
	color:white;
}

header.main nav ul li.active a {
	font-weight: 700;
	color: var(--color-theme);
}

header.main nav ul li:hover {
	color: #000;
}

.high-contrast header.main nav ul li:hover{
	color:white;
}

header.main nav ul li a {
	line-height: 1;
	display: block;
}

/* ------- */

.acervo-landing article header {
	display: grid;
	grid-template-columns: minmax(180px, 1fr) 3fr;
	gap: .2em 3em;
	margin-bottom: 2em;

	@media (width < 800px) {
		grid-template-columns: 1fr;
	}

}

.acervo-landing .filter-types {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1em 2em;
	margin: 3em 0 1em 0;
}

.high-contrast .acervo-landing .filter-types{
	color:black;
}

.acervo-landing .filter-type a {
	display: flex;
	justify-content: space-between;
	background-color: var(--color-bg-btn);
	border: 2px solid var(--color-bg-btn);
	border-radius: .75em;
	padding: .75em 1.25em;
	font-weight: 600;
	width: 100%;
	height: 100%;
	gap: 1em;
	line-height: 1.2;
	transition: all .3s ease;
}
.acervo-landing .filter-type a:hover {
	box-shadow: var(--shadow-light);
}

.acervo-landing .filter-type a .icon {
	display: block;
	width: 2.5em;
	height: 2.5em;
	background-position: center;
	background-size: cover;
	align-self: center;
}

.acervo-landing .filter-type.filter-type-sectororganization a {
	background-color: #ff4b41;
	border-color: #ff4b41;
	color: var(--white);
}

.acervo-landing .filter-type.filter-type-personality a {
	background-color: #ff7829;
	border-color: #ff7829;
	color: var(--white);
}

.acervo-landing .filter-type.filter-type-powerplant a {
	background-color: #ffa10a;
	border-color: #ffa10a;
	color: var(--white);
}

.acervo-landing .filter-type.filter-type-publicationmemoria a {
	background-color: #fff;
	border-color: #eee;
}


/* ----- */

#list-filters {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	gap: 2rem;
	margin-bottom: 2rem;
}

#list-filters > #filter-fields {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	grid-auto-flow: row;
	grid-auto-rows: auto;
	gap: 2rem;
}

#type-select {
	position: relative;
}

#type-select select {
	box-sizing: border-box;
	width: 100%;
	padding: .75rem 3rem .75rem .75rem;
	border-width: 1px;
	border-style: solid;
	border-color: var(--gray-1);
	border-radius: var(--border-radius);
	outline: none;
	background-color: var(--gray-5);
	color: var(--gray-3);
	font-variation-settings:
		'wdth'var(--wdth),
		'wght'var(--wght),
		'slnt'var(--slnt);
}

#type-select:focus-within select {
	border-color: var(--highlight-2);
}

#type-select option {
	color: var(--gray-2);
}

#type-select i {
	position: absolute;
	top: 50%;
	right: .5rem;
	transform: translateY(-50%);
	padding-right: .2em;
	pointer-events: none;
}

#list-filters>#active-filters {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0 -0.1em;
}

#active-filters .active-filter * {
	font-weight: unset !important;
}

#active-filters .active-filter .delete-bttn {
	opacity: .75;
}

#active-filters .active-filter .delete-bttn:hover {
	opacity: 1;
}

#active-filters .active-filter.clear-all-filters {
	border-width: 0;
	transition: all .15s ease-out;
}

#active-filters .active-filter.clear-all-filters:hover {
	background-color: var(--gray-2);
	color: var(--gray-5);
}

#active-filters .active-filter {
	border-color: var(--highlight-2);
}

#active-filters .active-filter .item-label {
	padding-right: .2rem;
}

#active-filters .active-filter[data-key*="ame"] {
	background-color: var(--highlight-2);
	border-color: var(--highlight-2);
}

#list-order {
	display: flex;
	justify-content: flex-start;
	align-items: baseline;
	gap: 1rem;
}

#list-order>.result {
	margin-right: auto;
}

#list-order>.list-order-bttn {
	padding: 5px 10px;
	border-width: 1px;
	border-style: solid;
	border-color: var(--highlight-2);
	border-radius: var(--border-radius);
	margin: -5px 0;
	transition: all .15s ease-out;
}

#list-order>.list-order-bttn:hover {
	border-color: var(--highlight-5);
	background-color: var(--highlight-5);
}

#list-order>.list-order-bttn:is(.asc, .desc) {
	background-color: var(--highlight-2);
	color: var(--gray-5);
}

#list-order>.list-order-bttn:is(.asc, .desc):hover {
	border-color: var(--highlight-1);
	background-color: var(--highlight-1);
}

#list-order>.list-order-bttn.asc:after,
#list-order>.list-order-bttn.desc:after {
	font: var(--fa-font-solid);
	font-size: .6em;
	margin-left: .5em;
	vertical-align: middle;
}

#list-order>.list-order-bttn.asc:after {
	content: '\f176';
}

#list-order>.list-order-bttn.desc:after {
	content: '\f175';
}


/* ----- */

/* LOGIN / POPUP */


dialog::backdrop {
	background-color: #ffffffaa;
	backdrop-filter: blur(5px);
}

dialog {
	padding: 0;
	border: 0;
	background-color: transparent;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
	overflow: hidden;
	border-radius: .5em;
}

dialog #dialogClose {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 1.1em;
	cursor: pointer;
	line-height: 1;
	padding: .5em .75em;
}

dialog #dialogClose::before {
	content: '\E821';
	font-family: "shiro-icon";
	color: var(--gray);
}

dialog #dialogClose:hover::before {
	color: var(--black);
}

dialog #dialogClose span {
	display: none;
}

#modalBox:empty {
	display: none;
}

#modalBox {
	background-color: #fff;
	width: 80vw;
	max-width: 410px;
	margin: 0 auto;
	padding: 1.5em 2em;
	position: relative;
}

#shareBox {
	background-color: #fff;
	width: 80vw;
	max-width: 600px;
	margin: 0 auto;
	padding: 1.5em 2em;
	position: relative;
}

#modalBox.outline {
	border-radius: 5px;
	box-shadow: var(--shadow-big);
}

#modalBox h2 {
	font-size: 1.6em;
	margin-bottom: .5em;
	color: var(--color-theme);
	font-weight: 700;
}

#modalBox label {
	text-transform: uppercase;
	font-size: .7em;
}

#modalBox .login-row:not(:last-child) {
	margin-bottom: .25em;
}

#modalBox button {
	cursor: pointer;
	border: 0;
	background-color: transparent;
}

#modalBox button[type=submit] {
	margin-top: .75em;
	margin-bottom: 1.5em;
	background: var(--color-theme);
	font-size: 1em;
	border-radius: 2em;
	padding: 0.25em 2em;
	font-weight: 700;
	color: #fff;
}

#modalBox input {
	width: 100%;
	border: 1px solid var(--color-darker-gray);
	outline: 0;
	margin: 2px;
	border-radius: 6px;
	font-size: 1em;
	padding: .25em .5em;
	box-sizing: border-box;
}

#modalBox input:-webkit-autofill {
	background-color: transparent;
}

#modalBox .login-input {
	position: relative;
}

#modalBox .login-input input {
	border: 1px solid var(--gray);
}

#modalBox #login-pwd-toggle {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	padding: 0 .75em;
}

#modalBox .login-functions {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	font-weight: 700;
}

#modalBox .login-functions button {
	color: #444;
	font-size: .9em;
	padding: .25em 0;
}

#modalBox .login-functions button:hover {
	color: #000;
}

#modalBox #loginMessage:not(:empty) {
	color: var(--color-theme);
	font-weight: 700;
	margin-bottom: .5em;
}

#modalBox.loading {
	overflow: hidden;
}

#modalBox.loading::before {
	position: absolute;
	display: flex;
	content: '';
	inset: 0;
	background-color: #ffffffcc;
	z-index: 9;
}

#modalBox.loading::after {
	position: absolute;
	display: flex;
	content: '';
	width: 15px;
	height: 15px;
	border: 3px dotted var(--color-dark);
	border-radius: 20px;
	z-index: 10;
	justify-content: center;
	align-items: center;
	top: 50%;
	left: 50%;
	-webkit-animation: rotating 2s linear infinite;
	-moz-animation: rotating 2s linear infinite;
	-ms-animation: rotating 2s linear infinite;
	-o-animation: rotating 2s linear infinite;
	animation: rotating 2s linear infinite;
}

@keyframes rotating {
	from {
		-ms-transform: translate(-50%, -50%) scale(2) rotate(0deg);
		-moz-transform: translate(-50%, -50%) scale(2) rotate(0deg);
		-webkit-transform: translate(-50%, -50%) scale(2) rotate(0deg);
		-o-transform: translate(-50%, -50%) scale(2) rotate(0deg);
		transform: translate(-50%, -50%) scale(2) rotate(0deg);
	}

	to {
		-ms-transform: translate(-50%, -50%) scale(2) rotate(360deg);
		-moz-transform: translate(-50%, -50%) scale(2) rotate(360deg);
		-webkit-transform: translate(-50%, -50%) scale(2) rotate(360deg);
		-o-transform: translate(-50%, -50%) scale(2) rotate(360deg);
		transform: translate(-50%, -50%) scale(2) rotate(360deg);
	}
}

/*  ---------- SHARE BOX ------------  */

#shareBox {
	padding: 3em 4em;
}

#shareBox ul {
	display: flex;
	gap: 3em;
	flex-wrap: wrap;
	justify-content: center;
}

#shareBox a {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#shareBox a span {
	display: block;
	margin-top: 0.75em;
	text-transform: uppercase;
	font-size: .7em;
	letter-spacing: .5px;
	color: #666;
}

#shareBox a::before {
	font-family: 'shiro-icon';
	font-size: 2em;
	transition: all .5s ease;
}

#shareBox a:hover::before {
	color: var(--color-red);
}

#shareBox a.facebook::before {
	content: '\E84E';
}

#shareBox a.whatsapp::before {
	content: '\F232';
}

#shareBox a.twitter::before {
	content: '\F099';
}

#shareBox a.linkedIn::before {
	content: '\F0E1';
}

#shareBox a.email::before {
	content: '\E84F';
}

.related-person {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(9em, 1fr));
	gap: 2em 3em;
}

.related-person-item {
	display: flex;
	flex-direction: column;
	gap: .5em;
}

.related-person-item .related-person-name {
	font-size: 1.2em;
	line-height: 1.1;
	font-weight: 700;
	font-family: 'Titillium web', sans-serif;
	text-align: center;
}

.related-person-item .related-person-attr {
	font-size: .75em;
	text-transform: uppercase;
	color: var(--color-theme);
	font-family: 'Titillium web', sans-serif;
	font-weight: 700;
	text-align: center;
	margin-top: .5em;
	line-height: 1;
}

.related-person-item .related-person-image {
	padding: .5em;
}

.related-person-item .related-person-image img {
	width: 100%;
	height: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	overflow: hidden;
	transition: all .3s ease;
}

.related-person-item:hover .related-person-image img {
	transform: scale(1.1);
}

.related-person-box{
	width: 75%;
	max-width: 800px !important;
}

.related-person-box-wrap{
	gap: 2em;
	display: flex;
	@media (width < 800px) {
		flex-direction: column;
	}
}

.related-person-box-image img{
	width: 12em;
	height: 12em;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	overflow: hidden;
	transition: all .3s ease;
	display: block;
	@media (width < 800px) {
		margin: 0 auto;
	}
}

.related-person-box h3{
	font-size: 1.8em;
	font-weight: 700;
	color: var(--color-theme);
	margin-bottom: .5em;
	@media (width < 800px) {
		text-align: center;
	}
}

.related-person-box p{
	margin-bottom: .75em;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(20em, 100%), 1fr));
	gap: 2em 3em;
	margin-top: 4em;
}

.services-grid-item {
	border-width: 1px;
	border-style: solid;
	background-color: var(--color-bg-btn);
	border: 2px solid var(--color-bg-btn);
	border-radius: .5em;
	padding: 1em 1.5em;
	transition: all .3s ease;
}

.services-grid-item:hover {
	/* border-color: var(--color-theme); */
	box-shadow: var(--shadow-light);
}

.services-grid-info .name {
	font-weight: 700;
	font-size: 1.2em;
	transition: all .3s ease;
	line-height: 1.2;
}

.services-grid-item:hover .name {
	color: var(--color-theme);
}

.services-grid-info .head {
	display: flex;
	gap: 2em;
	justify-content: space-between;
}

.services-grid-info .desc {
	margin-top: .5em;
	font-size: .9em;
	color: var(--gray);
}

.services-grid-info .icon img {
	height: 55px;
	width: auto;
}

/* ---- */

#shareBtn {
	margin-top: 1.5em;
	display: flex;
	gap: .5em;
	align-items: center;
	font-size: .8em;
	transition: all .3s ease;
	color: var(--gray);
}

.high-contrast #shareBtn{
	color:white
}

#shareBtn:hover {
	color: var(--color-theme);
}

#shareBtn span {
	font-size: .8em;
	font-weight: 600;
	text-transform: uppercase;
}

#shareBtn::before {
	content: "\E849";
	font-family: 'shiro-icon';
}

/* -- EVENT -- */

.event-video{
	position: relative;
	margin-bottom: 3em;
}

.event-video a{
	border: 1px solid var(--lightgray);
	border-radius: .5em;
	overflow: hidden;
	display: block;
}

.event-video img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
	display: block;
}

.item-superevent a{
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
    background-color: var(--color-theme);
    color: var(--white);
    display: inline-block;
    padding: .15em 1em .25em 1em;
    border-radius: 1em;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 1.1em;
}

.item-superevent a:hover{
    background-color: hsl(from var(--color-theme) h s calc(l * .9));
}

.subevent-group{
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.subevent-group-siblings{
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.default-text-stage > .subevent-group{
	margin-top: 3.5em !important;
}

.subevent-group-item{
    display: grid;
	grid-template-columns: max(25%, 150px) auto;
    gap: 1em;
	/* box-shadow: var(--shadow-light); */
	border: 1px solid var(--midgray);
	border-radius: .35em;
	overflow: hidden;
	transition: all .3s ease;
}

.subevent-group-item:hover{
	box-shadow: var(--shadow-light);
}

.subevent-group-siblings .subevent-group-item{
	grid-template-columns: max(12.5%, 120px) auto;
}

.subevent-group-info{
	padding: .5em .5em .5em 0;
}

.subevent-group-item > :first-child{
	display: flex;
	gap: .5em;
}

.subevent-group-name{
	font-weight: 700;
	font-family: 'Titillium web', sans-serif;
	line-height: 1.1;
}

.subevent-group-altname{
	font-size: .8em;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Literata", serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: italic;
    margin-top: .25em;
    color: var(--gray);
}

.subevent-group-date{
	font-size: .75em;
	margin-top: .5em;
	color: var(--darkgray);
	font-family: 'Titillium web', sans-serif;
	font-weight: 700;
}

.subevent-group-item img{
	width: 100%;
	aspect-ratio: 16 / 9;
	display: block;
    width: 100%;
    object-fit: cover;
	height: 100%;
	border-right: 1px solid var(--lightgray);
}

/* --- */


.subevent-group.EventSeries{
	margin-top: 4em !important;
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 3em 2em;
}

.subevent-group.EventSeries .subevent-group-item{
	display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.subevent-group.EventSeries .subevent-group-info{
	padding: .75em;
}

/* -- MODAL IFRAME -- */ 


/* MODAL */

.modal{
	position: fixed;
	top: 0; 
	left: 100vw;
	width: 100vw;
	height: 100vh;
  
	z-index: 9999;
  
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
  
	/* background-color: hsla(var(--gray-h), 10%, 95%, 80%);
	backdrop-filter: blur(4px); */
	background-color: #000000aa;
	backdrop-filter: blur(5px);

	opacity: 0;
	transition: 
	  opacity .15s ease-out,
	  left 0s linear .15s;
  }
  
  .modal.visible{
	left: 0;
	opacity: 1;
	transition: 
	  opacity .15s ease-out,
	  left 0s linear 0s;
  }

  @supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
	.modal{
	  background-color: hsla(var(--gray-h), 10%, 95%, 95%);
	}
  }

#webstory-modal::before {
	/* --size: 50px;
	content: '';
	display: block;
	position: absolute;
	top: calc(50% - var(--size)); 
	left: calc(50% - var(--size)); 
  
	width: 50px;
	aspect-ratio: 1;
	
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Ccircle opacity='0.66' r='4' cx='75' cy='50' class='medium-circle'/%3E%3Ccircle opacity='1.00' r='5' cx='71.651' cy='62.5' class='big-circle'/%3E%3Ccircle opacity='0.66' r='4' cx='62.5' cy='71.651' class='medium-circle'/%3E%3Ccircle opacity='0.33' r='3' cx='50' cy='75'/%3E%3Ccircle opacity='0.33' r='3' cx='37.5' cy='71.651'/%3E%3Ccircle opacity='0.33' r='3' cx='28.349' cy='62.5'/%3E%3Ccircle opacity='0.33' r='3' cx='25' cy='50'/%3E%3Ccircle opacity='0.33' r='3' cx='28.349' cy='37.5'/%3E%3Ccircle opacity='0.33' r='3' cx='37.5' cy='28.349'/%3E%3Ccircle opacity='0.33' r='3' cx='50' cy='25'/%3E%3Ccircle opacity='0.33' r='3' cx='62.5' cy='28.349'/%3E%3Ccircle opacity='0.33' r='3' cx='71.651' cy='37.5'/%3E%3C/svg%3E");
	animation: rotate 1s step-end infinite;
	
	z-index: 0; */

	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	content: " ";
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	-webkit-animation: rotating .65s linear infinite;
	border-style: solid;
	border-color: #FFFFFF11 #FFFFFF #FFFFFF11 #FFFFFF11;
	border-width: 2px;

  }
  
  #webstory-modal iframe {
	all: unset;
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
  }
  
  #webstory-modal > button.modal-close::before {
    font-size: 1.5em;
    font-family: 'shiro-icon';
    content: '\E821';
    padding: 1em;
    position: absolute;
    top: 0;
    right: 1em;
    cursor: pointer;
    opacity: .7;
    z-index: 3;
    color: var(--white);
	transition: all .3s ease;
  }

  #webstory-modal > button.modal-close:hover::before {
	opacity: 1;
  }
  
  #webstory-modal > .webstory-modal-mask {
	  position: absolute;
	  top: 0; left: 0;
	  right: 0; bottom: 0;
	  
	  display: flex;
	  place-content: stretch;
	  place-items: stretch;
	  gap: 320px;
  
	  pointer-events: none;
	  z-index: 3;
  }
  #webstory-modal > .webstory-modal-mask > button {
	  all: unset;
	  flex: 1 1 33%;
	  pointer-events: all;
	  cursor: pointer;
  }
  #webstory-modal > .webstory-modal-mask > .webstory-mask {
	  flex: 0 0 0;
	  align-self: center;
  
	  pointer-events: none;
	  height: 90vh;
	  max-height: 860px;
	  aspect-ratio: 9/16;
  }
  
  @media (max-width: 680px) {
	  #webstory-modal > .webstory-modal-mask {
		  display: none;
	  }
  }

/* --- SPONSOR --- */

.sponsors{
	text-align: center;
}

.sponsors-title{
    color: var(--color-theme);
    text-transform: uppercase;
    font-size: .7em;
    font-weight: 600;
    margin-bottom: 3em;
    letter-spacing: .75px;
}

.sponsors-line{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3.5em 4em;
    margin-bottom: 3em;
}
.sponsors-line a{
	opacity: .6;
	transition: all .3s ease;
}
.sponsors-line a:hover{
	opacity: 1;
	transform: scale(1.025);
}
.sponsors-line img{
	max-height: 4.5em;
}

.high-contrast .sponsors-line img{
	filter:invert(1);
}

.sponsors-line img.eletrobras{
	max-height: 11em;
	width: 60%;
}

.sponsors-line img.axia{
	max-height: 11em;
	width: 60%;
}


/* --- */

.contact{
	display: flex;
	gap: 3em;
	position: relative;
	@media (width < 900px) {
		flex-direction: column;
	}
}

.contact .ol-zoom{
	top: auto;
	right: .5rem;
	bottom: .5rem;
	left: auto;
	background-color: transparent;
	border-radius: 1em;
  }
  
.contact .ol-zoom > * {
	background-color: var(--color-theme);
	outline: none;
	overflow: hidden;
}
  
  
.contact .ol-zoom > *:active,
.contact .ol-zoom > *:hover {
	background-color: hsl(from var(--color-theme) h s calc(l * 1.2));
}
  
.contact .ol-zoom .ol-zoom-in{
	border-radius: 1em 1em 0 0;
}
  
.contact .ol-zoom .ol-zoom-out{
	border-radius:  0 0 1em 1em;
}
  

.contact-map{
    width: 100%;
	height: 50vh;
	flex: 10 10 20em;
}
.contact-text{
	width: 100%;
	flex: 2 2 20em;
}
.contact-text :is(h1,h2,h3,h4){
	color: var(--color-theme);
	font-weight: 700;
	font-size: 1.2em;
	margin-top: 1.25em;
}
.contact-text :first-child{
	margin-top: 0;
}

.contact-text p{
	margin-top: .25em;
}

blockquote{
	font-size: .9em;
    font-weight: 700;
    margin-top: 3em;
}


.fancybox-caption__body {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

:is(.item, .landing) .default-text-stage > .event-banner{
	padding: 1.25em 1.5em 1.25em 1.25em !important;
	border-radius: .5em;
	background-color: var(--lightgray);
	display: flex;
	gap: 2em 2.5em;
    margin-bottom: 3.5em;
	flex-wrap: wrap;
}

.event-banner-img img{
	display: block;
    max-width: 100%;
    min-width: 20vw;
}

.event-banner-img{
	flex: 2 1 0;
}

.event-banner-text{
	flex: 3 1 0;
}

.event-banner-text .organizer{
    margin-top: .5em;
    font-family: 'Titillium web', sans-serif;
    font-weight: 600;
	line-height: 1.3;
}

.event-banner-text p{
    line-height: 1.4;
    font-style: italic;
    font-size: 1.1em;
	color: var(--gray);
}

.event-banner-text h3{
	margin-top: 0 !important;
	margin-bottom: .5em !important;
	font-weight: 700;
	font-size: 1.8em;
}

.event-banner-text .subtitle{
	display: block;
	font-size: .8em;
	font-weight: 400;
	color: var(--gray);
}

/* -- hide linha do tempo  -- */
/* -------------------------- */

:not(.opened-menu) #header-menu_item_331{
	display: none;
}

#footer-menu_item_331{
	display: none;
}

.video-disclaimer{
    color: var(--gray);
    font-weight: 600;
    font-size: .85em;
    border: 1px solid var(--lightgray);
    padding: .75em 1.5em 1em 1.5em;
    margin-bottom: 4em;
    border-radius: 5px;
}

.video-disclaimer a{
	text-decoration: underline;

	overflow-wrap: break-word;
	word-wrap: break-word;
	
	-ms-word-break: break-all;
	word-break: break-all;
	
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.acessibilidade {
    position: fixed;
    right: 0;
    bottom: 10%;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.acessibilidade button:first-child {
    border-width: 1px 0 1px 1px;
    border-radius: 12px 0px 0px 0px !important;
}

.acessibilidade button {
    pointer-events: auto;
    padding: 0px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    background: rgb(0, 48, 135);
    width: 38px;
    height: 38px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    border-image: initial;
    border-width: 0 0 1px 1px;
    -webkit-appearance: button;
}


.acessibilidade button>svg {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    vertical-align: unset;
}

.acessibilidade button:last-child {
    border-radius: 0px 0px 0px 12px !important;
}