/*
Theme Name:   Twenty Twenty-Three × Pilates Art Madrid
Description:  Twenty Twenty-Three child theme for Pilates Art Madrid
Author:       Gonzalo Álvarez de Aldecoa
Author URI:   https://nexus5.com
Template:     twentytwentythree
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  twentytwentythreechild
*/

@font-face {
	font-family: "Commercial Script";
	font-style: normal;
	font-weight: normal;
	src: local("?"), url("fonts/commercial_script.woff") format("woff"), url("/fonts/commercial_script.ttf") format("truetype");
}
@font-face {
	font-family: "Andale Mono";
	font-style: normal;
	font-weight: normal;
	src: local("?"), url("fonts/andale_mono.woff") format("woff"), url("/fonts/andale_mono.ttf") format("truetype");
}
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: normal;
	src: local("?"), url("fonts/OpenSans-Regular.woff") format("woff"), url("/fonts/OpenSans-Regular.ttf") format("truetype");
}
@font-face {
	font-family: "Open Sans Bold";
	font-style: normal;
	font-weight: normal;
	src: local("?"), url("fonts/OpenSans-Bold.woff") format("woff"), url("/fonts/OpenSans-Bold.ttf") format("truetype");
}

html, body {
	background: #fff url(img/madera.jpg) repeat fixed 0 0;
	background-size: cover;
	font-family: "Open Sans", "Tahoma", "Adobe Caslon Pro", "Adobe Garamond Pro", "Garamond", "Times New Roman";
	color: #1a4752;
	font-size: 14px;
}

.wp-site-blocks {
	padding-top: 0;
}

.wp-site-blocks > header.wp-block-template-part {
	background: #fff;
	background-image: url(img/rama_a2.jpg), url(img/rama_b2.jpg);
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, 100% 0;
	background-size: auto 200%, auto 200%;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	border-bottom: 1px solid #f4f4f4;
}

.wp-site-blocks > header.wp-block-template-part > .wp-block-group {
	background: rgba(255, 255, 255, 0.8);
}

.wp-site-blocks > header.wp-block-template-part nav {
	text-transform: lowercase;
}

.wp-site-blocks > header.wp-block-template-part .current-menu-item a {
	border-bottom: 1px solid #1a4752;
}

.wp-site-blocks > header.wp-block-template-part .current-menu-item a:hover {
	text-decoration: none;
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
	background-image: url(img/rama_a2.jpg);
  background-repeat: no-repeat;
  background-position: 0 95%;
	background-size: auto 50%;
}

.wp-site-blocks main {
	margin-top: var(--wp--preset--spacing--80) !important;
}

.home main {
	max-width: 960px;
	margin: 0 auto;
}

.home main h1 {
	display: none;
}

figure.wp-block-gallery.carrusel {
	position: relative;
	width: 100%;
	max-width: 100%;
	height: 0;
	padding-bottom: 60%;
}

figure.wp-block-gallery.carrusel.has-nested-images.columns-default figure.wp-block-image:not(#individual-image) {
	position: absolute;
	z-index: 0;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: all 0.333s linear;	
}

figure.wp-block-gallery.carrusel.has-nested-images.columns-default 
figure.wp-block-image:not(#individual-image):first-child,
figure.wp-block-gallery.carrusel.has-nested-images.columns-default 
figure.wp-block-image.visible:not(#individual-image) {
	opacity: 1;
}

.carrusel-control, .carrusel-control li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.carrusel-control {
	display: block;
	text-align: center;
}

.carrusel-control li { display: inline-block; }

.carrusel-control li input { cursor: pointer; }

.wp-block-post-title { display: none; }

.bloque {
	background: #fff;
	padding: 5em 2em;
	border-radius: 10px;
	text-align: center;
}

.bloque .escrito {
	font-family: "Commercial Script";
}

.bloque .wp-block-heading:first-child::before, .bloque .wp-block-heading:first-child::after {
	content: "·";
	margin: 0.5em;
}

.bloque .wp-block-heading:first-child {
	text-transform: lowercase;	
}

footer .wp-block-column.has-base-background-color {
	border-radius: 15px;
}

iframe {
	max-width: 100% !important;
	height: auto;	
}

footer.wp-block-template-part .wp-block-image {
	margin-block-start: 0;
	margin-block-end: 1em;
}

.tarifas th, .tarifas td {
	font-size: 1.25em;
	vertical-align: top;
	border-bottom: 1px solid #ddd !important;
}

.privacy-policy .wp-block-post-title, .texto-legal .wp-block-post-title { 
	display: block; 
	background: #fff;
	margin: 0;
	padding: 0.5em;
	border-radius: 10px;
	text-align: center;
}

.privacy-policy .bloque, .bloque.texto-legal { text-align: left; }
.privacy-policy .bloque .escrito, .bloque.texto-legal .escrito { font-family: inherit; }
.privacy-policy .bloque .wp-block-heading, .bloque.texto-legal .wp-block-heading { 
	font-size: 1.25em; 
	font-weight: bold;
}
.privacy-policy .bloque .wp-block-heading:first-child::before, 
.privacy-policy .bloque .wp-block-heading:first-child::after,
.bloque.texto-legal .wp-block-heading:first-child::before, 
.bloque.texto-legal .wp-block-heading:first-child::after {
	display: none;
}
.privacy-policy .bloque .wp-block-heading:first-child,
.bloque.texto-legal .wp-block-heading:first-child
 { text-transform: none; }

@media screen and (min-width:730px) {
	.wp-site-blocks > header.wp-block-template-part > .wp-block-group {
		background: transparent;
	}
}