@charset "utf-8";

/*
Theme Name: OstariFestari Rajakylä 2026
Theme URI: https://www.ostarifestari.com/rajakyla/
Text Domain: of
Version: 2.0
*/

::-moz-selection {
	background: #b3d4fc;
	text-shadow: none;
}

::selection {
	background: #b3d4fc;
	text-shadow: none;
}

img {
	vertical-align: middle;
}

fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

textarea {
	resize: vertical;
}

.ir {
	border: 0;
	background-color: transparent;
	text-indent: -9999px;
	overflow: hidden;
}

.hidden {
	display: none !important;
	visibility: hidden;
}

.visuallyhidden {
	border: 0;
	clip: rect(0 0 0 0);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
	clip: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	position: static;
	width: auto;
}

.invisible {
	visibility: hidden;
}

.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

.clearfix {
	*zoom: 1;
}


.aligncenter {
	margin: var(--site-paragraph-padding) auto;
}

.alignleft {
	margin: 6px calc(var(--site-paragraph-padding) * 3) calc(var(--site-paragraph-padding) * 2) 0;
	float: left;
}

.alignright {
	margin: 6px 0 calc(var(--site-paragraph-padding) * 2) calc(var(--site-paragraph-padding) * 3);
	float: right;
}


.wp-caption {
	display: block;
}

.wp-caption img {
	display: block;
	margin: 0;
}

.wp-caption a {
	display: block;
}

.wp-caption-text {
	margin: 0;
	padding-top: 4px;
	font-size: 1.4rem;
	font-weight: 400;
	font-style: italic;
	text-align: center;
	color: inherit;
}


body #main .gallery {
	display: grid;
	width: 100%;
	background: none;
	margin: var(--site-paragraph-padding) 0 calc(var(--site-paragraph-padding) * 2);
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

body #main .gallery.gallery-columns-1 {
	grid-template-columns: 1fr;
}

body #main .gallery.gallery-columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

body #main .gallery > br {
	display: none !important;
}

body #main .gallery .gallery-item {
	display: flex;
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	flex-flow: column;
}

body #main .gallery .gallery-item dt {
	flex: 1;
}

body #main .gallery .gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

body #main .gallery .gallery-item .gallery-caption {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	background: rgba(0,0,0,0.8);
	padding: 6px 15px 8px;
	line-height: 1.214;
	opacity: 1;
	color: #fff;
	z-index: 1;
	-webkit-transition: opacity 200ms ease-out 100ms;
	transition: opacity 200ms ease-out 100ms;
}

body #main .gallery .gallery-item:hover .gallery-caption {
	opacity: 0;
}


.loading:after {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 24px;
	height: 24px;
	border: 3px solid #fff;
	border-bottom-color: #000;
	border-radius: 50%;
	-webkit-animation: rotation 1500ms linear infinite;
	animation: rotation 1500ms linear infinite;
}

@keyframes rotation {
	
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

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

}


.slidr-nav,
.mslidr-nav {
	display: flex;
	gap: 16px;
	z-index: 5;
}

.slidr-nav .slidr-pagenums,
.mslidr-nav .mslidr-pagenums {
	display: flex;
	padding: 0;
	margin: 0;
	list-style: none;
	gap: 8px;
	order: 2;
}

.slidr-nav li,
.mslidr-nav li {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background-color: #fff;
	cursor: pointer;
	-webkit-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
}

.slidr-nav .current,
.mslidr-nav .current {
	background-color: #000;
	transform: scale(1.25);
}

.slidr-nav .slidr-nextprev {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-color: #fff;
	overflow: hidden;
	cursor: pointer;
	z-index: 4;
	order: 3;
	-webkit-transition: all 200ms ease-out;
	transition: all 200ms ease-out;
}

.slidr-nav .slidr-nextprev.disabled {
	opacity: 0.5;
}

.slidr-nav .slidr-nextprev.prev {
	order: 1;
}


form {
	display: block;
	max-width: 100%;
	padding: 0;
	z-index: 1;
}

form:last-child {
	padding-bottom: 0;
}

label {
	display: block;
	margin: 0 0 3px 8px;
	font-size: 1rem;
	font-weight: 400;
	color: #333;
}


input[type="checkbox"] + label {
	display: inline-block;
	margin: 2px 0 0 5px;
	font-size: 14px;
	vertical-align: top;
}

.mandatory:after {
	content: "*";
	padding-left: 5px;
	color: #e33;
}

::-webkit-input-placeholder {
	font-weight: 400;
	color: #777;
	opacity: 1;
}

:-moz-placeholder {
	font-weight: 400;
	color: #777;
	opacity: 1;
}

::-moz-placeholder {
	font-weight: 400;
	color: #777;
	opacity: 1;
}

:-ms-input-placeholder {
	font-weight: 400;
	color: #777;
	opacity: 1;
}

.placeholdersjs {
	color: #777 !important;
}

input,
select,
textarea {
	font-family: Roboto, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 19px;
	vertical-align: middle;
	color: #333;
}

textarea {
	font-weight: 400;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	margin: 0 0 15px;
	padding: 12px 15px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
	background: #fff;
}


select {
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	margin: 0 0 15px;
	line-height: 19px;
	padding: 12px 11px;
}

textarea {
	line-height: 21px;
}

input[type="radio"] {
	margin: 6px 5px 0 0;
	padding: 0;
	vertical-align: top;
}

input[type="checkbox"] {
	margin: 6px 5px 0 0;
	padding: 0;
	vertical-align: top;
}

input[type="submit"]::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="submit"] {
	display: inline-block;
	min-height: 44px;
	border: 1px solid #333;
	border-radius: 22px;
	background-color: #333;
	margin: 20px 0 0;
	padding: 0 22px 2px;
	font-size: 18px;
	font-weight: 400;
	line-height: 40px;
	color: #fff;
}

input[type="submit"]:hover {
	background-color: transparent;
}


html,
button,
input,
select,
textarea {
	color: var(--of-black);
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
ol {
	margin: 0;
}


:root {
	--site-line-height: 1.4;
	--site-paragraph-padding: 1.4em;
	--of-pink: #ed7aa2;
	--of-yellow: #dbdf69;
	--of-grey: #707070;
	--of-purple: #312783;
	--of-black: #222;
	--of-head-height: 120px;
	--of-tail-height: 140px;
	--of-text-scaling-point: 10;
}


html {
	box-sizing: border-box;
	font: normal 500 62.5%/var(--site-line-height) bakemono-variable, monospace;
	font-variation-settings: "MONO" 0, "wght" 500;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	background: #fff;
	font-size: clamp(1.6rem, calc((20 / var(--of-text-scaling-point)) * 1vw), 2rem);
	color: var(--of-black);
}

body i {
	font-style: normal;
}

body strong {
	font-weight: 600;
}

body.preload * {
	transition: none !important;
}


a,
a:visited, 
a > * {
	text-decoration: none;
	cursor: pointer !important;
	outline: none;
	color: inherit;
	transition: color 100ms ease-out;
}

a:hover,
a:visited:hover, 
a:hover > * {
	color: inherit;
	transition-delay: 25ms;
}

main a,
main a:visited {
	text-decoration: underline;
}

main a:hover,
main a:visited:hover, 
main h1 a, 
main h2 a, 
main h3 a, 
main h4 a {
	text-decoration: none;
}

main h1 a:hover, 
main h2 a:hover, 
main h3 a:hover, 
main h4 a:hover, 
main h1 a:hover > *, 
main h2 a:hover > *, 
main h3 a:hover > *, 
main h4 a:hover > * {
	color: var(--of-black) !important;
}


a[class*="button-"] {
	display: inline-flex;
	background: var(--of-yellow);
	margin-top: 5px;
	margin-bottom: 5px;
	padding: 0.5em 1em;
	font-family: bacalar-turbo-condensed, sans-serif;
	font-size: clamp(2rem, calc((35 / var(--of-text-scaling-point)) * 1vw), 3.5rem);
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	vertical-align: top;
	color: var(--of-purple);
}

a[class*="button-"]:only-child {
	margin-top: 0;
	margin-bottom: 0;
}

a[class*="button-"]:hover {
	color: var(--of-black);
}

a.button-link-yellow {
	background: var(--of-yellow);
	color: var(--of-purple);
}

a.button-link-pink {
	background: var(--of-pink);
	color: var(--of-yellow);
}


.wrapper {
	box-sizing: content-box;
	max-width: var(--site-wrapper-width);
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--site-wrapper-padding);
}

.wrapper * {
	box-sizing: border-box;
}


.linklist {
	padding: 0;
	list-style: none;
}

.hilite-pink { color: var(--of-pink) !important; }
.hilite-yellow { color: var(--of-yellow) !important; }
.hilite-purple { color: var(--of-purple) !important; }
.hilite-white { color: #fff !important; }
.upper { text-transform: uppercase; }
.medium-text { font-size: 125%; }
.large-text { font-size: 150%; }
.huge-text { font-size: 200%; }
.text-100px { font-size: clamp(3.6rem, calc((100 / var(--of-text-scaling-point)) * 1vw), 10rem); }
.text-80px { font-size: clamp(3rem, calc((80 / var(--of-text-scaling-point)) * 1vw), 8rem); }
.text-30px { font-size: clamp(2rem, calc((30 / var(--of-text-scaling-point)) * 1vw), 3rem); }

.bacalar-turbo-condensed { font-family: bacalar-turbo-condensed, sans-serif; font-weight: 400; }
.bacalar-turbo-expanded { font-family: bacalar-turbo-expanded, sans-serif; font-weight: 900; }
.bacalar-ultra-expanded { font-family: bacalar-ultra-expanded, sans-serif; font-weight: 800; }

.custom-bottom-padding {
	padding-bottom: var(--bottom-padding);
}


h1 {
	padding: 0 0 0.5em;
	font-family: bacalar-turbo-condensed, sans-serif;
	font-size: clamp(3.5rem, calc((100 / var(--of-text-scaling-point)) * 1vw), 10rem);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1;
}

h2 {
	padding: 0 0 0.5em;
	font-family: bacalar-turbo-condensed, sans-serif;
	font-size: clamp(4.5rem, calc((80 / var(--of-text-scaling-point)) * 1vw), 8rem);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1;
}

h2:not(:first-child) {
	padding-top: 0.5em;
}

h3 {
	padding: 0 0 0.5em;
	font-family: bacalar-turbo-condensed, sans-serif;
	font-size: clamp(2rem, calc((30 / var(--of-text-scaling-point)) * 1vw), 3rem);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.3333;
}

h4 {
	padding: 0 0 0.5em;
	font-family: bacalar-turbo-condensed, sans-serif;
	font-size: clamp(2rem, calc((24 / var(--of-text-scaling-point)) * 1vw), 2.4rem);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.3333;
}

p {
	padding: 0 0 var(--site-paragraph-padding);
}

ul {
	padding: 0 0 var(--site-paragraph-padding) 19px;
}

ul ul,
ol ul {
	padding: 0 0 3px 19px;
	list-style: disc;
}

ol {
	padding: 0 0 var(--site-paragraph-padding) 23px;
}

ol ol,
ul ol {
	padding: 0 0 3px 23px;
}

blockquote {
	margin: 0;
	padding: 0 0 1em;
	font-size: 2rem;
	font-style: italic;
	font-weight: 400;
	line-height: var(--site-line-height);
}


.ce-flex-wrapper {
	display: flex;
	flex-flow: row wrap;
	gap: var(--site-column-margin);
	align-items: flex-start;
}

.ce-column {
	flex: 1;
}

.ce-block:not(.ce-no-bottom-padding) .ce-column > :last-child:not(input):not(select):not(.content-wrap), 
.ce-block:not(.ce-no-bottom-padding) .ce-content-wrap > :last-child:not(input):not(select) {
	margin-bottom: 0;
	padding-bottom: 0;
}


.ce-block {
	margin-top: var(--element-margin-top, var(--site-elements-padding));
	margin-bottom: var(--element-margin-bottom, 0);
	padding-top: var(--element-padding-top, 0);
	padding-bottom: var(--element-padding-bottom, 0);
}

.ce-block:first-child {
	margin-top: var(--element-margin-top, 0);
}

.ce-block:not(.ce-bgcolor):last-child {
	margin-bottom: var(--element-margin-bottom, var(--site-elements-padding));
}


.ce-block.ce-bgcolor {
	padding-top: var(--element-padding-top, var(--site-elements-padding));
	padding-bottom: var(--element-padding-bottom, var(--site-elements-padding));
}

.ce-block.ce-bgimage {
	background-position: 50%;
	background-repeat: no-repeat;
	background-size: cover;
}


.ce-block.ce-bgimage.ce-imagesized {
	height: calc(100vw * var(--image-ratio));
}

.ce-block.ce-bgimage.ce-width-wrapper.ce-imagesized {
	height: min(calc((var(--site-wrapper-width) + var(--site-elements-padding) * 2) * var(--image-ratio)), calc(100vw * var(--image-ratio)));
}


.ce-block.ce-bgimage.ce-imagesized > div {
	display: flex;
	height: 100%;
	overflow: hidden;
	flex-flow: column;
	justify-content: center;
}


.ce-block.ce-width-wrapper {
	box-sizing: border-box;
	padding-left: var(--site-elements-padding);
	padding-right: var(--site-elements-padding);
	max-width: calc(var(--site-wrapper-width) + var(--site-elements-padding) * 2);
}

.ce-block.ce-width-wrapper .wrapper {
	padding: 0;
}


.ce-block.ce-separator-top .wrapper {
	position: relative;
}

.ce-block.ce-separator-top .wrapper:before {
	content: "";
	display: block;
	position: absolute;
	left: var(--site-wrapper-padding);
	top: calc(var(--element-padding-top, 0) * -1);
	right: var(--site-wrapper-padding);
	height: 2px;
	background: #333;
	margin-top: calc(var(--element-margin-top, var(--site-elements-padding)) / -2 - 1px);
}

.ce-block.ce-separator-top.ce-bgcolor .wrapper:before {
	top: calc(var(--element-padding-top, var(--site-elements-padding)) * -1);
}

.ce-block.ce-separator-top.ce-width-wrapper .wrapper:before {
	left: 0;
	right: 0;
}


.ce-block.ce-single-column[style*="--content-maxwidth"] .ce-column {
	display: flex;
	justify-content: var(--content-justify, center);
}

.ce-block.ce-single-column[style*="--content-maxwidth"] .ce-content-wrap {
	width: 100%;
	max-width: var(--content-maxwidth, none);
}

.ce-block.ce-single-column[style*="--content-maxwidth-percent"] .ce-content-wrap {
	max-width: calc((100% - var(--site-column-margin)) * var(--content-maxwidth-percent, 1));
}


.ce-block.ce-single-column .ce-content-wrap:empty {
	margin-bottom: 0;
}


.ce-block.ce-text-image .ce-flex-wrapper {
	align-items: var(--text-column-align, center);
}

.ce-block.ce-text-image .ce-imagecolumn {
	text-align: center;
}

.ce-block.ce-text-image .ce-textcolumn {
	margin-top: var(--textmargin, 0);
	margin-bottom: var(--textmargin, 0);
	overflow-x: hidden;
}

.ce-block.ce-text-image .ce-textcolumn .ce-text-wrap > :last-child {
	padding-bottom: 0;
}


.ce-block.ce-text-image.ce-fill-imagecolumn .ce-imagecolumn {
	align-self: stretch;
}

.ce-block.ce-text-image.ce-fill-imagecolumn .ce-imagecolumn img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}


.ce-block.ce-text-image .ce-original-image-link {
	display: block;
	outline: none;
}

.ce-block.ce-text-image.ce-fill-imagecolumn .ce-original-image-link {
	height: 100%;
}


.ce-block.ce-text-image.ce-fullwidth-image {
	position: relative;
}

.ce-block.ce-text-image.ce-fullwidth-image .ce-imagecolumn {
	align-self: stretch;
}

.ce-block.ce-text-image.ce-fullwidth-image .ce-fullwidth-image-wrap {
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(calc((var(--site-wrapper-width) - var(--site-column-margin)) * var(--imagecolumn-width) + (100% - var(--site-wrapper-width)) / 2 + var(--site-column-margin) / 2), calc(((100% - var(--site-wrapper-padding) * 2) - var(--site-column-margin)) * var(--imagecolumn-width) + var(--site-wrapper-padding) + var(--site-column-margin) / 2));
}

.ce-block.ce-text-image.ce-fullwidth-image .ce-fullwidth-image-wrap.narrow-image {
	width: max(calc((var(--site-wrapper-width) - var(--site-column-margin)) * var(--imagecolumn-width) + (100% - var(--site-wrapper-width)) / 2 + var(--site-column-margin) / 2), calc(((100% - var(--site-wrapper-padding) * 2) - var(--site-column-margin)) * var(--imagecolumn-width) + var(--site-wrapper-padding) + var(--site-column-margin) / 2));
}

.ce-block.ce-text-image.ce-fullwidth-image.ce-image-left .ce-fullwidth-image-wrap {
	left: 0;
}

.ce-block.ce-text-image.ce-fullwidth-image.ce-image-right .ce-fullwidth-image-wrap {
	right: 0;
}

.ce-block.ce-text-image.ce-fullwidth-image .ce-original-image-link {
	width: 100%;
	height: 100%;
}

.ce-block.ce-text-image.ce-fullwidth-image .ce-fullwidth-image-wrap img {
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}


.ce-block.ce-multi-columns .ce-grid-wrapper {
	display: grid;
	grid-template-columns: repeat(var(--grid-columns, 3), minmax(0, 1fr));
	gap: 56px;
}

.ce-block.ce-multi-columns[style$="--grid-columns: 6;"] .ce-grid-wrapper {
	gap: var(--site-column-margin) calc(var(--site-column-margin) / 2);
}

.ce-block.ce-multi-columns .ce-column {
	overflow-x: hidden;
}


.ce-block.ce-wide-image {
	padding: 0;
}

.ce-block.ce-wide-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: var(--image-max-height);
	margin: 0 auto;
	object-fit: cover;
}

.ce-block.ce-wide-image.ce-width-wrapper img {
	max-width: var(--site-wrapper-width);
}

.ce-block.ce-wide-image a {
	display: block;
	outline: none;
}


.navigation.pagination {
	border-top: 2px solid #eee;
	margin-top: 30px;
	padding: 15px 0;
	text-align: center;
}

.navigation.pagination .screen-reader-text {
	display: none;
}

.nav-links {
	padding: 0;
	font-size: 19px;
	font-weight: 700;
	line-height: 29px;
}

.nav-links .page-numbers.prev,
.nav-links .page-numbers.next {
	display: none;
}

.nav-links .page-numbers {
	display: inline-block;
	width: 31px;
	height: 31px;
	text-align: center;
	vertical-align: top;
}

.nav-links .page-numbers + .page-numbers {
	margin: 0 0 0 8px;
}

.nav-links .page-numbers.dots,
.nav-links .page-numbers.dots + .page-numbers {
	margin: 0;
}

.nav-links .page-numbers.current {
	border-radius: 50%;
	background: #666;
	color: #fff;
}


main {
	min-height: calc(100vh - var(--of-head-height) - calc(var(--of-tail-height) * 0.5) - clamp(80px, calc(29.16vw - var(--scrollbar-width, 0px)), 560px));
	background: #fff;
}

main img {
	max-width: 100%;
	height: auto;
}

main iframe {
	display: block;
	border: 0;
	max-width: 100%;
	margin-bottom: var(--site-paragraph-padding);
}


body.noscroll {
	width: 100%;
	padding-right: var(--scrollbar-width);
	overflow: hidden;
}

#large-modal {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background: rgba(255,255,255,0.95);
	opacity: 0;
	z-index: 10001;
}

#large-modal-toolbar {
	display: flex;
	position: absolute;
	left: 50%;
	top: 0;
	height: 40px;
	justify-content: center;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

#large-modal-toolbar > * {
	background: #000;
	font-size: 39px;
	font-weight: 700;
	line-height: 39px;
	text-align: center;
	overflow: hidden;
	cursor: pointer;
	color: #fff;
	flex: 0 0 40px;
}

#large-modal-toolbar > * + * {
	border-left: 1px solid rgba(255,255,255,0.1);
}

#large-modal-content-wrap {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 100%;
	height: 100%;
	max-width: calc(100vw - 160px);
	max-height: calc(100vh - 160px);
	box-shadow: rgba(0,0,0,0.3) 0 0 50px;
	background: #fff;
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

#large-modal-content-wrap.type-text {
	width: calc(100vw - 100px);
	max-width: 720px;
	overflow: hidden;
	overflow-y: auto;
}

#large-modal-content-wrap.type-iframe {
	width: calc(177.7778vh - 200px * 1.7778);
	max-width: 960px;
	height: auto;
}

#large-modal-content-wrap.type-iframe .iframewrap {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

#large-modal-content-wrap.type-image {
	box-shadow: none;
	background: none;
}

#large-modal-content {
	display: block;
	width: 100%;
	height: 100%;
}

.type-text #large-modal-content {
	padding: 60px;
}

.type-text #large-modal-content > :last-child {
	margin-bottom: 60px;
}

#large-modal-content iframe, 
#large-modal-content video {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

#large-modal-content img {
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: contain;
}


#head {
	display: flex;
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	height: var(--of-head-height);
	background: var(--of-purple);
	font-family: bacalar-turbo-condensed, sans-serif;;
	font-size: 4.5rem;
	font-weight: 400;
	line-height: 1;
	text-transform: uppercase;
	z-index: 50;
	align-items: center;
}

#head .wrapper {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	gap: 50px;
}


#logo a, 
#logo img {
	display: block;
}


#head #navigation {
	display: flex;
	align-items: center;
	gap: 50px;
}

#nav-main {
	display: flex;
	gap: 16px;
}

#nav-main a {
	color: var(--of-pink);
}

#nav-main a:hover, 
#nav-main .current-menu-item a, 
#nav-main .current-page-ancestor a {
	color: var(--of-yellow);
}


#some {
	display: flex;
	gap: 10px 20px;
}

#some a {
	display: block;
	width: 24px;
	height: 24px;
}

#some a svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#some a svg * {
	fill: var(--of-pink);
	transition: fill 100ms ease-out;
}

#some a:hover svg * {
	fill: var(--of-yellow);
	transition-delay: 25ms;
}


#tail {
	height: var(--of-tail-height);
	background: var(--of-purple);
	color: var(--of-pink);
}

#tail .wrapper {
	height: 100%;
	display: flex;
	align-items: center;
}

#tail-copyright > :last-child {
	padding: 0;
}

body:after {
	content: "";
	display: block;
	background: var(--of-purple) url(_img/footer.jpg) 50% 0/100% auto no-repeat;
	margin: calc(var(--of-tail-height) * -1) 0 var(--of-head-height);
	aspect-ratio: 2400 / 700;
}


.ce-block.ce-hero {
	position: relative;
	height: calc(100vh - var(--of-head-height));
	min-height: var(--image-min-height, 0);
	max-height: var(--image-max-height, none);
	padding-top: var(--element-padding-top, 0);
	padding-bottom: var(--element-padding-bottom, 0);
	overflow: hidden;
}

.ce-block.ce-hero img {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	transform: scale(var(--image-scale));
}

.page-template-page-home .ce-block.ce-hero:first-child {
	position: relative;
}

.page-template-page-home .ce-block.ce-hero:first-child:before {
	content: "";
	position: absolute;
	left: 80px;
	top: 80px;
	width: 13.5417vw;
	min-width: 175px;
	background: url(_img/logo-pvm-iso.svg) 50%/contain no-repeat;
	aspect-ratio: 260 / 201;
	z-index: 1;
}


.ce-block.ce-scrolling-heading {
	width: 100%;
	overflow: hidden;
}

.ce-block.ce-scrolling-heading > h1 {
	display: none;
}

.ce-block.ce-scrolling-heading .scroller > h1 {
	padding: 0 0 0 var(--site-column-margin);
	font-family: bacalar-ultra-expanded, sans-serif;
	font-size: clamp(3.5rem, calc((100 / var(--of-text-scaling-point)) * 1vw), 10rem);
	font-weight: 800;
	line-height: 1;
}

.ce-block.ce-scrolling-heading.scrolling .scroller > h1 {
	position: absolute;
}

.ce-block.ce-scrolling-heading .scroller {
	width: 100%;
	height: clamp(3.5rem, calc((100 / var(--of-text-scaling-point)) * 1vw), 10rem);
	white-space: nowrap;
}

.ce-block.ce-scrolling-heading.scrolling .scroller {
	animation: scroll-text var(--list-speed, 15s) infinite linear;
}

.ce-block.ce-scrolling-heading .scroller > div {
	display: inline-block;
	vertical-align: top;
}

.ce-block.ce-scrolling-heading .scroller .item {
	display: inline-block;
	padding-left: var(--site-column-margin);
	font-family: bacalar-ultra-expanded, sans-serif;
	font-size: clamp(3.5rem, calc((100 / var(--of-text-scaling-point)) * 1vw), 10rem);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
	vertical-align: top;
	white-space: nowrap;
}

.ce-block.ce-scrolling-heading .scroller .item::-moz-selection {
	background: transparent;
}

.ce-block.ce-scrolling-heading .scroller .item::selection {
	background: transparent;
}


@keyframes scroll-text {

	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(calc(var(--list-width) * -1));
	}

}


.ce-block.ce-text-video {
	--videocolumn-width: 0.50;
	position: relative;
}

.ce-block.ce-text-video .ce-flex-wrapper {
	--element-paddings: calc(var(--element-padding-top, var(--site-elements-padding)) + var(--element-padding-bottom, var(--site-elements-padding)));
	/*min-height: calc(640px - var(--element-paddings));*/
	align-items: var(--text-column-align, center);
}

.ce-block.ce-text-video .ce-textcolumn {
	margin-top: var(--textmargin, 0);
	margin-bottom: var(--textmargin, 0);
	flex: 1;
}

.ce-block.ce-text-video .ce-textcolumn > div {
	padding-right: calc(var(--site-column-margin) / 2);
}

.ce-block.ce-text-video .ce-textcolumn > div > :last-child {
	padding-bottom: 0;
}


.ce-block.ce-text-video .ce-videocolumn {
	align-self: stretch;
	flex: 1;
}

.ce-block.ce-text-video .ce-fullwidth-video-wrap {
	position: absolute;
	top: 0;
	bottom: 0;
	width: min(calc((var(--site-wrapper-width) - var(--site-column-margin)) * var(--videocolumn-width) + (100% - var(--site-wrapper-width)) / 2 + var(--site-column-margin) / 2), calc(((100% - var(--site-wrapper-padding) * 2) - var(--site-column-margin)) * var(--videocolumn-width) + var(--site-wrapper-padding) + var(--site-column-margin) / 2));
}

.ce-block.ce-text-video .ce-fullwidth-video-wrap.narrow-image {
	width: max(calc((var(--site-wrapper-width) - var(--site-column-margin)) * var(--videocolumn-width) + (100% - var(--site-wrapper-width)) / 2 + var(--site-column-margin) / 2), calc(((100% - var(--site-wrapper-padding) * 2) - var(--site-column-margin)) * var(--videocolumn-width) + var(--site-wrapper-padding) + var(--site-column-margin) / 2));
}

.ce-block.ce-text-video.ce-video-left .ce-fullwidth-video-wrap {
	left: 0;
}

.ce-block.ce-text-video.ce-video-right .ce-fullwidth-video-wrap {
	right: 0;
}


.ce-block.ce-text-video .ce-fullwidth-video-wrap video {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}


.ce-block.ce-banner {
	padding-top: var(--element-padding-top, var(--site-elements-padding));
	padding-bottom: var(--element-padding-bottom, var(--site-elements-padding));
}

.ce-block.ce-banner .banner-wrapper {
	display: flex;
	padding-left: var(--site-wrapper-padding);
	padding-right: var(--site-wrapper-padding);
	justify-content: center;
}

.ce-block.ce-banner .banner-element {
	max-width: 1200px;
	max-height: 400px;
	border: 1px solid var(--of-grey);
	background: #fff;
	padding: clamp(20px, calc((60 / var(--of-text-scaling-point)) * 1vw), 60px);
	aspect-ratio: 1200 / 400;
	flex: 10;
}

.ce-block.ce-banner .banner-element > div {
	position: relative;
	height: 100%;
}

.ce-block.ce-banner .banner-wrapper a {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.ce-block.ce-banner .banner-wrapper img {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	object-fit: contain;
}


.ce-block.ce-logos .wrapper {
	max-width: 1320px;
}

.ce-block.ce-logos .logo-grid {
	display: grid;
	gap: 80px 120px;
	justify-content: center;
	grid-template-columns: repeat(auto-fit, 240px);
}

.ce-block.ce-logos .logo {
	position: relative;
	max-width: 240px;
	padding-bottom: 66.6667%;
}

.ce-block.ce-logos .logo a {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.ce-block.ce-logos .logo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	/*mix-blend-mode: multiply;*/
}

.ce-block.ce-logos .logo > img {
	position: absolute;
	left: 0;
	top: 0;
}


.page-template-page-artisti main {
	background: var(--of-yellow);
}


#artist-photo {
	position: sticky;
	top: 0;
	flex: 1;
}

#artist-photo > div {
	padding-top: calc(var(--site-elements-padding) * 1);
	padding-bottom: calc(var(--site-elements-padding) * 1);
}

#artist-photo > div img {
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: contain;
	object-position: 50% 0;
}


#main-content {
	padding-top: var(--site-elements-padding);
	flex: 1;
}

#main-content .ce-block > div > .wrapper {
	padding: 0;
}

#main-content > p:first-child {
  padding-bottom: 40px;
}

#main-content > p:first-child + .ce-block {
  margin-top: var(--element-margin-top, 0);
}


.forminator-edit-module {
	display: none !important;
}


#nav-burger {
	display: none;
	position: relative;
	width: calc(60px + var(--site-wrapper-padding));
	height: var(--of-head-height);
	background: var(--of-purple);
	padding-right: var(--site-wrapper-padding);
	cursor: pointer;
	z-index: 50;
}

#nav-burger > div,
#nav-burger:before,
#nav-burger:after {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	right: var(--site-wrapper-padding);
	height: 4px;
	background: var(--of-pink);
	transition: all 150ms ease-out;
}

#nav-burger:before {
	top: 50%;
	margin-top: -10px;
}

#nav-burger > div {
	top: 50%;
	margin-top: -2px;
}

#nav-burger:after {
	top: 50%;
	margin-top: 6px;
}


.overlay #nav-burger:before, 
.overlay #nav-burger:after {
	opacity: 0;
}

.overlay #nav-burger > div:first-child {
	transform: rotate(45deg);
}

.overlay #nav-burger > div:last-child {
	transform: rotate(-45deg);
}


.ce-block.has-gelems {
	position: relative;
	--ge-hmargin: var(--site-wrapper-padding);
	--ge-vmargin-top: var(--element-padding-top, var(--site-elements-padding));
	--ge-vmargin-bottom: var(--element-padding-bottom, var(--site-elements-padding));
}

.ce-block.has-gelems .wrapper {
	position: relative;
	z-index: 1;
}

.ce-block.has-gelems .gelem {
	position: absolute;
	width: var(--ge-width);
	max-width: var(--ge-max-width);
	background: var(--ge-url) 50%/contain no-repeat;
	aspect-ratio: var(--ge-ar);
	z-index: 0;
	transform: translate(var(--ge-offseth, 0), var(--ge-offsetv, 0));
}

