@charset "UTF-8";

/**
Theme Name: elmercatcultural.cat
Theme URI: https://www.elmercatcultural.cat
Author: codeccoop
Author URI: https://www.codeccoop.org
Description: Tema de la web elmercatcultural.cat
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI:
Text Domain: elmercat
*/

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

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

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

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

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

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

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

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

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

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

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

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

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

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

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

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

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

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

body.small,
button.small,
input.small,
select.small,
optgroup.small,
textarea.small {
	font-size: 14px;
	line-height: 1.35;
}

.editor-styles-wrapper dfn,
.editor-styles-wrapper cite,
.editor-styles-wrapper em,
.editor-styles-wrapper i {
	font-style: normal !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.title {
	font-family: "Krona One", sans-serif;
	font-weight: bold;
}

h1 .highlight,
h2 .highlight,
h3 .highlight,
h4 .highlight,
h5 .highlight,
h6 .highlight,
.title .highlight {
	color: #d63d1c;
}

h1.sans-serif,
h2.sans-serif,
h3.sans-serif,
h4.sans-serif,
h5.sans-serif,
h6.sans-serif,
.title.sans-serif {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
}

h1,
.title {
	clear: both;
	font-size: 56px;
	line-height: 1.2;
	font-weight: 400;
}

.is-mobile h1,
.is-mobile
.title {
	font-size: 40px;
}

h2,
.title.is-2 {
	clear: both;
	font-size: 46.4px;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: 0;
}

.is-mobile h2,
.is-mobile
.title.is-2 {
	font-size: 32px;
}

.is-mobile h2,
.is-mobile .title.is-2 {
	font-size: 32px;
}

h3,
h4,
h5,
h6,
.title.is-3 {
	font-size: 16px;
	line-height: 1.4;
	text-transform: none;
}

.is-mobile h3,
.is-mobile
h4,
.is-mobile
h5,
.is-mobile
h6,
.is-mobile
.title.is-3 {
	font-size: 16px;
}

h1 + .subtitle,
h2 + .subtitle,
h3 + .subtitle,
h4 + .subtitle,
h5 + .subtitle,
h6 + .subtitle,
.title + .subtitle {
	font-size: 36px;
	line-height: 1;
	margin-top: -1em;
	letter-spacing: 0;
}

/* Responsive headings */
@media (max-width: 767px) {

	h1 {
		font-size: 35px;
	}

	h2 {
		font-size: 30px;
	}
}

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: #000;
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	line-height: 1.35;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #000;
	cursor: help;
}

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

big {
	font-size: 125%;
}

p.highlight,
abbr.highlight,
cite.highlight,
dfn.highlight,
em.highlight,
i.highlight,
blockquote.highlight,
address.highlight,
pre.highlight,
figcaption.highlight {
	color: #d63d1c;
}

p.small,
abbr.small,
cite.small,
dfn.small,
em.small,
i.small,
blockquote.small,
address.small,
pre.small,
figcaption.small {
	font-size: 14px;
	line-height: 1.35;
}

p.event-title,
abbr.event-title,
cite.event-title,
dfn.event-title,
em.event-title,
i.event-title,
blockquote.event-title,
address.event-title,
pre.event-title,
figcaption.event-title {
	font-size: 16px;
	line-height: 1.35;
}

/* Elements
--------------------------------------------- */
body {
	display: block;
}

body.page,
body.post,
body.home,
body.single-event,
body.single-workshop {
	width: calc(var(--vw, 1vw) * 100);
	overflow-x: hidden;
}

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

ul,
ol {
	margin: 0 0 1.5em 3em;
}

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

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a,
.link {
	display: inline;
	cursor: pointer;
	color: #000;
	text-decoration: none;
}

a.small,
.link.small {
	font-size: 14px;
	line-height: 1.35;
}

a.underline,
a > .underline,
.link.underline,
.link > .underline {
	text-decoration: none;
	padding: 0 0.1em;
	padding-bottom: 0;
	transition: border-bottom-color 100ms ease, color 100ms ease;
	text-decoration: none;
}

.mobile a,
.mobile
.link {
	text-decoration: underline;
	text-decoration-thickness: 0.1em;
	border-bottom: none;
}

a.small-title,
.link.small-title {
	font-family: "Krona One", sans-serif;
	font-weight: bold;
	font-size: 14px;
}

a:hover.underline,
a:hover > .underline,
a:focus.underline,
a:focus > .underline,
a:active.underline,
a:active > .underline,
a.active.underline,
a.active > .underline,
.link:hover.underline,
.link:hover > .underline,
.link:focus.underline,
.link:focus > .underline,
.link:active.underline,
.link:active > .underline,
.link.active.underline,
.link.active > .underline {
	border-bottom: 0.1em solid;
}

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

/* Forms
--------------------------------------------- */
a.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	color: #000;
	text-decoration: none;
	border: none;
	outline: none;
	background-color: transparent;
	font-family: "Krona One", sans-serif;
	cursor: pointer;
	padding: 0.1em;
	padding-bottom: 0.05em;
	text-transform: uppercase;
}

a.button:hover,
a.button:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
	border-bottom: 0.15em solid;
}

a.button:focus,
a.button.focus,
button:focus,
button.focus,
input[type="button"]:focus,
input[type="button"].focus,
input[type="reset"]:focus,
input[type="reset"].focus,
input[type="submit"]:focus,
input[type="submit"].focus {
	color: #fff;
}

a.button[disabled],
button[disabled],
input[type="button"][disabled],
input[type="reset"][disabled],
input[type="submit"][disabled] {
	cursor: default;
	opacity: 0.7;
	border-bottom: 0;
	color: #000;
}

.wc-proceed-to-checkout a.checkout-button.button {
	display: block;
	width: 100%;
	height: fit-content;
}

a.checkout-button.button,
#place_order {
	color: #000;
	text-decoration: none;
	border: 2px solid;
	outline: none;
	background-color: transparent;
	font-family: "Krona One", sans-serif;
	cursor: pointer;
	padding: 0.8rem 1rem;
	text-transform: uppercase;
	height: 3rem;
	width: fit-content;
	border-radius: 5px;
}

a.checkout-button.button:hover,
a.checkout-button.button:focus,
#place_order:hover,
#place_order:focus {
	box-shadow: 2px 2px 2px #e3d0b9;
	transform: translateY(-2px);
}

a.checkout-button.button:focus,
a.checkout-button.button.focus,
#place_order:focus,
#place_order.focus {
	color: #fff;
}

a.checkout-button.button[disabled],
#place_order[disabled] {
	cursor: default;
	opacity: 0.7;
	border-bottom: 0;
	color: #000;
}

button.inscription {
	color: #000;
	text-decoration: none;
	border: 2px solid;
	outline: none;
	background-color: transparent;
	font-family: "Krona One", sans-serif;
	cursor: pointer;
	padding: 0.1em 1rem;
	padding-bottom: 0.05em;
	text-transform: uppercase;
	height: 3rem;
	width: fit-content;
	border-radius: 5px;
}

button.inscription:hover,
button.inscription:focus {
	box-shadow: 2px 2px 2px #e3d0b9;
	transform: translateY(-2px);
}

button.inscription:focus,
button.inscription.focus {
	color: #fff;
}

button.inscription[disabled] {
	cursor: default;
	opacity: 0.7;
	border-bottom: 0;
	color: #000;
}

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 {
	color: #000;
	border: 1px solid #6f6f6f;
	border-radius: 3px;
	padding: 3px;
}

select {
	border: 1px solid #6f6f6f;
}

textarea {
	width: 100%;
}

.site {
	position: relative;
	display: block;
	padding-top: 40px;
}

.site-header {
	display: flex;
	align-items: center;
	position: relative;
	padding: 0 4.1665vw;
	height: 40px;
	width: calc(var(--vw, 1vw) * 100);
	background-color: #fff;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 100;
}

.site-header .site-branding img {
	max-width: 30px;
	padding-top: 5px;
}

.admin-bar .site-header {
	top: var(--wp-admin--admin-bar--height);
}

.site-header.floating {
	box-shadow: 0 2px 5px #0003;
}

.site-main {
	padding: 0 8.333vw 5rem;
}

.site-main .page-header,
.site-main .post-header {
	padding-top: 6rem;
	padding-bottom: 3rem;
	margin-bottom: 2.5rem;
}

@media screen and (min-width: 980px) {

	.site-main .page-header,
	.site-main .post-header {
		padding-top: 8rem;
		padding-right: 16.98436vw;
	}
}

.site-main .page-header .post-title,
.site-main .page-header .page-title,
.site-main .post-header .post-title,
.site-main .post-header .page-title {
	margin-top: 0;
	margin-bottom: 0;
}

.site-main .page-header .post-breadcrumbs,
.site-main .page-header .page-breadcrumbs,
.site-main .post-header .post-breadcrumbs,
.site-main .post-header .page-breadcrumbs {
	display: flex;
	justify-content: space-between;
}

@media screen and (min-width: 980px) {

	.site-main .page-header .post-breadcrumbs,
	.site-main .page-header .page-breadcrumbs,
	.site-main .post-header .post-breadcrumbs,
	.site-main .post-header .page-breadcrumbs {
		margin-right: calc(7.93668vw * -2);
	}
}

.site-main .page-header .post-breadcrumb,
.site-main .page-header .page-breadcrumb,
.site-main .post-header .post-breadcrumb,
.site-main .post-header .page-breadcrumb {
	width: fit-content;
}

.site-main .page-return {
	margin: 0;
	margin-bottom: 2em;
	text-transform: uppercase;
}

.site-main .page-title {
	margin-top: 0;
	margin-bottom: 0;
}

.site-footer {
	height: 420px;
	background-color: #fff;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	flex: 1;
	display: flex;
	height: 40px;
	background-color: white;
	justify-content: flex-end;
	position: relative;
}

.main-navigation .main-navigation-container {
	display: flex;
}

.main-navigation .cart-item-container {
	position: absolute;
	right: 0;
	top: calc(40px + 10px);
}

.toggled .main-navigation .cart-item-container {
	right: 1rem;
}

@media screen and (min-width: 769px) {

	.main-navigation .cart-item-container {
		right: 1rem;
	}
}

.main-navigation .cart-item {
	height: calc(40px);
	width: calc(40px);
	margin: 0.25rem 0;
	position: relative;
	background-image: url(/wp-content/themes/elmercatcultural.cat/assets/images/cart-icon.png);
	background-size: 60%;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 50%;
	background-color: black;
	box-shadow: 1px 1px 16px 2px #0003;
}

.main-navigation .cart-item::before {
	display: block;
	content: attr(data-items);
	background-color: white;
	color: black;
	font-size: 0.65em;
	line-height: 1.5em;
	border: 0.1px solid;
	position: absolute;
	right: -0.5em;
	bottom: -0.25em;
	height: 1.5em;
	width: 1.5em;
	border-radius: 50%;
	text-align: center;
}

.main-navigation .cart-item a {
	display: block;
	height: 100%;
}

.main-navigation ul {
	align-items: center;
	display: flex;
	list-style: none;
	margin: 0;
	padding-left: 0;
	height: 40px;
	display: none;
}

@media screen and (min-width: 980px) {

	.main-navigation ul {
		display: flex;
	}
}

.main-navigation ul li {
	position: relative;
	padding: 0 1rem;
	border-right: 2px solid #e3d0b9;
	display: flex;
	align-items: center;
}

.main-navigation ul li a {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.75;
}

.main-navigation ul li:last-child {
	border-right: none;
}

@media screen and (min-width: 980px) {

	.main-navigation ul li ul.sub-menu {
		width: 23.01614vw;
		min-width: 350px;
		position: fixed;
		z-index: 300;
		top: 40px;
		right: -50%;
		height: calc(100vh - 40px);
		flex-direction: column;
		padding: 0;
		background-color: white;
		transition: right 500ms ease-in-out;
	}

	.admin-bar .main-navigation ul li ul.sub-menu {
		top: calc(40px + var(--wp-admin--admin-bar--height));
	}

	.main-navigation ul li ul.sub-menu li {
		width: 23.01614vw;
		min-width: 350px;
		border-bottom: 2px solid #e3d0b9;
		border-right: none;
		padding: 1rem 0;
		height: 7rem;
	}

	.main-navigation ul li ul.sub-menu li:hover {
		background-color: black;
	}

	.main-navigation ul li ul.sub-menu li:hover a {
		color: white;
	}

	.main-navigation ul li ul.sub-menu li a {
		font-size: 25.6px;
		font-family: "Krona One", sans-serif;
		font-weight: 400;
		color: black;
		padding: 1rem 3rem;
	}

	.main-navigation ul li ul.sub-menu li a:hover {
		color: white;
	}

	.main-navigation ul li.focus .sub-menu {
		right: 0;
	}
}

.main-navigation ul a {
	color: black;
	display: block;
	text-decoration: none;
}

.main-navigation ul a:hover {
	color: #e3d0b9;
}

@media screen and (min-width: 980px) {

	.main-navigation #menu-close {
		position: fixed;
		cursor: pointer;
		z-index: 300;
		right: -50%;
		width: 32px;
		height: 32px;
		transition: right 500ms ease-in-out;
	}

	.main-navigation #menu-close.focus {
		right: 2%;
		bottom: 4%;
	}

	.main-navigation #menu-close::before,
	.main-navigation #menu-close::after {
		position: absolute;
		left: 15px;
		content: " ";
		height: 33px;
		width: 2px;
		background-color: #e3d0b9;
	}

	.main-navigation #menu-close::before {
		transform: rotate(45deg);
	}

	.main-navigation #menu-close::after {
		transform: rotate(-45deg);
	}
}

@media screen and (min-width: 980px) {

	div.veil {
		width: 100%;
		height: 100%;
		background: black;
		opacity: 0;
		position: fixed;
		top: 40px;
		left: 0;
		z-index: 99;
		display: block;
		transition: opacity 500ms ease-in;
		pointer-events: none;
	}

	.admin-bar div.veil {
		top: calc(40px + var(--wp-admin--admin-bar--height));
	}

	div.veil.show {
		opacity: 0.4;
		pointer-events: all;
	}
}

/* Small menu. */
.main-navigation.toggled .main-navigation-container {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: fixed;
	left: 0;
	background-color: white;
}

.main-navigation.toggled .cart-item-container {
	right: 1rem;
}

.main-navigation.toggled #primary-menu {
	display: block;
	width: 220px;
	height: 100vh;
	margin-top: 40px;
	padding-top: 10%;
	margin-left: 50%;
	transform: translateX(-50%);
}

.main-navigation.toggled #primary-menu li {
	display: block;
	border: none;
}

.main-navigation.toggled #primary-menu li a {
	padding: 1rem;
}

.main-navigation.toggled #primary-menu li ul.sub-menu {
	display: none;
}

.main-navigation.toggled #primary-menu li ul.sub-menu li {
	border-bottom: 1px solid #e3d0b9;
}

.main-navigation.toggled #primary-menu li ul.sub-menu li:hover {
	background-color: black;
	color: white;
}

.main-navigation.toggled #primary-menu li.focus .sub-menu {
	display: block;
	height: auto;
}

.menu-toggle {
	background-color: transparent;
	border: none;
	outline: none;
	width: 30px;
	height: 30px;
	padding: 0;
	cursor: pointer;
	position: absolute;
	right: var(--content-padding);
	top: 50%;
	transform: translate(0, -50%);
}

@media screen and (min-width: 980px) {

	.menu-toggle {
		width: 40px;
		height: 40px;
	}
}

.toggled .menu-toggle .burger::after {
	transform: translate(0, -5.6px) rotate(45deg);
}

@media screen and (min-width: 980px) {

	.toggled .menu-toggle .burger::after {
		transform: translate(0, -7.5px) rotate(45deg);
	}
}

.toggled .menu-toggle .burger::before {
	transform: translate(0, 5.6px) rotate(-45deg);
}

@media screen and (min-width: 980px) {

	.toggled .menu-toggle .burger::before {
		transform: translate(0, 7.5px) rotate(-45deg);
	}
}

.menu-toggle .burger {
	display: block;
	width: 100%;
	height: 100%;
}

.menu-toggle .burger::after,
.menu-toggle .burger::before {
	position: absolute;
	left: 0;
	width: 100%;
	height: 10%;
	background-color: #000;
	border-radius: 5%;
	transition: transform 300ms ease-out;
}

.menu-toggle .burger::before {
	content: " ";
	top: 25%;
}

.menu-toggle .burger::after {
	content: " ";
	bottom: 25%;
}

@media screen and (min-width: 980px) {

	.menu-toggle {
		display: none;
	}
}

/* custom */
li#menu-item-4982 {
	padding-top: 4px;
}

.main-navigation.toggled #primary-menu li a {
	padding: 0.8rem !important;
}

.main-navigation.toggled #primary-menu {
	width: 320px !important;
}

@media screen and (min-width: 980px) {

	.main-navigation ul li ul.sub-menu {
		width: 32vw;
	}
}

@media screen and (min-width: 980px) {

	.main-navigation ul li ul.sub-menu li {
		width: 32vw;
		padding: 0.8rem 0;
		height: 6rem;
	}
}

#menu-item-4982 img:hover {
	opacity: 0.3;
}

/* Footer
--------------------------------------------- */
#newsletter {
	margin: 0 2rem;
}

.woocommerce-checkout #newsletter,
.woocommerce-cart #newsletter,
.woocommerce-account #newsletter,
.page-id-4944 #newsletter {
	display: none;
}

@media screen and (min-width: 980px) {

	#newsletter {
		border-bottom: 2px solid;
		margin: 0 5rem;
	}
}

#newsletter .newsletter__section-border {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 4.25rem 0;
}

@media screen and (min-width: 980px) {

	#newsletter .newsletter__section-border {
		padding: 6.25rem 0;
	}
}

.page-template-default:not(.home) #newsletter .newsletter__section-border,
.single-workshop #newsletter .newsletter__section-border,
.single-event #newsletter .newsletter__section-border {
	padding-top: 0;
}

#newsletter .newsletter__section-border .newsletter__section-content {
	text-align: center;
}

#newsletter .newsletter__section-border .newsletter__section-content .wpforms-form {
	max-width: 450px;
	margin: auto;
}

#newsletter .newsletter__section-border .newsletter__section-content .wpforms-form .wpforms-field {
	text-align: left;
}

#newsletter .newsletter__section-border .newsletter__section-content .wpforms-form input {
	display: block;
	width: 100%;
	max-width: unset;
	border: 1px solid #000;
	border-radius: 6px;
	padding: 0 10px;
	height: 3rem;
	font-size: 14px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#newsletter .newsletter__section-border .newsletter__section-content .wpforms-form input.wpfrms-error {
	border-color: var(--wpforms-label-error-color);
}

#newsletter .newsletter__section-border .newsletter__section-content .wpforms-form .wpforms-confirmation-container-full {
	background-color: #b5d6db;
	border-color: #b5d6db;
	font-weight: bold;
}

.site-footer {
	display: flex;
	flex-direction: column;
}

.footer__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 4.1665vw;
	margin: 0 auto;
	width: 100%;
}

.page-template-default:not(.home) .footer__content .footer__column:first-child,
.workshop-template-default .footer__content .footer__column:first-child,
.event-template-default .footer__content .footer__column:first-child {
	border-top: 1px solid;
}

@media screen and (min-width: 980px) {

	.page-template-default:not(.home) .footer__content .footer__column:first-child,
	.workshop-template-default .footer__content .footer__column:first-child,
	.event-template-default .footer__content .footer__column:first-child {
		border-top: none;
	}
}

@media screen and (min-width: 980px) {

	.footer__content {
		flex-direction: row;
	}
}

.footer__column {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 0 1rem;
}

.footer__column:nth-last-child(-n + 2) {
	padding: 0 15vw;
	text-align: center;
}

@media screen and (min-width: 980px) {

	.footer__column:nth-last-child(-n + 2) {
		padding: 0 1rem;
		text-align: left;
	}
}

.footer__row {
	flex: 1;
}

@media screen and (min-width: 980px) {

	.footer__row {
		margin-bottom: 1rem;
	}
}

.footer__row:last-child {
	padding-bottom: 0;
}

.footer__row p.footer__title {
	font-weight: bold;
	line-height: 1.35;
}

.footer__row p.footer__text {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
	line-height: 1.35;
}

.footer__row .emc_embedded_map {
	height: 100%;
}

.footer__logo {
	background: url(/wp-content/themes/elmercatcultural.cat/assets/images/LogotipComplet.png) no-repeat center;
	background-size: contain;
	margin: 5vw 0;
	flex-grow: 0;
	flex-shrink: 1;
	flex-basis: 120px;
}

@media screen and (min-width: 980px) {

	.footer__logo {
		background: url("/wp-content/themes/elmercatcultural.cat/assets/images/Logotip_nomescaseta.png") no-repeat center;
		background-size: cover;
		margin: unset;
		width: 195px;
		height: 313px;
		flex-grow: 1;
	}
}

.footer__social {
	display: flex;
	margin: 0 0.5rem;
	padding: 0;
	justify-content: center;
	align-items: center;
	list-style: none;
}

@media screen and (min-width: 980px) {

	.footer__social {
		justify-content: left;
	}
}

.footer__social li {
	flex: 0;
	flex-basis: 2.5rem;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
}

.footer__social li a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

.site-info {
	border-top: 1px solid;
	margin: 0 4.1665vw;
	padding: 0.5rem 1rem 1rem;
	opacity: 0.6;
}

@media screen and (min-width: 0) and (max-width: 980px) {

	.site-info {
		text-align: center;
		padding-top: 1rem;
	}
}

@media screen and (min-width: 980px) {

	.site-info {
		display: flex;
	}
}

.site-info .legal_info .footer__text > span {
	display: block;
}

@media screen and (min-width: 980px) {

	.site-info .legal_info .footer__text > span {
		display: inline;
		margin: 0 0.25em;
		border-right: 0.5px;
	}

	.site-info .legal_info .footer__text > span:last-child {
		border-right: none;
	}
}

@media screen and (min-width: 980px) {

	.site-info .legal_info {
		flex: 1;
	}
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.content__row {
	display: flex;
	flex-direction: row;
}

.content__column {
	display: flex;
	flex-direction: column;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

.async-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	border-bottom: 2px solid #fff;
	border-top: 2px solid #fff;
	padding: calc(var(--vh, 1vh) * 4) 0;
	margin-bottom: calc(var(--vh, 1vh) * 4);
}

@media screen and (min-width: 980px) {

	.async-grid {
		margin-bottom: calc(var(--vw, 1vw) * 2.5);
		padding: calc(var(--vw, 1vw) * 2.5) 0;
	}
}

.grid-item {
	width: calc(85.556vw - 2px - 0.5555vw);
	position: relative;
	margin: 0;
}

.grid-item .stock__banner,
.grid-item .date__banner {
	position: absolute;
	top: 0;
	right: 12.3%;
	width: 0;
	height: 0;
	border-top: 110px solid #a31919;
	border-left: 110px solid transparent;
	color: white;
}

.grid-item .stock__banner::after {
	content: "COMPLET";
	position: absolute;
	top: -75px;
	right: 10%;
	transform: rotate(45deg);
	font-weight: 700;
}

.grid-item .date__banner::after {
	content: "TANCAT";
	position: absolute;
	top: -77px;
	right: 10px;
	transform: rotate(45deg);
	font-weight: 700;
}

@media screen and (min-width: 0) and (max-width: 769px) {

	.grid-item {
		border-bottom: 2px solid white;
	}

	.grid-item .stock__banner,
	.grid-item .date__banner {
		right: 0;
	}

	.grid-item:not(:first-child) .stock__banner,
	.grid-item:not(:first-child) .date__banner {
		top: calc(var(--vh, 1vh) * 3.5);
	}

	.grid-item:not(:first-child) img {
		padding-top: calc(var(--vh, 1vh) * 3.5);
	}

	.grid-item:last-child {
		border-bottom: none;
	}

	.grid-item:not(:last-child) figcaption {
		padding-bottom: calc(var(--vh, 1vh) * 3.5);
	}
}

@media screen and (min-width: 769px) {

	.grid-item {
		border-right: 2px solid white;
	}
}

@media screen and (min-width: 769px) and (max-width: 980px) {

	.grid-item {
		width: calc(42.2225vw - 2px - 0.5555vw);
	}

	.grid-item:nth-child(n + 3) .stock__banner,
	.grid-item:nth-child(n + 3) .date__banner {
		margin-top: calc(var(--vh, 1vh) * 4);
	}

	.grid-item:nth-child(n + 3) img {
		padding-top: calc(var(--vh, 1vh) * 4);
	}

	.grid-item:nth-child(2n) {
		border-right: none;
	}

	.grid-item:nth-child(2n) .stock__banner,
	.grid-item:nth-child(2n) .date__banner {
		right: 0;
	}

	.grid-item:nth-child(2n) img,
	.grid-item:nth-child(2n) figcaption {
		margin-right: 0;
	}

	.grid-item:nth-child(2n - 1) img,
	.grid-item:nth-child(2n - 1) figcaption {
		margin-left: 0;
	}

	.grid-item:nth-child(odd):last-child {
		border-right: none;
	}

	.grid-item:nth-child(odd):last-child figcaption {
		border-bottom: none;
		padding-bottom: 0;
	}

	.grid-item:nth-last-child(2) figcaption {
		border-bottom: none;
		padding-bottom: 0;
	}

	.grid-item figcaption {
		border-bottom: 2px solid white;
		padding-bottom: calc(var(--vh, 1vh) * 4);
	}
}

@media screen and (min-width: 980px) {

	.grid-item {
		width: calc(27.14304vw - 2px - 0.5555vw);
	}

	.grid-item:nth-child(3n - 2) img {
		left: 0;
	}

	.grid-item:nth-child(3n - 1) {
		width: calc(29.04793vw + 1.111vw);
	}

	.grid-item:nth-child(3n - 1) .stock__banner,
	.grid-item:nth-child(3n - 1) .date__banner {
		right: 11.5%;
	}

	.grid-item:nth-child(3n - 1) figcaption {
		margin: 0 auto;
	}

	.grid-item:nth-child(3n - 1) img {
		margin: 0 auto;
	}

	.grid-item:nth-child(3n) .stock__banner,
	.grid-item:nth-child(3n) .date__banner {
		right: 0;
	}

	.grid-item:nth-child(3n) figcaption {
		margin-left: auto;
	}

	.grid-item:nth-child(3n) img {
		margin-left: auto;
	}

	.grid-item:nth-child(3n),
	.grid-item:last-child {
		border-right: none;
	}

	[data-rows="2"] .grid-item:nth-child(-n + 3) figcaption {
		border-bottom: 2px solid white;
		padding-bottom: calc(var(--vw, 1vw) * 2.5);
	}

	[data-rows="2"] .grid-item:nth-child(n + 4) img {
		padding-top: calc(var(--vw, 1vw) * 2.5);
	}

	[data-rows="3"] .grid-item:nth-child(-n + 6) figcaption {
		border-bottom: 2px solid white;
		padding-bottom: calc(var(--vw, 1vw) * 2.5);
	}

	[data-rows="3"] .grid-item:nth-child(n + 4) .stock__banner,
	[data-rows="3"] .grid-item:nth-child(n + 4) .date__banner {
		margin-top: calc(var(--vw, 1vw) * 2.5);
	}

	[data-rows="3"] .grid-item:nth-child(n + 4) img {
		padding-top: calc(var(--vw, 1vw) * 2.5);
	}
}

.grid-item > a {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.grid-item > a:hover figcaption,
.grid-item > a:active figcaption {
	color: #fff;
}

.grid-item img {
	object-fit: cover;
	object-position: center;
	height: 60.31786vw;
	width: 83.334vw;
}

@media screen and (min-width: 769px) and (max-width: 980px) {

	.grid-item img {
		height: 30.15893vw;
		margin: auto;
		width: 36.19071vw;
	}
}

@media screen and (min-width: 980px) {

	.grid-item img {
		height: 21.11125vw;
		width: 23.01614vw;
	}
}

.grid-item figcaption {
	z-index: 10;
	width: 83.334vw;
	line-height: 1.4;
	padding-top: 2rem;
	position: relative;
}

@media screen and (min-width: 769px) and (max-width: 980px) {

	.grid-item figcaption {
		margin: auto;
		width: 36.19071vw;
	}
}

@media screen and (min-width: 980px) {

	.grid-item figcaption {
		width: 23.01614vw;
	}
}

.grid-item figcaption::after {
	content: " ";
	position: absolute;
	top: 2.7em;
	right: 5px;
	width: 10px;
	height: 10px;
	border-right: 3px solid;
	border-top: 3px solid;
	transform: rotate(45deg) translateY(50%);
}

.grid-item figcaption b.title {
	font-size: 16px;
	font-weight: bold;
	display: block;
	width: calc(100% - 1.5em);
	margin-bottom: -0.5em;
}

.async-pager {
	list-style: none;
	margin: 0;
	padding: 0;
	margin: 0 auto;
	display: flex;
	width: fit-content;
	position: relative;
	margin-top: 4rem;
	margin-bottom: 6rem;
	font-family: "Krona One", sans-serif;
	font-size: 14px;
	font-weight: 400;
}

.async-page,
.async-nav-btn {
	color: #000;
	padding: 0 0.4em;
	margin: 0 0.15em;
	cursor: pointer;
	display: block;
	border-bottom: 1px solid transparent;
}

.async-page.active,
.async-page:hover,
.async-nav-btn.active,
.async-nav-btn:hover {
	color: #fff;
	border-bottom: 1px solid #fff;
}

.async-page.active,
.async-nav-btn.active {
	cursor: default;
}

.async-nav-btn {
	position: absolute;
	top: calc(50% - 0.5em);
	border-bottom: none;
}

.async-nav-btn.first,
.async-nav-btn.previous {
	left: 0;
}

.async-nav-btn.last,
.async-nav-btn.next {
	right: 0;
}

.async-nav-btn.first {
	transform: translateX(-200%);
}

.async-nav-btn.first > i::before {
	content: "<<";
}

.async-nav-btn.previous {
	transform: translateX(-100%);
}

.async-nav-btn.previous > i::before {
	content: "<";
}

.async-nav-btn.next {
	transform: translateX(100%);
}

.async-nav-btn.next > i::before {
	content: ">";
}

.async-nav-btn.last {
	transform: translateX(200%);
}

.async-nav-btn.last > i::before {
	content: ">>";
}

.async-nav-btn:hover {
	border-bottom: none;
}

.async-nav-btn:hover > i::before {
	color: #000;
}

.async-nav-btn > i {
	position: relative;
	display: block;
	width: 1em;
	height: 1em;
}

.async-nav-btn > i::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}

/* 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 {
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: montserrat, "Helvetica Neue", sans-serif;
	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;
}

.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.front-page__section {
	display: block;
	padding: 4.25rem 14.36479vw;
	width: calc(var(--vw, 1vw) * 100);
}

@media screen and (min-width: 980px) {

	.front-page__section {
		padding: 6.25rem 20.39657vw;
	}
}

.front-page__section#highlights {
	padding: 0;
	height: calc(calc(var(--vh, 1vh) * 100) - 40px);
}

@media screen and (min-width: 0) and (max-width: 980px) and (orientation: portrait) {

	.front-page__section#highlights {
		height: calc(calc(var(--vh, 1vh) * 35) - 40px);
	}
}

.admin-bar .front-page__section#highlights {
	height: calc(calc(calc(var(--vh, 1vh) * 100) - 40px) - var(--wp-admin--admin-bar--height));
}

@media screen and (min-width: 0) and (max-width: 980px) and (orientation: portrait) {

	.admin-bar .front-page__section#highlights {
		height: calc(calc(calc(var(--vh, 1vh) * 35) - 40px) - var(--wp-admin--admin-bar--height));
	}
}

.front-page__section#feed {
	background-color: #e3d0b9;
}

.front-page__section#barris {
	background-color: #9fc69f;
}

.front-page__section#participa {
	background-color: #b5d6db;
}

.front-page__section-content {
	text-align: left;
	width: 100%;
}

@media screen and (min-width: 980px) {

	.front-page__section-content {
		text-align: center;
		width: 59.20686vw;
	}
}

.front-page__section-content p:last-of-type {
	margin-bottom: 3rem;
}

.front-page__section-content a {
	position: relative;
	text-transform: uppercase;
	font-family: "Krona One", sans-serif;
}

.front-page__section-content a::after {
	position: absolute;
	content: ">";
	right: 0;
	top: 50%;
	transform: translate(calc(100% + 0.35em), -50%);
}

.front-page__section-content a:hover {
	color: #fff;
}

.front-page__jumbotron {
	position: relative;
	overflow: hidden;
	height: 100%;
}

.front-page__jumbotron.slick-slider {
	background-color: unset;
}

.front-page__jumbotron .front-page__jumbotron-item {
	margin: 0;
	position: relative;
	padding-top: calc(calc(var(--vh, 1vh) * 100) - 40px);
}

.front-page__jumbotron .front-page__jumbotron-item .title {
	font-size: 1.8rem;
}

@media screen and (min-width: 980px) {

	.front-page__jumbotron .front-page__jumbotron-item .title {
		font-size: 56px;
	}
}

.admin-bar .front-page__jumbotron .front-page__jumbotron-item {
	padding-top: calc(calc(calc(var(--vh, 1vh) * 100) - 40px) - var(--wp-admin--admin-bar--height));
}

.front-page__jumbotron .front-page__jumbotron-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	object-fit: cover;
	z-index: 10;
	height: calc(calc(var(--vh, 1vh) * 100) - 40px);
}

@media screen and (min-width: 0) and (max-width: 980px) and (orientation: portrait) {

	.front-page__jumbotron .front-page__jumbotron-item img {
		height: calc(var(--vh, 1vh) * 55) -40px;
		height: calc(calc(var(--vh, 1vh) * 35) - 40px);
	}
}

.admin-bar .front-page__jumbotron .front-page__jumbotron-item img {
	height: calc(calc(calc(var(--vh, 1vh) * 100) - 40px) - var(--wp-admin--admin-bar--height));
}

@media screen and (min-width: 0) and (max-width: 980px) and (orientation: portrait) {

	.admin-bar .front-page__jumbotron .front-page__jumbotron-item img {
		height: calc(calc(calc(var(--vh, 1vh) * 35) - 40px) - var(--wp-admin--admin-bar--height));
	}
}

.front-page__jumbotron .front-page__jumbotron-item figcaption {
	position: absolute;
	top: 10%;
	top: calc(8.333vw / 2);
	left: 8.333vw;
	object-fit: cover;
	z-index: 20;
	font-size: 3rem;
	line-height: 1.2;
	max-width: 80%;
}

@media screen and (min-width: 980px) {

	.front-page__jumbotron .front-page__jumbotron-item figcaption {
		max-width: 50%;
	}
}

.front-page__jumbotron .front-page__jumbotron-item figcaption > span {
	top: calc(8.333vw / 2);
	padding-left: 0.2em;
	background-color: white;
}

.front-page__jumbotron .slick-dots {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.front-page__jumbotron .slick-dots > li {
	margin-right: 0.65rem;
}

.front-page__jumbotron .slick-dots > li:last-child {
	margin-right: 0;
}

.front-page__jumbotron .slick-dots > li.slick-active button {
	cursor: default;
	background-color: #fff;
}

.front-page__jumbotron .slick-dots > li > button {
	cursor: pointer;
	border-radius: 50%;
	border: 1.5px solid #fff;
	background-color: transparent;
	width: 13px;
	height: 13px;
	font-size: 0;
}

.front-page__highlight-links {
	display: flex;
	flex-direction: column;
	border-top: 2px solid;
	border-bottom: 2px solid;
	border-color: #fff;
	margin: 0 0 4rem;
}

@media screen and (min-width: 980px) {

	.front-page__highlight-links {
		flex-direction: row;
		margin: 1rem -12.06357vw 8rem;
		width: 83.334vw;
	}
}

.front-page__highlight-links .front-page__highlight-link {
	flex: 1;
	display: flex;
	margin: 0.5rem 0;
	text-align: center;
	align-items: center;
	border-bottom: 2px solid;
	border-color: #fff;
	font-family: "Krona One", sans-serif;
}

@media screen and (min-width: 980px) {

	.front-page__highlight-links .front-page__highlight-link {
		margin: 3.5rem 0;
		border-bottom: none;
		border-right: 2px solid #fff;
	}
}

.front-page__highlight-links .front-page__highlight-link:last-child {
	border-bottom: none;
	border-right: none;
}

.front-page__highlight-links .front-page__highlight-link a {
	display: block;
	width: 100%;
	padding: 2rem 0;
	color: #000;
	line-height: 1.8;
	text-transform: uppercase;
}

@media screen and (min-width: 980px) {

	.front-page__highlight-links .front-page__highlight-link a {
		padding: 2rem 3rem;
	}
}

.front-page__highlight-links .front-page__highlight-link a:hover {
	color: #fff;
}

#feed .front-page__section-content > h3 {
	text-align: left;
}

#feed .front-page__section-content hr {
	margin-bottom: 3rem;
}

#feed .front-page__section-content .front-page__feed > p {
	padding-top: 2rem;
}

#feed .emc-feed {
	display: flex;
	flex-direction: column;
}

@media screen and (min-width: 980px) {

	#feed .emc-feed {
		flex-direction: row;
	}
}

#feed .emc-feed .emc-feed-entry {
	flex: 1;
}

@media screen and (min-width: 980px) {

	#feed .emc-feed .emc-feed-entry {
		padding: 0 2rem;
	}

	#feed .emc-feed .emc-feed-entry:first-child {
		padding-left: 0;
	}

	#feed .emc-feed .emc-feed-entry:last-child {
		padding-right: 0;
	}
}

#feed .emc-feed .emc-feed-entry a::after {
	display: none;
}

#feed .emc-feed .emc-feed-entry .emc-feed-thumbnail {
	display: flex;
	flex-direction: column;
}

#feed .emc-feed .emc-feed-entry .emc-feed-thumbnail picture {
	padding-top: 80%;
	position: relative;
	margin-bottom: 1rem;
}

#feed .emc-feed .emc-feed-entry .emc-feed-thumbnail img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#feed .emc-feed .emc-feed-entry .emc-feed-thumbnail figcaption {
	font-size: 15px;
	text-transform: unset;
}

#workshop-archive {
	background-color: #9fc69f;
}

#event-archive {
	background-color: #b5d6db;
}

.archive__filters {
	display: block;
	padding: 0 0 2rem;
}

@media screen and (min-width: 980px) {

	.archive__filters {
		display: flex;
		align-items: center;
	}
}

.archive__filters > span,
.archive__filters > a,
.archive__filters .historic-container a {
	display: block;
	width: fit-content;
	text-align: center;
}

@media screen and (min-width: 980px) {

	.archive__filters > span,
	.archive__filters > a,
	.archive__filters .historic-container a {
		display: inline;
	}
}

.archive__filters > span {
	margin: 0 0 1em;
}

@media screen and (min-width: 980px) {

	.archive__filters > span {
		margin: 0 1em 0 0;
	}
}

.archive__filters > a {
	font-family: "Krona One", sans-serif;
	margin: 0 0 1em;
}

@media screen and (min-width: 980px) {

	.archive__filters > a {
		display: inline;
		margin: 0 1em;
	}
}

.archive__filters .historic-container a {
	font-family: "Krona One", sans-serif;
	margin: 0 0 1em;
}

@media screen and (min-width: 980px) {

	.archive__filters .historic-container a {
		display: inline;
		margin: 0;
	}
}

@media screen and (min-width: 980px) {

	.archive__filters .historic-container {
		padding-right: 0;
		padding-left: 2rem;
		margin-left: 1rem;
		border-left: solid 2px white;
	}
}

.archive__filter {
	text-transform: uppercase;
	cursor: pointer;
	padding: 0 0.3rem;
	margin: 0 0.2rem;
}

.archive__filter:first-child {
	margin-left: 0.5rem;
}

.archive__filter:hover,
.archive__filter.active {
	color: #fff;
}

.site-main.page {

	/*Custom classes*/
}

.site-main.page .page-header {
	border-bottom: 2px solid #e3d0b9;
}

.site-main.page .em-separador-pagina {
	border-top: none;
	border-bottom: none;
	background-color: #b5d6db;
	height: 3px;
}

.site-main.page .em-columnes-linia {
	padding-top: 1em;
}

.site-main.page .em-columnes-linia:first-child {
	padding-right: 4em;
	border-right: 3px solid #b5d6db;
}

.site-main.page .em-columnes-linia:last-child {
	padding-left: 4em;
}

.site-main.post .type-event,
.site-main.post .type-workshop {
	font-size: 16px;
	position: relative;
}

.site-main.post .type-event .woocommerce-notices-wrapper,
.site-main.post .type-workshop .woocommerce-notices-wrapper {
	position: absolute;
	left: 0;
	top: 0.5rem;
	right: 0;
	margin: auto;
	z-index: 1;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .woocommerce-notices-wrapper,
	.site-main.post .type-workshop .woocommerce-notices-wrapper {
		top: 1rem;
	}
}

.site-main.post .type-event .post-header,
.site-main.post .type-workshop .post-header {
	border-bottom: 2px solid #b5d6db;
}

.site-main.post .type-event .post-content,
.site-main.post .type-workshop .post-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .post-content,
	.site-main.post .type-workshop .post-content {
		flex-direction: row;
	}
}

.site-main.post .type-event .post-content p.event-bold,
.site-main.post .type-workshop .post-content p.event-bold {
	font-weight: bold;
	margin-bottom: 0;
}

.site-main.post .type-event .post-content .post-content__inscription,
.site-main.post .type-workshop .post-content .post-content__inscription {
	flex: 1;
	margin-top: 1.1rem;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .post-content .post-content__inscription,
	.site-main.post .type-workshop .post-content .post-content__inscription {
		padding-right: 3.5rem;
	}
}

.site-main.post .type-event .post-content .post-content__inscription .cart,
.site-main.post .type-workshop .post-content .post-content__inscription .cart {
	text-align: center;
	margin-bottom: 3rem;
}

.site-main.post .type-event .post-content .post-content__inscription p,
.site-main.post .type-workshop .post-content .post-content__inscription p {
	margin-top: 0;
}

.site-main.post .type-event .post-content .post-content__inscription .artistic-description p,
.site-main.post .type-workshop .post-content .post-content__inscription .artistic-description p {
	font-size: 14px;
	line-height: 1.35;
}

.site-main.post .type-event .post-content .post-content__description,
.site-main.post .type-workshop .post-content .post-content__description {
	flex: 3;
	align-items: flex-start;
}

@media screen and (min-width: 0) and (max-width: 980px) {

	.site-main.post .type-event .post-content .post-content__description,
	.site-main.post .type-workshop .post-content .post-content__description {
		padding-top: 3rem;
		border-top: 2px solid #b5d6db;
	}
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .post-content .post-content__description,
	.site-main.post .type-workshop .post-content .post-content__description {
		padding-top: 1.1rem;
		padding-bottom: 1.1rem;
		padding-left: 8.333vw;
		border-left: 2px solid #b5d6db;
	}
}

.site-main.post .type-event .post-content .post-content__description .description-text,
.site-main.post .type-workshop .post-content .post-content__description .description-text {
	width: 100%;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .post-content .post-content__description .description-text,
	.site-main.post .type-workshop .post-content .post-content__description .description-text {
		width: 55.39707vw;
		margin-left: auto;
	}
}

.site-main.post .type-event .post-content .post-content__description .description-text p,
.site-main.post .type-workshop .post-content .post-content__description .description-text p {
	margin-top: 0;
}

.site-main.post .type-event .post-content .post-content__description .video-container,
.site-main.post .type-workshop .post-content .post-content__description .video-container {
	width: 100%;
	margin-top: 3rem;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .post-content .post-content__description .video-container,
	.site-main.post .type-workshop .post-content .post-content__description .video-container {
		margin-top: 2rem;
	}
}

.site-main.post .type-event .post-content .post-content__description .video-container iframe,
.site-main.post .type-workshop .post-content .post-content__description .video-container iframe {
	width: 100%;
	height: 30vh;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .post-content .post-content__description .video-container iframe,
	.site-main.post .type-workshop .post-content .post-content__description .video-container iframe {
		width: 55.39707vw;
		margin-left: auto;
		height: 40vh;
	}
}

@media screen and (min-width: 1280px) {

	.site-main.post .type-event .post-content .post-content__description .video-container iframe,
	.site-main.post .type-workshop .post-content .post-content__description .video-container iframe {
		height: 50vh;
	}
}

@media only screen and (max-height: 700px) {

	.site-main.post .type-event .post-content .post-content__description .video-container iframe,
	.site-main.post .type-workshop .post-content .post-content__description .video-container iframe {
		height: 60vh;
	}
}

.site-main.post .type-event .post-content .post-content__description .thumbnail-container,
.site-main.post .type-workshop .post-content .post-content__description .thumbnail-container {
	display: flex;
	justify-content: center;
}

.site-main.post .type-event .post-content .post-content__description .thumbnail-container img,
.site-main.post .type-workshop .post-content .post-content__description .thumbnail-container img {
	margin: 2rem auto 0;
	object-fit: cover;
	max-height: 30vh;
	width: 100%;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .post-content .post-content__description .thumbnail-container img,
	.site-main.post .type-workshop .post-content .post-content__description .thumbnail-container img {
		max-height: 40vh;
	}
}

@media screen and (min-width: 1280px) {

	.site-main.post .type-event .post-content .post-content__description .thumbnail-container img,
	.site-main.post .type-workshop .post-content .post-content__description .thumbnail-container img {
		max-height: 50vh;
	}
}

.site-main.post .type-event .carroussel-container,
.site-main.post .type-workshop .carroussel-container {
	width: 100%;
	position: relative;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .carroussel-container,
	.site-main.post .type-workshop .carroussel-container {
		width: 55.39707vw;
		margin-left: auto;
		margin-top: 2rem;
		margin-bottom: 1.5rem;
	}
}

.site-main.post .type-event .carroussel-content.slick-slider,
.site-main.post .type-workshop .carroussel-content.slick-slider {
	background-color: unset;
}

.site-main.post .type-event .carroussel-content button,
.site-main.post .type-workshop .carroussel-content button {
	display: none;
	visibility: none;
	width: 0;
	height: 0;
	font-size: 0;
}

.site-main.post .type-event .carroussel-content .slick-prev::before,
.site-main.post .type-workshop .carroussel-content .slick-prev::before {
	content: "<";
	position: absolute;
	bottom: 0;
	left: 23%;
	color: black;
	font-size: 12px;
	transform: translateY(100%);
}

.site-main.post .type-event .carroussel-content .slick-next::before,
.site-main.post .type-workshop .carroussel-content .slick-next::before {
	content: ">";
	position: absolute;
	bottom: 0;
	left: 76%;
	color: black;
	font-size: 12px;
	transform: translateY(100%);
}

.site-main.post .type-event .carroussel-content .carroussel-image,
.site-main.post .type-workshop .carroussel-content .carroussel-image {
	object-fit: cover;
	height: 30vh;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .carroussel-content .carroussel-image,
	.site-main.post .type-workshop .carroussel-content .carroussel-image {
		margin: 0 0.5rem;
		height: 40vh;
	}
}

@media screen and (min-width: 1280px) {

	.site-main.post .type-event .carroussel-content .carroussel-image,
	.site-main.post .type-workshop .carroussel-content .carroussel-image {
		height: 50vh;
	}
}

.site-main.post .type-event .slides-numbers,
.site-main.post .type-workshop .slides-numbers {
	width: fit-content;
	visibility: hidden;
	position: absolute;
	left: 50%;
	bottom: 0;
	color: black;
	font-size: 12px;
	font-family: "Krona One", sans-serif;
	transform: translate(-50%, 100%);
}

.site-main.post .type-event .slides-numbers.show,
.site-main.post .type-workshop .slides-numbers.show {
	visibility: visible;
}

.site-main.post .type-event .slick-slide,
.site-main.post .type-workshop .slick-slide {
	margin: 0 0;
}

.site-main.post .type-event .slick-cloned,
.site-main.post .type-workshop .slick-cloned {
	width: auto;
}

.site-main.post .type-event .slick-slide img,
.site-main.post .type-workshop .slick-slide img {
	width: 100%;
}

@media screen and (min-width: 980px) {

	.site-main.post .type-event .slick-slide img,
	.site-main.post .type-workshop .slick-slide img {
		width: 30vw;
	}
}

/* CSS mida imatge a la pàgina del taller. */
@media screen and (min-width: 1280px) {

	.site-main.post .type-event .post-content .post-content__description .thumbnail-container img {
		object-fit: scale-down;
		max-width: 55%;
		max-height: 100% !important;
	}
}

@media screen and (max-width: 1280px) {

	.site-main.post .type-event .post-content .post-content__description .thumbnail-container img {
		object-fit: scale-down;
		max-width: 100%;
		max-height: 100% !important;
	}
}

.site-main.post .type-workshop .post-header {
	border-bottom: 2px solid #9fc69f;
}

@media screen and (min-width: 0) and (max-width: 980px) {

	.site-main.post .type-workshop .post-content .post-content__description {
		border-top: 2px solid #9fc69f;
	}
}

@media screen and (min-width: 980px) {

	.site-main.post .type-workshop .post-content .post-content__description {
		border-left: 2px solid #9fc69f;
	}
}

@media screen and (min-width: 1280px) {

	.site-main.post .type-workshop .post-content .post-content__description .thumbnail-container img {
		object-fit: scale-down;
		max-width: 55%;
		max-height: 100% !important;
	}
}

@media screen and (max-width: 1280px) {

	.site-main.post .type-workshop .post-content .post-content__description .thumbnail-container img {
		object-fit: scale-down;
		max-width: 100%;
		max-height: 100% !important;
	}
}

.page-id-820 .page-content > p.introsom,
.page-id-820 .page-content > .wp-block-gallery {
	max-width: 1200px;
	margin: auto;
}

.page-id-820 .page-content > .wp-block-gallery {
	margin-bottom: 5rem;
}

.page-id-820 h2.wp-block-heading.has-text-align-center {
	font-family: "Montserrat";
	font-weight: 700;
	letter-spacing: -1px !important;
	line-height: 1.1em;
	margin: 20px 0;
}

.page-id-820 div#page {
	background-color: #e3d0bb;
}

@media (min-width: 768px) {

	.page-id-820 h2.wp-block-heading.has-text-align-center {
		font-size: 4em !important;
	}
}

@media (min-width: 1024px) {

	.page-id-820 h2.wp-block-heading.has-text-align-center {
		font-size: 5em !important;
	}
}

@media (min-width: 1200px) {

	.page-id-820 h2.wp-block-heading.has-text-align-center {
		font-size: 5em !important;
	}
}

@media (min-width: 1024px) {

	.page-id-820 .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
		width: calc(20% - var(--wp--style--unstable-gallery-gap, 16px) *0.75);
		height: calc(20% - var(--wp--style--unstable-gallery-gap, 16px) *0.75);
		max-width: 25% !important;
	}
}

@media only screen and (max-width: 1024px) and (min-width: 599px) {

	.page-id-820 .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
		width: calc(33% - var(--wp--style--unstable-gallery-gap, 16px) *0.75);
		height: calc(33% - var(--wp--style--unstable-gallery-gap, 16px) *0.75);
		max-width: 33% !important;
	}
}

@media only screen and (max-width: 599px) and (min-width: 374px) {

	.page-id-820 .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
		width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) *0.75);
		height: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) *0.75);
		max-width: 50% !important;
	}
}

@media only screen and (max-width: 374px) {

	.page-id-820 .wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image) {
		width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) *0.75);
		height: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) *0.75);
	}
}

.page-id-820 header.page-header {
	display: none;
}

.page-id-820 h2.wp-bflock-heading.has-text-align-center {
	padding: 0;
	margin: 25px 0 0 0;
}

.page-id-820 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	flex-grow: 0;
	flex-basis: fit-content;
}

@media only screen and (max-width: 768px) {

	.page-id-820 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
		background: transparent !important;
		font-size: 14px;
		padding: 5px;
		font-weight: 400;
		margin-top: 0;
		position: relative;
		border-radius: 420px !important;
	}
}

@media only screen and (min-width: 768px) {

	.page-id-820 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
		background: transparent !important;
		font-size: 16px;
		padding: 5px;
		font-weight: 400;
		margin-top: 0;
		position: relative;
		border-radius: 420px !important;
	}
}

@media screen and (min-width: 980px) {

	.page-id-820 .site-main .page-header,
	.page-id-820 .site-main .post-header {
		padding-right: 0;
		display: none;
	}
}

.page-id-820 h2,
.page-id-820 .title.is-2 {
	clear: both;
	font-size: 30px;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: 0;
	font-family: "Montserrat";
	font-weight: 500;
}

.page-id-820 h2.wp-block-heading.has-text-align-center.sommargin {
	padding: 0 50px;
}

.page-id-820 #newsletter {
	margin: 0 !important;
}

@media screen and (min-width: 980px) {

	.page-id-820 #newsletter {
		border-bottom: 0;
		margin: 0;
	}
}

.page-id-820 img.wp-image-2255 {
	margin: 40px 0;
}

.page-id-820 .newsletter__section-border {
	margin-top: -8rem;
}

.sommargin {
	margin: 10px 1rem;
}

.page-id-820 #newsletter .newsletter__section-border .newsletter__section-content .footer__subscription i {
	width: 3em;
	height: 3em;
	background-image: url(/wp-content/uploads/2023/12/chevron.png);
	margin-left: 10px;
}

.page-id-820 .newsletter__section-border {
	background-color: #b5d6db;
	min-width: 100%;
	padding: 0;
	min-width: 100%;
	left: 0;
}

.page-id-820 .wa {
	min-width: 100%;
	left: 0;
	top: 0;
}

.page-id-820 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	color: #000;
}

.page-id-820 .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
	border-radius: 420px !important;
	height: 95%;
	width: 95%;
}

.page-id-820 h1.page-title {
	text-align: center;
}

p.introsom {
	text-align: center;
	padding: 20px 50px;
	font-size: 150% !important;
}

.page-id-820 .site-main {
	padding: 0 0 5rem;
}

@media only screen and (min-width: 768px) {

	.page-id-820 p.introsom {
		text-align: center;
		padding: 20px 10%;
		font-size: 150% !important;
	}
}

@media only screen and (max-width: 768px) {

	.page-id-820 p.introsom {
		text-align: center;
		padding: 20px 5%;
		font-size: 120% !important;
	}

	.page-id-820 h1 {
		clear: both;
		font-size: 36px;
		line-height: 1.2;
		font-weight: 400;
	}
}

@media only screen and (min-width: 812px) {

	.page-id-820 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
		color: #333;
		font-weight: 400;
		font-size: 1.3vmax;
		font-family: "Montserrat";
	}
}

@media only screen and (max-width: 812px) {

	.page-id-820 .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
		color: #333;
		font-weight: 600;
		font-size: 1.8vmax;
		font-family: "Montserrat";
	}
}

@media only screen and (min-width: 812px) {

	.page-id-820 figure.wp-block-gallery.has-nested-images.columns-4.is-cropped.sommargin.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex {
		padding: 0 0 0 20px;
	}
}

@media only screen and (max-width: 812px) {

	.page-id-820 figure.wp-block-gallery.has-nested-images.columns-4.is-cropped.sommargin.wp-block-gallery-1.is-layout-flex.wp-block-gallery-is-layout-flex {
		padding: 0 0 0 10px;
	}
}

.page-id-820 p.has-background {
	padding: 1.25em 2.375em;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
}

.page-id-820 .has-large-font-size {
	font-size: 1.2em !important;
}

@media only screen and (max-width: 812px) {

	.page-id-820 .has-large-font-size {
		font-size: 1.1em !important;
		margin: 0 !important;
	}
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: none;
	text-shadow: none;
	will-change: transform;
}

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	content: "";
	height: 100%;
	-webkit-mask-image: linear-gradient(0deg, #000 20%, #0000);
	mask-image: none;
	max-height: 40%;
}

.wp-block-organic-profile-block .organic-profile-image {
	display: flex;
	align-items: center;
	background-size: contain;
	background-position: center;
	width: 100%;
	overflow: hidden !important;
	background-repeat: no-repeat !important;
	justify-content: space-around !important;
	max-width: 200px;
}

.organic-profile-content {
	text-align: left !important;
}

.fa-linkedin::before {
	content: "\f0ac" !important;
}

.wp-block-organic-profile-block .organic-profile-content h5 {
	text-transform: none;
}

.wp-block-organic-profile-block .organic-profile-image figure {
	margin: 0;
}

@media screen and (max-width: 767px) {

	.wp-block-organic-profile-block .organic-profile-image {
		max-width: none;
	}
}

@media screen and (max-width: 767px) {

	.wp-block-organic-profile-block .organic-profile-image img {
		padding: 0 10%;
	}
}

.wp-block-organic-profile-block {
	display: flex;
	align-items: stretch;
	background-color: #fff;
	margin: 32px 0;
	box-shadow: none !important;
	border: 0 1px 1px 0 solid #ccc;
}

/* Arxius i documentaci */
@media screen and (max-width: 600px) {

	.page-id-2366 .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
		padding: 0;
	}
}

@media (min-width: 600px) {

	.page-id-2366 .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content .wp-block-heading {
		margin-top: 0.1em;
	}
}
