/*!
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);
	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;
}

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
--------------------------------------------------------------*/

.imgfilter-accent img {
    filter: invert(53%) sepia(72%) saturate(5644%) hue-rotate(5deg) brightness(98%) contrast(101%);
}

.imgfilter-gray-400 img {
    filter: invert(37%) sepia(9%) saturate(566%) hue-rotate(176deg) brightness(97%) contrast(88%);
}

.imgfilter-gray-500 img {
    filter: invert(64%) sepia(8%) saturate(380%) hue-rotate(176deg) brightness(88%) contrast(91%);
}



/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/

#topbar {
	color: var(--wp--preset--color--gray-400);
    background-color: var(--wp--preset--color--gray-100);
	padding: 0.35em 0;
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    gap: 2em;
	margin: 0 auto;
}

@media screen and (min-width: 971px) {
.topbar-inner {
	width: var(--wp--style--global--content-size);
}
}

ul[class*="topbar-menu"] {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    gap: 2em;
    font-size: var(--wp--preset--font-size--extra-small);
}

ul[class*="topbar-menu"] li {
    display: flex;
    align-items: center;
    gap: 0.4em;
	line-height: 1.15;
}

ul[class*="topbar-menu"] li a {
    display: flex;
    color: var(--wp--preset--color--gray-400);
}

ul[class*="topbar-menu"] img {
	height: 14px;
	width: auto;
}

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

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

form.woocommerce-product-search {
    display: flex;
	background-color: transparent;
	border: 2px solid var(--wp--preset--color--gray-300);
	flex-direction: row-reverse;
	width: 250px;
}

form.woocommerce-product-search button {
    width: 45px;
    display: flex;
    padding: 0;
    border-radius: 0;
	justify-content: center;
}

form.woocommerce-product-search button svg {
    width: 18px;
    height: auto;
}

form.woocommerce-product-search button svg path {
	fill: var(--wp--preset--color--gray-300);
}

form.woocommerce-product-search input[type="search"] {
	width: 205px;
    background-color: transparent;
    border: none;
    outline: none;
    font-size: 0.8em;
    padding: 0.66em 0.5em 0.66em 0.2em;
	color: var(--wp--preset--color--gray-500);
}

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

}

@media screen and (max-width: 971px) {
#topbar {
    padding: 12px 25px;
}
.topbar-inner {
    justify-content: space-between;
}
.site-header {
    margin-bottom: 0;
}
.site-header-inner {
	display: grid;
	grid-template-columns: 1fr 40px 22px;
	grid-template-areas: 'logo search-btn menu-btn' 'search search search';
	position: relative;
	margin: auto;
	padding: 20px 25px 20px;
    align-items: center;
}
button.search-toggle {
	grid-area: search-btn;
}
button.menu-toggle {
	grid-area: menu-btn;
}
.site-header-inner button svg {
    fill: #fff;
}
.site-header-inner button svg line {
    stroke: #fff;
}
.site-branding {
	grid-area: logo;
	align-self: center;
}
img.custom-logo {
    width: 85px;
}
.site-search {
    grid-area: search;
    display: none;
}
.site-search.search-visible {
    display: block;
}
form.woocommerce-product-search {
    width: 100%;
    margin-top: 8px;
}
form.woocommerce-product-search input[type="search"] {
    width: 100%;
    padding: 0.7em 0.9em;
}
form.woocommerce-product-search button {
    display: none;
}
}


@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 {
    display: flex;
}
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: #fff;
}
button.menu-toggle svg {
    width: 22px;
    height: 22px;
}
button.search-toggle {
    padding: 0;
    display: flex;
}
.main-whatsapp {
    display: none;
}
}



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

@media screen and (min-width: 971px) {
button.search-toggle {
    display: none;
}
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.2em;
    height: 59px;
    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: 800;
    font-size: var(--wp--preset--font-size--extra-small);
    text-transform: uppercase;
    color: var(--wp--preset--color--gray-900);
}
.main-navigation ul.sub-menu {
    position: absolute;
    left: 0;
	z-index: 1;
}
.main-navigation ul.menu > li > ul.sub-menu {
    left: 0;
	padding-top: 1.26em;
    background-color: transparent;
}
.main-navigation ul ul ul.sub-menu {
	top: 0;
    left: 100%;
}
.menu-item-destacado a {
    color: var(--wp--preset--color--gray-900);
    background-color: var(--wp--preset--color--accent);
    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--gray-200);
}
li.menu-item.active-menu-item > ul.sub-menu {
	display: block;
}
.main-navigation ul li li {
    background-color: var(--wp--preset--color--gray-100);
	width: 290px;
    line-height: 1.07em;
    padding: 0 1em;
}
.main-navigation ul li li:first-child {
    padding-top: 0.3em;
	border-top: 5px solid var(--wp--preset--color--accent);
}
.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); */
}
}


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

.main-navigation ul > li.menu-item-has-children {
    background-image: url(assets/img/icons/icon-arrow-down-900.png);
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 14px;
    background-size: 14px;
    padding-right: 1.3em;
}
}


@media screen and (min-width: 971px) {
li#menu-item-30 a {
    color: var(--wp--preset--color--accent);
}
}



/*--------------------------------------------------------------
# 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);
    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;
}
aside.widget-area {
    padding: 18px;
    margin-top: 2.5em;
}
}



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

.is-style-hero {
    padding-top: 3em;
    padding-bottom: 3em;
	min-height: 300px;
}

.is-style-hero p {
    line-height: 1.3;
}

.is-style-hero p.has-medium-font-size {
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

.is-style-hero p.has-xx-large-font-size {
    line-height: 1.1;
    margin: 0.25em 0;
    text-transform: uppercase;
    font-weight: 900;
}

.is-style-hero .wp-block-buttons {
    margin-block-start: 1.6em;
}



/*--------------------------------------------------------------
# Slider
--------------------------------------------------------------*/

.m3slides .is-style-hero {
    padding-bottom: 108px;
}

.arrows-sides .sldir {
    top: unset;
    bottom: 30px;
	height: 20px;
    width: 12px;
    display: flex;
}

.arrows-sides .sldir.back {
    left: 0;
}

.arrows-sides .sldir.forward {
    right: 0;
}

.arrows-sides .sldir img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.m3bullets {
    margin: 8px 0;
    gap: 12px;
    bottom: 30px;
}

.m3bullets > div {
    width: 72px;
    height: 4px;
    border-radius: 0;
    background-color: rgba(244, 245, 247, 0.3);
}

@media screen and (min-width: 971px) {
.home .m3slides .is-style-hero {
    height: 460px;
}
}

@media screen and (max-width: 971px) {
.home .m3slides .is-style-hero {
    height: 410px;
}
}



/*--------------------------------------------------------------
# Oficio card
--------------------------------------------------------------*/

.is-style-oficio {
    height: 250px;
    min-height: 250px;
    padding: 20px;
}

.is-style-oficio .wp-block-cover__inner-container {
    height: 210px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.is-style-oficio span.wp-block-cover__background.has-background-dim {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.is-style-oficio .wp-block-cover__image-background {
    filter: grayscale(1);
	transition: all 0.25s ease-in-out;
}

.is-style-oficio:hover .wp-block-cover__image-background {
    filter: grayscale(0);
}

.is-style-oficio p {
    width: 100%;
    margin: 0;
}

.is-style-oficio p.has-large-font-size {
    text-transform: uppercase;
    font-weight: 900;
	line-height: 1.1;
}

.is-style-oficio p.has-small-font-size {
    text-transform: uppercase;
    font-weight: 800;
}

.is-style-oficio p.has-small-font-size a {
    color: var(--wp--preset--color--accent);
    background-image: url(assets/img/icons/icon-arrow-right-accent.png);
    background-repeat: no-repeat;
    background-size: 0.65em;
    background-position-x: 100%;
	background-position-y: 0.1em;
    padding-right: 1.3em;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.link-cierre > * {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.link-cierre figure {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.link-cierre p {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 900;
	text-transform: uppercase;
	line-height: 1.1;
	margin: 0;
}


@media screen and (max-width: 971px) {
.is-style-oficio {
    height: 100px;
    min-height: 100px;
    padding: 15px 18px 10px;
}
.is-style-oficio .wp-block-cover__inner-container {
    height: 75px;
}
.is-style-oficio p.has-small-font-size {
    font-size: 0.8em !important;
}
}



/*--------------------------------------------------------------
# Ajustes Home
--------------------------------------------------------------*/

@media screen and (min-width: 971px) {
.grid-122 {
    display: grid;
	grid-template-columns: 1fr 400px;
	grid-template-areas: 'contenido titulo' 'contenido cta';
    column-gap: 2em;
    align-items: center;
    margin-top: 0;
}
.grid-122 h2 {
    grid-area: titulo;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.grid-122 .grupo-imprescindibles {
    grid-area: contenido;
    margin: 0;
}
.grid-122 .wp-block-buttons {
    grid-area: cta;
    display: flex;
    height: 100%;
    align-items: flex-start;
}

}


@media screen and (max-width: 971px) {
.home .sldir {
    display: none !important;
}
.wp-custom-css-b019306f {
    background-color: #E6E8EB;
    background-image: none !important;
}
.wp-custom-css-b019306f .wp-block-columns {
    gap: var(--wp--preset--spacing--30);
}

}



/*--------------------------------------------------------------
# Hero genérico
--------------------------------------------------------------*/

.is-style-top-banner {
    min-height: 300px;
    padding: 2em 5.3em;
}

.is-style-top-banner h1 {
    margin: 0 0 0.5em;
    max-width: 570px;
    line-height: 1.1;
}

.is-style-top-banner p {
    line-height: 1.3;
    max-width: 760px;
}

@media screen and (max-width: 971px) {
.is-style-top-banner {
    min-height: 280px;
    padding: 2em 25px;
}
}




/*--------------------------------------------------------------
# POS
--------------------------------------------------------------*/

@media screen and (min-width: 971px) {
.buscador-pos {
    display: grid;
    grid-template-columns: 242px 242px 1fr;
    grid-template-areas: 'botonera botonera show' 'filtros lista resultados';
    gap: 20px;
}
.buscador-pos.filtro-tipo-online {
    grid-template-areas: 'botonera botonera show' 'filtros lista lista';
}
.bp-toggle-filtro {
    display: none;
}
.bp-botonera {
    grid-area: botonera;
    display: flex;
    gap: 0.8em;
}
.bp-show {
    grid-area: show;
}
.buscador-pos .filtros {
    grid-area: filtros;
    height: fit-content;
}
.buscador-pos .grilla-pos {
    grid-area: lista;
}
.bp-resultados {
    grid-area: resultados;
}
.buscador-pos.filtro-tipo-online .bp-resultados {
    display: none;
}
}

.grilla-pos {
    display: flex;
    gap: 12px;
}

@media screen and (min-width: 971px) {
.filtro-tipo-locales .grilla-pos {
    flex-direction: column;
}
}

.bp-botonera a {
    display: flex;
    align-items: center;
    gap: 0.47em;
    padding: 0.36em 0.65em;
    border: 2px solid;
}

.bp-botonera a {
    color: var(--wp--preset--color--gray-400);
    background-color: var(--wp--preset--color--gray-800);
    border-color: var(--wp--preset--color--gray-700);
}

.bp-botonera a.btn-activo {
    color: inherit;
    background-color: #F05A000D;
    border-color: var(--wp--preset--color--accent);
    cursor: auto;
}

.bp-botonera figure {
    width: 22px;
    height: 22px;
    margin: 0;
    display: flex;
}

.bp-botonera span {
    font-size: var(--wp--preset--font-size--small);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
}

.pos-card {
    background-color: var(--wp--preset--color--gray-800);
    width: 242px;
    padding: 12px 14px;
    height: fit-content;
}

.buscador-pos.filtro-tipo-online .grilla-pos .pos-card {
    width: calc((100% - 20px) / 3);
    height: 96px;
}

.pos-categ {
    display: flex;
    font-size: 12px;
    line-height: 1.3;
    gap: 5px;
    text-transform: uppercase;
    color: var(--wp--preset--color--gray-500);
    align-items: center;
}

.pos-categ figure {
    width: 14px;
    height: 14px;
    margin: 0;
}

.pos-categ figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pos-card h4 {
    font-size: var(--wp--preset--font-size--small);
    margin: 0.5em 0;
    line-height: 1.2;
}

.pos-localidad {
    font-size: var(--wp--preset--font-size--extra-small);
    line-height: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pos-localidad span:last-child {
    color: var(--wp--preset--color--accent);
    font-weight: 700;
    width: 70px;
    font-size: 12px;
    text-align: right;
}

.pos-phone {
    display: flex;
    line-height: 1.3;
    gap: 7px;
    color: var(--wp--preset--color--accent);
    font-size: 12px;
    font-weight: 500;
    align-items: center;
    text-decoration: underline;
    margin: 0.8em 0 1em;
}

.pos-phone figure {
    width: 14px;
    height: 14px;
    margin: 0;
}

.pos-phone figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pos-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.como-llegar {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    color: #fff;
    background-color: var(--wp--preset--color--accent);
    line-height: 1;
    padding: 0.46em 0.8em;
}

a.cta-wsp {
    width: 28px;
    height: 28px;
    display: flex;
}

@media screen and (max-width: 971px) {
.grilla-pos {
    gap: 10px;
    flex-wrap: wrap;
    margin: 25px 0;
}
.pos-card {
    width: calc(50% - 5px);
    padding: 10px;
}
.pos-categ {
    font-size: 10px;
}
.buscador-pos.filtro-tipo-online .grilla-pos .pos-card {
    width: 100%;
}
.buscador-pos.filtro-tipo-online .grilla-pos .pos-card .pos-phone {
    margin-bottom: 0;
}
.bp-toggle-filtro {
    display: none;
}
.bp-botonera {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    justify-content: space-between;
}
.bp-botonera a {
    width: 100%;
}
.bp-botonera span {
    font-size: 13px;
}
.bp-botonera figure {
    width: 18px;
    height: 18px;
}
}



/*--------------------------------------------------------------
# Filtros sidebar
--------------------------------------------------------------*/

.filtros {
    border: 2px solid var(--wp--preset--color--accent);
    padding-bottom: 0.5em;
}

.filtros > * {
    margin: 0.8em 1em;
}

.filtros > h3 {
    color: #fff;
    background-color: var(--wp--preset--color--accent);
    font-size: var(--wp--preset--font-size--small);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    background-image: url(assets/img/icons/icon-sliders-horizontal.png);
    background-repeat: no-repeat;
    background-size: 1.15em;
    background-position: 1.2em 50%;
    padding: 0.8em 1em 0.78em 3.1em;
}

.fs-grupo {
    border-bottom: 1px solid #D1D5DB;
    padding-bottom: 1em;
    margin-top: 1em;
}

.fs-grupo:last-child {
    border: none;
    padding-bottom: 0;
}

.fs-grupo > h4 {
    font-size: var(--wp--preset--font-size--small);
    margin: 0;
    font-weight: 700;
    background-image: url(assets/img/icons/icon-arrow-up-contrast.png);
    background-repeat: no-repeat;
    background-size: 0.85em;
    background-position: 100% 50%;
    cursor: pointer;
    text-transform: uppercase;
}

.fs-grupo.open h4 {
    background-image: url(assets/img/icons/icon-arrow-down-contrast.png);
}

.fs-grupo.no-toggle h4 {
    background-image: none;
}

p.teaser {
    color: var(--wp--preset--color--gray-500);
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.3;
    margin: 0;
}

.fs-grupo:not(.open) .fs-filtro {
    display: none;
}

.fs-grupo.no-toggle .fs-filtro {
    display: flex;
}

.fs-filtro {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-top: 0.3em;
    margin-bottom: 0;
}

.fs-filtro * {
    font-size: var(--wp--preset--font-size--extra-small);
    line-height: 1.3;
    margin: 0;
}

.fs-filtro ul {
    margin: 0.3em 0;
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}

.fs-filtro > li a {
    color: var(--wp--preset--color--gray-400);
    text-transform: uppercase;
}

a.uplink {
    font-size: var(--wp--preset--font-size--extra-small);
    line-height: 1.3;
    margin: 0;
    text-transform: uppercase;
}

.fs-checks > li a:before {
    border-color: var(--wp--preset--color--gray-400);
}

ul.filtro-subcat {
    list-style-type: none;
    margin: 0.5em 0 0 0.6em;
    padding: 0;
}

ul.filtro-subcat li a:hover {
    color: var(--wp--preset--color--accent);
}




/*--------------------------------------------------------------
# Breadcrumb
--------------------------------------------------------------*/

nav.special-breadcrumb {
    display: flex;
	font-size: 13px;
	color: var(--wp--preset--color--gray-500);
	font-weight: 700;
	padding: 1.7em 0;
    text-transform: uppercase;
    line-height: 1.2;
    flex-wrap: wrap;
    row-gap: 0.5em;
}

nav.special-breadcrumb a {
    font-weight: 400;
}

nav.special-breadcrumb span.sep {
    width: 2.4em;
    display: flex;
    justify-content: center;
	align-items: center;
}

nav.special-breadcrumb span.sep svg {
    width: auto;
    height: 0.6em;
    fill: var(--wp--preset--color--gray-500);
}

@media screen and (max-width: 971px) {
    nav.special-breadcrumb {
    font-size: 10px;
}
nav.special-breadcrumb span.sep {
    width: 1.8em;
}
}



/*--------------------------------------------------------------
# Sidebar layout
--------------------------------------------------------------*/

@media screen and (min-width: 971px) {
.site-content.left-sidebar {
    display: flex;
    flex-direction: row-reverse;
	gap: 20px;
}
.site-content.left-sidebar .widget-area {
	width: 295px;
}
.site-content.left-sidebar .site-main {
	width: 925px;
}
}

@media screen and (max-width: 971px) {
nav.special-breadcrumb {
    padding: 16px 25px;
}
.woocommerce.archive .site-content {
    padding-left: 25px;
    padding-right: 25px;
}
.site-content.left-sidebar {
	display: flex;
    flex-direction: column-reverse;
	gap: 0;
    position: relative;
}
.site-content.left-sidebar aside.widget-area {
    padding: 0;
    margin: 48px 0;
    display: none;
}
.site-content.left-sidebar.filtros-visibles aside.widget-area {
    display: block;
}
}




/*--------------------------------------------------------------
# Boxes
--------------------------------------------------------------*/

.boxes-1 > * {
    border: 2px solid var(--wp--preset--color--gray-700);
    color: var(--wp--preset--color--gray-400);
    background-color: var(--wp--preset--color--gray-900);
    padding: 1.9em 1.75em;
    transition: all 0.25s ease-in-out;
    margin: 0;
}

.boxes-1 > *:hover {
    border-color: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--contrast);
    background-color: #F05A000D;
}

.boxes-1 > * > figure {
    width: 42px;
    height: 42px;
}

.boxes-1 > * > figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(64%) sepia(8%) saturate(380%) hue-rotate(176deg) brightness(88%) contrast(91%);
    transition: all 0.25s ease-in-out;
}

.boxes-1 > *:hover > figure img {
    filter: invert(53%) sepia(72%) saturate(5644%) hue-rotate(5deg) brightness(98%) contrast(101%);
}

.boxes-1 > * > h3 {
    font-size: var(--wp--preset--font-size--medium);
    text-transform: uppercase;
    font-weight: 900;
    line-height: 1.15;
    margin: 0.6em 0;
}

.boxes-1 > * p {
    line-height: 1.4;
}

.boxes-1 > * a {
    text-transform: uppercase;
    color: var(--wp--preset--color--gray-500);
    line-height: 1;
    padding: 0 1.45em 0 0;
    background-image: url(assets/img/icons/icon-arrow-right-500.png);
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 0.08em;
    background-size: 0.6em;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 800;
}

.boxes-1 > *:hover a {
    color: var(--wp--preset--color--accent);
    background-image: url(assets/img/icons/icon-arrow-right-accent.png);
}



.boxes-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

@media screen and (min-width: 971px) {
.boxes-flex > * {
    width: calc((100% - 40px) / 3);
}
}


@media screen and (max-width: 971px) {
.boxes-flex {
    gap: 10px;
}
.boxes-flex > * {
    width: calc(50% - 5px);
}
}



.boxes-slnt > * {
    border-bottom-right-radius: 40px;
    corner-bottom-right-shape: bevel;
}

@media screen and (max-width: 971px) {
.boxes-slnt > * {
    border-bottom-right-radius: 24px;
}
}



.boxes-1x {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.boxes-1x > * {
    border: none;
    border-top-right-radius: 40px;
    corner-top-right-shape: bevel;
    margin: 0;
    padding: 1.7em 1.5em 1.4em;
}

.boxes-1x > *:hover {
    color: #fff;
    background-color: var(--wp--preset--color--accent);
}

@media screen and (min-width: 971px) {
.boxes-1x > * {
    width: calc((100% - 40px) / 3);
}
}

.boxes-1x p.has-xx-large-font-size {
    margin: 0;
    line-height: 1;
    font-weight: 900;
    color: var(--wp--preset--color--accent);
}

.boxes-1.boxes-1x h3 {
    font-size: var(--wp--preset--font-size--normal);
    color: var(--wp--preset--color--contrast);
    font-weight: 900;
}

.boxes-1x p:last-child {
    font-size: var(--wp--preset--font-size--small);
    opacity: 0;
}

.boxes-1x > *:hover p.has-xx-large-font-size {
    color: #fff;
}

.boxes-1x > *:hover p:last-child {
    opacity: 1;
}

.boxes-1x > *:hover h3 {
    color: #fff;
}



@media screen and (max-width: 971px) {
.boxes-1x {
    gap: 10px;
}
.boxes-1x > * {
    width: calc(50% - 5px);
    padding: 1.4em 1em;
    border-top-right-radius: 24px;
}
}


.boxes-1z > * {
    border-bottom-right-radius: 40px;
    corner-bottom-right-shape: bevel;
}

.boxes-1z p.has-xx-large-font-size {
    margin: 0 0 0.15em;
    line-height: 1;
    font-weight: 900;
}

.boxes-1z > *:hover p.has-xx-large-font-size {
    color: var(--wp--preset--color--accent);
}


@media screen and (max-width: 971px) {
.boxes-1z > * {
    border-bottom-right-radius: 24px;
    padding: 1.4em 1em;
}
.boxes-1z p:not(.has-xx-large-font-size) {
    font-size: 12px;
}
}


/*--------------------------------------------------------------
# MT Desp
--------------------------------------------------------------*/

.mt-desp {
    background-color: var(--wp--preset--color--gray-900);
    border-bottom: 8px solid var(--wp--preset--color--accent);
    padding: 54px 0 54px 46px;
    width: calc(100% - 110px);
    position: relative;
    height: 100%;
}

.mt-desp .wp-block-media-text__content {
    padding-right: 1.5em !important;
    width: 320px;
}

@media screen and (max-width: 971px) {
.mt-desp.wp-block-media-text.is-stacked-on-mobile {
    grid-template-columns: unset !important;
}
.wp-block-media-text.mt-desp {
    width: 100%;
    padding: 0;
}
.wp-block-media-text.mt-desp .wp-block-media-text__content {
    padding: 1.7em;
}
.wp-block-media-text.mt-desp figure.wp-block-media-text__media {
    height: 400px;
}
.wp-block-media-text.mt-desp figure.wp-block-media-text__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
}




/*--------------------------------------------------------------
# Accordion
--------------------------------------------------------------*/

.wp-block-accordion.has-small-font-size * {
    font-size: var(--wp--preset--font-size--small);
}

.wp-block-accordion-item {
    border: 1px solid;
    margin: 0;
}

.wp-block-accordion-item:not(:first-child) {
    border-top: none;
}

.wp-block-accordion-heading__toggle {
    padding: 0.35em 0.5em 0.35em 0.9em;
}

.wp-block-accordion:hover span.wp-block-accordion-heading__toggle-title {
    text-decoration: none;
}

.wp-block-accordion-panel {
    margin: 0;
}

.wp-block-accordion-heading__toggle-icon {
    font-size: 2em !important;
    font-weight: 300;
    width: 0.97em;
    height: 0.97em;
    line-height: 1;
}

.wp-block-accordion-panel {
    padding: 0 1em 1em;
    font-weight: 300;
}




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




/*--------------------------------------------------------------
# Overlapped
--------------------------------------------------------------*/

.is-style-overlapped {
    position: relative;
}

@media screen and (min-width: 971px) {
.is-style-overlapped .wp-block-media-text__content {
    position: absolute;
    width: 590px;
	color: var(--wp--preset--color--gray-900);
    background-color: var(--wp--preset--color--contrast);
	display: flex;
    flex-direction: column;
    padding: 2em !important;
    justify-content: center;
    height: fit-content;
	z-index: 999;
}
.is-style-overlapped .wp-block-media-text__content h2 {
    font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.07;
}
.is-style-overlapped.has-media-on-the-right .wp-block-media-text__content {
	left: var(--margin-content);
}
.is-style-overlapped:not(.has-media-on-the-right) .wp-block-media-text__content {
	right: var(--margin-content);
}
.is-style-overlapped .wp-block-buttons {
    margin-top: 1.5em;
}
}

@media screen and (max-width: 971px) {
.is-style-overlapped figure.wp-block-media-text__media {
    position: absolute;
    height: 100%;
    top: 0;
    z-index: 1;
}
.is-style-overlapped figure.wp-block-media-text__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.is-style-overlapped .wp-block-media-text__content {
    z-index: 2;
    padding-top: 6em !important;
    color: #fff;
}
.is-style-overlapped:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000000;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 70%);
    z-index: 1;
}
.wp-container-core-group-is-layout-6981e490 img {
    width: 16px;
}
.is-style-overlapped .wp-block-buttons.is-layout-flex.wp-block-buttons-is-layout-flex {
    margin-top: 1.2em;
}
}



/* OVERLAPPED COLUMNS */

@media screen and (min-width: 971px) {
.is-style-overlapped-columns .wp-block-column:last-child {
    position: absolute;
    max-width: 550px;
    right: var(--margin-content);
}
}

@media screen and (max-width: 971px) {
.is-style-overlapped-columns {
    max-width: calc(100% + 50px) !important;
    margin-left: -25px !important;
    margin-right: -25px !important;
    gap: 0;
}
.is-style-overlapped-columns .wp-block-column:first-child {
    padding: 3em 25px 25px !important;
    margin-bottom: -1px;
}
.is-style-overlapped-columns .wp-block-column:first-child .wp-block-group.has-background.is-vertical {
    padding: 10px !important;
}
.is-style-overlapped-columns .wp-block-column:first-child .wp-block-group.has-background.is-vertical p {
    font-size: 11px !important;
}
.is-style-overlapped-columns .wp-block-column:last-child {
    padding: 0 25px 40px;
    background-color: var(--wp--preset--color--contrast);
}


}



/*--------------------------------------------------------------
# Grid Z
--------------------------------------------------------------*/

@media screen and (min-width: 971px) {
#sistema .is-style-overlapped-columns .wp-block-column:last-child {
    max-width: 490px;    
}
}

.grid-z-master {
    gap: 20px;
}

.grid-z-master > * {
    color: var(--wp--preset--color--gray-400);
    background-color: var(--wp--preset--color--gray-200);
    cursor: pointer;
    padding: 1.3em 0.8em;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.grid-z-master h4 {
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 800;
    margin: 0.7em 0 0.55em;
}

.grid-z-master p {
    font-size: var(--wp--preset--font-size--small);
    line-height: 1.2;
}

.grid-z-master > * > figure {
    width: 42px;
    height: 42px;
    margin: 0;
}

.grid-z-master > * > figure img {
    filter: invert(37%) sepia(9%) saturate(566%) hue-rotate(176deg) brightness(97%) contrast(88%);
}

.grid-z-master > .activo {
    color: #fff;
    background-color: var(--wp--preset--color--accent);
    cursor: auto;
}

.grid-z-master > .activo figure img {
    filter: invert(1);
}


.grid-z-imgwrapper {
    position: relative;
}

.grid-z-imgwrapper figure {
    margin: 0;
}

.img-z {
    position: absolute;
    z-index: 1;
    top: 0;
    display: none;
}

.img-z.activa {
    display: block;
}


@media screen and (max-width: 971px) {
.grid-z-master {
    gap: 10px;
    display: flex !important;
    flex-wrap: wrap;
}
.grid-z-master > * {
    width: calc(50% - 5px);
}
}



/*--------------------------------------------------------------
# Grid RX
--------------------------------------------------------------*/

.grid-rx {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.grid-rx > * {
    color: #fff;
    border: 1px solid var(--wp--preset--color--accent);
    margin: 0;
}

@media screen and (max-width: 971px) {
.grid-rx > * {
    width: 100%;
}
}

@media screen and (min-width: 971px) {
.grid-rx > * {
    width: calc((100% - 40px) / 3);
}
}

.grid-rx > * > div {
    background-color: var(--wp--preset--color--accent);
    display: flex;
    gap: 0.5em;
    align-items: center;
    padding: 0.5em 0.65em;
}

.grid-rx > * > div figure {
    display: flex;
    margin: 0;
    width: 24px;
    height: 24px;
}

.grid-rx > * > div p {
    margin: 0;
    line-height: 1.5;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 800;
    text-transform: uppercase;
}

.grid-rx ul.is-style-list-1 {
    font-size: var(--wp--preset--font-size--small);
    padding: 0.9em !important;
    gap: 0.5em;
}




/*--------------------------------------------------------------
# Oficios
--------------------------------------------------------------*/

.oficios {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.oficio {
    background-size: cover;
    background-position: center;
    position: relative;
}

@media screen and (min-width: 971px) {
.oficio {
    width: calc((100% - 40px) / 3);
}
}

.oficio:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.oficio .inner {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 1em;
    display: flex;
    flex-direction: column;
}

.oficio a.button {
    flex: 1 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-transform: uppercase;
    background-image: url(assets/img/icons/icon-arrow-right-accent.png);
    background-repeat: no-repeat;
   background-size: 0.6em;
    background-position-x: 100%;
    background-position-y: 100%;
    padding-right: 1.6em;
    line-height: 1.05;
    letter-spacing: 1px;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 800;
}

.oficio p {
    color: #fff;
}

.oficio h3 {
    margin: 0.3em 0 0.6em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}



/*--------------------------------------------------------------
# Listas
--------------------------------------------------------------*/

.is-style-list-1 {
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.7em;
}

.is-style-list-1 li {
    background-image: url(assets/img/icons/icon-circle-check-accent.png);
    background-repeat: no-repeat;
    background-size: 1.1em;
    padding-left: 1.6em;
    line-height: 1.35;
    background-position-y: 0.1em;
}

ul.has-gray-400-color.is-style-list-1 li strong {
    font-weight: 600;
    color: var(--wp--preset--color--contrast);
}

@media screen and (min-width: 971px) {
ul.is-style-list-1.two-col-list {
    display: inline-block;
    column-count: 2;
    gap: 2.6em;
}
ul.is-style-list-1.two-col-list li {
    margin-bottom: 1em;
    -webkit-column-break-inside: avoid;
}
}



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

@media screen and (max-width: 971px) {
.wp-container-core-group-is-layout-34a78a8f {
    margin-left: -25px !important;
    margin-right: -25px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}
.page header.entry-header {
    padding-left: 25px;
    padding-right: 25px;
}
}


.bullet-rows > * {
    display: flex;
    gap: 0.85em;
}

.bullet-rows > * > figure {
    margin: 0;
    display: flex;
}


.service-links img {
    filter: invert(37%) sepia(9%) saturate(566%) hue-rotate(176deg) brightness(97%) contrast(88%);
}

.service-links > * {
    transition: all 0.2s ease-in-out;
}

.service-links > *:hover {
    background-color: var(--wp--preset--color--accent) !important;
}

.service-links > *:hover a {
    color: #fff !important;
}

.service-links > *:hover img {
    filter: invert(1);
}



.privacy-policy h2.wp-block-heading {
    font-size: var(--wp--preset--font-size--large);
}




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


.home .hide-on-home {
    display: none !important;
}

.site-footer {
	font-size: var(--wp--preset--font-size--small);
}

form[name="newsletter_footer"] {
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 18px;
}

form[name="newsletter_footer"] > * {
    height: 40px;
    font-size: 16px;
}

form[name="newsletter_footer"] *::placeholder {
    color: var(--wp--preset--color--accent);
}

form[name="newsletter_footer"] button.wp-block-button__link.wp-element-button {
    background-color: var(--wp--preset--color--accent);
    padding: 0.5em;
    text-transform: uppercase;
    font-weight: 800;
}

form[name="newsletter_footer"] input[type="email"] {
    width: 200px;
    border-color: var(--wp--preset--color--accent);
}

.footer-social {
    display: flex;
    gap: 1em;
}

.footer-social figure {
    margin: 0;
    display: flex;
    width: auto;
    flex-direction: column;
    justify-content: center;
}



ul#menu-footer-top {
    margin: 0;
    padding: 0 0 1em;
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    font-size: var(--wp--preset--font-size--extra-small);
}

ul#menu-footer-top li a {
    color: var(--wp--preset--color--gray-500);
}

ul#menu-footer-top li:first-child a {
    color: var(--wp--preset--color--gray-900);
}


.multi-menu {
    margin-top: 2.4em !important;
}

.multi-menu h4.wp-block-heading {
    margin: 0 0 1em;
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.multi-menu .is-style-menu-footer-vertical ul {
    gap: 1em;
    margin-top: 1.4em;
}

.multi-menu a {
    color: var(--wp--preset--color--gray-700);
    font-weight: 300;
}




@media screen and (max-width: 971px) {
.site-footer > * {
    padding-left: 25px !important;
    padding-right: 25px !important;
}
.footer-logo {
    width: 125px;
}
form[name="newsletter_footer"] input[type="email"] {
    width: calc(100% - 138px);
}
form[name="newsletter_footer"] button.wp-block-button__link.wp-element-button {
    font-size: 14px;
    width: 120px;
}
.site-footer .multi-menu {
    display: inline-block;
    columns: 2;
    column-gap: 2.7em;
}
.site-footer .multi-menu > * {
    margin-bottom: 2.6em;
    -webkit-column-break-inside: avoid;
}
.multi-menu .is-style-menu-footer-vertical ul {
    font-size: inherit;
}
.wp-block-column.is-layout-flow.wp-container-core-column-is-layout-f488f964.wp-block-column-is-layout-flow {
    display: flex;
    flex-direction: column-reverse;
    gap: 2.2em;
}
.wp-block-column.is-layout-flow.wp-container-core-column-is-layout-f488f964.wp-block-column-is-layout-flow > * {
    border: none;
}
ul#menu-footer-top {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.7em;
    border-top: 2px solid var(--wp--preset--color--gray-200);
    padding-top: 2.2em;
}

}