@font-face {font-family: 'Editorial-New';src: url('../fonts/PPEditorialNew-Thin.eot');src: url('../fonts/PPEditorialNew-Thin.eot?#iefix') format('embedded-opentype'),url('../fonts/PPEditorialNew-Thin.woff2') format('woff2'),url('../fonts/PPEditorialNew-Thin.woff') format('woff'),url('../fonts/PPEditorialNew-Thin.ttf') format('truetype');}


html {
	font-family: "DM Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-weight: 300;
	font-size: 15px;
}
body {
	background: #F5F2ED;
	transition: background-color 1s ease-in-out;
}
header nav.row {
	transition: background-color 1s ease-in-out;
}
.site-name {
	font-size: 21px;
	font-weight: 600;
	display: inline-block;
	position: fixed;
	transform: rotate(-90deg) translate(0, -130px);
	transform-origin: 220px 60px;
}
.site-logo {
	position: fixed;
	transform: scale(0.6);
	bottom: 40px;
	left: 70px;
}
.material-symbols-outlined {
	vertical-align: bottom;
	font-size: 40px;
	font-variation-settings:
	'FILL' 0,
	'wght' 200,
	'GRAD' 0, 
	'opsz' 48
}

.black {
	background-color: #1d1d1d !important;
}
.black-text {
	color: #1d1d1d !important;
}
.white-text {
	color: #F5F2ED !important;
}
a {
	all: unset;
	cursor: pointer;
}
/* Línea de cierre de cada sección: va de borde a borde de la ventana.
 * Se calcula desde la sección (dentro del .container y su borde de 1px):
 * 100vw incluía la barra de scroll y no descontaba el borde, y ensanchaba
 * la página (scroll horizontal). */
hr {
  width: calc(100% + 142px); /* 70px de margen + 1px de borde, a cada lado */
  position: absolute;
  left: -71px;
  border: 0;
  border-top: 1px solid black;
  margin: 0;
  bottom: 0;
}
h2 {
  font-family: "Editorial-New", serif;
  font-size: 3.7rem;
  font-weight: normal;
  margin: 1.7rem 0 1rem 0;
}
h3 {
	margin-top: 50px;
	font-size: 54px;
}
.flex {
	display: flex !important;
	flex-wrap: wrap;
}
.title h3 {
	margin-bottom: 10px;
	margin-top: 0;
}
p a {
	color: #000000 !important;
	text-decoration: underline;
}
.fullwidth {
	width: 100%;
	display: inline-block;
}
.slidenav .prev, .slidenav .next {
	cursor: pointer;
}
.material-symbols-outlined:hover {
	font-variation-settings:
	'FILL' 0,
	'wght' 400,
	'GRAD' 0,
	'opsz' 48
}
.socicon-instagram {
	line-height: 40px !important;
	height: auto !important;
	display: inline-block;
	margin: 0px 10px;
}
.socicon-whatsapp {
	line-height: 40px !important;
	height: auto !important;
	display: inline-block;
	margin: 0px 10px;
}
#biografia .section-title {
	border-bottom: 1px solid;
	position: absolute;
	width: 100%;
	left: 0;
	padding-left: 20px;
}
#biografia .section-text {
	padding: 120px 0;
}
#figurativas .section-text {
	border-left: 1px solid;
}

#figurativas .slide {
	margin-top: 20px;
}
#figurativas .slide .images-wrapper {
	display: flex;
	flex-wrap: nowrap;
	width: fit-content;
	padding: 30px;
}
#figurativas .item {
	width: 29vw;
	/* opacity: 1; */
	transform: scale(1);
	/* transition: opacity 0.4s; */
	/* transition: transform 1s, opacity 1s; */
}

#figurativas .slide div.hide {
	opacity: 0;
	transform: scale(0);
}
#figurativas .slide div.show {
  opacity: 1;
  transform: scale(1);
}
#figurativas .slide img {
	object-fit: cover;
}
#figurativas figure {
	/* width: 100%; */
	padding: 0 0.5rem;
	margin: 0;
}
#entrama {
	/* min-height: calc(95vh + 260px); */
}
#entrama .section-title {
	border-bottom: 1px solid;
	width: calc(100% + 60px);
	padding-left: 30px;
	margin-left: -30px;
}

#entrama .section-text {
	padding-top: 30px;
}
#entrama .collapsible {
	border-top: 1px solid black;
	border-right: none;
	border-left: none;
	box-shadow: none;
	width: calc(100% + 60px);
	margin-top: 0;
	margin-left: -20px;
}
#entrama .collapsible-header {
	background-color: transparent;
	border-bottom: 1px solid black;
	text-transform: uppercase;
}
#entrama h5 {
	font-weight: 300;
	display: inline-block;
}
#entrama .collapsible-body {
	border-bottom: 1px solid black;
	/* display: inline-block !important; */
}

#entrama img {
	max-height: 57vh;
}
/* Ninguna imagen del slider más ancha que su .swiper. */
#entrama .swiper-slide img {
	max-width: 100%;
	height: auto;
}
#entrama .collapsible-header h5 {
	letter-spacing: 4px;
}
.collapsible-header > .material-symbols-outlined {
	transition: transform 0.2s ease;
}

.active>.collapsible-header>.material-symbols-outlined {
	transform: rotate(180deg);
}
video.wp-video-shortcode, .mejs-container, .wp-video {
	width:100% !important;
	height: auto !important;
}
.container {
	width: calc(100% - 140px); /* 100% (no 100vw): sin contar la barra de scroll */
	margin: 0 auto;
	border-left: 1px solid black;
	border-right: 1px solid black;
	/* padding: 0 30px; */
	max-width: none;
}
.section {
	width: 100%;
	display: inline-block;
	min-height: 100vh;
	padding: 0 !important;
	position: relative;
}
/* El padding superior se da solo a las secciones que lo necesitan. */
#inicio {
	padding-top: 40px !important;
}
header {
	z-index: 999;
	position: relative;
}
.underline {
	text-decoration: underline;
}
.row {
	margin-bottom: 0;
}
/* Sin márgenes negativos (Materialize los pone en .container .row). */
.container .row {
	margin-left: 0;
	margin-right: 0;
}
.row .col {
	padding: 0 30px !important;
	margin-left: initial !important;
}
.categories {
	font-size: 11px;
}
.page-footer {
	padding: 0;
}
#proyectoMain {
	position: fixed;
	bottom: 0px;
	left: 0px;
	max-height: 90vh;
	border-radius: 15px 15px 0 0;
	overflow: hidden;
	height: auto;
	z-index: 999;
}
#proyectoMain .container {
	border: none;
}
#projectHolder {
	height: auto; 
	display: none;
}
#projectHolder iframe {
	height: 92vh;
	width: 100%;
}
#projectHeader {
	padding-top: 15px;
	height: 7vh;
	position: fixed;
	border-radius: 20px 20px 0 0;
}
#projectContent {
	padding-top: 7vh;
	height: 99vh;
	overflow: scroll;
}
#projectContent .swiper-wrapper {
	display: flex;
	flex-wrap: nowrap;
	width: fit-content;
	padding: 30px;
}
#projectContent img {
	max-height: 68vh;
}
#projectContent video {
	height: 92vh;
	width: 100%;
}
.noradio {
	border-radius: 0 !important;
}



#proyectos a:hover .card, .gallery-item a:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
	filter: alpha(opacity=90);
	-moz-opacity: 0.9;
	-khtml-opacity: 0.9;
	opacity: 0.9;
}
#proyectos a:hover .card-title {
	text-decoration: underline;
}
#proyectos a.miniatura {
	width: 100%;
	height: 100%;
	display: inline-block;
} 
.transition {
	transition: all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}


#index .cycle-slideshow {
	position: relative;
	height: calc(100vh - 170px);
	width: 100%;
	overflow: hidden;
}
#index .cycle-slideshow .cycle-item {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	mix-blend-mode: multiply;
}
img {
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
	border-radius: 10px;
	mix-blend-mode: luminosity;
}
img:hover, .swiper-slide-active img {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
	mix-blend-mode: unset;
	transition: filter 0.5s;
}
.swiper-pagination-fraction {
	line-height: 40px;
}

#index img {
	width: 100%;
	height: auto;
}

#index h4 {
	margin-left: 60px;
	line-height: 42px !important;
	margin-top: -60px;
	
}
img {
	max-width: 100%;
}
.miniatura img:hover {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
} 
nav {
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	line-height: 18px !important;
	border-bottom: 1px solid black;
	height: 43px;
	position: fixed;
	background: #F5F2ED;
}
.nav-wrapper {
	display: flex;
}
nav a {
	line-height: 40px !important;
	color: black !important;
	font-size: 12px !important;
}
nav a::after {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 1px;
	background: #fff;
	content: '';
	opacity: 0;
	-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
	-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
	transition: height 0.3s, opacity 0.3s, transform 0.3s;
	-webkit-transform: translateY(-10px);
	-moz-transform: translateY(-10px);
	transform: translateY(-10px);
}
.side-nav li > a {
	font-size: 12px;
	color: #F5F2ED !important;
	padding: 0 10px;
	text-transform: uppercase;
	
}
.side-nav {
	width: 150px !important;
}
#sidenav-overlay {
	background-color:transparent;
}

.card {
  box-shadow: 0 0 0 0 !important;
  background: transparent !important;
}
.card-image {
  width: 100%;
  height: auto;
  mix-blend-mode: luminosity;
  background-size: cover;
  background-position: 50% 50%;
  padding-top: 100%;
  border-radius: 10px;
}
.card-title {
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 10px;
  line-height: 17px;
}
.item-proyecto {
	margin-bottom: 60px
}
.item-proyecto img {
	mix-blend-mode: multiply;
}
#page-nosotros p, page-contacto p {
	font-size: 18px;
	left: 50px;
	position: relative;
	width: 110%;
}
#page-contacto p {
	left: 0;
	width: 90%;
}
#page-nosotros .txt {
	z-index: 99999;
	position: relative;
}
#page-proyectos h5 {
	margin: 0px 0 40px 0;
}

.title {
	margin-bottom: 30px;
}
.ficha {
	margin-bottom: 80px;
}
.ficha p:first-child {
	margin-top: 0;
}
#single-proyecto h5, #page-contacto h5 {
	line-height: 135%;
}
/* Título de Proyectos: su columna (l3) es más angosta que la palabra; el
 * tamaño se ajusta al ancho de la columna para que no cruce el borde ni
 * ensanche la página (máximo el tamaño normal de h2). */
#proyectos .section-title {
	container-type: inline-size;
}
#proyectos .section-title h2 {
	font-size: min(3.7rem, 19cqi);
}
/* Mi taller (tablet): #taller y su fila son .flex; sin esto no se pueden
 * encoger bajo el ancho del slider (min-width:auto de flex) y la página
 * se ensanchaba. */
#taller > .row,
#taller > .row > .col {
	min-width: 0;
}
#single-proyecto, #proyectos, #page {
	padding-top: 100px;
}
a.hovericon {
	margin-right: 20px;
}
.gallery-item, #works .col {
	margin-bottom: 40px;
}

.lightbox .lb-image, .lb-outerContainer {
	border: 0;
	border-radius: 0;
}
.lb-data .lb-details {
	width: 100%;
}
.lb-data .lb-number {
	float: right;
	text-align: right;
}
.lb-data .lb-close, .lb-nav a.lb-prev, .lb-nav a.lb-next {
	background: none;
	color: white;
	opacity: 1;
}
.lb-nav a.lb-prev:before, .lb-nav a.lb-next:before {
	font-family: "Material Icons";
	position: relative;
	top: 50%;
}
.lb-nav a.lb-prev:before {
	content: '\e314';
	float: left;
	text-align: left;
	margin-left: -30px;
}
.lb-nav a.lb-next:before {
	content: '\e315';
	float: right;
	text-align: right;
	margin-right: -30px;
}
.lb-data .lb-close:before {
	content: '\e14c';
	font-family: "Material Icons";
}

.lightboxOverlay {
	background-color: #697690 !important;
}
.lb-data, .lb-data .lb-number, .lb-data .lb-close, .lb-nav a.lb-prev, .lb-nav a.lb-next {
	color: #fcddd4 !important;
}
.upper {
	text-transform: uppercase;
	letter-spacing: 2px;
}
#index-banner {
	margin-top: 36px;
	height: 480px;
	padding-top: 0;    
}
.carousel.carousel-slider {
	height: 380px !important;
}
#index-banner .container {
	width: 60%;
}
.bajada {
	font-size: 21px;
}
.carousel.carousel-slider .carousel-item, .carousel-item .container {
	height: auto;
}

.carousel.carousel-slider .carousel-item img {
	width: 100%;
	height: auto;
}

#home-news .container, #home-specialties {
	padding: 60px 0;
}
#home-news h5 {
	font-size: 20px;
}
#home-news {
	padding: 0;
}
.equipo {
	margin-bottom: 100px;
}
.equipo:nth-child(even) {
	float: right;
}
.equipo:nth-child(odd) {
	float: left;
}
.equipo img {
	-webkit-filter: grayscale(1);
	filter: grayscale(1);
}
.equipo img:hover {
	-webkit-filter: grayscale(0);
	filter: grayscale(0);
}
.txt-area {
	min-height: 120px !important;
}
a.mail {
	text-decoration: underline !important;
}
#single-exhibition .cycle-slideshow img, #single-exhibition .cycle-slideshow .cycle-item {
	height: 100%;
}
#single-exhibition .cycle-slideshow .cycle-item {
	text-align: center;
	width: 100%;
}
#single-exhibition .cycle-slideshow {
	height: calc(100vh - 200px);
}
#single-exhibition .controls {
	display: inline-flex;
	vertical-align: middle;
}
#single-exhibition .controls .cycle-prev, #single-exhibition .controls .cycle-next {
	cursor: pointer;
}
#custom-caption {
	font-size: 12px;
	line-height: 26px;
}
label.black-text {
	font-size: 15px !important;
}
input:not([type]), input[type=text], input[type=password], input[type=email], input[type=url], input[type=time], input[type=date], input[type=datetime], input[type=datetime-local], input[type=tel], input[type=number], input[type=search], textarea.materialize-textarea {
	border: 1px solid #697690;
	height: auto;
	padding: 5px 5px 3px;
}
input:not([type]):focus:not([readonly]), input[type=text]:focus:not([readonly]), input[type=password]:focus:not([readonly]), input[type=email]:focus:not([readonly]), input[type=url]:focus:not([readonly]), input[type=time]:focus:not([readonly]), input[type=date]:focus:not([readonly]), input[type=datetime]:focus:not([readonly]), input[type=datetime-local]:focus:not([readonly]), input[type=tel]:focus:not([readonly]), input[type=number]:focus:not([readonly]), input[type=search]:focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
	border-bottom: 1px solid #697690;
	box-shadow: 0 1px 0 0 #697690;
}
input.wpcf7-submit {
	box-shadow: none;
	border-radius: 0;
	text-transform: lowercase;
	height: 30px;
	padding: 0 18px !important;
}
textarea {
	height: 180px !important;
}
	
	
@media only screen and (max-width: 480px) {
	.row .col {
		padding: 0 20px !important;
	}
	.site-name {
		transform: rotate(-90deg) translate(0, -160px);
	}
	.site-logo {
		left: -30px;
		bottom: -20px;
	}
	.container {
		width: calc(100% - 60px);
	}
	hr {
		width: calc(100% + 62px); /* 30px de margen + 1px de borde, a cada lado */
		left: -31px;
	}
	/* Sin padding lateral: el espacio lo dan las columnas (.row .col). */
	.section {
		padding: 40px 0 0 0 !important;
	}
	/* Columnas apiladas: su borde lateral quedaría pegado al del .container
	 * (se vería una línea doble), así que en móvil se quita. */
	#biografia .ae-bio-content,
	#entrama > .row > .col.l5,
	#figurativas .section-text,
	#taller > .row > .col.l5 {
		border-left: 0 !important;
		border-right: 0 !important;
	}
	/* URLs largas (Instagram) se cortan en vez de ensanchar la página. */
	#contacto a {
		overflow-wrap: anywhere;
	}
	.flex {
		align-content: flex-start;
	}
	h2 {
		font-size: 2.6rem;
	}
	#biografia .section-text {
		padding: 100px 0 40px 0;
	}
	#entrama .section-title {
		position: relative;
	}
	#entrama .section-text {
		padding-top: unset;
	}
	#entrama .collapsible {
		width: calc(100% + 40px);
	}
	#taller .row {
		width: 100%;
	}
	#projectContent .swiper-wrapper {
		width: auto;
		padding: unset;
		padding-bottom: 100px;
	}
	#projectContent img {
		max-width: 75vw !important;
	}
	#projectContent figure {
		max-width: 75vw !important;
		margin: 1em auto;
	}
	#index img, #index h4 {
		margin: 0;
	}
	#page-nosotros p, #page-contacto p {
		left: auto;
		width: 100%;
	}
	#page-nosotros img {
		margin-top: 50px;
	}
	.carousel.carousel-slider .carousel-item {
		display: inline-block;
	}
	.carousel.carousel-slider {
		height: 280px !important;
	}
	#single-proyecto .ficha {
		padding-top: 0;
	}
	iframe {
		width: 100%;
	}
}
@media only screen and (max-width: 812px) and (orientation: landscape) {
	#index .cycle-slideshow, #single-exhibition .cycle-slideshow {
		height: 100vh;
	}
}

@media only screen and (min-width: 482px) and (max-width: 1024px) and (orientation: portrait) {
	#index .cycle-slideshow, #single-exhibition .cycle-slideshow {
		height: 50vh;
	}
}


@media only screen and (max-width: 900px) {
	#nav-mobile {
		color: white;
	}
	nav.white-text a, #nav-mobile.white-text a  {
		color: white !important;
	}
	
}
