/*!
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 {
	color: #fff;
	background: #000;
	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-1);
	text-decoration: none;
}

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

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;
}

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;
}



/* 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;
	--content-narrowest: 700px;
	--margin-content-narrow: calc( (100% - 920px) / 2 );
	--margin-content-narrower: calc( (100% - 890px) / 2 );
    --wp--preset--spacing--20: 0.7rem;
    --wp--preset--spacing--30: 1.15rem;
    --wp--preset--spacing--40: 1.7rem;
    --wp--preset--spacing--50: 2.4rem;
    --wp--preset--spacing--60: 3.4rem;
    --wp--preset--spacing--70: 5.1rem;
	--wp--preset--spacing--80: 7rem;
}
}

@media screen and (max-width: 971px) {
:root {
    --wp--preset--spacing--20: 0.5rem;
    --wp--preset--spacing--30: 0.9rem;
    --wp--preset--spacing--40: 1.5rem;
    --wp--preset--spacing--50: 2.1rem;
    --wp--preset--spacing--60: 2.9rem;
    --wp--preset--spacing--70: 3.8rem;
	--wp--preset--spacing--80: 4.9rem;
    --wp--preset--font-size--extra-small: 10px;
}
}

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

@media screen and (min-width: 1400px) {
:root {
	--wp--style--global--wide-size: 1352px;
}	
}

@media screen and (min-width: 1341px) {
:root {
	--content-narrow: 1080px;
	--content-narrower: 952px;
	--content-narrowest: 770px;
}	
}

:root {
	--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;
}

/*
@media (min-width: 972px) and (max-width:1370px) {
	:root {
		--wp--preset--font-size--extra-small: 13px;
		--wp--preset--font-size--small: 16px;
		--wp--preset--font-size--normal: 18px;
    	--wp--preset--font-size--medium: 20px;
    	--wp--preset--font-size--large: 24px;
    	--wp--preset--font-size--x-large: 32px;
    	--wp--preset--font-size--xx-large: 46px;
    	--wp--preset--font-size--xxx-large: 55px;
	}
}
*/

@media (max-width: 972px) {
	:root {
		--wp--preset--font-size--extra-small: 11px;
		--wp--preset--font-size--small: 14px;
		--wp--preset--font-size--normal: 16px;
    	--wp--preset--font-size--medium: 19px;
    	--wp--preset--font-size--large: 23px;
        --wp--preset--font-size--x-large: 28px;
    	--wp--preset--font-size--xx-large: 34px;
	}
}

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



/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

h2.wp-block-heading, h3.wp-block-heading {
    color: var(--wp--preset--color--accent-1);
}

p.has-text-align-center.has-background {
    width: fit-content;
    text-transform: uppercase;
    padding: 0.35em 0.9em;
    font-weight: 700;
    letter-spacing: 0.5px;
}




/*--------------------------------------------------------------
# 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%;
}
}


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

[class*="is-style-content-narrow"] {
    margin-left: auto;
    margin-right: auto;
}

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





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

.site-header {
    background-color: var(--wp--preset--color--base);
}

@media screen and (min-width: 971px) {
.site-header-inner {
	display: grid;
	grid-template-columns: 239px 1fr;
    grid-template-areas: 'logo menu';
    margin: auto;
	align-items: center;
	width: var(--wp--style--global--content-size);
	padding: 18px 0;
}
.site-branding {
	grid-area: logo;
}
img.custom-logo {
    width: 203px;
	height: auto;
}
.main-navigation {
	grid-area: menu;
}
a.custom-logo-link {
    display: flex;
}
}

@media (min-width: 1150px) and (max-width:1400px) {

}

@media screen and (max-width: 971px) {
.site-header {
    margin-bottom: 0;
}
.site-header-inner {
	display: grid;
	grid-template-columns: 1fr 50px;
	grid-template-areas: 'logo menu';
	position: relative;
	margin: auto;
	padding: 20px 25px 20px;
    align-items: center;
}
button.menu-toggle {
	grid-area: menu;
	justify-self: end;
}
.site-branding {
	grid-area: logo;
	align-self: center;
}
img.custom-logo {
    width: 148px;
}
}


@media screen and (max-width: 971px) {
.site-header {
    
}
button.menu-toggle {
	line-height: 0;
	border: none;
    padding: 0;
    background-color: transparent;
}
a.custom-logo-link {
    
}
svg.mtoggle-opened {
    padding-right: 2px;
}
button.menu-toggle[aria-expanded="true"] .mtoggle-closed {
    display: none;
}
button.menu-toggle[aria-expanded="false"] .mtoggle-opened {
    display: none;
}
button.menu-toggle svg line, button.menu-toggle svg path {
    stroke: #000;
}
button.menu-toggle svg {
    width: 26px;
    height: 26px;
}
.main-whatsapp {
    display: none;
}
}



/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

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

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

@media screen and (min-width: 971px) {
.main-navigation {
    display: flex;
    flex-wrap: wrap;
	justify-content: flex-end;
}
.main-navigation ul.menu {
	display: flex;
    gap: 2.8em;
    height: 3em;
    align-items: center;
}
.main-navigation ul li {
    position: relative;
}
.main-navigation ul.nav-menu > li:not(.menu-item-destacado):after {
	position: absolute;
    content: '';
    width: 0;
    height: 3px;
    background-color: #fff;
    left: 0;
    bottom: -36px;
	transition: width 0.3s ease-in-out;
}
.main-navigation ul.nav-menu:not(.hovering-not-current) > li.current-menu-item:not(.menu-item-destacado):after {
    width: 100%;
}
.main-navigation ul.nav-menu > li:hover:after {
    width: 100%;
}
.main-navigation ul.menu li a {
    font-weight: 500;
    font-size: var(--wp--preset--font-size--small);
    text-transform: uppercase;
	letter-spacing: 0.5px;
}
.main-navigation ul.sub-menu {
    position: absolute;
    left: 0;
	z-index: 1;
}
.main-navigation ul.menu > li > ul.sub-menu {
    left: 0;
	padding-top: 2.5em;
    background-color: transparent;
}
.main-navigation ul ul ul.sub-menu {
	top: 0;
    left: 100%;
}
.menu-item-destacado a {
    color: var(--wp--preset--color--accent-1);
    background-color: var(--wp--preset--color--accent-3);
    padding: 0.5em 1.1em 0.55em;
    border-radius: 1.1em;
}
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: var(--wp--preset--color--gray-700);
	width: 290px;
    line-height: 1.2em;
    padding: 0 1em;
}
.main-navigation ul li li:first-child {
    padding-top: 0.5em;
	border-top: 5px solid var(--wp--preset--color--accent-1);
}
.main-navigation ul li li:last-child {
    padding-bottom: 0.5em;
}
.main-navigation ul li li a {
    color: var(--wp--preset--color--accent-1);
    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-1); */
}
}


@media screen and (min-width: 971px) {
.main-navigation ul li.login-menu-item {
    margin-left: 0.5em;
}
.main-navigation ul li.login-menu-item > a {
    color: #fff;
    background-color: var(--wp--preset--color--contrast);
	padding: 0.4em 2.5em 0.4em 1.5em;
    border-radius: 0.5em;
    background-image: url(assets/img/caret-down-white.png);
    background-repeat: no-repeat;
    background-position-x: calc(100% - 16px);
    background-position-y: 50%;
    background-size: 14px;
}
.main-navigation ul li.login-menu-item > a:after {
	display: none !important;
}
}




/*--------------------------------------------------------------
# Mobile menu
--------------------------------------------------------------*/

@media screen and (max-width: 971px) {
.main-navigation {
    position: absolute;
	width: 100%;
    z-index: 9999;
    top: 100%;
}
.main-navigation:not(.toggled) {
    display: none;
}
.main-navigation ul.menu {
	margin-top: -1px;
}
.main-navigation ul.sub-menu {
    display: none;
}
.main-navigation li.menu-item a {
	padding: 12px 14px;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8em;
    line-height: 1.2;
}
.main-navigation ul.menu > li.menu-item {
    background-color: var(--wp--preset--color--accent-1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.main-navigation ul.menu > li.menu-item:last-child {
    border-bottom: none;
}
.main-navigation ul.menu ul > li {
    background-color: var(--wp--preset--color--accent-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.main-navigation ul.menu ul > li:last-child {
    border-bottom: none;
}
.main-navigation ul.menu ul ul > li {
    background-color: #D10000;
}

.main-navigation li.sub-menu-open > ul.sub-menu {
    display: block;
    background-color: #A30000;
}

}




/*--------------------------------------------------------------
# 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 {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto;
}
}



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

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



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

.is-style-hero {
    padding: 0;
	min-height: 50vh;
}

.is-style-hero .wp-block-cover__inner-container > .wp-block-group.has-background {
    padding: 1em 0;
}

@media screen and (max-width: 971px) {
.is-style-hero .wp-block-cover__inner-container > .wp-block-group.has-background {
    padding: 25px;
}
.is-style-hero .wp-block-cover__inner-container > .wp-block-group.has-background p {
    line-height: 1.1;
}
}



/*--------------------------------------------------------------
# Grilla base
--------------------------------------------------------------*/

.grilla-base > * {
    color: inherit !important;
    border-radius: 1.2em;
    overflow: hidden;
	background-color: #fff;
    box-shadow: 0 0 8px 8px rgba(0, 0, 0, 0.08);
}

.grilla-base h5 {
    color: var(--wp--preset--color--accent-1);
	position: relative;
	font-size: var(--wp--preset--font-size--normal);
    font-weight: 400;
}

.grilla-base h5:before {
    position: absolute;
	content: '';
	height: 4.5em;
    width: 4.5em;
    border-radius: 3em;
    left: 0;
    top: -5.3em;
}

.grilla-base .has-nivel-inicial-color h5:before { background-color: var(--wp--preset--color--nivel-inicial); }
.grilla-base .has-nivel-primario-color h5:before { background-color: var(--wp--preset--color--nivel-primario); }
.grilla-base .has-nivel-secundario-color h5:before { background-color: var(--wp--preset--color--nivel-secundario); }
.grilla-base .has-nivel-superior-color h5:before { background-color: var(--wp--preset--color--nivel-superior); }

.grilla-base .has-nivel-inicial-color h5 strong { color: var(--wp--preset--color--nivel-inicial); }
.grilla-base .has-nivel-primario-color h5 strong { color: var(--wp--preset--color--nivel-primario); }
.grilla-base .has-nivel-secundario-color h5 strong { color: var(--wp--preset--color--nivel-secundario); }
.grilla-base .has-nivel-superior-color h5 strong { color: var(--wp--preset--color--nivel-superior); }

.grilla-base > * > figure {
    height: 300px;
	width: 100%;
	margin: 0;
}

.grilla-base > * > figure img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.grilla-base > * > div {
    margin: 0;
	padding: 3em 2.5em 2.5em;
}

.grilla-base > * > div p {
    font-weight: 200;
}


.grilla-base.gb-posts {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--50);
	max-width: var(--content-narrower);
}

@media screen and (min-width: 971px) {
.gb-post {
    width: calc(50% - var(--wp--preset--spacing--50));
}
.rightfree .gb-post {
    width: 100%;
}
}

@media screen and (max-width: 971px) {
.grilla-base > * > figure {
    height: 220px;
}
.grilla-base h5:before {
    height: 3.6em;
    width: 3.6em;
    top: -4.9em;
}
.grilla-base > * > div {
    padding: 3em 1.5em 2em;
}
}




/*--------------------------------------------------------------
# Grilla esp 12
--------------------------------------------------------------*/

.grilla-12 {
    column-gap: 0;
    row-gap: 3em;
	display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
}

.grilla-12 > * {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	padding: 1.5em 2em;
	border-left: 1px solid #ccc;
}

@media screen and (max-width: 971px) {
	.grilla-12 > * {
		width: 50%;
	}
}

@media screen and (min-width: 971px) {
	.grilla-12 > * {
		width: 25%;
	}
    .grilla-12red > * {
		width: 50%;
	}
	.grilla-12b > * {
		width: 50%;
		padding: 0 4em;
	}
}

.grilla-12 > *:nth-child(4n) {
	border-right: 1px solid #ccc;
}

.grilla-12red > *:nth-child(3n) {
	border-left: none;
}

.grilla-12b > *:first-child {
	border-left: none;
}

.grilla-12 figure {
    width: 6em;
    height: 6em;
	margin-bottom: 1em;
}

.grilla-12 h4 {
    text-transform: uppercase;
    color: var(--wp--preset--color--accent-1);
    font-weight: 700;
    line-height: 1.4;
	margin: 0 0 0.4em;
}

.grilla-12 p {
    font-weight: 200;
	font-size: 0.85em;
	margin: 0;
}

.grilla-12 .wp-block-buttons {
    flex: 1 0 auto;
    margin: 0;
    min-height: 80px;
    display: flex;
    align-items: flex-end;
	width: 100%;
}

.grilla-12 .wp-block-button {
    width: 100%;
}

.grilla-12 .wp-block-buttons a.wp-block-button__link.wp-element-button {
    padding: 0.5em 1.2em;
}


.grilla-12c > *:first-child {
	border-left: none;
}

.grilla-12c > *:last-child {
	border-right: none;
}

@media screen and (max-width: 971px) {
.grilla-12 {
    row-gap: 2em;
}
.grilla-12 > * {
    padding: 1em 1em;
}
.grilla-12 > *:nth-child(2n) {
    border-right: 1px solid #ccc;
}
.grilla-12c > * {
    width: 100%;
    border: none !important;
}
}



/*--------------------------------------------------------------
# Ascensor
--------------------------------------------------------------*/

@media screen and (min-width: 971px) {
.rightfree > * {
    padding-right: 348px !important;
}
.form-fijo-activo {
    position: fixed;
    top: 0;
    z-index: 1;
}
}



/*--------------------------------------------------------------
# Gallery plus
--------------------------------------------------------------*/

.gallery-plus {
    display: flex;
	align-items: center;
}

.gallery-plus > figure {
    margin: 0;
}

.gall-trigger {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.gall-trigger.gt-left {
    justify-content: flex-start;
}

.gall-trigger.gt-right {
    justify-content: flex-end;
}

.gall-trigger img {
    width: 14px;
    height: auto;
}

.gallery-plus .wp-block-gallery {
    width: calc(100% - 80px);
	gap: 10px !important;
}

.gallery-plus .wp-block-gallery.has-nested-images figure.wp-block-image {
	display: none;
}

@media screen and (min-width: 971px) {
.gallery-plus .wp-block-gallery.has-nested-images figure.wp-block-image:first-child, .gallery-plus .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(2) {
	display: flex;
	height: 535px;
}
}

@media screen and (max-width: 971px) {
.gall-trigger {
    width: 28px;
    height: 28px;
}
.gall-trigger img {
    width: 12px;
}
.gallery-plus .wp-block-gallery {
    width: calc(100% - 56px);
}
.gallery-plus .wp-block-gallery.has-nested-images figure.wp-block-image:first-child {
	display: flex;
	height: 260px;
}
}



/*--------------------------------------------------------------
# Carrera
--------------------------------------------------------------*/

.carrera-info {
    font-weight: 300;
}

.carrera-tit-val {
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.3em;
}

.carrera-info h2 {
    line-height: 1.1;
    max-width: 670px;
    margin: 0 0 0.3em;
}

.carrera-modalidad {
    background-color: #fff;
    padding: 1.6em 4em;
    border-radius: 1.2em;
    display: flex;
    gap: 5%;
    max-width: 860px;
    margin: 1.6em 0 1em;
}

.carrera-modalidad > *:first-child {
    display: flex;
    align-items: center;
    gap: 1.3em;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

.carrera-modalidad > *:first-child p {
    line-height: 1.2;
}

@media screen and (min-width: 971px) {
.carrera-modalidad > *:first-child {
    width: 30%;
}
.carrera-modalidad > *:last-child {
    width: 65%;
}
}

.carrera-modalidad figure {
    width: 3.2em;
    height: auto;
    margin: 0;
}

.carrera-modalidad ul {
    margin: 0;
}


@media screen and (max-width: 971px) {
.carrera-modalidad {
    margin: 25px !important;
    flex-direction: column;
    gap: 1.7em;
}
.carrera-info a.wp-block-button__link {
    padding: 0.6em 2em;
}
}



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

/*
.animated-element {
	opacity: 0;
	transform: translateX(100px);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.animated-element.is-visible {
	opacity: 1;
	transform: translateX(0);
}
*/


.animated-element > * {
	opacity: 0;
	transform: translateX(140px);
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

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




/*--------------------------------------------------------------
# Custom stuff
--------------------------------------------------------------*/

.is-style-img-1 {
    border-top-left-radius: 140px;
    overflow: hidden;
}

.contacto-nivel {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    margin: 0;
}

.contacto-nivel > * {
    gap: 1.6em;
	margin: 0;
}

.contacto-nivel figure {
    width: 1.8em;
    height: 1.8em;
    margin: 0;
}

.contacto-nivel figure a {
    display: flex;
}



.is-style-colored-bullets.has-text-color li {
    color: var(--wp--preset--color--contrast);
    line-height: 1.4;
    margin-bottom: 0.5em;
}

.is-style-colored-bullets.has-text-color li:last-child {
    margin-bottom: 0;
}

.is-style-colored-bullets.has-text-color li::marker {
    font-size: larger;
}

.is-style-colored-bullets.has-text-color.has-carrera-1-color li::marker { color: var(--wp--preset--color--carrera-1); }
.is-style-colored-bullets.has-text-color.has-carrera-2-color li::marker { color: var(--wp--preset--color--carrera-2); }
.is-style-colored-bullets.has-text-color.has-carrera-3-color li::marker { color: var(--wp--preset--color--carrera-3); }
.is-style-colored-bullets.has-text-color.has-carrera-4-color li::marker { color: var(--wp--preset--color--carrera-4); }



/*--------------------------------------------------------------
# Vectores deco
--------------------------------------------------------------*/

[class*="deco-"] {
    position: relative;
}

[class*="deco-"]:after {
    position: absolute;
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
	z-index: 9;
}

.deco-1:after {
    left: 26%;
    bottom: -2.1em;
    background-image: url(assets/img/vectors/vector-02.png);
    width: 4.5em;
    height: 3.1em;
}

.deco-2:after {
    right: -4.7em;
    bottom: 1em;
    background-image: url(assets/img/vectors/vector-03.png);
    width: 6em;
    height: 2.7em;
}

.deco-3:after {
    left: 6%;
    bottom: -5em;
    background-image: url(assets/img/vectors/vector-04.png);
    width: 9em;
    height: 8em;
    z-index: 9;
}

.deco-4:after {
    left: 80%;
    bottom: -1.4em;
    background-image: url(assets/img/vectors/vector-01.png);
    width: 5em;
    height: 5em;
}

@media screen and (max-width: 971px) {
.deco-3:after {
    bottom: -2em;
    width: 4.8em;
    height: 4em;
}
}


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

.footer-logo {
    width: 160px;
}

.redes-sociales {
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    margin: 0;
}

.redes-sociales > * {
    gap: 0.8em;
	margin: 0;
}

.redes-sociales figure {
    width: 1.5em;
    height: 1.5em;
    margin: 0;
}

.redes-sociales figure a {
    display: flex;
}


@media screen and (max-width: 971px) {
.site-footer > * {
    padding: 25px;
}
.wp-block-group.is-content-justification-space-between.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-0d6ab231.wp-block-group-is-layout-flex {
    display: flex;
    flex-direction: column;
    gap: 4em;
}
.footer-logo {
    display: flex;
    width: 100%;
    justify-content: center;
}
.footer-logo img {
    width: 160px;
}
}
