/* General tweaks */

:root {
	--color-green: #345c00;
}

* {
	box-sizing: border-box;
}

body, html {
	scroll-behavior: smooth;
}

p:empty {
	display: none;
}

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

iframe {
	max-width: 100%;
}

a {
	text-decoration: none !important;
}

main {
	padding: 0 12px;
}


[lang="es-ES"] .lang-en,
[lang="en-GB"] .lang-es {
	display: none;
} 

/* Navigation */

.main-header {
	padding-left: 12px !important;
	padding-right: 12px !important;
}

@media all and (min-width: 900px){
	.main-header {
		padding-left: 72px !important;
		padding-right: 72px !important;
	}
}

#menu-principal, 
#menu-main {
	text-align: right;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: -1px;
}

.menu-toggle {
	cursor: pointer;
	position: absolute;
	z-index: 100000;
	font-size: 24px;
}

.menu-toggle span {
	width: 24px;
	height: 2px;
	margin-bottom: 6px;
	background-color: #111;
	display: block;
	transition: transform 0.2s ease;
}
.menu-toggle span:first-child + span {
	width: 18px;
}

.menu-toggle.open span:first-child {
	transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:first-child + span {
	background: none;
}
.menu-toggle.open span:last-child {
	transform: translateY(-8px) rotate(-45deg);
}

.menu-toggle--menu-principal,
.menu-toggle--menu-main {
	top: 24px;
	right: 18px;
}

.menu-toggle--menu-auxiliar-header,
.menu-toggle--menu-auxiliar-header-en {
	top: 4px;
	left: 24px;
}

.admin-bar .menu-toggle--menu-auxiliar-header,
.admin-bar .menu-toggle--menu-auxiliar-header-en {
	top: 50px;
}

@media all and (min-width: 900px){
	.menu-toggle {
		display: none;
	}
}

@media all and (max-width: 900px){
	.responsive:not(.open) {
		display: none;
	}
	#menu-principal,
	#menu-main {
		position: fixed;
		left: 0;
		top: 48px;
		width: 100vw;
		height: 100vh;
		background: white;
		padding: 120px 48px 0;
		z-index: 100;
	}
	#menu-principal .menu-item,
	#menu-main .menu-item {
		display: block;
		padding: 18px 0;
	}
	.aux-header {
		padding-right: 24px;
	}
	.search-widget {
		right: 24px;
		z-index: 150000;
	}
	.polylang_langswitcher {
		position: relative;
		z-index: 15000;
		top: 14px;
	}
	.wp-block-site-logo img {
		min-width: 120px;
	}
	#menu-auxiliar-header,
	#menu-auxiliar-header-en {
		display: none;
	}
}

@media all and (min-width: 900px){
	#menu-principal .aux-item,
	#menu-main .aux-item {
		display: none;
	}
}

#menu-principal .aux-item,
#menu-main .aux-item {
	padding-bottom: 0px;
	opacity: .5;
	font-size: .9em;
}

#menu-principal .menu-item--convocatorias,
#menu-main .menu-item--convocatorias {
	padding-right: 0;
}

#menu-principal .menu-item--onit_www a,
#menu-main .menu-item--onit_www a {
	color: var(--color-green) !important;
}

#menu-auxiliar-header,
#menu-auxiliar-header-en {
	text-align: right;
	line-height: 20px;
	font-size: .9em;
}

#menu-auxiliar-header a,
#menu-auxiliar-header-en a {
	opacity: .66;
	transition: opacity .2s ease;
}

#menu-auxiliar-footer li:last-child,
#menu-auxiliar-footer-en li:last-child {
	padding-right: 0;
}


#menu-auxiliar-header a:hover,
#menu-auxiliar-header-en a:hover {
	opacity: 1;
}

.aux-header {
	justify-content: space-between;
	min-height: 36px;
}

.polylang_langswitcher select {
	appearance: none;
	text-transform: uppercase;
	font-weight: bold;
	border: 0;
	background: 0;
	position: relative;
	top: 4px;
}

.polylang_langswitcher option[lang="ast"] {
	display: none;
}

.search-widget {
	position: relative;
	top: 5px;
}

header .lang-item {
  list-style: none;
  text-transform: uppercase;
  position: relative;
  top: 8px;
  display: inline;
  margin-right: 12px;
}

.polylang_langswitcher {
  text-align: right;
}


header .lang-item a {
  text-decoration: none;
}

header .current-lang {
  font-weight: bold;
}

header .lang-switcher {
  text-align: right;
  font-size: .9em;
}

header .search-widget {
	display: none;
}
.admin-bar .search-widget {
	position: relative;
	display: inline-block;
}

.lang-switcher + .wp-block-column {
  padding-top: 0;
}

#menu-principal .menu-item a,
#menu-main .menu-item a {
	position: relative;
}

#menu-secundario .menu-item li,
#menu-secondary .menu-item li,
#menu-secundario-derecho .menu-item li,
#menu-secondary-der-en .menu-item li {
	display: inline-block;
	width: auto !important;
}

#menu-principal .menu-item a:after,
#menu-main .menu-item a:after,
#menu-secundario .menu-item a:after,
#menu-secondary-en .menu-item a:after,
#menu-secundario-derecho .menu-item a:after,
#menu-secondary-der-en .menu-item a:after {
    content: "";
    display: block;
    position: absolute;
    border-bottom: 4px solid;
    width: 0;
    bottom: -4px;
    left: 1%;
    transition: width .4s ease;
}

#menu-principal .menu-item a:hover:after,
#menu-principal .current_page_item a:after,
.post--actividades .menu-item--actividades a:after,
.post--educativa-es .menu-item--actividades a:after,
.post--exposiciones .menu-item--exposiciones a:after,
.post--artista-en-residencia .menu-item--residentes a:after {
    width: 98% !important;
}

#menu-secundario .menu-item a:hover:after,
#menu-secondary-en .menu-item a:hover:after,
#menu-secundario-derecho .menu-item a:hover:after,
#menu-secondary-der-en .menu-item a:hover:after {
    width: 240px !important;
}


#menu-main .menu-item a:hover:after,
#menu-main .current_page_item a:after,
.post--activities .menu-item--activities a:after,
.post--education .menu-item--activities a:after,
.post--exhibitions .menu-item--exhibitions a:after,
.post--artists-in-residency .menu-item--artists-in-residence a:after   {
    width: 98% !important;
}

#menu-auxiliar-footer,
#menu-auxiliar-footer-en {
	text-align: right;
	line-height: 36px;
}

@media all and (max-width: 900px) {
	#menu-auxiliar-footer li,
	#menu-auxiliar-footer-en li {
		display: block;
	}
}

#menu-auxiliar-footer a, 
#menu-auxiliar-footer-en a {
	color: white;
	font-size: 1rem;
	letter-spacing: -1px;
}

#menu-auxiliar-footer a:hover, 
#menu-auxiliar-footer-en a:hover {
	font-weight: bold;
}

#menu-auxiliar-footer li:last-child 
#menu-auxiliar-footer-en li:last-child {
	padding-right: 0;
}

#menu-secundario li,
#menu-secundario-derecho li,
#menu-secondary-en li,
#menu-secondary-der-en li
{
	display: block;
	font-weight: bold;
	font-size: 1.6em;
	margin-bottom: 12px;
	letter-spacing: -1px;
}

/* Home */

.home .block-heading, .two-col-title {
	letter-spacing: -2px;
}

.two-col-title + .wp-block-post-excerpt {
	margin-top: 0;
}

.laboral-agenda__items {
    margin: 0 auto 48px;
	max-width: calc(100vw - 24px);
	padding: 0;
}

@media all and (min-width: 900px){
	.laboral-agenda__items {
		padding: 0 24px;
		margin: 0 auto 48px;
	}
}

.laboral-agenda__item {
    list-style: none;
	line-height: 48px;
	padding-bottom: 24px;
}

@media all and (min-width: 900px){
	.laboral-agenda__item {
		display: grid;
		grid-template-columns: 1fr 1fr 2fr;
		padding-bottom: 0;
	}
}

.laboral-agenda__item br,
.laboral-agenda__item p:empty {
	display: none;
}

.laboral-agenda__item:not(:last-child) {
    border-bottom: 1px solid #aaa;
}

.laboral-agenda__item-category {
    color: #555;
}
@media all and (max-width: 900px){
    .laboral-agenda__item-category {
	    float: right;
	}
}
	
.laboral-agenda__item-name {
    text-transform: initial;
	vertical-align: middle;
	font-size: 1.2rem;
	line-height: 1.2;
}

.laboral-agenda__item-name {
	margin: 8px 0 0;
	padding: 0;
}
.laboral-agenda__item-name p {
	margin: 0;
	display: inline;
}
.laboral-agenda__item-name a:hover {
	text-decoration: underline;
}

.laboral-footer .wp-block-column {
	padding-top: 0;
}

.home .wp-block-post-title {
	line-height: 1.2;
}

.home .wp-block-post-excerpt {
	margin-top: 0;
}

.lang-item a {
	color: #555;
}

.current-lang a {
	color: black;
}

#modal-2 . wp-block-navigation__container {
	text-align: center !important;
}

body > .lang-item {
display: none;
}

body > .wp-site-blocks {
 padding: 0;
}

.wp-block-navigation a:where(:not(.wp-element-button)):hover {
    text-decoration: none;
}

.wp-block-post-featured-image {
	text-align: center;
	margin: 0 auto;
}

.home .wp-block-post-featured-image a {
  	height: auto;
}

.wp-block-column.newsletter {
	padding-top: 48px;
	padding-bottom: 48px;
}

@keyframes fadeup {
0% {
  	opacity: 0;
}
100% {
  	opacity: 1;
  }
}

.wp-site-blocks {
  	animation: fadeup 2s 1 forwards;
}

.two-col-title {
  	position: relative !important;
}
.two-col-title:after {
	position: absolute;
	content: "";
	width: 72px;
	height: 10px;
	background-color: black;
	bottom: -18px;
	left: 0;
}

@media all and (min-width: 900px){
	.wp-block-column > .wp-block-post-featured-image {
		padding-left: 48px;
	}
}

.wp-block-eedee-block-gutenslider:before {
    content: "";
	position: absolute;
	top: 0;
	z-index: 50000;
	left: 0;
	height: 100%;
	width: 25vw;
	background-image: linear-gradient(to right, white, transparent);
}

.wp-block-eedee-block-gutenslider:after {
    content: "";
	position: absolute;
	top: 0;
	z-index: 50000;
	right: 0;
	height: 100%;
	width: 25vw;
	background-image: linear-gradient(to left, white, transparent);
}
.wp-block-eedee-block-gutenslider.arrow-position-sides .eedee-gutenslider-prev {
	position: absolute;
	z-index: 1000000;
	filter: invert(1);
}

.wp-block-eedee-block-gutenslider.arrow-position-sides .eedee-gutenslider-next {
  	position: absolute;
  	z-index: 1000000;
	filter: invert(1);
}

.post-template .wp-block-post-featured-image {
	width: 960px;
	max-width: 100%;
	margin: 0 auto;
	display: block;
}

.post-dates {
	text-align: center;
}

.post-template .wp-block-post-title {
	margin-bottom: -12px;
}

.post-template .wp-block-post-excerpt__excerpt.post-excerpt {
	letter-spacing: -2px;
}

.wp-block-query a {
	color: black;
}

.exhibition-credits {
	background-color: #f5f5f5;
	padding: 4px 0;
	margin-top: 48px !important;
}

.exhibition-credits__inner {
	width: 960px;
	max-width: 100%;
	margin: 0 auto;
}

.exhibition-credits__block {
	text-align: center;
}

.exhibition-credits__block-label {
	font-weight: 400;
	text-transform: capitalize;
	font-size: .9em;
	margin-bottom: 12px;
	letter-spacing: 1px;
	color: var(--color-green)
}

.exhibition-credits__block-items {
	text-align: center;
	min-width: 0;
	padding: 0 12px;
	margin-bottom: 48px;
}

.exhibition-credits__block-item {
	list-style: none;
	margin: 0 12px;
	display: inline-block;
}
.exhibition-credits__block-item img {
	height: 60px;
	width: auto;
	filter: grayscale(1);
	max-width: inherit;
}

.resident-project {
	max-width: 90%;
	margin: 72px auto 24px !important;
}

@media all and (min-width: 900px){
	.resident-project {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 76px;
	}
}

.resident-project__title-prefix {
	text-transform: uppercase;
}

.resident-project__title {
	font-weight: bold;
	margin-top: 0;
	letter-spacing: -2px;
	line-height: 1.2;
}

.resident-project__text {
	font-size: var(--wp--preset--font-size--medium) !important;
	line-height: 1.5;
}

.resident-project__image img {
	width: 100%;
}

.resident-project__end-text {
	text-align: center;
	margin-top: 72px;
	margin-block-end: 72px;
}

.exhibition-block,
.exhibition__colophon {
	width: 1400px;
	max-width: 100%;
	margin: 24px auto;
	padding: 0 12px;
}

@media all and (min-width: 900px){
	.exhibition-block--full {
		width: auto;
		margin: 24px 72px;
	}
}

.exhibition-block--agenda {
	width: 1320px;
	max-width: 100%;
	margin: 48px auto 96px;
}

.exhibition-block--residents {
	margin-top: 72px;
}

.exhibition-block__items--video {
	padding-bottom: 12px;
}

.exhibition-block__item-name {
	text-transform: inherit;
	margin-bottom: 0;
}

.exhibitions-label {
	font-weight: bold;
	text-align: center;
	margin: 72px 0;
}

.exhibition-block__label {
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: center;
	margin: 144px 0 72px;
}

.exhibition-block__item-excerpt {
	margin: 12px 0 24px;
	font-size: 1.2em;
}
.exhibition-block__item-dates {
	margin-top: 24px;
	opacity: .75;
}
.exhibition-block__item-dates--works {
	margin-top: 12px;
}

.exhibition-block__items {
	max-width: 100%;
	text-align: center;
	margin: 0;
	padding: 0;
}

.exhibition-block__items--front-exhibitions {
	width: 100%;
}

.exhibition-block__item {
	list-style: none;
	text-align: center;
}

@media all and (max-width: 900px){
	.exhibition-block__item {
		margin-bottom: 48px;
	}
}

.exhibition-block__item-image {
	margin-bottom: 24px;
}

/* .exhibition-block__item-image img {
	height: 360px;
	width: auto !important;
} */

.exhibition-block__item-image--front-exhibitions img {
	width: 100%;
}

@media all and (min-width: 900px){
	.exhibition-block__items--activities {
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		grid-gap: 48px;
	}
	.exhibition-block__item {
		display: inline-block;
		width: calc( 33.33% - 24px);
		padding: 0 12px;
		margin-bottom: 24px;
		vertical-align: top;
	}	
	.exhibition-block__items--activities .exhibition-block__item {
		width: 100%;
		padding: 0;
	}
	.exhibition-block__items--two-col {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 48px;
	}
	.exhibition-block__items--two-col .exhibition-block__item {
		width: 100%;
		padding: 0;
	}
	.exhibition-block__item-image--full img {
		max-height: inherit;
	}
}

.exhibition-block__item--image {
	vertical-align: middle;
}

.exhibition-block__item-dates--works {
	margin-top: 12px 0;
}

@media all and (min-width: 900px){
	.secondary-exhibitions {
		display: flex;
		justify-content: space-between;
		align-itenms: center;
		margin: -36px 48px 0;
	}
	.secondary-exhibitions > li {
		padding: 0 24px;
		list-style: none;
		flex: 1;
	}
}

.exhibition-block__item--main {
	display: block;
	max-width: 100%;
	padding: 0 72px;
	margin: 0 auto;
}

@media all and (max-width: 900px){
	.exhibition-block__item--main {
		margin-top: 72px;
		padding: 0;
	}
}

.exhibition-block__items > li a {
	display: block;
}

.exhibition-block__item-name--activities {
	font-size: 1.8rem;
	font-weight: 700;
}

.exhibition-block__item-name--front-exhibitions {
	font-weight: bold;
	margin-bottom: 12px;
}

.exhibition-block__item-name--front-exhibitions:after {
	width: 3ch;
	margin-top: 4px;
	border-bottom: 6px solid black;
	content: "";
	display: block;
}

.exhibition-block__items--front-exhibitions .exhibition-block__item:first-child .exhibition-block__item-name--front-exhibitions {
	font-size: 3em;
}

.exhibition-block__items--front-exhibitions .exhibition-block__item-excerpt {
	font-size: 1.5em;
}

.exhibition-block__items--front-exhibitions .exhibition-block__item-dates {
	margin-top: 24px;
	font-size: 1.25em;
}

.exhibition-block__item > a {
	margin-top: 0;
	transition: opacity .25s ease;
}
.exhibition-block__item > a:hover {
	opacity: .75;
}

.exhibition-block__item-name {
	margin-top: 0px;
	line-height: 1;
	font-weight: bold;
	letter-spacing: -1px;
}

.exhibition-block__item-name--past {
	font-size: 1.4rem;
}

.exhibition-block__item-name .year {
	font-weight: normal;
	font-size: .8em;
}

.exhibition-block__item-image--bg {
    width: 100%;
	padding-bottom: 56.25%;
}

.exhibition-block__see-more {
	text-align: center;
	margin: 48px 0 96px;
}

.home .exhibition-block__see-more {
	margin-top: 24px;
}

.exhibition-block__see-more--exhibitions-page {
	margin-top: 96px;
}

.exhibition-block__see-more-link {
	display: inline-block;
	border: 1px solid black;
	line-height: 48px;
	padding: 0 24px;
	font-weight: bold;
	color: black !important;
	font-size: 1rem !important;
}

.exhibition-block__see-more-link:hover {
	color: white !important;
	background: black;
}

.exhibition-block__item--front-block {
	padding: 36px;
	background-color: #f5f5f5;
	text-align: left;
	margin: 24px 0;
}

@media all and (min-width: 900px){
	.exhibition-block__item--front-block {
		height: 240px;
		width: calc( 50% - 72px);
		margin: 0 24px;
	}
}

.exhibition-block__item--front-block a {
	font-weight: bold;
	float: right;
	opacity: .75;
	color: var(--color-green);
}

.exhibition-block__item--front-block a:before {
	content: "\2192"
	margin-right: 12px;
}

.post-template-wp-custom-template-residente .entry-content {
	margin-top: 48px;
}

.exhibition-block__items--exhibitions,
.exhibition-block__items--calls {
	margin: 120px 0 0;
	padding: 0;
	text-align: center;
}

.exhibition-block__items--exhibitions-past {
	margin-top: 96px;
}

@media all and (min-width: 900px){
	.exhibition-block__item--exhibitions {
		display: inline-block;
		width: calc(50% - 48px);
		vertical-align: top;
		padding: 24px;
	}
	.exhibition-block__item--exhibitions-past {
		width: calc(25% - 12px);
		padding: 0 12px;
	}
}

.exhibition-block__item--exhibitions {
	list-style: none;
	text-align: center;
	margin-bottom: 24px;
}

.exhibition-block__empty {
	text-align: center;
	font-size: 1.5em;
	margin-top: 72px;
}

.exhibition-block__item {
	position: relative;
}

.exhibition-block__item-box {
	width: 66%;
	min-width: 300px;
	padding: 24px 24px 0;
	margin: 0 auto;
	position: relative;
	top: -24px;
	background-blend-mode: difference;
	background: white;
	text-align: left;
}

@media all and (min-width: 900px){
	.exhibition-block__item-box {
		top: -64px;
	}
}

/* Front media */

.exhibition-block__items--video {
	max-width: 100%;
	margin: 0 auto;
}
.exhibition-block__item--video {
	max-width: 100%;
	padding: 0 48px;
}
@media all and (min-width: 900px){
	.exhibition-block__item--video {
		padding: 0 20%;
	}	
}

.swiper-wrapper {
  	align-items: center; /* add this will all relevant prefixes */
}
.exhibition-block--video {
	background-color: #f5f5f5!important;
	padding: 48px 24px;
	margin: 96px 0 48px;
}

.exhibition-block__item-video {
	margin-top: 36px;
}

.exhibition-block__item-name--video,
.exhibition-block__item-excerpt--video,
.exhibition-block__item-body--video {
	text-align: left;
}
.exhibition-block__item-excerpt--video {
	font-size: 2em !important;
}
.exhibition-block__item-body--video {
	font-size: 1.5em;
	margin-bottom: 0;
}
.exhibition-block__item-body--video p {
	margin-bottom: 0;
}
.exhibition-block__item-link--video { 
    font-weight: bold;
	opacity: .75;
	text-align: right;
}
.exhibition-block__item-link--video a {
	display: inline !important;
	color: var(--color-green);
}

.swiper-button-prev, 
.swiper-button-next {
	filter: grayscale(1) contrast(10);
}
@media all and (max-width: 900px){ 
	.swiper-button-prev, 
	.swiper-button-next {
		top: inherit;
		bottom: 12px;
	}
	.swiper-button-next::after, 
	.swiper-button-prev::after {
		font-size: 24px;
	}
	.exhibition-block__item-link--video {
		margin-bottom: 36px;
	}
	.exhibition-block__item-link--video { 
		margin-top: 0;
	}
}

/* Mewsletter */

.newsletter {
	padding-top: 0;
}
.newsletter-wrapper {
	padding: 12px;
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}
.mc4wp-form-fields input {
	font-size: 1.25em;
	display: block;
}

@media all and (min-width: 900px) {
	.newsletter-wrapper {
		padding: 48px;
	}
	.mc4wp-form-fields {
		display: flex;
	}
	.mc4wp-form-fields input[type=submit] {
		flex-basis: 25%;
		margin-left: 12px;
		flex-basis: 25%;
	}
}

.mc4wp-form-fields {
	width: 480px;
	max-width: 100%;
	margin: 24px auto 0;
}

.mc4wp-form-fields input[type=email] {
	border: 0;
	border-bottom: 3px solid black !important;
	line-height: 36px;
	flex-basis: 75%;
}

.mc4wp-form-fields ::placeholder {
	opacity: .75;
}

.mc4wp-form-fields input[type=submit] {
	border: 3px solid black;
	line-height: 48px;
	border-radius: 0;
	background: transparent;
	margin-top: 24px;
	padding: 0 24px;
	margin-left: 24px;
}

.mc4wp-form-fields input[type=submit]:hover {
	background: black;
	color: white;
	cursor: pointer;
}

.newsletter .has-text-align-center:first-of-type {
	margin-bottom: -12px;
}

/**
 *  Header
 */

.default-header {
	text-align: center;
}

.default-header__featured-image--2x1 {
	max-width: 100%;
	width: 1000px;
	height: 500px;
	margin: 0 auto;
	display: flex;
}

.default-header__featured-image--2x1 img {
	object-fit: cover;
}

.default-header__title {
	font-weight: bold;
	margin-bottom: 24px;
}
.default-header + main {
	margin-top: 0 !important;
}
/**
 *  Footer
 */

.laboral-footer {
	position: relative;
}

.address-footer {
	position: absolute;
	top: 24px;
	right: 24px;
}

.menu-footer {
	font-size: .8em;
}

@media all and (min-width: 900px){
	.menu-footer {
		position: absolute;
		bottom: 24px;
		right: 24px;
	}
}

.menu-footer .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	text-align: right;
	margin-right: 0 !important;
} 
.menu-footer .wp-block-navigation__container {
	justify-content: flex-end;
}
.menu-footer img {
	max-height: 24px;
	width: auto;
}
.laboral-footer img {
	max-height: 60px;
	width: auto !important;
}
.laboral-footer .wp-block-column:first-of-type img {
	max-height: 90px;
}

.friendship a:link,
.friendship a:visited {
	color: var(--color-green)
}

@media all and (min-width: 900px){
	.lab-address {
		position: relative;
		top: -24px;
		left: 24px;
	}
}

.lab-address p {
	margin-bottom: 12px !important;
}

.newsletter-form {
	border: 4px solid;
	width: 1080px;
	max-width: 100%;
	padding: 72px 48px;
	margin: 72px auto 96px;
}

.newsletter-form__label {
	font-weight: 700;
	font-size: 3rem;
	text-align: center;
	margin-bottom: 24px;
}

.newsletter-form__content {
	font-size: 2rem;
	text-align: center;
}

@media all and (max-width: 900px){
	.newsletter-form {
		margin: 120px 24px 72px;
		width: calc(100% - 48px)
	}
}

.entry-content,
.post-excerpt,
.post-dates, {
	padding: 0 12px;
}

.wp-block-post-featured-image,
.wp-block-post-featured-image img {
	max-width: 100%;
}

.exhibition-block__item-terms {
	margin: 12px 0 !important;
}

.exhibition-block__item-term + .exhibition-block__item-term:before {
	content: " · "
}

#onit {
	position: fixed; 
	width: 100vw; 
	height: 100vh; 
	left: 0; 
	top: 0;
	z-index: -1;
}

.page-breadcrumb {
	margin-bottom: 24px;
	text-align: center;
}

.page-breadcrumb__link {
	color: var(--color-green);
	font-weight: bold;
}

.page-breadcrumb__link:before {
	content: "\2190";
	margin-right: 8px;
}

.wp-block-site-logo img {
	width: 240px;
}

@media all and (max-width: 900px){
	.wp-block-site-logo img {
		max-width: 50vw;
	}
}

.wp-block-search {
	margin: 144px 0 !important;
	width: 640px;
	max-width: 100%;
}

.wp-block-search__input {
	border: 1px solid #555;
	border-width: 0 0 2px 0;
	margin-right: 24px;
}

.wp-block-search__button {
	background-color: var(--color-green);
	color: white;
}

@media all and (max-width: 900px){
	.wp-block-search__inside-wrapper {
		max-width: 100%;
		display: block;
	}
	.wp-block-search input, 
	.wp-block-search button {
		display: block;
		width: calc(100vw - 24px);
		margin: 48px 0;
	} 
}

.post-template-wp-custom-template-actividades .wp-block-post-excerpt__excerpt {
	font-size: 1.2em;
}

.post-template-wp-custom-template-actividades .exhibition-block__item-dates {
	margin: 0 0 48px;
	font-size: 1.2em;
	font-weight: bold;
	color: var(--color-green);
}

.error404 h1 {
	font-weight: bold;
	text-align: center;
}
.error404 h1 + div {
	text-align: center;
	font-size: 1.2em;
	margin-top: 48px;
}

@media all and (max-width: 900px){
	.post-template-wp-custom-template-exposiciones .wp-block-post-excerpt__excerpt,
	.post-template-wp-custom-template-exposiciones .entry-content {
		padding: 0 12px;
	}
}

@media all and (max-width: 900px){
	body:not(.post-template-wp-custom-template-exposiciones) h1.wp-block-post-title {
		margin-top: 96px !important;
	}
	.post-template-wp-custom-template-exposiciones h1.wp-block-post-title {
		margin-top: -72px !important;
	}
	.post-template-wp-custom-template-exposiciones .wp-block-post-featured-image {
		margin: -120px 0;
	}
}

@media all and (max-width: 900px){
	.mc4wp-form-fields input,
	.mc4wp-form-fields button {
		display: block;
		margin: 48px auto 0 !important;
		width: 100%;
	}
}
.wp-site-blocks > header {
	position: sticky;
	left: 0;
	top: -36px;
	width: 100vw;
	background: white;
	z-index: 10000;
}

@media all and (max-width: 900px){
	.wp-site-blocks > header {
		height: 72px;
		top: 0;
	}
	.aux-header {
		position: absolute;
		right: 36px;
		background: transparent !important;
	}
}

canvas {
	position: absolute;
	top: 0px;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	pointer-events: none;
}

.page-parent main {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}

.body-with-placeholder {
	font-size: 1.3em;
	line-height: 1.4;
}

.no-translation {
	font-size: 1.3em;
	line-height: 1.4;
	margin-top: 48px;
}

.mc4wp-alert {
	text-align: center;
	margin-top: 48px;
	color: var(--color-green);
	font-size: 1.2em;
}

.cmplz-cookiebanner {
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 24px !important;
}

.cmplz-cookiebanner .cmplz-buttons {
	margin: 24px 0 !important;
}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
	border-radius: 0 !important;

}

.cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept {
	background-color: var(--color-green) !important;
}

.cmplz-cookiebanner .cmplz-title {
	font-weight: 700 !important;
}

.cmplz-cookiebanner a {
	font-weight: bold;
	color: black !important;
	opacity: .8;
	transition: opacity .3s ease;
}

.cmplz-cookiebanner a:hover {
	opacity: 1;
}

.onit-info {
	position: absolute;
	transform: rotate(-90deg);
	opacity: .5;
}

.page-id-40532 .entry-content,
.page-id-40610 .entry-content {
	max-width: 360px;
	font-size: .8em;
	position: absolute;
	right: 24px;
	top: 96px;
	z-index: 20000000000;
	padding: 0 48px;
	color: var(--color-green);
	text-align: right;
	background: rgba(255,255,255,.75);
}

.admin-bar.page-id-40532 .entry-content,
.admin-bar.page-id-40610 .entry-content {
	top: 128px;
}


.page-id-40532 .entry-content p,
.page-id-40610 .entry-content p {
	margin: 0 0 8px;
}

.onit-desc-close {
	font-size: 2em;
	font-weight: bold;
	float: right;
	padding: 0 0 6px 12px;
	cursor: pointer;
}

.page-id-40532 canvas:hover,
.page-id-40610 canvas:hover {
	cursor: crosshair;
}


@media all and (max-width: 900px){
	.page-id-40532 .entry-content,
	.page-id-40610 .entry-content {
		top: 48px;
	}
	canvas {
		top: 72px;
	}
}

.page-id-40532 h1,
.page-id-40610 h1,
.page-id-40532 .default-header__featured-image,
.page-id-40610 .default-header__featured-image {
	opacity: 0;
	pointer-events: none;
}

.page-id-40532 #laboral-newsletter,
.page-id-40610 #laboral-newsletter {
	margin-top: 90vh;
}

.onit-error {
	position: absolute;
	bottom: 12px;
	left: 12px;
    border: 2px solid orangered;
	padding: 12px;
	width: 240px;
	font-size: .8em;
}

@media all and (min-width: 900px){
	.exhibition-block__items--video {
		text-align: center;
	}
	.exhibition-block__items--video > * {
		display: inline-block;
		width: calc( 50% - 48px );
		padding: 24px;
	}
}