:root{
	--pl-text-color: #37363B;
	--eix-color: var(--pl-text-color);
	--pl-progressColor: #62901E;
	--pl-progressColor2: #7FBA27;
	--pl-size-h1: 56px;
	--pl-size-h2: 40px;
	--pl-size-h3: 32px;
	--pl-size-h4: 20px;
	--pl-size-h5: 16px;
	--pl-size-h6: 14px;
}

strong{
	color: var(--eix-color);
	font-weight: 900;
} 
#content-core h1, #content-core h2{
	color: var(--eix-color);
}

.percircle:after{
	background-color:#fff ;
}
#main-section{
	background-color: color-mix(in srgb, var(--eix-color) 3%, #f2f2f2);

}
.footerPaeriaSite{display:none;}

#portal-column-one .portletNavigationTree nav.portletContent, .rounded, #portal-breadcrumbs.plone-breadcrumb ol{
	border-radius: 2px!important;
}

body:has(.portletNavigationTree) #content{
	border: 1px solid #DDD;
}

.pam-view figure .title{
	color: var(--eix-color);
}
.pam-view figure .description, .strategic_objective__header p{
	background: color-mix(in srgb, var(--eix-color) 10%, transparent);
	padding: 8px 16px;
}
@media (min-width: 62em) {
	.pam-view figure .description, .strategic_objective__header p{
		padding: 16px 24px;
	}
}

.documentDescription {
    color: var(--pl-text-color);
    font-size: var(--pl-size-h5);
}


.pam-view figure{
	position: relative;
}

.pam-view figure .myBtn:after{
	content: "";
	position: absolute;
	inset: 0;
}

#portal-column-one .portletNavigationTree nav.portletContent{
	box-shadow: none;
	background-color: transparent;
}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem{
	position: relative;
    padding: 16px;
    border: 1px solid #DDD;
		border-radius: 4px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	box-shadow: none!important;
	margin-bottom: -1px;
	background-color: white;
	color: var(--pl-text-color);
}

#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:hover{ background-color: white!important;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:hover .bar-percent-background{ background-color: #f2f2f2!important;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:hover a{ color: color-mix(in srgb, var(--eix-color) 70%, black)!important;}

#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem.navTreeCurrentNode{z-index: 1000!important;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(1){ z-index:10;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(2){ z-index:9;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(3){ z-index:8;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(4){ z-index:7;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(5){ z-index:6;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(6){ z-index:5;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(7){ z-index:4;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(8){ z-index:3;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(9){ z-index:2;}
#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:nth-child(10){ z-index:1;}

#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:not(.navTreeCurrentNode){
    background-color: color-mix(in srgb, var(--eix-color) 10%, white);
		border-right-color: color-mix(in srgb, var(--eix-color) 10%, white);
}

#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem:not(.navTreeCurrentNode) .bar-percent-background{
	background-color: white;
}


#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem a{
	position: unset!important;
	color: var(--pl-text-color)!important;
	font-family: Palanquin,sans-serif;
}

#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem a:hover{
	background-color: unset!important;
}

#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem a:before{
	content: "";
	position: absolute;
	inset: 0;
}

.bg-custom-eix-light{
    margin-bottom: -8px;
    background-color: color-mix(in srgb, var(--eix-color) 10%, white);
    box-shadow: none !important;
}

.bd-custom-eix-dark{
	border:none; /* 1px solid color-mix(in srgb, var(--eix-color) 70%, black);*/
    border-radius: 4px;
}

.operative_objective .operative_objective__title{
	margin-bottom: 8px;
}

.operative_objective__subtitle a{
	color: color-mix(in srgb, var(--eix-color) 10%, black)!important;
	transition: 0.2s;
}

.operative_objective__subtitle a:hover{
	color: color-mix(in srgb, var(--eix-color) 70%, black)!important;
}

.label-pam{
	color: white;
	background-color: var(--pl-link-color)!Important;
}


.areasList__item > div{
	border-radius: 50px;
	border: 2px solid var(--pl-link-color);
}
.areasList__item > div > a{
	text-decoration: none;
}

.areasList__item > div > a:before{
	content: "";
	position: absolute;
	inset: 0;
}

@media (min-width: 62em) {
	body:has(#portal-column-one .portletNavigationTree) #main-container .col-md-push-3{
		padding-left: 0;
	}

	#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem.navTreeCurrentNode{
	    border-top-right-radius: 0;
	    border-bottom-right-radius: 0;
	}
	#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem.navTreeCurrentNode{
		border-right-width: 0;
	}
	#portal-column-one .portletNavigationTree nav.portletContent .navTreeItem.navTreeCurrentNode:after{
		content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        right: -1px;
        border: 2px solid white;
	}

	body:has(.portletNavigationTree) #content{
		border-top-left-radius: 0!important;
	}
}

.label-pam {
	background-color: #999;
    padding: 0.5rem 0.5rem !important;
}

/* ###################################################### */
/* PAM PAERIA */

/* ---------- */
/* Utilities */
.flex-shrink-0 { flex-shrink: 0 !important;}
.flex-grow-1 { flex-grow: 1 !important;}
.link-wrappery::before { content: ''; display: block;position: absolute;inset: 0; z-index: 3; }
.ff-heading { font-family: Palanquin, sans-serif !important;}
.fw-semi { font-weight: 600 !important;}
.searchPage.form-control,
.searchPage.btn.btn-primary { border-radius: 0 !important;}

/* ---------- */
/* Header */
.mnPrincipal__icon { font-size: .75em;}
#portal-breadcrumbs.plone-breadcrumb ol a.text-primary { color: var(--pl-brand-primary); }
h1.documentFirstHeading { border-bottom:none !important; color: #B50027 !important;}
strong#breadcrumbs-current { color: #B50027;}

/* ----------  */
/* Breadcrumbs */
#portal-breadcrumbs.plone-breadcrumb .breadcrumbs_wrapper { background-color: #FFFFFF; box-shadow: 0 0 6px rgba(139, 137, 147, 0.16); display: flex; justify-content: space-between; padding: 1rem; flex-wrap: wrap; gap: 1rem;}
#portal-breadcrumbs.plone-breadcrumb .breadcrumbs_wrapper ol { flex-grow: 1; box-shadow: none; background-color: transparent; padding: 0;}

/* ---------- */
/* Frontpage */
.pamItem {box-shadow: 0 1px 1px rgba(119,119,119,.08),0 2px 2px rgba(119,119,119,.12),0 4px 4px rgba(119,119,119,.16),0 8px 8px rgba(119,119,119,.2);}
.pamItem__title .pamItem__link { text-decoration: none; color: var(--pl-text-color); }
.pamItem__title .pamItem__link:hover,
.pamItem__title .pamItem__link:focus { border-bottom: none;}
.pamItem--featured { display: flex; flex-direction: column;	}
.pamItem .pamItem__figure { flex: 0 0 auto; width: 50%;}
.pamItem--featured .pamItem__figure { width: 100%;}
.pamItem .pamItem__image { width: 100%; height: 100%;object-fit: cover; height: 100% !important;}
.pamItem--featured .pamItem__image { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover;}
@media (min-width: 48em) { /* 768px */
	.pamItem { height: 100%;}
	.pamItem--featured { flex-direction: row;}
	.pamItem--featured .pamItem__figure { width: 50%;}
	.pamItem .pamItem__text { display: flex; flex-direction: column; flex-grow: 1;}
}
@media (min-width: 62em) { /* 992px */
	.pamItem .pamItem__image { width: 100%; height: auto;object-fit: cover;aspect-ratio: 1/1; }
}

/* ---------- */
/* Buttons */
.btn,
#content-core a.myBtn, .myBtn { text-transform: uppercase; text-decoration: none; font-family: Palanquin, sans-serif; font-weight: 600; font-size: 1.4rem; display: inline-flex; justify-content: center;align-items: center;border-radius: .2rem; padding: 15px 24px 16px; border:none}
body #content-core a.myBtn, body .myBtn { background-color: var(--eix-color, var(--pl-brand-primary) ); color: var(--pl-white); } 
body #content-core a.myBtn:hover, body .myBtn:hover,
body #content-core a.myBtn:focus, body .myBtn:focus { background-color: color-mix(in srgb, var(--eix-color, black) 80%, black);}

/* ---------- */
/* News */
.newsItem {
	display: flex;
	flex-direction: column-reverse;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.newsItem__text {
	background-color: #fff;
	background-color: var(--pl-white);
	box-shadow: 0 1px 1px rgba(119,119,119,.08),0 2px 2px rgba(119,119,119,.12),0 4px 4px rgba(119,119,119,.16),0 8px 8px rgba(119,119,119,.2);
	padding: 2.4rem;
	display: flex;
	position: relative;
	z-index: 2;
 
	width: 100%;
}
.newsItem .newsItem__text * {
	text-align: left !important;
}
.newsItem__title {
	font-size: 16px;
	font-size: var(--pl-size-h6, 16px);
}
.newsItem__link {
	text-decoration: none;
	color: #37363b;
	color: var(--pl-text-color);
}
.newsItem__text__buttons {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin-left: .8rem;
}
.newsItem__readmore {
	color: var(--eix-color);
	color: transparent;
	background-image: linear-gradient(to left,var(--eix-color, var(--pl-brand-primary)) 0,var(--eix-color, var(--pl-brand-primary)) 50%,var(--pl-text-color) 50%,var(--pl-text-color) 100%);
	background-position: right center;
	background-size: 200% 100%;
	background-clip: text;
	-webkit-background-clip: text;
	padding-right: .8rem;
	display: block;
}
.text-overlay {
	font-family: "Open Sans",sans-serif;
	font-weight: 400;
	font-size: 12px;
	font-size: var(--pl-size-small, 12px);
	line-height: 1.25;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.newsItem__image {
	overflow: hidden;
}
@media (min-width: 62em) {
	.newsItem {
		flex-direction: row-reverse;
		align-items: flex-start;
	}
	.newsItem__text {
		margin: 1.6rem 0 1.6rem -1.6rem;
	}
	.newsItem__image {
		width: 50%;
		display: block;
		aspect-ratio: auto;
		flex: 0 0 50%;
	}
}

/* ---------- */
/* Footer */
.logoeCityclic { height: 1.6rem; }

/* ---------- */
/* COOKIE KLARO */
#cookieklaro .cm-btn {
	border-radius: 0.2rem;
	font-weight: 600;
	text-transform: uppercase;
	padding: 1.6rem 2.4rem;
	font-size: 1.4rem;
	line-height: 1.25;
}
#cookieklaro .cm-btn-success {
	background-color: #B50027;
	color: white;
	border-color: white;
}

/* ---------- */
/* Scope */
.scopeImage01 {
	width: 100%;
	height: auto;
	aspect-ratio: 16/4;
	object-fit: cover;
	margin-bottom: 3.2rem;
	border-radius: .8rem;
}
.scopeImage02 {	
	width: 12.0rem;
	aspect-ratio: 1/1;
	object-fit: cover;
	margin-left: 1.6rem;
	margin-right: 1.6rem;
	border-radius: .4rem;
}
#content-core .strategic_objective__header__title {
	color: #B50027;
}


/* ---------- */
/* redesign 24 */
/* PORTADA */
.pamItem__featured--img {
	max-width: 250px;
	height: auto;
	width: 100%;
	margin-top: 0.5rem;
}

/* FITXA */
.pam__featured--img {
	width: 100%;
  	max-height: 54px;
}
.s-wrapper {
	width: 12rem;
	height: 10.9rem;
	background: url(++theme++pam/img/seu-vella_progres.svg) center center/contain no-repeat;
}
.s-wrapper__progres__image {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 12rem;
	height: 10.9rem;
	fill: var(--pl-progressColor);
}
.s-wrapper__progres {
	position: absolute;
	overflow: hidden;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 2;
}
.s-wrapper--big,
.s-wrapper--big .s-wrapper__progres__image {
	width: 9rem;
	height: 21.8rem;
}
.s-wrapper__content {
	display: flex;
	justify-content: center;
	align-items: end;
	gap: 0.8rem;
}
.s-wrapper__percent--title{
	color: var(--pl-progressColor);
}
/* .s-wrapper__slogan .title {
	color: var(--pl-progressColor);
	font-weight: 300;
} */
.s-wrapper__slogan--svg {
	width: 100%;
  	height: 54px;
	position:relative;
}
.s-wrapper__slogan--svg::before {
	content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%; 
    height: 54px; 
    background-size: contain; 
    background-repeat: no-repeat;
	background-position: bottom;
	fill: var(--pl-progressColor);
}


.s-custom-wrapper__background svg {
	fill: #e8e7e7;
}
.listing .s-custom-wrapper__background svg {
  width: 80px;
  height: auto;
  display: block;
}
.listing .s-custom-wrapper__progres svg {
  width: 80px;
  height: auto;
}
.s-custom-wrapper__progres svg {
	position: absolute;
	left: 0;
	bottom: 0;
	fill: var(--pl-progressColor);
}
.s-custom-wrapper__progres {
	position: absolute;
	overflow: hidden;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 2;
}
.s-custom-wrapper__content {
	display: flex;
	justify-content: center;
	align-items: end;
	gap: 0.8rem;
}
.s-custom-wrapper__percent--title{
	color: var(--pl-progressColor);
}


.scopes__list figure:nth-child(1) .s-wrapper__slogan--svg::before {
	background-image: url('++theme++pam/img/slogan_bon-govern.svg');	
}
.scopes__list figure:nth-child(2) .s-wrapper__slogan--svg::before {
    background-image: url('++theme++pam/img/slogan_seguretat.svg');	
}
.scopes__list figure:nth-child(3) .s-wrapper__slogan--svg::before {
    background-image: url('++theme++pam/img/slogan_saludable.svg');	
}
.scopes__list figure:nth-child(4) .s-wrapper__slogan--svg::before {
    background-image: url('++theme++pam/img/slogan_dona.svg');	
}
.scopes__list figure:nth-child(5) .s-wrapper__slogan--svg::before {
    background-image: url('++theme++pam/img/slogan_innovacio.svg');	
}
.scopes__list figure:nth-child(6) .s-wrapper__slogan--svg::before {
    background-image: url('++theme++pam/img/slogan_oportunitats.svg');	
}

.bg-pla-transversalitat {
    background-color: color-mix(in srgb, #ff0000 10%, white);
}

.pla-transversalitat h2 {
	color: #B50027 !important;
}

.userrole-basic {

	ul.plone-toolbar-main li{
		display: block;

		&#product-pam-admin_menu{
    		display: block;
		}
	}

	ul#personal-bar-container li#portal-personaltools ul li{
		display: block;

		&:last-child{
			display: block;
		}
	}
}

.buttons-export::before { content: '\e026'; font-family: 'Glyphicons Halflings' !important; display: inline-block !important;}