html,body,div,span,applet,object,iframe,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,label,legend,p,blockquote,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}body{line-height:1;color:black;background:white;}:focus{outline:0;}table{border-collapse:collapse;border-spacing:0;}caption,th,td{text-align:left;font-weight:normal;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul{list-style:none;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}blockquote:before,blockquote:after,q:before,q:after{content:"";}blockquote,q{quotes:"" "";}abbr,acronym{border:0;}

:root {
	--blue:#0A4A80;
	--light-grey:#f6f6f6;
}
body {
	font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  	font-optical-sizing: auto;
    margin: 0;
    padding: 0;
}

#container {
    max-width: 960px;
    margin: 0 auto;
    width: 90%;
	padding:24px 0;
}
.entry-content {
    margin: 16px 0 48px;
}
a.post-edit-link {
    position: fixed;
    right: 0;
    top: 200px;
    background: #333;
	color:white;
    padding: 40px;
	text-decoration:none;
	transition:all 0.5s ease;
}
a.post-edit-link:hover {
	background-color:black;
}
.entry-content p {
    line-height: 1.4;
    font-size: 14px;
	margin-bottom:16px;
	color:black !important;
}
.entry-content p a {
    color: black !important;
	text-decoration:underline !important;
    text-underline-offset: 4px;
	transition:all 0.5s ease;
}
.entry-content p a:hover {
	text-decoration:none !important;
}

/* BANNER GRIS SUPERIOR */ 
.small-logo {
	height:18px;
	display:inline-block;
}
.banner-avisos {
	width: 100%;
	background: #eaeaea;
	height:38px;
}
.banner-avisos-inner {
	display:flex;
	align-items: center;
	justify-content: space-between;
	max-width: 90%;
	margin: 0 auto;
	padding: 8px 0;
	font-size: 12px;
	text-align: center;
	line-height: 1.3;
	font-weight: 500;
	color:#222;
}
.banner-avisos-inner a {
	color:#222;
	text-decoration:none;
	transition:all 0.4s ease;
}
.banner-avisos-inner a:hover {
	opacity:0.85;
}
.social-links-menu {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links-menu li {
	display: inline-flex;
	margin: 0;
	padding: 0;
}

.social-links-menu .social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: #000;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.social-links-menu .social-link svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.social-links-menu .social-link:hover {
	opacity: 0.6;
}

/* HEADER */

header#header {
	display: flex;
	padding: 16px 5%;
	background-color: var(--blue);
	justify-content: space-between;
	align-items: center;
	position: sticky;
	top: 0;
	width:100%;
	transition:all 0.4s ease;
	    box-sizing: border-box;
}
body.scrolled header#header {
    padding: 6px 5%;
}
body.scrolled header#header {
    padding: 12px 5%;
}
body.scrolled  #branding div#site-title a {
	height: 55px;
}
header#header a {
	color: white;
	text-decoration:none;
}

header#header nav ul > li {
    display: inline-block;
    margin-right: 16px;
    font-size: 14px;
}
header#header nav ul > li:last-child {
    margin-right: 0;
}
header#header nav ul > li a {
	transition:all 0.4s ease;
}
header#header nav ul > li a:hover {
	opacity:0.85;
}

#branding div#site-title a {
    display: block;
    text-indent: -99999px;
    width: 194px;
    height: 110px;
    background-image: url('https://cecbll.cat/agendacultural/wp-content/uploads/2025/09/agbll-logo.jpg');
    background-size: contain;
    background-repeat: no-repeat;
	background-position: center left;
	transition:all 0.4s ease;
}


h1.entry-title {
    font-weight: 600;
    font-size: 1.2em;
	margin-top: 24px;
}

li.button-menu-item a {
    background: #0092d8;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #0092d8;
	transition:all 0.4s ease;
	display:inline-block;
	vertical-align:middle;
}

li.button-menu-item a:hover {
    color: var(--blue) !important;
	background-color:white;
    border: 1px solid white;
}

/* ESDEVENIMENTS FORM */
.esdeveniments-form {
	/* max-width: 650px; */
	max-width:100%;
	margin: 0 auto;
}
.esdeveniments-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.esdeveniments-form .form-grid div {
	
}
.esdeveniments-form label {
    display: block;
    font-size: 13px;
    color: grey;
    margin: 12px 0 4px;
}
.esdeveniments-form select, 
.esdeveniments-form input[type="text"],
.esdeveniments-form textarea,
.esdeveniments-form input[type="url"],
.esdeveniments-form input[type="email"] {
    width: 100%;
    max-width: 380px;
	max-width:100%;
    margin: 0;
    border-radius: 0;
    appearance: none;
    border: 1px solid #ccc;
    padding: 8px !important;
    box-sizing: border-box;
    resize: none;
	color: #666 !important;
	opacity: 1;	
	font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.esdeveniments-form input[type="date"],
.esdeveniments-form input[type="time"] {
	border: 1px solid #ccc;
	padding: 8px !important;
	font-size:14px;
}
.esdeveniments-form  input[type="file"] {
    font-size: 12px;
    margin: 8px 0;
}
.esdeveniments-form p.legal-fields, 
.esdeveniments-form p.legal-fields a {
    color: grey;
    font-size: 12px;
    line-height: 1.3;
}

.esdeveniments-submit-form {
    display: block;
    margin: 24px 0 48px;
}
.esdeveniments-submit-form input[type="submit"] {
    padding: 16px 24px;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    background-color: var(--blue);
	border:2px solid var(--blue);
	transition:all 0.4s ease;
	letter-spacing:0.5px;
}
.esdeveniments-submit-form input[type="submit"]:hover {
    background-color: white;
    color: var(--blue);
}
.esdeveniments-separador {
    display: block;
    margin: 48px 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
	border-color:#ccc;
}
.form-grid.bg-25 {
    background-color: #f2f2f2;
        padding: 16px 24px 32px;
    margin-top: -24px;
}

::placeholder {
	color: #666 !important;
	opacity: 1;	
	font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.esdeveniments-llegendes {
	display:block;
	margin-bottom:72px;
}
.esdeveniments-llegendes p {
    color: grey;
    font-size: 13px;
    line-height: 1.4;
    display: block;
}
/* FILTRE ESDEVENIMENTS */ 
.filtres-esdeveniments {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    font-size: 14px;
    background-color: #f6f6f6;
    padding: 16px;
}
.filtres-esdeveniments select {
	font-size: 12px;
	padding: 8px;
	opacity: 1;	
	font-weight:600;
	font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* LLISTAT ESDEVENIMENTS LIST */ 

.llistat-esdeveniment-item {
 	margin-bottom: 12px;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    padding: 18px;
    border-top: 1px solid #CCC;
    background-color: #f6f6f6;
    margin-left: auto;
    margin-right: auto;
}
.llistat-esdeveniment-item a {
	color:var(--blue) !important;
}
.llistat-esdeveniment-item-line {
    display: block;
    margin: 8px 0;
    font-size: 13px;
    font-weight: 600;
	line-height:1.4;
}
.llistat-esdeveniment-item-header {
    display: flex;
    justify-content: space-between;
    gap: 32px;
	margin-bottom:16px;
}
.llistat-esdeveniment-item-title,
.llistat-esdeveniment-item-title h1 {
    font-weight: 700;
    color: var(--blue);
	font-size: 18px;
	line-height:1.3;
}
span.llistat-esdeveniment-item-title-cat {
    text-transform: uppercase;
    font-size: 12px;
    color: grey;
    font-weight: 500 !important;
    display: block;
    margin-bottom: 8px;
}
.llistat-esdeveniment-item-date {
    text-align: right;
    font-weight: 600;
    font-size: 14px;
}
.llistat-esdeveniment-item-line span {
	font-weight: 400;
}
.llistat-esdeveniment-item-line.llistat-esdeveniment-item-mesinfo {
    margin-top: 24px;
}
.llistat-esdeveniment-item-textos {
	flex:2;
}
.llistat-esdeveniment-item-img {
	flex:1;
	max-width:212px;
}
.llistat-esdeveniment-item-img img {
    display: block;
    max-width: 100%;
    /* width: 300px; */
    height: auto;
    margin-right: 0;
    margin-left: auto;
}
.llistat-esdeveniment-item-line.llistat-esdeveniment-item-desc {
    line-height: 1.3;
    font-size: 12px;
    color: #666;
    margin-bottom: 16px;
}

.paginacio-esdeveniments button {
    margin-right: 8px;
    appearance: none;
    border: none;
    line-height: 24px;
    width: 24px;
    height: 24px;
    display: inline-block;
    padding: 0;
    border-radius: 100%;
    font-size: 11px;
    line-height: 24px;
    font-family: "Montserrat", sans-serif;
	cursor:pointer;
}
.paginacio-esdeveniments button.activa {
	background-color:var(--blue);
	color:#FFF;
}
/* ARCHIVE ESDEVENIMENTS */

body.post-type-archive-esdeveniment .event-list .evento {
    margin-bottom: 24px;
    line-height: 1.3;
}
body.post-type-archive-esdeveniment h1.page-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

/* FOOTER */

footer#footer {
    display: flex;
    padding: 24px 5%;
    background-color: var(--light-grey);
    justify-content: space-between;
    align-items: center;
	font-size:12px;
}
footer#footer div#copyright {
	line-height:1.5;
}
footer#footer div#copyright a {
	color: black;
	text-decoration: none;
	margin: 0 4px;
	text-underline-offset: 4px;
}

footer#footer div#copyright a:hover {
	text-decoration:underline;
}
/* Calendari */

.fc .fc-toolbar-title {
  font-size: 16px;
  margin: 0px;
  font-weight: 600;
}


/* MEDIA QUERIES */
@media only screen and (max-width:767px) {
	branding div#site-title a {
		transform: scale(0.85) !important;
		transform-origin: left !important;
	}
	header#header nav ul > li {
		display: block !important;
		font-size: 13px !important;
		text-align: right !important;
		margin: 0 0 16px !important;
	}
	.esdeveniments-form .form-grid {
		grid-template-columns: 1fr;
	}
	.llistat-esdeveniment-item-header {
		flex-direction:column;
		gap: 8px;
	}
	.llistat-esdeveniment-item-date {
		text-align:left
	}
	.filtres-esdeveniments,
	.llistat-esdeveniment-item {
		flex-direction:column;
	}
	.filtres-esdeveniments select {
		float: none;
		min-width: 100%;
		display: block;
		margin-top: 8px;
	}
}

/* ASJUSTOS RESPONSIVE JUNY 2026 */
@media only screen and (max-width: 767px) {
	.banner-avisos {
		height: auto;
	}
	.banner-avisos-inner {
		flex-direction: column;
		gap: 6px;
	}
}
@media only screen and (max-width: 464px) {
	header#header {
		flex-direction: column;
	}
	header#header nav ul > li {
		text-align: center !important;
	}
}