/*
Theme Name: Eart
Theme URI: https://example.com/
Author: El teu nom
Author URI: https://example.com/
Description: Tema WordPress minimal fet des de zero amb Bootstrap, jQuery, WPML i Gutenberg.
Version: 1.1
Text Domain: eart
*/
@font-face {
  font-family: 'PerfectDOS';
  src: url('fonts/Perfect DOS VGA 437 Win.ttf') format('truetype');
}
@font-face {
  font-family: 'YuGothicLight';
  src: url('fonts/yu-gothic-light.ttf') format('truetype');
}
:root {
  --font-size-base: 100%;
	--colorsimple-1: #ff5;
	--colorsimple-2: #5ff;
	--colorsimple-3: #5f5;
	--colorsimple-4: #f55;
	--colorsimple-5: #f5f;
	--colorsimple-6: #aaa;
	--colorsimple-7: #0aa;
	--colorsimple-8: #00a;
	--colorsimple-9: #000;
	--color-1: #75fb8a;
	--color-2: #48feff;
	--color-3: #fefa74;
	--color-4: #a7a8d4;
	--color-5: #4553f4;
	--color-6: #ff5757;
	--color-7: #f09163;
	--color-8: #aaa;
	--color-9: #000;
	font-size: var(--font-size-base);
}
body {
	font-family: 'YuGothicLight', monospace;
	display: flex;
	flex-direction: column;
	height: 100dvh;
	margin: 0;
	background-color: #fff; /*000;*/
  color: #000; /*00FF00;*/
  font-size: var(--font-size-base);
  position: relative;
  }
h1, h2, h3, h4, h5, h6, .titolbloc, .titolweb, #menuprincipal, ul.menulateral {
	font-family: 'PerfectDOS', monospace;
	}
.fontalternativa {
	font-family: Courier, 'Courier New', monospace;
	}
.noamobil {
	display: none;
}
.doble {
	font-size: 2rem;
}
.meitatmes {
	font-size: 1.5rem;
}
.mesgros {
	font-size: 1.3rem;
}
header, footer {
	flex-grow: 0;
	z-index: 5;
}
#cosprincipal {
	flex-grow: 1;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
#cosprincipal > div {
	width: 100%;
	display: flex;
	flex-direction: column;
	max-height: 100%;
	position: relative;
}
.botoxip .wp-block-button__link, .botoxip a, .menulateral .current-menu-item a, .menulateral .current-page-ancestor a {
	border-radius: 0;
	background: url(./img/botoxip2.png) no-repeat right bottom;
	padding: 15px 28px 30px 15px;
	text-decoration: none;
}
#barrasuperior {
	display: flex;
	flex-direction: row;
	border-bottom: 1px solid #000;
	font-size: 1rem;
}
#barrasuperior > div {
	padding: 5px;
	width: 33.3333%;
}
#barrasuperior .titolweb {
	flex-grow: 0;
	text-align: center;
	z-index: 3;
	cursor: pointer;
	font-size:20px;
	line-height: 20px;
}
.innerfooter {
	display: flex;
	flex-direction: row;
	position: relative;
	overflow: hidden;
}
.innerfooter.mostra {
	overflow: visible;
}
.innerfooter > div {
  width: 33.3333%;
  padding: 5px 10px;
	font-size: 0.75rem;
	line-height: 1.5rem;
}
#peu3 {
	display: flex;
	justify-content: right;
	align-items: center;
}
#contingut, #contingutpare {
	height: 100%;
	display: flex;
}
#selectorlegal {
	cursor: pointer;
	display: inline-block;
	width: 24px;
	height: 24px;
	margin: 0 15px;
	line-height: 24px;
	background: url(./img/legal.png) center center;
	background-size: contain;
}
#menulegal {
	padding: 10px 20px;
	z-index: 10;
	border: 1px solid #000;
	position: absolute;
	/*transform: translateY(120%);*/
	transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
  background: #fff;
  bottom: 2rem;
  right: 15px;
}
#menulegal.mostra {
	/*transform: translateY(0);*/
  opacity: 1;
}
#menu-menu-legal {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
#menu-menu-legal li {
	margin: 10px 0;
}
#menu-menu-legal li a {
	text-decoration: none !important;
	color: #000;
}
#fletxaretrodown {
	display: none;
}
.mostra #fletxaretrodown {
	display: inline;
}
.mostra #fletxaretroup {
	display: none;
}
#hamburguesa {
	background: #fff;
	border: 1px solid #000;
	font-weight: bold;
	position: fixed;
	top: 0;
	left: 0;
	height: 30px;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 20px;
}
ul#menu-menu-principal {
	margin: 0;
	list-style-type: none;
	padding: 0;
}
#menuprincipal {
	display: none;
	z-index: 5;
}
#menuprincipal li {
	padding: 5px;
}
#menuprincipal a {
	text-decoration: none;
	font-size: 1.25rem;
}
#peu2 {
	display: flex;
	justify-content: center;
	flex-direction: row;
}
#peu2 a {
	color: #fff;
	text-decoration: none;
	padding: 0 10px;
	font-size: 1.2rem;
}
.innerfooter > div > a {
	text-decoration: none;
	color: #fff;
}
#menuhomewrapper {
	position: relative;
}
#menuhome {
	position: absolute;
	background: #fff;
	color: #000;
	width: 100%;
	z-index: 5;
	transform: translateY(-150%);
	transition: transform 0.5s ease-out, opacity 0.5s ease-out;
	opacity: 0;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
}
#menuhome.mostra {
	transform: translateY(0);
	opacity: 1;
	margin-top: 7px;
}
.titolweb a {
	text-decoration: none;
	color: #000;
}
#canalspotify {
	cursor: pointer;
	display: inline-block;
	width: 30px;
	height: 20px;
	margin: 0 15px;
	line-height: 20px;
	background: url(./img/play.png) no-repeat center center;
	background-size: contain;
}
#top3 {
	display: flex;
	flex-direction: row;
	justify-content: end;
	align-items: center;
}
.destacat {
	flex: 0 0 auto;
}
#menuesquerra, #contingutavi {
	flex: 1 1 auto;
/*	overflow: auto;*/
	display: flex;
}
.titolbloc {
	padding: 5px 0 5px 15px;
	font-size: 1.25rem;
	margin: 0;
	border: 1px solid #000;
}
.titolbloc h1 {
	padding: 0;
	font-size: 1.25rem;
	margin: 0;
}
#contingutavi {
	flex: 1 1 auto;
}
ul.menulateral {
	list-style-type: none;
	font-size: 1.25rem;
}
ul.menulateral li {
	margin-bottom: 3rem;
}
.menulateral a {
	color: #000;
	text-decoration: none;
}
.menulateral .current-menu-item a, .menulateral .current-page-ancestor a, .botoxip a {
	color: #fff;
}
.contingutbloc {
	padding: 0 15px;
	overflow: hidden;
	border-right: 1px solid #000;
}
/*
pre {
	margin: 0;
	display: inline-block;
	max-width: 90%;
}
*/
.anunci {
	margin: 8%;
	text-align: center;
}
.anunci img {
	max-width: 100%;
	height: auto;
}
.tags {
	margin: 20px 0;
}
.tags .tag {
	padding: 8px;
	display: inline-block;
	border: 2px solid #000;
	border-radius: 5px;
	margin: 0 20px 20px 0;
	font-size: 1.25rem;
}
body .wpml-ls-legacy-dropdown-click {
	width: auto;
}
body .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
	border-top: none;
}
body .wpml-ls-legacy-dropdown-click a {
	background: none;
	border: none;
	color: #fff;
}
.otgs-development-site-front-end {
	display: none !important;
}
#top1 {
	display: flex;
	justify-content: center;
	align-items: center;
}
#accessibilitat span {
	margin-right: 10px;
	color: #fff;
	cursor: pointer;
}
#accessibilitat span:last-child{
	margin-right: 0;
}
body .wpml-ls-legacy-dropdown-click a {
	padding: 0 10px;
}
#menu-eart {
	list-style: none;
	text-align: center;
	padding: 0;
}
#menu-eart li {
	padding: 10px 0;
}
#menuhome a {
	color: #000;
	text-decoration: none;
	font-size: 1.5rem;
}
body .wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu .wpml-ls-item {
	margin: 10px 0;
}
.menulateral {
	margin-top: 4rem;
}
.teavi #contingutpare, #contingutavi {
	height: 50%;
}
/* Força que el rail vertical sigui sempre visible */
.simplebar-track.simplebar-vertical {
  opacity: 1 !important;
  visibility: visible !important;
}
.simplebar-scrollbar::before {
  opacity: 1 !important;
}
/*.simplebar-scrollbar {
  display: block !important;
  height: 30px !important;
}*/
/* Final de Força que el rail vertical sigui sempre visible */
#contingut ul.menulateral li {
	display: inline-block;
	margin-right: 1rem;
}
.menusmobils {
	display: flex;
	flex-direction: row;
}
.menusmobils > div {
	flex: 1 1 0;
	position: relative;
	height: 2.13rem;
}
.menulateralmobil {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 4;
	background: #fff;
	border: 1px solid #000;
}
.menulateralmobil.mostra {
	border:none;
}
.menulateralmobil li {
	display: none;
	background: #fff;
	padding: 10px 5px 10px 10px;
}
.menulateralmobil li.current-page-ancestor, .menulateralmobil li.current-menu-item {
	display: flex !important;
	align-items: center;
	height: calc(100% - 20px);
	justify-content: space-between;
}
.menulateralmobil.mostra li:last-child {
	border-bottom: 1px solid #000;
}
.menulateralmobil.mostra li {
	display: list-item;
	height: auto;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}
.menulateralmobil a {
	text-decoration: none;
	color: #000;
	max-width: 88%;
	display: inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
	text-wrap: nowrap;
}
.triangle-toggle {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid #000;
	cursor: pointer;
}
.menulateral .triangle-toggle {
	display: none;
}
.menulateralmobil.mostra .triangle-toggle {
	border-top: none;
	border-bottom: 6px solid #fff;
}
.menulateralmobil.mostra li.current-page-ancestor a, .menulateralmobil.mostra li.current-menu-item a {
	color: #fff;
}
.menulateralmobil.mostra li.current-page-ancestor, .menulateralmobil.mostra li.current-menu-item {
	background: #000;
}
.retro-btn {
	display: none;
}
#barrasuperior .titolweb #menuhome a {
	color: #000;
}
.fitxa-hero { margin: 1rem 0; }
.fitxa-thumb { display:block; height:auto; max-width:100%; border-radius:8px; }
.fitxa-lightbox {
  position: fixed; inset: 0; display: none;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.75); z-index: 9999; padding: 2rem;
}
.fitxa-lightbox.is-open { display: flex; }
.fitxa-lightbox img {
  max-width: 90vw; max-height: 90vh; box-shadow: 0 10px 40px rgba(0,0,0,.5);
  border-radius: 8px;
}
.fitxa-lightbox__close {
  position: absolute; top: 14px; right: 14px;
  font-size: 28px; line-height: 1; border: 0; background: #fff; cursor: pointer;
  width: 40px; height: 40px; border-radius: 999px;
}
body.fitxa-noscroll { 
	overflow: hidden; 
}
.menufilles {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 1.25rem;
}
ul.menufilles li {
	margin-bottom: 3rem;
	margin-right: 2rem;
}
ul.menufilles a {
	text-decoration: none;
}

@media screen and (min-width:640px) {
#contingut ul.menulateral li {
	margin-right: 2rem;
}
}

@media screen and (max-width:991px) {
#menuprincipal.mostra {
	display: block;
	position: absolute;
	background: #fff;
	padding: 0;
	border: 1px solid #000;
	border-top: none;
	min-width: 240px;
}
#top1 {
	padding-left: 32px !important;
}
#columnaesquerra, #columnamig {
	display: none !important;
}
#columnadreta {
	height: 100%;
}
#menuhome.mostra {
	position: fixed;
	left: 0;
}
}
@media screen and (min-width:992px) {
.noamobil {
	display: block;
}
.namesmobil {
	display: none;
}
.innerfooter > div {
	font-size: 1rem;
}
#selectorlegal > span {
	font-size: 14px;
}
#accessibilitat span {
	margin-right: 20px;
}
.wp-block-columns {
	display: block;
}
/*#menuhomewrapper {
	margin: 0 0 0 33.333%;
	width: 33.3333%;
}*/
#hamburguesa {
	display: none;
}
.nomesmobil {
	display: none;
}
#menuprincipal {
	display: block;
	border-bottom: 1px solid #000;
}
ul#menu-menu-principal {
	display: flex;
	flex-direction: row;
	width: 100%;
}
ul#menu-menu-principal > li {
	flex: 1;
	text-align: center;
}
#cosprincipal {
	flex-direction: row;
}
#cosprincipal .columna {
	width: 33.3333%;
}
#cosprincipal .columna.col-2 {
	width: 66.6666%;
}
.retro-btn {
	display: inline-block;
	padding: 0px 24px;
	font-family: 'Courier New', monospace;
	font-size: 18px;
	color: #222;
	background: linear-gradient(145deg, #e6e6e6, #ffffff);
	border: 3px solid #444;
	border-radius: 8px;
	box-shadow: 4px 4px 0 #444;
	cursor: pointer;
	user-select: none;
	transition: all 0.1s ease-in-out;
	position: absolute;
	right: 31px;
	z-index: 2;
	top: 2px;
}
.retro-btn:active {
  box-shadow: 2px 2px 0 #444;
  transform: translate(2px, 2px);
}
.retro-btn::before {
	content: '<';
}
.retro-btn.clicat::before {
	content: '';
}
.retro-btn.clicat::after {
	content: '>';
}
#columnamig.articlexpandit {
	display: none;
}
#cosprincipal #columnadreta.columna.articlexpandit {
	width: 66.6666%;
}
#contingut ul.menulateral li {
	margin-right: 3rem;
}
}
