/*!
Theme Name: Market3
Theme URI: http://underscores.me/
Author: Fernando Hoogstra
Author URI: https://www.market3.net
Description: Market3 Woo Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: market3
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Market3 is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: 700;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn, cite, em, i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #222;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
    background-color: var(--wp--preset--color--base);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--wp--preset--color--accent);
	text-decoration: none;
}

/*
a:visited, a:hover, a:focus, a:active {
	color: var(--wp--preset--color--accent);
}
*/

a:hover, a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	color: #fff;
    border: none;
    background-color: var(--wp--preset--color--contrast);
    cursor: pointer;
	width: fit-content;
	padding: 0.5em 1.2em;
    border-radius: 0.3em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	border: 1px solid #ddd;
    padding: 0.7em 1em;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}


/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}



/*--------------------------------------------------------------
# Root/Body
--------------------------------------------------------------*/

@media screen and (min-width: 971px) {
:root {
	--content-narrow: 860px;
	--content-narrower: 810px;
	--margin-content-narrow: calc( (100% - 920px) / 2 );
	--margin-content-narrower: calc( (100% - 890px) / 2 );
    --wp--preset--spacing--20: 0.6rem;
    --wp--preset--spacing--30: 1.3rem;
    --wp--preset--spacing--40: 1.9rem;
    --wp--preset--spacing--50: 2.6rem;
    --wp--preset--spacing--60: 3.8rem;
    --wp--preset--spacing--70: 6.1rem;
	--wp--preset--spacing--80: 7.7rem;

    --wp--preset--font-size--small: 16px;
    --wp--preset--font-size--normal: 19px;
    --wp--preset--font-size--medium: 22px;
    --wp--preset--font-size--large: 27px;
    --wp--preset--font-size--x-large: 34px;
    --wp--preset--font-size--xx-large: 42px;
    --wp--preset--font-size--xxx-large: 73px;
}
}

@media screen and (max-width: 971px) {
:root {
    --wp--preset--spacing--20: 0.5rem;
    --wp--preset--spacing--30: 0.85rem;
    --wp--preset--spacing--40: 1.5rem;
    --wp--preset--spacing--50: 2.1rem;
    --wp--preset--spacing--60: 2.7rem;
    --wp--preset--spacing--70: 3.5rem;
	--wp--preset--spacing--80: 4.5rem;
    --wp--preset--font-size--extra-small: 8px;
    --wp--preset--font-size--small: 11px;
    --wp--preset--font-size--normal: 14px;
    --wp--preset--font-size--medium: 16px;
    --wp--preset--font-size--large: 20px;
    --wp--preset--font-size--x-large: 24px;
    --wp--preset--font-size--xx-large: 29px;
    --wp--preset--font-size--xxx-large: 58px;
}
}

@media (min-width: 972px) and (max-width:1300px) {
:root {
	--wp--style--global--wide-size: calc(100% - 90px);
	--wp--style--global--content-size: calc(100% - 90px);
}	
}

:root {
    --accent-filter: invert(17%) sepia(96%) saturate(3649%) hue-rotate(350deg) brightness(89%) contrast(99%);
	--margin-content: calc( (100vw - var(--wp--style--global--content-size)) / 2 );
	--margin-wide: calc( (100vw - var(--wp--style--global--wide-size)) / 2 );
	--margin-diff: calc( (var(--wp--style--global--wide-size) - var(--wp--style--global--content-size)) / 2 );
}

:root :where(p:last-child) {
    margin-bottom: 0;
}

body {
	line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
	line-height: 1.3;
    text-transform: uppercase;
}

h2.wp-block-heading {
    text-align: center;
    color: var(--wp--preset--color--accent);
    font-weight: 700;
    letter-spacing: 8%;
    line-height: 1.15;
    margin: 0 0 1.9em 0;
    position: relative;
}

h2.wp-block-heading strong {
    font-weight: 800;
    font-style: italic;
    display: block;
}

h2.wp-block-heading:after {
    position: absolute;
    content: '';
    width: 300px;
    height: 2px;
    bottom: -0.55em;
    left: calc(50% - 150px);
    background-color: var(--wp--preset--color--accent);
    clip-path: polygon(3px 0, 100% 0, 297px 100%, 0 100%);
}

h2.wp-block-heading.estandar {
    color: inherit;
}

h2.wp-block-heading.estandar:after {
    display: none;
}

p.is-style-destacado-1 {
    text-align: center;
    font-weight: 500;
    letter-spacing: 8%;
    line-height: 1.3;
    max-width: 560px;
}

p.is-style-destacado-1.has-medium-font-size {
    letter-spacing: 5%;
    max-width: 630px;
}

@media screen and (min-width: 971px) {
p.has-text-align-center {
    max-width: 800px;
}
h2.wp-block-heading {
    font-size: 2.7em;
}
}

.is-style-custom-grid-1 {
    gap: 0.8em;
}

.is-style-custom-grid-1 > * {
    position: relative;
}

.is-style-custom-grid-1 > *:not(:last-child):after {
    position: absolute;
    content: '';
    width: 2px;
    height: 100%;
    background-color: currentColor;
    top: 0;
    right: -0.4em;
    opacity: 0.6;
}

.wp-container-core-group-is-layout-cbd36532.is-style-custom-grid-1 > *:not(:last-child):after {
    right: -1em;
}



/*--------------------------------------------------------------
# Container
--------------------------------------------------------------*/

.site-header > *, .site-content, .site-footer > * {
    padding: 0;
    margin-inline: auto;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.site-content {
	max-width: var(--wp--style--global--content-size);
}

.wide-page .site-content {
	max-width: var(--wp--style--global--wide-size);
}

.estrechado {
    margin-left: var(--margin-diff);
	margin-right: var(--margin-diff);
}

.site-content {
    padding-bottom: 80px;
}

.market3-padding-bottom-zero .site-content {
    padding-bottom: 0;
}

@media screen and (max-width: 971px) {
.site-footer > * {
	max-width: var(--wp--style--global--wide-size);
}
.site-content {
    padding-bottom: 20px;
}
.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100%;
}
}

@media (min-width: 972px) and (max-width:1500px) {
.page-id-19 .site-content {
    max-width: 90%;
}
}

@media screen and (min-width: 1501px) {
.page-id-19 .site-content {
    max-width: 1450px;
}
}

.button, .wp-block-button__link {
    text-decoration: none;
}

.is-style-btn-large .wp-block-button__link  {
    border-radius: 0.5em;
    padding-top: 0.74em;
    padding-right: 2em;
    padding-bottom: 0.73em;
    padding-left: 2em;
}

/*
@media screen and (min-width: 1420px) {
.site-header > *, .site-footer > * {
	max-width: 90%;
}	
}
*/


.is-style-content-narrow, .is-style-content-narrower {
    margin-left: auto;
    margin-right: auto;
}

.is-style-content-narrow {
	max-width: var(--content-narrow);
}

.is-style-content-narrower {
	max-width: var(--content-narrower);
}


header.entry-header h1.entry-title {
    font-size: var(--wp--preset--font-size--xx-large);
}



/*--------------------------------------------------------------
# Image color filters
--------------------------------------------------------------*/

img.img-color-filter-accent, .img-color-filter-accent img {
    filter: var(--accent-filter);
}

img.img-color-filter-complementary, .img-color-filter-complementary img {
    filter: var(--complementary-filter);
}

img.img-color-filter-white, .img-color-filter-white img {
    filter: invert(1);
}



/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header a {
    color: inherit;
}

a.custom-logo-link {
    display: block;
    line-height: 0;
}


.site-header {
    margin-bottom: 0;
}

.site-header-inner {
	display: grid;
	grid-template-columns: 1fr 50px;
	grid-template-areas: 'logo toggle';
	position: relative;
	margin: auto;
	padding: 25px 0;
    align-items: center;
    /* max-width: var(--wp--style--global--content-size); */
    max-width: calc(100% - 90px);
}

button.menu-toggle-special {
	grid-area: toggle;
	justify-self: end;
}

.site-branding {
	grid-area: logo;
	align-self: center;
    display: flex;
    gap: 1.6em;
    align-items: center;
}

img.custom-logo {
    height: 42px;
    width: auto;
}

/*
body.home img.custom-logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 76px;
    width: auto;
}
    */

.site-branding h1 {
    margin: 0;
    line-height: 1;
    font-size: var(--wp--preset--font-size--large);
    font-style: italic;
}


button.menu-toggle-special {
	line-height: 0;
	border: none;
    padding: 0;
    background-color: transparent;
    z-index: 2;
}

button.menu-toggle-special img {
    width: auto;
    height: 16px;
}

button.menu-toggle-special.mm-collapsed .mm-icon-close {
    display: none;
}

button.menu-toggle-special:not(.mm-collapsed) .mm-icon-open {
    display: none;
}

@media screen and (min-width: 971px) {
button.menu-toggle-special {
    display: none;
}
}

.mhb {
    display: flex;
    flex-direction: column;
    gap: 2px;
    /* max-width: var(--wp--style--global--content-size); */
    margin-left: auto;
    margin-right: auto;
}

.mhb-first {
    background-color: var(--wp--preset--color--contrast);
    width: calc(100% - 100px);
    height: 3px;
    margin-left: 100px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 4px 100%);
}

.mhb-last {
    background-color: var(--wp--preset--color--accent);
    width: calc(100% - 80px);
    height: 3px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 4px) 100%, 0 99%);
}


@media screen and (max-width: 971px) {
.site-header-inner {
    padding: 15px 25px;
}
img.custom-logo {
    height: auto;
    width: 35px;
}
body.home img.custom-logo {
    height: 48px;
}
.site-branding {
    gap: 1em;
}
.site-branding h1 {
    font-size: 12px;
    font-style: italic;
    letter-spacing: 1px;
    font-weight: 800;
}
.mhb-first {
    width: calc(100% - 60px);
    height: 2px;
    margin-left: 60px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 3px 100%);
}
.mhb-last {
    background-color: var(--wp--preset--color--accent);
    width: calc(100% - 40px);
    height: 2px;
    clip-path: polygon(0 0, 100% 0, calc(100% - 3px) 100%, 0 99%);
}

}



/*--------------------------------------------------------------
# Menu - Desktop
--------------------------------------------------------------*/

a.custom-logo-link {
    display: flex;
}

.main-navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.main-navigation {
    display: flex;
    flex-wrap: wrap;
	justify-content: flex-end;
}

.main-navigation ul.menu {
	display: flex;
    gap: 3.2em;
    height: 3em;
    align-items: center;
}

@media screen and (max-width: 1300px) {
.main-navigation ul.menu {
    gap: 1.2em;
}
}

@media (min-width: 1301px) and (max-width:1400px) {
.main-navigation ul.menu {
    gap: 1.5em;
}
}

@media (min-width: 1401px) and (max-width:1450px) {
.main-navigation ul.menu {
    gap: 2em;
}
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul.menu > li:after {
	position: absolute;
    content: '';
    width: 0;
    height: 4px;
    background-color: var(--wp--preset--color--accent);
    left: 0;
    bottom: -12px;
	transition: width 0.3s ease-in-out;
    clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 99%);
}

.main-navigation ul.menu > li:hover:after, .main-navigation ul.menu > li.current-menu-item:after {
    width: 100%;
}

.main-navigation ul.menu > li > a {
    color: inherit;
	letter-spacing: 1px;
    font-family: "Exo 2", sans-serif;
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 18px;
}

.main-navigation ul.sub-menu {
    position: absolute;
    left: 0;
	z-index: 1;
}

.main-navigation ul.menu > li > ul.sub-menu {
    left: 0;
    background-color: transparent;
    z-index: 2;
}

.main-navigation ul ul ul.sub-menu {
	top: 0;
    left: 100%;
}

li.menu-item > ul.sub-menu {
	display: none;
}

li li.menu-item.active-menu-item {
	background-color: var(--wp--preset--color--base);
}

li.menu-item.active-menu-item > ul.sub-menu {
	display: block;
}

.main-navigation ul li li {
    background-color: #f9f9f9;
	width: 290px;
    line-height: 1.2em;
    padding: 0 1em;
}

.main-navigation ul li li:first-child {
    padding-top: 1.1em;
}

.main-navigation ul li li:last-child {
    padding-bottom: 0.5em;
}

.main-navigation ul li li a {
    color: var(--wp--preset--color--accent);
    width: 100%;
    display: block;
    padding: 0.7em 0;
}

.main-navigation ul li li:not(:last-child) a {
    border-bottom: 1px solid var(--wp--preset--color--accent-032);
}



/*--------------------------------------------------------------
# Menu - Mobile
--------------------------------------------------------------*/

#main-menu {
    background-color: #000;
    position: absolute;
    top: 0;
    right: 0;
    padding: 4em;
    width: 700px;
    height: 100vh !important;
    transition: all 0.35s ease-in-out;
    z-index: 1;
}

#main-menu.mm-closed {
    width: 0;
    right: -250px;
}

ul#primary-menu-mobile {
    list-style-type: none;
    margin: 2.3em 0 3.8em;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    font-size: var(--wp--preset--font-size--medium);
}

ul#primary-menu-mobile li a {
    color: var(--wp--preset--color--contrast);
}

ul#primary-menu-mobile li.current-menu-item a {
    color: var(--wp--preset--color--accent);
}

#main-menu ul.wp-block-market3-redes {
    gap: 1.8em;
}

#main-menu ul.wp-block-market3-redes li {
    width: 3.3em !important;
    height: 3.3em !important;
    background-color: var(--wp--preset--color--accent);
    border-radius: 3.3em;
    padding: 0.8em;
}

#main-menu {
    padding: 3em;
    width: 85%;
}

img.menu-logo {
    width: 97px;
}

@media screen and (min-width: 971px) {
#main-menu {
    display: none;
}
}



/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/

[class*="is-style-hero"] {
    height: calc(100vh - 109px);
    padding: 3em 2em 1em;
}

.admin-bar [class*="is-style-hero"] {
    height: calc(100vh - 141px);
}

.is-style-hero {
    padding-top: 3.7em;
}

[class*="is-style-hero"] .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

[class*="is-style-hero"] .wp-block-cover__inner-container > .wp-block-group {
    margin: 0;
}

.is-style-hero-home .wp-block-cover__inner-container > .wp-block-group:first-child figure {
    width: 300px;
    height: auto;
}

[class*="is-style-hero"] p.has-medium-font-size {
    margin: 0 0 3em;
    letter-spacing: 5%;
    font-weight: 500;
    max-width: 440px;
}

@media screen and (min-width: 971px) {
[class*="is-style-hero"] {
    border-bottom-right-radius: 400px;
}
}

@media screen and (max-width: 971px) {
[class*="is-style-hero"] {
    height: calc(100vh - 108px);
    padding: 3em 2em 1em;
}
.is-style-hero-home .wp-block-cover__inner-container > .wp-block-group:first-child figure {
    width: 130px;
}
}



/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/

.animated-element > * {
	opacity: 0;
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animated-element > *:nth-child(1), .animated-element > *:nth-child(3) {
	transform: translateX(700px);
}

.animated-element > *:nth-child(2), .animated-element > *:nth-child(4) {
	transform: translateX(-700px);
}

.animated-element.is-visible > * {
	opacity: 1;
	transform: translateX(0);
}



.fx-uprise > * {
    transform: translateY(600px);
    transition: all 0.7s ease-out;
}

.fx-uprise.is-visible > * {
    transform: translateY(0);
}


.fx-secuencial > * {
	opacity: 0;
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fx-secuencial > *:nth-child(1), .fx-secuencial > *:nth-child(3) {
	transform: translateX(700px);
}

.fx-secuencial > *:nth-child(2), .fx-secuencial > *:nth-child(4) {
	transform: translateX(-700px);
}

.fx-secuencial.is-visible > * {
	opacity: 1;
	transform: translateX(0);
}




/*--------------------------------------------------------------
# Redline varios
--------------------------------------------------------------*/

[class*="is-style-sep-redline"] {
    height: 3px;
    clip-path: polygon(0 0, calc(100% - 4px) 0, 100% 100%, 4px 100%);
}

.is-style-sep-redline-s {
    width: 3.34rem;
}

.is-style-sep-redline-m {
    width: 11rem;
}

.is-style-sep-redline-l {
    width: 18.8rem;
}

@media screen and (max-width: 971px) {
[class*="is-style-sep-redline"] {
    height: 2px;
    /* clip-path: polygon(0 0, calc(100% - 3px) 0, 100% 100%, 3px 100%); */
    clip-path: polygon(3px 0, 100% 0, calc(100% - 3px) 100%, 0 100%);
}
}

[class*="is-style-btn-redline"] a.wp-block-button__link.wp-element-button {
    background-image: url(assets/img/btn-1.png);
    background-repeat: no-repeat;
    background-color: transparent;
    border-radius: 0;
    background-size: contain;
    width: 320px;
    height: 74px;
    padding: 0 4.4em;
    line-height: 1.1;
    font-weight: 700;
    font-family: "Exo 2", sans-serif;
    text-transform: uppercase;
    font-style: italic;
    font-size: 20px;
    letter-spacing: 8%;
}

.wp-block-button.is-style-btn-redline-2 a.wp-block-button__link.wp-element-button {
    background-image: url(assets/img/btn-2.png);
    width: 373px;
}

.wp-block-button.is-style-btn-redline-3 a.wp-block-button__link.wp-element-button {
    background-image: url(assets/img/btn-3.png);
    width: 386px;
}

.wp-block-button.is-style-btn-redline-4 a.wp-block-button__link.wp-element-button {
    background-image: url(assets/img/btn-4.png);
    width: 448px;
}

@media screen and (max-width: 971px) {
[class*="is-style-btn-redline"] a.wp-block-button__link.wp-element-button {
    width: 205px;
    height: 47px;
    font-size: 13px;
}
.wp-block-button.is-style-btn-redline-2 a.wp-block-button__link.wp-element-button {
    width: 239px;
}
.wp-block-button.is-style-btn-redline-3 a.wp-block-button__link.wp-element-button {
    width: 248px;
}
.wp-block-button.is-style-btn-redline-4 a.wp-block-button__link.wp-element-button {
    width: 287px;
}
}


.grilla-x {
    margin-top: 2.7em;
    gap: 1em;
    text-align: center;
}

.grilla-x .wp-block-column p:first-of-type {
    margin-bottom: 0.3em;
}

.grilla-x em {
    font-family: "Exo 2", sans-serif;
    letter-spacing: 9%;
}

.grilla-x figure {
    display: flex;
    width: 100%;
    height: 5.5rem;
    margin-bottom: 1rem;
    align-content: center;
    justify-content: center;
}

.grilla-x figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 4rem;
}

@media screen and (min-width: 971px) {
.grilla-x {
    max-width: 660px;
}
.grilla-x figure {
    height: 200px;
}
.grilla-x figure img {
    max-width: 130px;
}
}

[class*="custom24"] {
    border: 3px solid var(--wp--preset--color--accent);
    width: fit-content;
    padding: 0.4em 2.3em 0.5em;
    border-top-left-radius: 1em;
    border-bottom-right-radius: 1em;
    transform: skewX(-20deg);
}

[class*="custom24"] > * {
    transform: skewX(20deg);
}

[class*="custom24"] > * strong {
    display: block;
    font-weight: 800;
    font-style: italic;
}

.wp-block-group.animated-element.is-visible .custom245 {
    transform: skewX(-20deg) !important;
}

.custom245 {
    width: 13em;
    border: 1px solid;
    padding: 0.4em 1em 0.45em;
    margin: 3em auto;
}

.wp-block-group.animated-element.is-visible .custom245 {
    transform: skewX(-40deg) !important;
}

.custom245 * {
    line-height: 1.1;
    transform: skewX(40deg);
    font-style: italic;
    font-size: 0.9rem;
}


@media screen and (min-width: 971px) {
.home figure.wp-block-image.alignfull.size-full.has-custom-border {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}
.double-checkered, .double-checkered .wp-block-group {
    background-size: 6rem !important;
}
}


@media screen and (min-width: 971px) {
#senti-la-diferencia .wp-block-columns p.has-text-align-center.has-exo-2-font-family {
    font-size: 1.4em;
    line-height: 1.2;
}
}



/*--------------------------------------------------------------
# Membership
--------------------------------------------------------------*/

#membership-selector-container {
    display: flex;
    align-items: center;
    max-width: 416px;
}

.mmb-nav {
    width: 14px;
    height: 13px;
    margin: 0;
    display: flex;
}

.mmb-nav.mmb-nav-right {
    justify-content: flex-end;
}

.mmb-nav img {
    height: 13px;
    width: auto;
    margin: 0;
    cursor: pointer;
}

#membership-selector {
    display: flex;
    align-items: center;
    margin: 0;
    width: calc(100% - 28px);
}

#membership-selector figure {
    margin: 0;
}

#membership-selector figure {
    margin: 0;
    flex-basis: 32%;
    cursor: pointer;
}

#membership-selector figure:nth-child(2) {
    flex-basis: 42%;
    margin: 0 -2%;
    z-index: 1;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.25);
}

#membership-content > *:not(.selected-badge-content) {
    display: none;
}

#membership-content > * {
    text-align: center;
    letter-spacing: 8%;
}

.lista-centrada p {
    letter-spacing: 5%;
    max-width: 90%;
}


@media screen and (min-width: 971px) {
.mmb-nav img {
    height: 24px;
}
.mmb-nav {
    width: 36px;
    height: 24px;
}
#membership-selector figure img {
    width: 100%;
}
#membership-selector-container {
    max-width: 690px;
}
}



/*--------------------------------------------------------------
# Mobile horizontal padding - VERSION FINAL - AWESOME !!!
--------------------------------------------------------------*/

@media screen and (max-width: 971px) {
.entry-content > *:not(.alignfull) {
    margin-left: 25px;
    margin-right: 25px;
}
.entry-content > *.alignfull:not(.wp-block-cover).is-layout-constrained > * {
    padding-left: 25px;
    padding-right: 25px;
}
aside.widget-area {
    padding: 25px;
    margin-top: 2.5em;
}
}



/*--------------------------------------------------------------
# Align wide and full
--------------------------------------------------------------*/

@media screen and (min-width: 971px) {
.alignwide {
    margin-left: calc(-1*(var(--wp--style--global--wide-size) - var(--wp--style--global--content-size)) / 2);
    margin-right: calc((100% - var(--wp--style--global--wide-size)) / 2);
    max-width: var(--wp--style--global--wide-size);
    width: auto;
}
.alignfull {
    max-width: 100vw;
    width: auto;
}
.alignfull.is-style-hero, .alignfull.is-style-hero-home {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
}
}

@media screen and (max-width: 971px) {
.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto;
}
}




/*--------------------------------------------------------------
# Mobile styles
--------------------------------------------------------------*/

@media screen and (max-width: 971px) {
.wp-block-cover.is-style-hero h1.wp-block-heading.has-xxxx-large-font-size {
    font-size: var(--wp--preset--font-size--xxx-large) !important;
}
section#contact {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
section#contact .wp-block-columns {
    padding: 4em 2em !important;
    gap: 3.5em;
}



}







/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.footer-logo {
    width: 136px;
    height: auto;
    margin: 0;
}

.site-footer h2.wp-block-heading {
    font-weight: 800;
    letter-spacing: 8%;
    position: relative;
    margin-bottom: 1.5em;
}

.site-footer h2.wp-block-heading:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 9rem;
    background-color: var(--wp--preset--color--gray-200);
    left: calc(50% - 4.5rem);
    bottom: -0.6rem;
}

.site-footer .is-style-sep-redline-m {
    margin-top: 1em;
    margin-bottom: 1.5em;
    width: 9rem;
}

@media screen and (max-width: 971px) {
.footer-logo {
    width: 109px;
}
.site-footer h2.wp-block-heading {
    font-size: 19px;
}

.site-footer p {
    font-size: 11px;
}

}


.footer-horarios {
    width: 16.2rem;
    margin: 0;
    gap: 0;
}

.footer-horarios > * {
    width: 100%;
    column-gap: 7%;
}

.footer-horarios > *:not(:last-child) {
    margin-bottom: 0.8em;
    padding-bottom: 0.8em;
    border-bottom: 2px solid var(--wp--preset--color--gray-200);
}

.footer-horarios p {
    width: 46.5%;
}

.footer-horarios > * p:first-child {
    font-weight: 700;
}


.m3newsletter {
    background-color: var(--wp--preset--color--base);
    padding: 2rem 1.2rem;
    width: 16.2rem;
    margin: 0 auto;
}



@media screen and (min-width: 971px) {
div#contacto {
    padding-top: 7em !important;
}
.site-footer h2.wp-block-heading {
    font-weight: 800;
    letter-spacing: 8%;
    position: relative;
    margin-bottom: 1.5em;
    font-size: 2.2em;
    padding-bottom: 0;
    border: none;
}
.footer-inner {
    display: grid !important;
	grid-template-columns: 1fr 3fr 3fr;
	grid-template-areas: 'logo ubicacion seguinos' 'logo horarios newsletter';
    align-items: start !important;
    column-gap: 6em !important;
    row-gap: 6em !important;
    justify-items: center;
    max-width: 90% !important;
}
.footer-logo { grid-area: logo; }
.footer-ubicacion { grid-area: ubicacion; }
.footer-seguinos { grid-area: seguinos; }
.footer-horarios { grid-area: horarios; }
.footer-newsletter { grid-area: newsletter; }   
.footer-logo {
    width: 266px;
    margin-bottom: 2em !important;
}
.footer-horarios {
    width: 360px;
}
form.m3contacts.m3newsletter.m3form {
    width: 360px;
}
ul.wp-block-market3-redes li {
    border-radius: 2.5em;
    padding: 0.56rem;
    width: 2.5rem !important;
    height: 2.5rem !important;
}
}