/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 09 2025 | 12:42:08 */
/* HEADER */
@media (max-width: 767px) {
	.site-header .header-image {
		width: 280px;
	}
}

/* MENU MOBILE SLIDEOUT */
.slideout-overlay {
	background-color: rgb(255 255 255 / 62%);
}
.slideout-navigation button.slideout-exit,
.main-navigation.slideout-navigation .main-nav ul li a {
	padding-left: 40px;
}
.slideout-navigation button.slideout-exit {
	padding-top: 40px;
}
.offside-js--interact .offside, .offside-js--interact .offside-sliding-element {
	transition: transform .4s cubic-bezier(.16,.68,.43,.99);
}
    

/* TITOLS */
.TitolSeccio:before {
	background-color: currentColor;
    content: " ";
    display: inline-block;
    height: 1px;
    left: 0;
    position: absolute;
    top: -20px;
    width: 95px;
}
.TitolSeccio sup,
.TitolSeccio sub {
    display: inline-flex;
	font-size: 70%;
	font-weight: normal;
    height: auto;
    line-height: initial;
}

/* BOTONS */
.BotoLinia {
	white-space: nowrap;
}

/* MENU SHORTCODE */
.shortcode-menu {
	display: flex;
	flex-direction: column;
	margin: 0;
	list-style-type: none;
}
.menu-footer-menu-container .shortcode-menu {
	flex-direction: row;
	gap: 30px;
}
.menu-footer-menu-container .menu-item {
    display: flex;
    align-items: center;
}
.menu-footer-menu-container .menu-item:after {
	background-color: var(--base);
	content: ' ';
	display: inline-flex;
	height: 100%;
	position: relative;
	right: -15px; /* gap/2 */
	width: 1px;
}
.menu-footer-menu-container .menu-item:last-child:after {
	display: none;
}
.menu-footer-menu-container .menu-item a {
	text-decoration: none;
}

/* MENU ANCHOR */
.MenuAnchor {
	position: sticky;
	top: 0px;
	z-index: 1;
}
.admin-bar .MenuAnchor {
	top: 46px
}
@media (min-width: 783px) {
	.admin-bar .MenuAnchor {
		top: 32px
	}
}
.MenuAnchor ul.wp-block-navigation {
	flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
}
.MenuAnchor .wp-block-navigation-item {
	padding: 0 10px;
}
@media (min-width: 1200px) {
	.MenuAnchor .wp-block-navigation-item {
		padding: 0 20px;
	}
}
.MenuAnchor .wp-block-navigation-item:first-child {
	padding-left: 0;
}
.MenuAnchor .wp-block-navigation-item a {
	white-space: nowrap;
}
.MenuAnchor .wp-block-navigation-item a.active {
	color: var(--contrast-3) !important;
}
.SeccioAnchor {
	scroll-margin-top: 90px; /* sense el codi js no funciona */
}


/* LLISTES */
.wp-block-list li {
	margin-bottom: 8px;
}
.TextoDestacado .wp-block-list li {
	margin-bottom: 20px;
}
.wp-block-list li:has(.wp-block-list) {
	font-size: 110%;
	margin-bottom: 30px;
}
.wp-block-list li:has(.wp-block-list) ul {
	margin-top: 10px;
}
.wp-block-list li:has(.wp-block-list) li {
	font-size: initial;
}
@media (max-width: 767px) {
	ol, ul {
		margin: 0 0 1.5em 1.2em;
	}
}


/* ARCHIVE */
.gb-loop-item .gb-text.excerpt {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 4; 
	-webkit-box-orient: vertical;
}


/* CONTACT FORM 7 */
.wpcf7-form p {
    margin-bottom: 4px;
}
input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
	outline: 0 !important;
	padding: 20px 15px;
    width: 100%;
}
textarea {
	height: 150px;
}
label {
	line-height: 30px;
}
.wpcf7-acceptance .wpcf7-list-item {
	margin-left: 0;
}
.wpcf7 .wpcf7-submit {
	align-items: center;
    background-color: var(--base);
    color: var(--contrast);
    display: inline-flex;
    font-size: .8rem;
    letter-spacing: .05rem;
    text-decoration: none;
    text-transform: uppercase;
    transform: translate3d(-10px,0px,0px);
    transition: all 0.5s ease 0s;
    border: 1px solid var(--base-3);
    border-radius: 100px;
    padding: 0.8rem 1.8rem;
}
.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--contrast);
}
.wpcf7 .wpcf7-submit:disabled {
    opacity: .5;
}
.wpcf7 .wpcf7-submit:hover:disabled {
    background-color: var(--base) !important;
    border-color: var(--base-3);
}
.wpcf7 .wpcf7-submit:disabled:hover {
    background-color: var(--contrast-2);
}
.wpcf7 form .wpcf7-response-output {
	border-color: var(--accent);
	border-style: dashed;
	margin-left: 0;
	padding: 20px;
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--accent);
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: red;
}
input[data-com-onepassword-filled="dark"] {
    color: var(--base) !important;
}
.wpcf7-not-valid-tip {
	font-size: .9em;
}

/* Flot label wpcf7: el label sembla un placeholder però al fer focus es queda a dalt en petit */
.wpcf7 p {
  position: relative;
  margin-bottom: .6rem;
}
.wpcf7 p > label {
  position: absolute;
  left: 15px;
  top: 32px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.2s ease all;
}
/* floating effect */
.wpcf7 p:focus-within label,
.wpcf7 p.has-value label {
  top: -4px;
  transform: translateY(0);
  font-size: 10px;
}
.wpcf7 p select.placeholder-selected {
  color: transparent;
}


/* CHECKBOX */
input[type="checkbox"] {
    appearance: none;
	background-color: var(--base);
    border: 1px solid var(--contrast-3);
    border-radius: 100%;
	color: var(--contrast);
	display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    margin-right: 8px;
    position: relative;
    top: -1px;
    vertical-align: middle;
    width: 22px;
}
input[type="checkbox"]:checked {
	background-color: var(--accent);
	border-color: var(--accent);
}
input[type="checkbox"]:checked::after {
	content: "\2713";
    font-family: ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	font-size: 14px;
	position: relative;	
}


/* GO TOP */
a.generate-back-to-top {
    border: 1px solid var(--base-3);
	border-radius: 100%;
	transition: all 0.5s ease 0s;
	width: 42px;
}
a.generate-back-to-top:hover {
    border-color: var(--accent);
}