@charset "utf-8";


/* -------- Reset CSS -------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, font, img, ins, kbd, q, s, samp, strike, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0; padding:0; border:0; outline:0; font-weight:inherit; font-style:inherit; font-family: 'MuseoSans', sans-serif; vertical-align:baseline;
}
:focus {outline: 0;}
a, a:hover { text-decoration: none; cursor: pointer;}
table {border-collapse: separate; border-spacing: 0;}
caption, th, td {text-align: left; font-weight: normal;}
th, td {text-align: left; font-weight: normal;}
img, iframe {border: none; text-decoration:none; vertical-align: middle;}
ul {list-style: none;}
input, textarea, select, button {font-size: 100%; font-family: 'MuseoSans', sans-serif;}
select {margin: inherit;}
hr {margin: 0; padding: 0; border: 0; color: #cfcfcf; background-color: #cfcfcf; height: 1px}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}


/* ---- Afegits pel ceebox ---- */
*{padding: 0; margin: 0;}
html,body {height:100%;}

/* Elements generals */
xmp {
	font-family: Arial, Verdana;
	font-size: 11px;
	border: 1px solid green;
	background-color: #C1F9C6;
	padding: 5px 5px 5px 5px;
	margin: 0;
}

body {	
	margin: 0;
	padding: 0;
	text-align: center;
	color: #636363;
	background: #ffffff;
	text-align: left;
}
form {
	margin-top: 0px;
	margin-bottom: 0px;
	display: inline;
}
a {
	color: #636363; 
}
a:hover {
	text-decoration: underline;
}
em {
	font-style: italic;
}
dl {
  display: flex;
  flex-wrap: wrap;
  color: #636363;
}
dl dt {
  width: 25%;
}
dl dd {
  margin-left: 10px;
  width: calc(75% - 10px);
}


h1 {
	font-size: 1.7em;
	color: #795f89;
	font-weight: bold;
	margin-bottom: 35px;
	margin-top: 35px;
	padding-bottom: 18px;
	border-bottom: 1px solid #adadad;
}
h1 a {
	color: #000000;	
}
.titol-portada  {
	font-size: 1.28em;
	color: #795f89;
	line-height: normal;
	border-bottom: none;    
    padding-bottom: 20px;
    border-bottom: 2px solid #c4c4c4;
   	margin-bottom: 40px;
   	display: block;
}
.titol-portada a {
	color: #795f89;	
}
.titol-portada2 {
    font-size: 1.28em;
    color: #795f89;
    line-height: normal;
    border-bottom: none;
    padding-bottom: 10px;
    border-bottom: 2px solid #c4c4c4;
    margin-bottom: 20px;
    display: block;
}
.titol-portada2 a {
	color: #972836;	
}
.titol-portlet-llista {
	margin: 0 0 20px 0;
	font-size: 1.6em;
	color: #383838;
	font-weight: bold;
}
.titol-registre {
	margin: 0 0 15px 0;
	font-size: 1.6em;
	color: #383838;
	font-weight: bold;
}
h2 {
	margin-top: 15px;
	font-size: 1.2em;
	color: #9f1b32;
	font-weight: bold;
}
h3 {
	margin-top: 15px;
	font-size: 1.15em;
	color: #9f1b32;
	font-weight: bold;
}
h4 {
	margin-top: 15px;
	font-size: 1.1em;
	color: #9f1b32;
	font-weight: bold;
}
h5 {
	margin-top: 15px;
	font-size: 1em;
	color: #9f1b32;
	font-weight: bold;
}

blockquote {
	margin-left: 2em;
	margin-top: 0px;
	margin-bottom: 0px;
    line-height: 180%;
}

audio {
	max-width: 100%;
}

/* LLista */
ul {	
	margin: 0;
	padding: 0px 10px 0 5px;
	list-style: disc inside;
}
ul li {
	margin: 0.6em 0 0.6em 0.2em;
	padding: 0 0 0 1em;
}
ul li.nomarca, ol li.nomarca  {	
	margin: 0 0 0.5em 0.2em !important;
	padding: 0 !important;
	background: none !important;
}
ul li.columnes, ol li.columnes {
	float: left;
}
ol {
	color: #795f89;
	margin: 0;
	padding: 0px 13px 0 2em;
}
ol li {
	margin: 1em 0 0.3em 0.5em;
	padding: 0 0 0 1.1em;
}
ol span,
ol p,
ol li dl dt, 
ol li dl dd {
	color: #636363;
}


/* Classes per ocultar capes */
.nosize {
	position: absolute;
	width: 0px;
	height: 0px;
	overflow: hidden;
}
.nodisplay, label.nodisplay {
	display: none !important;
}


/* Alineacions */
.vola-esq {
	float: left;
}
.vola-dre {
	float: right;
}
.neteja {
	clear: both;
}
/* Div separador d'elements d'una pàgina */
.element {
	clear: both;
	overflow: hidden;
	/* Parallax params */
	z-index: 1;
	position: relative;
}
.element p img {
	/* posat perquè sino totes les imatges migrades en els clob surten enganxades al text */
	padding-left: 3px;
	padding-right: 3px;
}

/* Editor HTML */
.bold {
	font-weight: bold;
}
.italic {
	font-style: italic;
}
.underline {
	text-decoration: underline;
}
.right {
	text-align: right;
}
.left {
	text-align: left;
}
.full {
	text-align: justify;
}
.center {
	text-align: center;
}

.no-padding {
	padding: 0 !important;
}

.disabled {
	opacity: .50; 
	filter: alpha(opacity=50);
	color: #cccccc;
}

/* ---- Titols ---- */
h1.titol-portada {
	display: none;
}

h1.titol-pagina {
	
}
h1.titol-pagina .fletxa {
	font-size: 0.76em;
}
h1.titol-pagina a {
	font-size: 0.76em;
}

h1.titol-pagina-error {
	position: inherit;
	left: auto;
	color: #ff0000;
	font-size: 1.6em;
}

.titol-camp {
	font-size: 1.1em;
	color: #383838;
	font-weight: bold;
}

/* LListat de taula directori */
ul.fa-ul  {
}
ul.fa-ul li {
	
}
ul.fa-ul li.no-marge {
	margin-left: -2em;
}
ul.fa-ul i {
	font-size: 1.25em;
	color: #972836;
}
ul.fa-ul span, ul.fa-ul a {
	/*
	float: left;
	width: calc(100% - 50px);
	*/
	
	/* These are technically the same, but use both */
	overflow-wrap: break-word;
	word-wrap: break-word;
	
	-ms-word-break: break-all;
	/* This is the dangerous one in WebKit, as it breaks things wherever */
	word-break: break-all;
	/* Instead use this non-standard one: */
	word-break: break-word;
	
	/* Adds a hyphen where the word breaks, if supported (No Blink) */
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
	padding: 1px 0 1px 0;
}

.llista-portada-amb-imatges a.document, .llista-sense-imatges-columnes a.document {
	background: none;
	margin: 0;
	padding: 0;
}

/* Negre petit portada */
.titol-llista, a.titol-llista, .titol_llista, a.titol_llista  {
	font-size: 1.05em;
	color: #383838;
	font-weight: bold;
	text-decoration: none;
	line-height: normal;
}
a.titol-llista:hover, a.titol_llista:hover {
	text-decoration: underline;
}

/* Negre gran */
.titol-llista-2, a.titol-llista-2, .titol_llista2, a.titol_llista2 {
	color: #383838;
	font-weight: bold;
	text-align: left;
	font-size: 1.15em;
	line-height: normal;
}
a.titol-llista-2:hover, a.titol_llista2:hover {
	text-decoration: underline;
}


/* Títol intern */
.titol-intern, .TitolIntern {
	color: #383838;
	font-size: 1.1em;
	font-weight: bold;
}

/* Agrupació */
.titol-agrupacio {
	color: #383838;
	font-size: 1.5em;
	font-weight: bold;
	padding: 1.4em 0 0.5em 0;
	display: block;
}
ul li:first-child .titol-agrupacio {
	padding-top: 0;
}

/* Gris petit portada */
.subtitol {
	color: #9b9b9b;
	font-weight: bold;
	font-size: 1em;
	line-height: normal;
}

/* Gris petit gran */
.subtitol-2, .subtitol2 {
	color: #9b9b9b;
	font-weight: bold;
	font-size: 1.05em;
	line-height: normal;
}


/* --- Text --- */
.texte {
	font-size: 1em;
}
.remarca, .Remarca {
	font-weight: bold;	
}
.MarcaCerca {
	background-color: #e3e0de;
    color: #795f89;
}
.text-resalta {
	color: #795f89;
}
.negreta  {
	font-weight: 400;
}
.signe-mes-agenda {
	color: #795f89;
}

/* Links */
.link, a.link {
	color: #636363;
	text-decoration: underline;
}
a.link:hover {
	text-decoration: underline;
}
.link-mini, a.link-mini, .linkmini, a.linkmini {
	color: #636363 !important;
	font-size: 0.9em !important;
	text-decoration: underline;
}
a.link-mini:hover, a.linkmini:hover {
	text-decoration: underline;
}
.link-negreta, a.link-negreta  {
	font-weight: bold !important;
	color: #636363 !important;
	text-decoration: underline;
}
a.link-negreta:hover {
	text-decoration: underline;
}
.link-negre, a.link-negre {
	color: #000000;
	text-decoration: underline;
}
a.link-negre:hover {
	text-decoration: underline;	
}
.link-gris, a.link-gris, .linkgris, a.linkgris {
	color: #9b9b9b;
	text-decoration: underline;
}
a.link-gris:hover, a.linkgris:hover {
	text-decoration: underline;	
}


/* ---- Imatges ---- */
.img-dreta {
	float: right; 
	margin: 0 0 4px 20px;
}
.img-esquerra {
	float: left; 
	margin: 0 8px 5px 0;
}
.img-absolut-esquerra {
	float: left; 
	margin: 0 8px 0 0; 
}
.img-absolut-dreta {
	float: right; 
	margin: 0 0 0 20px; 
}


/* ---- Videos ---- */
a.video {
    position: relative !important;
    display: block !important;
    padding-top: 75%;
}
a.video img {
	width: 100%;
    height: 100%;
    
    position: absolute;
    top: 0;
    left: 0; 
}
a.video img.fons-video {
   	position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: inherit;
    height: inherit;
    max-width: 50%;
    max-height: 50%;
    top: 25%;
}

/* Videos responsiu */
.video-contenidor {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    height: 0;
    overflow: hidden;
}
.video-contenidor iframe,
.video-contenidor object,
.video-contenidor embed,
.video-contenidor video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.video-contenidor .video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-contenidor.video-contenidor-header {
	margin-top: -12px;
	padding-bottom: 35.8%;
}
.video-contenidor.video-contenidor-header video,
.video-contenidor.video-contenidor-header iframe,
.video-contenidor.video-contenidor-header object,
.video-contenidor.video-contenidor-header embed {
 	height: 158%;
	top: -38%;
}

/* ---- LListes ---- */
/* Llista portada amb imatges */
ul.llista-portada-amb-imatges {
	margin: 0;
	padding: 0;
	list-style: none outside none;
	overflow: hidden;
}
ul.llista-portada-amb-imatges li {
	margin: 0 0 10px 0;
	padding: 0;
	display: block;
	text-align: left;
	background-image: none;
	overflow: hidden;
	vertical-align: bottom;
	line-height: normal;
}
ul.llista-portada-amb-imatges li img {
	max-width: 100%;
}
ul.llista-portada-amb-imatges li .llista-cont-img {
	float: left;
	overflow: hidden;
    text-align: left;
    width: 58%;
}
ul.llista-portada-amb-imatges li .llista-cont-img  p {
	margin-bottom: 5px;	
}
ul.llista-portada-amb-imatges li .llista-contingut  {
	padding: 0.6em 0 0 0;
	clear: both;
	text-align: left;
}
ul.llista-portada-amb-imatges li .llista-contingut p {
	margin-bottom: 5px;
}
ul.llista-portada-amb-imatges li p.salt-linia {
    clear: both;
}
ul.llista-portada-amb-imatges li .llista-img {
    width: 30%;
    border: 1px solid transparent;
    height: 100%;
}
ul.llista-portada-amb-imatges li.columna {
	float: left;
	width: 50%;	
}
ul.llista-portada-amb-imatges li.columna .llista-img-sup,
ul.llista-portada-amb-imatges li.columna .llista-contingut {
	margin-left: 5px;
	margin-right: 0;
}
ul.llista-portada-amb-imatges li.columna-1 {
	float: left;
	width: 50%;	
	clear: both;
}
ul.llista-portada-amb-imatges li.columna-destacada {
	float: left;
	width: 100%;	
	clear: both;
}
ul.llista-portada-amb-imatges li.columna-1 .llista-img-sup,
ul.llista-portada-amb-imatges li.columna-1 .llista-contingut,
ul.llista-portada-amb-imatges li.columna-destacada .llista-img-sup,
ul.llista-portada-amb-imatges li.columna-destacada .llista-contingut {
	margin-right: 5px;
	margin-left: 0;
}

ul.llista-portada-amb-imatges li.columnes3 {
	width: 33.3%;
	float: left;
}
ul.llista-portada-amb-imatges li.columna-destacada3 {
	float: left;
	width: 100%;	
	clear: both;
	font-size: 1.5em;
}
ul.llista-portada-amb-imatges li.columnes3 .llista-img-sup,
ul.llista-portada-amb-imatges li.columnes3 .llista-contingut {
	margin-left: 4px;
	margin-right: 4px;
}
ul.llista-portada-amb-imatges li.columnes3:nth-child(3n+3) .llista-img-sup,
ul.llista-portada-amb-imatges li.columnes3:nth-child(3n+3) .llista-contingut {
	margin-left: 8px;
	margin-right: 0px;
}

ul.llista-portada-amb-imatges li.columnes3-1 {
	float: left;
	width: 33.3%;
	clear: both;
}
ul.llista-portada-amb-imatges li.columnes3-1 .llista-img-sup,
ul.llista-portada-amb-imatges li.columnes3-1 .llista-contingut,
ul.llista-portada-amb-imatges li.columna-destacada3 .llista-img-sup,
ul.llista-portada-amb-imatges li.columna-destacada3 .llista-contingut {
	margin-right: 8px;
	margin-left: 0;
}
ul.llista-portada-amb-imatges li.mes-info {
	font-size: 1em;
	font-weight: bold;
	color: #898989;
	text-align: right;
}
ul.llista-portada-amb-imatges li.mes-info a {
	color: #898989;
}
ul.llista-portada-amb-imatges div.div-imatge-superior {
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	width: 100%;
	padding-top: 75%;
	overflow: hidden;
	position: relative;
}
ul.llista-portada-amb-imatges div.div-imatge-superior img {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	object-fit: cover;
}

.bloc-registres-relacionats {
	margin-top: 35px;
}


/* Llista portada sense imatges */
ul.llista-portada-sense-imatges {
	margin: 0;
	padding: 0;
	list-style: none outside none;
}
ul.llista-portada-sense-imatges li {
	padding: 8px 10px 1.1em 7px;
	margin: 0;
	background: transparent url('../img/fons-llista.png') top left no-repeat;
}


/* Llista portada calendari */
div.calendari-contingut {
	position: absolute;
	top: 0;
	left: 0; 
	z-index: 3;
	background: #000000;
	-webkit-transition: opacity 0.7s ease-out;  /* Android 2.1+, Chrome 1-25, iOS 3.2-6.1, Safari 3.2-6  */
	transition: opacity 0.7s ease-out;  /* Chrome 26, Firefox 16+, iOS 7+, IE 10+, Opera, Safari 6.1+  */
	opacity: 0;
	height: 0;
	color: #ffffff;
	text-align: center;
	margin: 0;
	padding: 10px 0 2px 0;
	overflow: hidden;
}
div.calendari-contingut-visible {
	opacity: 1;
	height: auto;
	overflow: visible;
}
div.calendari-contingut i {
	font-size: 1.25em;
	text-align: center;
}
div.calendari-contingut .calendari-dia-actual {
	background-color: #a24f94;
	-moz-border-radius: 35px;
	border-radius: 35px;
	color: #ffffff;
	font-size: 30px;
	font-weight: bold;
	padding: 7px 7px 7px 7px;
	
	position: absolute;
	top: -20px;
	left: 5px;
	min-width: 35px;
}
div.calendari-contingut .calendari-tanca {
	background-color: #a24f94;
	-moz-border-radius: 15px;
	border-radius: 15px;
	color: #ffffff;
	font-size: 14px;
    font-weight: bold;
    padding: 4px 5px 4px 5px;
	
	position: absolute;
	top: 5px;
	right: 5px;
	min-width: 15px;
}
div.calendari-contingut .calendari-tanca:hover {
	cursor: pointer;
}
ul.llista-portada-calendari {
	margin: 0;
	padding: 0 10px 0 10px;
	list-style: none inside none;
	text-align: left;
}
ul.llista-portada-calendari li.primer {
	border-bottom: 1px solid #ffffff;
	padding: 0 0 10px 0;
}
ul.llista-portada-calendari li {	
	padding: 0 0 0 0;
	margin: 5px 0 15px 0;
	overflow: hidden;
	min-height: 30px;
	display: block;
}
ul.llista-portada-calendari li div.fons-link-calendari {
	background: transparent url("../img/fons-llista-calendari.png") scroll no-repeat top left;
	padding: 5px 0 5px 10px;
}
ul.llista-portada-calendari li div.sense-imatge {
	margin-top: 20px;	
}
ul.llista-portada-calendari li a {
	color: #ffffff;
	font-weight: bold;
}
ul.llista-portada-calendari li img {
	width: 100%;
	margin-bottom: 5px;
}
.peu-calendari {
	margin: -5px 0 0 0;
	background: transparent url("../img/fons-calendari.png") top left repeat;	
}
.peu-calendari img {
	padding-right: 8px;
	padding-bottom: 6px;
}
.peu-calendari .veure-mes {
	color: #ffffff;
	text-decoration: none;
	display: block;
	text-align: center;
	margin: 5px auto 3px auto;
}

/* LLista activitats */
div.llista-activitats {
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0; 
}
div.llista-activitats p.sense-registres {
	margin-top: 3em;
}
div.data-activitat {
	padding: 0;
	margin: 0 0 0 0;
	clear: left;
	float: left;
	width: 5.5em;
	color: #795f89;
	font-weight: bold;
	text-align: center;
	background: transparent url('../img/fons-llista-activitats.png') left 19px no-repeat;
	vertical-align: top;
}
span.dia-activitat {
	font-size: 2.7em;
	padding: 10px 0 12px 0;
	margin: 0;
	display: block;
	vertical-align: top;
}
span.mes-activitat {
	margin: -6px 0 0 0;
	font-size: 1.50em;
	padding: 0 0 10px 0;
	display: block;
}
div.llista-activitats div.llista-contingut {
	float: left;
	padding-top: 8px;
	width: 80%;
	width: calc( 100% - 5.5em);
	
}
div.llista-activitats div.llista-img-sup {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding-top: 70%;
}
div.llista-activitats div.div-imatge-superior {
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	width: 100%;
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}
div.llista-activitats div.llista-contingut-inf {
	margin-top: 10px;
	margin-bottom: 30px;
}
div.llista-activitats div.llista-contingut div.element-contingut {
	padding: 10px 0 0.8em 25px;
}
div.llista-activitats div.llista-contingut div.element-contingut p:first-child {
	margin-bottom: 0;
}
div.llista-activitats div.llista-contingut div.element-contingut p {
	margin-bottom: 0.2em;
}

/* Llistat amb imatges */
ul.llista-amb-imatges {
	margin: 0;
	padding: 0;
	list-style: none outside none;
	overflow: hidden;
}
ul.llista-amb-imatges li {
	margin: 0 0 10px 0;
	padding: 0;
	display: block;
	text-align: left;
	background-image: none;
	overflow: hidden;
	vertical-align: bottom;
	line-height: normal;
}
ul.llista-amb-imatges li img {
	max-width: 100%;
}
ul.llista-amb-imatges li .llista-cont-img {
	float: left;
	overflow: hidden;
    text-align: left;
    width: 58%;
}
ul.llista-amb-imatges li .llista-cont-img  p {
	margin-bottom: 5px;	
}
ul.llista-amb-imatges li .llista-contingut  {
	padding: 0.6em 0 0 0;
	clear: both;
	text-align: left;
}
ul.llista-amb-imatges li .llista-contingut p {
	margin-bottom: 5px;
}
ul.llista-amb-imatges li p.salt-linia {
    clear: both;
}
ul.llista-amb-imatges li .llista-img {
    width: 30%;
    border: 1px solid transparent;
    height: 100%;
}
ul.llista-amb-imatges div.div-imatge-superior {
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	width: 100%;
	padding-top: 75%;
	overflow: hidden;
	position: relative;
}
ul.llista-amb-imatges div.div-imatge-superior img {
	width: 100%;	
	position: absolute;
	top: 0;
	left: 0;
}


/* Llistat sense imatges 2 columnes */
ul.llista-sense-imatges-columnes {
	margin: 0;
	padding: 0;
	list-style: none outside none;
	overflow: hidden;
}
ul.llista-sense-imatges-columnes li {
	margin: 0 0 10px 0;
	padding: 0;
	display: block;
	text-align: left;
	line-height: normal;
}
ul.llista-sense-imatges-columnes li .llista-contingut  {
	padding: 7px 0 0 10px;
	clear: both;
	text-align: left;
	background: transparent url("../img/fons-llista.png") left top no-repeat;
	min-height: 40px;
}
ul.llista-sense-imatges-columnes li>div>p:first-child {
	margin-bottom: 6px;
}
ul.llista-sense-imatges-columnes li.columna {
	float: left;
	width: 50%;	
}
ul.llista-sense-imatges-columnes li.columna .llista-contingut {
	margin-left: 10px;
	margin-right: 0;
}
ul.llista-sense-imatges-columnes li.columna-1 {
	float: left;
	width: 50%;	
	clear: both;
}
ul.llista-sense-imatges-columnes li.columna-1 .llista-contingut {
	margin-right: 0;
	margin-left: 0;
}

/* Llistat sense imatges */
table.llista-sense-imatges {
	width: 98%;
}
table.llista-sense-imatges thead {
	color: #636363;
	font-weight: bold;
}
table.llista-sense-imatges tr.no-registres td {
	vertical-align: middle; 
	height: 5em;
}
table.llista-sense-imatges th {
	border-bottom: 2px solid #adadad;
    padding: 0.3em 0.3em 0.2em 0.5em;
    font-weight: bold;
    font-size: 1.2em;
}
table.llista-sense-imatges td {
	padding: 0.6em 1em 0.5em 0.6em;
	empty-cells: show;
	min-width: 15%;
	vertical-align: top; 
}
table.llista-sense-imatges td.primer {
	
}


/* Peus de llistes */
p.rss-link {
	margin: 1em 0 1.6em 0;
}
p.mes-info {
	margin: 0 0 1em 0;
	padding: 0;
	font-size: 0.9em;
	font-weight: bold;
	color: #383838;
	text-align: right;
}
p.mes-info a {
	color: #383838;
}


/* Galeria d'imatges */
.gutter-galeria-imatges {
	width: 2%;
}
ul.galeria-imatges {
	display: block;
	overflow: hidden;
	list-style: none;
	margin: 20px 0 0 0;
	padding: 0;
	width: 100%;
}
ul.galeria-imatges li {
	width: 100%;
	background: none;
	margin: 0;
	padding: 0;
	float: left;
} 
ul.galeria-imatges li p {
	padding: 3px 0 0 0;
	text-align: left;
	color: #636363;
}
img.imatge-zoom {
    width: 99%;
    padding: 2px;
    
    -webkit-transform: scale(1,1);
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
	
	-moz-transform: scale(1,1);
	-moz-transition-timing-function: ease-out;
	-moz-transition-duration: 250ms;

	-ms-transform: scale(1,1);
	-ms-transition-timing-function: ease-out;
	-ms-transition-duration: 250ms;

	-o-transform: scale(1,1);
	-o-transition-timing-function: ease-out;
	-o-transition-duration: 250ms;
	
	margin: 20px auto 10px auto;
}
img.imatge-zoom:hover {
	-webkit-transform: scale(1.01,1.01);
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
	
	-moz-transform: scale(1.01,1.01);
	-moz-transition-timing-function: ease-out;
	-moz-transition-duration: 250ms;

	-ms-transform: scale(1.01,1.01);
	-ms-transition-timing-function: ease-out;
	-ms-transition-duration: 250ms;

	-o-transform: scale(1.01,1.01);
	-o-transition-timing-function: ease-out;
	-o-transition-duration: 250ms;
	
	position: relative;
	z-index: 99;
	cursor: pointer;
}


/* Galeria Banners */
div.element-banners-lateral ul.galeria-banners {
	width: 100%;
}
div.element-banners-lateral ul.galeria-banners li div.cont-banner-margins {
    margin: 0;
}
div.element-banners-lateral ul.galeria-banners li div.cont-banner span, ul.banners li div.cont-banner span {
   font-size: 1.2em;
}

ul.galeria-banners, ul.banners {
    margin: 0 0 1em 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    list-style: none;
}
ul.galeria-banners li, ul.banners li {
    vertical-align: middle;
    text-align: center;
    padding: 0;
    margin: 0 0 1em 0;
    float: left;
    background: none;
}
ul.galeria-banners li div.cont-banner, ul.banners li div.cont-banner {
	position: relative;
}
ul.galeria-banners li div.cont-banner span, ul.banners li div.cont-banner span {
	position: absolute;
	bottom: 0;
	left: 0;
	color: white;
	text-shadow: 2px 1px #080808;
	background: rgba(0,0,0,0.50);
    padding: 7px 2% 7px 2%;
    width: 96%;
    z-index: 1;
}
ul.galeria-banners li div.cont-banner a.banner-text,
ul.banners li div.cont-banner a.banner-text {
	display: block;
	padding: 6px;
	background: rgba(0,0,0,0.90);
	color: white;
}
ul.galeria-banners li img, ul.banners li img {
     width: 100%;
}
ul.galeria-banners li div.cont-banner img,
ul.banners li div.cont-banner img {
	height: 100%;
	object-fit: cover;	
}
ul.galeria-banners .owl-nav.disabled + .owl-dots {
	margin-top: 7px;
}
ul.galeria-banners .owl-dots {
	position: initial;
}
ul.galeria-banners .owl-dots .owl-dot span {
    background: #636363;
}

ul.galeria-banners li div.cont-banner-margins {
	display: block;
	margin: 0 10px;
	height: 100%;	
}
ul.galeria-banners li a.banner-sense-imatge {
	position: relative;
    width: 100%;
    height: 100%;
    display: block;
    min-height: 130px;
    background-color: #E60000;
}

ul.galeria-banners li a.banner-sense-imatge span {
	font-weight: bold;
    font-size: 1.4em;
    line-height: 1.5em;
    padding: 0 20px 0 10px;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 1.4em);
    color: white;
    text-shadow: none;
    background: transparent;
    width: calc(100% - 20px);
}

/* Galeria de Videos */
.columna-galeria-videos-imatges {
    width: 28%;
}
.columna-galeria-videos-video {
    width: 69%;  
}
ul.galeria-videos {
    list-style: none;
    margin: 0 0 1em 0;
    padding: 0 !important;
}
ul.galeria-videos li {
    display: block;
    float: left;
    padding: 0 !important;
    margin: 0px 0 1.2em 0px;
    background: none !important;
    width: 100%;
}
ul.galeria-videos li img {
    max-width: 100%;   
}
ul.galeria-videos li p {
    padding: 2px 7px 0px 0px;
    text-align: left;
    white-space: normal;
    color: #313131;
}


/* Paginació de portlets */
.paginacio {
	margin: 10px 20px 10px 20px;
	text-align: center;
	font-size: 1.3em;
	font-weight: bold;
}
.paginacio-pagines {
	
}
.paginacio-registres {
	
}
.paginacio a {
	-moz-border-radius: 2px;
	border-radius: 2px;
	display: inline-block;
	color: #383838;
	padding: 0.3em 0.5em 0.3em 0.5em;
	margin: 0 0.2em 0 0.1em;
}
.paginacio a:hover {
	text-decoration: underline;
}
.paginacio span.pagina-act {
	background-color: #ff5079;
	color: #ffffff;
	display: inline-block;
	padding: 5px 5px 5px 5px;
	margin: 0 0.2em 0 0.1em;
	font-weight: normal;
	min-width: 20px;
	
	-moz-border-radius: 25px;
	border-radius: 25px;
}
.paginacio a.paginacio-fletxa {
	padding: 0.1em 0.5em 0em 0.5em;
	font-size: 1.3em;
}



/* Detall registre de directori */
ul.fitxa-registre {
	
}
ul.fitxa-registre li {
	
}
ul.fitxa-registre li.separador {
	margin-bottom: 1em;
}
ul.fitxa-registre .etiqueta {
	font-weight: bold;
}

ul.relacio-simple {
	margin: 0;
	padding: 0 0 0 0;
	list-style: none;
}
ul.relacio-simple li {
	margin: 0;
	padding: 0 0 8px 0;
}
ul.relacio-simple li p {
	margin-bottom: 8px;
}

/* Detall registre */
.registre-contingut-amb-imatges-laterals {
	float: left;
	width: 69%;	
}
.registre-contingut-amb-docs-laterals {
	float: left;
	width: 68%;	
}
.registre-imatges-laterals {
	float: right;
	width: 29%;
}
.registre-imatges-laterals ul.adjunts-imatges-registre {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}
.registre-imatges-laterals ul.adjunts-imatges-registre li {
	width: 100%;
	margin: 0 0 20px 0;
	padding: 0;
}
.registre-imatges-laterals ul.adjunts-imatges-registre li img {
	width: 100%;
	height: 100%;
}
.registre-contingut {
	
}
.registre-contingut .data-activitat {
	margin-bottom: 1.5em;
	clear: none;
}
div.data-separador {
	margin: 2em 1.6em 0 1em;
	font-weight: bold;
	color: black;
	float: left;
}
.registre-contingut .titol-registre {
	clear: both;
}
.registre-subtitol {
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 15px;
}
p.etiqueta {
	margin-top: 1em;
	margin-bottom: 0.6em;
	font-weight: bold;
}

.registre-electe {
	padding: 0 2% 0 2%;
}
.registre-electe .registre-camp-gran {
	font-weight: bold;
	color: black !important;
	margin-top: 1.3em;
	font-size: 1.2em;
	margin-bottom: 0.3em;
}
.registre-electe .registre-camp {
	font-weight: bold;
	color: black !important;
	margin-top: 0.9em;
	margin-bottom: 0.3em;
}
.registre-electe .registre-titol-seccio {
	border-bottom: 4px solid #02756d;
	padding-bottom: 3px;
	color: black;
}
.electe-fitxa {
	width: 100%;
	overflow: hidden;
}
.electe-imatge {
	float: left;
	padding: 20px 2% 0 0;
	width: 28%;
}
.electe-imatge img {
	border: 1px solid #DEDFDF;
	max-width: 100%;
}
.electe-fitxa-cont {
	float: left;
	padding: 0 0 0 0;
}

.fitxa-amb-imatge {
	width: 70%;
}
.fitxa-sense-imatge {
	width: 100%;
}


/* Llistes d'imatges adjuntes */
ul.adjunts-imatges {	
	margin: 0 0 1em 0;
	padding: 0;
	width: 100%;
	overflow: hidden;
}
ul.adjunts-imatges li {	
	display: block;
	margin: 0;
	float: left;
	padding: 0;
	background: none;
}
ul.adjunts-imatges li div.cont-img {
	position: relative;
}
ul.adjunts-imatges li.warea_66 {
	width: 64.7% !important;
}
ul.adjunts-imatges li.warea_66 div.cont-img {
	margin: 0 0 0 0;
	/*padding-top: 67%;*/
}
ul.adjunts-imatges li.warea_66 div.cont-img img {
	/*position: absolute;
	width: 100%;
	top: 0;
	left: 0;*/
}
ul.adjunts-imatges li.warea_34 {
	width: 34.3% !important;
}
ul.adjunts-imatges li.warea_34 div.cont-img {
	margin: 0 0 10px 10px;
}
ul.adjunts-imatges li.warea_34 {
	
}
ul.adjunts-imatges li.ultim div.cont-img {
	margin: 0 0 0 10px;
}

ul.adjunts-imatges li img {	
	width: 100%;
    object-fit: cover;
    height: 100%;
}
ul.adjunts-imatges li p {
	color: #9f1b32;
}
ul.adjunts-imatges li div.capa-altres {
	background: rgba(111, 111, 111, 0.6);
	position: absolute;
	width: 100%;
	height: 100%;
	color: #ffffff;
	text-align: center;
	left: 0;
	top: 0;
	z-index: 1;
}
ul.adjunts-imatges li div.capa-altres:hover {
	cursor: pointer;
}
ul.adjunts-imatges li div.capa-altres p {
	margin-top: 23%;
	font-size: 4em;
	color: #ffffff;
}
ul.adjunts-imatges li object {
    top: 0;
    left: 0;
}

/* Elements adjunts */
ul.adjunts-elements {
	list-style: none inside none;
	margin: 0 0 0 0;
	padding: 20px 0 20px 0;
	border-top: 1px solid #adadad;
	overflow: hidden;
	width: 100%;
}
ul.adjunts-elements li {
	padding: 4px 0 3px 0;	
	margin: 3px 0 9px 0;
	clear: both;
}
ul.adjunts-elements li.adjunt-enllac {
	padding-left: 45px;
	min-height: 23px;
	background: transparent url("../img/ico-enllac.png") scroll no-repeat top left;	
}
ul.adjunts-elements li.adjunt-relacio {
	padding-left: 45px;
	min-height: 23px;
	background: transparent url("../img/ico-enllac.png") scroll no-repeat top left;	
}
ul.adjunts-elements li.adjunt-document {
	padding-left: 45px;
	min-height: 23px;
	background: transparent url("../img/ico-document.png") scroll no-repeat top left;	
}
ul.adjunts-elements li.adjunt-document a.document {
	min-height: 0;
	background: none;
	padding: 0;
	text-decoration: none;
}
ul.adjunts-elements li.adjunt-audio {
	padding: 4px 0 3px 45px;
	min-height: 24px;
}
ul.adjunts-elements li.adjunt-video {
	clear: none;
	float: left;
	width: 32%;
	margin-right: 1%;
	padding: 0;
}
ul.adjunts-elements li.adjunt-video:nth-child(3n+1) {
	width: 32%;
	margin-right: 1%;
	margin-left: 0;
}
ul.adjunts-elements li.adjunt-video:nth-child(3n+2) {
	width: 32%;
	margin-right: 1%;
	margin-left: 1%;
}
ul.adjunts-elements li.adjunt-video:nth-child(3n+3) {
	width: 32%;
	margin-right: 0;
	margin-left: 1%;
}
ul.adjunts-elements li.adjunt-boto {
	
}


/* Tramits */
.relacio-tramit {
	padding-left: 20px;
	background: transparent url("../img/ico-enllac.gif") scroll no-repeat top left;
	padding-bottom: 0.6em;
	margin-bottom: 0.2em;
}
.directori-tramit {
	padding-left: 20px;
	background: transparent url("../img/ico-directori.gif") scroll no-repeat top left;
	padding-bottom: 0.6em;
	margin-bottom: 0.6em;
	font-size: 0.8em;		
}
a.enllac-directori {
	font-size: 1em;
	color: #515151;
	font-weight: normal;
	text-decoration: underline;
}


/* Elements de Formulari */
ul.formulari {
	padding: 0;
	margin: 0;
	text-align: left;
	color: #000000;
	font-size: 1.1em;
}
ul.formulari li {
	clear: left;
	display: block; 
	padding: 0 0 1em 0;
	margin: 0;
	list-style: none;
	background: none;
	overflow: hidden;
}
ul.formulari li.camp-representant {
	display: none;
	background-color: #eaeaea;
	padding-left: 5%;
	padding-right: 5%;
	width: 90%;
}
ul.formulari li label {
	color: #636363;
	font-weight: bold;
	font-size: 1em;
}
ul.formulari li p.etiqueta {
	clear: both;
	color: #636363;
	padding: 1em 0 0.1em 0;
	margin: 0;
	font-weight: bold;
	font-size: 1.1em;
	display: inline-block;
	width: 100%;
}
/* Contenidor del grup camp i label */
ul.formulari li div.camp-label-ocult {
	display: none;
}
ul.formulari li div.camp-label { 
	margin: 0;
	padding: 0;
	float: left;
	overflow: hidden;
}
ul.formulari .camp-label-lateral {
	float: left;
}
ul.formulari li div.camp-label-inner {
	padding: 0 1em 0 2px;
}
/* Contenidor del camp */
ul.formulari li .camp {
	padding: 2px 0 2px 0;
	width: 100%;
}
ul.formulari li .camp-esquerra {
	float: left;
}
ul.formulari li .camp-dreta {
	float: left;
}
ul.formulari li .camp-import {
	font-weight: bold;
}
ul.formulari li .camp-comentari {
	
}
/* Contenidor del label */
ul.formulari li .label {
	text-align: left;
	color: #9f3131;
	margin: 2px 0 0 0;
	padding: 2px 0 3px 0;
	font-size: 1em;
	display: block;
	vertical-align: bottom;
}
ul.formulari li .label-superior {
	width: 100%;
}
ul.formulari li .label-inferior {
	width: 100%;
}
ul.formulari li .label-esquerra {
	float: left;
}
ul.formulari li .label-dreta {
	float: right;
}
ul.formulari li .label-dreta label {
	padding-left: 1em;
}
/* Camps especials de formulari */
ul.formulari li span.total-pagar {
	float: left;
	font-weight: bold;
	margin: 2px 0 0 0;
	padding: 2px 0 3px 0;
}
ul.formulari li fieldset input, ul.formulari li fieldset label {
	display: inline;
	float: none;
	margin: 0;
	padding: 0;
	font-weight: normal;
}
ul.formulari li div p.camp, ul.formulari li div span.camp, ul.formulari li div div.camp {
	padding: 2px 0 2px 0;
}
ul.formulari li p.camp .texte {
	margin-top: 0.3em;
}
ul.formulari li label.curt {
	width: 15% !important;	
}
ul.formulari li.linia-botons {
	margin: 1em auto 1em auto;
	overflow: hidden;
	text-align: center;
}
ul.formulari li.linia-botons .Tbutton {
	float: none;
	display: inline-block;
}
ul.formulari li .camp-checkbox-esquerra {
	margin: 5px 1em 2px 2px;
}
.camp-check {
	float: left;
	display: block;
}
ul.formulari li.eres-tipus-interessat div {
	white-space: nowrap;
	float: left;
}
ul.formulari li.eres-tipus-interessat input {
	margin-right: 0.5em;
}
ul.formulari li.eres-tipus-interessat span {
	margin-right: 1.5em;
}
ul.formulari li.linia-camps-requerits {
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 0;
	color: #636363;
}
ul.formulari li.news_baixa {
	background: none;
	margin: 0;
	padding: 0;
	font-size: 1.1em;
}

/* Captcha */
.form-captcha {
	margin: 0 auto 0 auto;
	max-width: 350px;
}
span.txt_captcha {
	
}

/* Elements de formulari */
.tooltip-title {
	
}
.tooltip-icon {
	font-size: 0.8em;
	padding-left: 0.7em;
	vertical-align: top;
	display: inline;
	color: #0078c9;
}
.tooltip-icon:hover {
	cursor: help;
}
.formobj, .formobj-sel {
    font-size: 1em;
    color: #636363;
    background-color: #ffffff;
    vertical-align: middle;
	border: 1px solid #636363;
    padding: 3px 7px 3px 7px;
    margin: 0px 0px 0.6em 0px;
    width: 98.5%;
	width: calc( 100% - 14px);
}
.formobj-sel {
	padding: 3px 5px 1px 5px;
	width: 100%;
}
.form-moneda {
	width: 90%;
	width: calc( 100% - 2.5em);
}
.formTxtArea, .form-area {
	border: 1px solid #636363;
	color: #636363;
	background-color: #ffffff;
	font-size: 1.03em;
	margin-bottom: 0.6em;
	padding: 3px 7px 3px 7px;
	width: 98.5%;
	width: calc( 100% - 14px);
}
input.form-data {
    background: #ffffff url('../img/btn_calendar.gif') right 5px no-repeat;
    padding-right: 10px;
    width: 95%;
	width: calc( 100% - 18px);
}
label.checkbox, p.checkbox, .formulari label.checkbox {
	float: left;
	margin-left: 1em;
	font-weight: normal;
}
a.Tbutton, .Tbutton {
	margin: 9px 0px 5px 0px;
	color: #ffffff;
	background-color: #a7658d;
	padding: 7px 10px 7px 10px;
	min-width: 80px;
	font-size: 1.2em;
	text-align: center;
	display: inline-block;
	border: 0;
	text-decoration: none;
	
	moz-transition: background 0.7s ease-out;
	transition: background 0.7s ease-out;
	
	float: left;
	margin-bottom: 0.3em;
}
a.Tbutton:hover, .Tbutton:hover {
	text-decoration: none;
	background-color: #f6f6f6;
	color: #a7658d;
	cursor: pointer;
}

/* Cerca */
input.form-cerca-adreca {
	overflow: hidden;
	margin-bottom: 20px;
}
input.formobj-cerca {
	border-right: 0;
	margin: 0;
	width: 70%;
    width: calc(100% - 60px);
    float: left;
}
.Tbutton-cerca {
	border: 0;
	vertical-align: middle;
	background-color: #a7658d;
    padding: 6px 0 6px 0;
    margin: 0;
    text-align: center;
    font-size: 1.2em;
    color: #ffffff;
    width: 45px;
    float: left;
    
    moz-transition: background 0.7s ease-out;
	transition: background 0.7s ease-out;
}
.Tbutton-cerca:hover {
	text-decoration: none;
	background-color: #f6f6f6;
	color: #a7658d;
	cursor: pointer;
}
/* Llegenda de Mapes */
div.llegenda_mapa_categories {
	margin-bottom: 20px;
}
div.llegenda_mapa_categories p.llegenda_mapa_grup_categoria {
	font-size: 1.1em;
	margin-bottom: 1em;
}
div.llegenda_mapa_categories p.llegenda_mapa_grup_categoria input {
	margin-top: 0.5em;
}
div.llegenda_mapa_categories p.llegenda_mapa_grup_categoria label {
	margin-left: 0.7em;
}


/* Filtre de llistats interiors */
.filtre {
	margin-bottom: 1.6em;
	padding: 0;
	width: 100%;
	overflow: hidden;
}
.filtre label {
	display: none;
}
.filtre label.checkbox {
	display: inline-block;
	font-weight: normal;
	float: none;
	margin-left: 0.7em;
}
.filtre div {
	display: block;
	vertical-align: top;
	float: left;
	margin: 0 0 10px 0;
	padding: 0;
}
.filtre p {
	padding: 1px;
	margin: 0 0 0 10px; 
}
.filtre div.warea_33:nth-child(3n+3) {
	width: 34% !important;
}
.filtre div.primer p {
	margin: 0;
}
.filtre .Tbutton-cerca {
	padding: 5px 0 5px 0;
} 


/* Signatura */
#errors-signatura {
	display: none;
	color: #ff0000;
	font-weight: bold;
	font-size: 1.1em;
}
#btn-signa {
	background-color: #269741;
	margin-right: 1.3em;
	float: left;
}
#btn-signa:hover {
	background-color: #65d882;
	text-decoration: none;	
}
#btn-signa-paga {
	background-color: #269741;
	margin-right: 0.7em;
	float: left;
}
#btn-signa-paga:hover {
	background-color: #65d882;
	text-decoration:none;
}
#btn-paga {
	margin-right: 1.3em;
	float: left;
}


/* Divs de formulari de pagament */
#formulari-ingres {
	display: none;
	width: 100%;
	position: absolute;
	top: 70px;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 9001;
	height: 100%;
}
#fons-pagament {
	position: fixed; 
	top: 0; 
	left: 0; 
	text-align: center;
	display: none;
	
	min-width: 100%;
	min-height: 100%;
	z-index: 9000;
	background-color: #f2f2f2;
}
#fons-pagament h2 {
	display: block;
	font-size: 16px;
	color: #ad2a1e;
	font-weight: bold;	
	text-align: center;
	padding: 10px 10px 10px 10px;
}
#formulari-estatpagament {
	font-size: 1.2em;
}
#formulari-estatpagament .msg_pagament {
}

#formulari-botons-pagament {
	clear: both;
	overflow: hidden;
	margin: 0.5em 0 0.5em 0;
	padding: 1em;
}
#formulari-botons-pagament .Tbutton {
	margin-right: 2em;
}
.error-import {
	color: #FF0000;
	font-size: 0.9em;
	font-weight: normal;
}
a.descarrega-doc {
	background: transparent url("../img/ico-document.png") scroll no-repeat top left;
	padding: 4px 0px 15px 35px;
	text-decoration: none;
}
a.document {
	min-height: 23px;
	background: transparent url("../img/ico-document.png") scroll no-repeat top left;
	padding: 4px 0px 15px 35px;
	text-decoration: none;
}


/* Missatges d'error */
.error {
	color: #ff0000;
	display: block;
	font-size: 1.1em;
	padding-bottom: 1em;
}
ul.ErrMsg {	
	margin-top: 0px;
	margin-left: 15em;
	padding-left: 20px;
	list-style-type: disc;
	text-align: left;
}
ul.ErrMsg li {	
	margin-left: 0em;
	padding-left: 0.3em;
	padding-top: 0.3em;
	color: #000000;
	background: none;
}

/* Taules */
table.taula {
	width: 98%;
	margin-top: 5px;
}
table.taula thead {
	color: #636363;
	font-weight: bold;
}
table.taula thead tr {
	
}
table.taula thead tr th {
	border-bottom: 2px solid #adadad;
	padding: 0.3em 0.3em 0.2em 0.5em;
}
table.taula tr.imparell {
	
}
table.taula th.fons {
	background-color: #fefefe;
}
table.taula tr.Over {
	background-color: #e3e0de;
	cursor: pointer;
}
table.taula tr.no-registres, table.taula tr.sense-registres {
	vertical-align: middle; 
	min-height: 5em;
}
table.taula tr.no-registres td, table.taula tr.sense-registres td {
	padding: 2em 0 1em 0;
}
table.taula th {
	font-weight: bold;
	text-align: left;
}
table.taula td {
	text-align: left;
	vertical-align: top;
	padding: 0.7em 0.3em 0 0.5em;
}
table.taula td div.cerca-docs {
	margin: 0.7em 0 1em 1.1em;
	font-style: italic;
}
table.taula td.pictos {
	white-space: nowrap;
	padding-top: 0.3em;	
}
table.taula td.contingut_taula {
	width: 85%;
}
table.taula td.campTitol {
	width: 90%;	
}
table.taula td.cos {

}
table tr td.titol-agrupacio {
	font-size: 1.3em;
	padding: 1em 0 0.5em 0;
	font-weight: bold;
}
table tr td .titol-llista {
	display: inline-block;
	padding-bottom: 0.4em;
}

/* Certificats */
table.certificat {
	border: 0;
	text-align: left;
	font-size: 1em;
	text-align: left;
	width: 99%;
	background-color: #e3e0de;
	margin-bottom: 1.5em;
}
table.certificat th {
	font-weight: bold;
	vertical-align: top;
	text-align: left;
	padding-left: 1.5em;
	color: #9f1b32;
	padding: 0.5em 6px 0.3em 8px;
	font-size: 1.2em;
}
table.certificat td {
	empty-cells: show;
	padding: 0.5em 6px 0.3em 8px;
	font-size: 1.2em;
}
.iframeCert { 
	width: 100%;
	height: 210px; 
	border:  1px solid gray;
	font-size: 0.7em;
}
.DivBotoCert {
	clear: both;
	margin: 2em 0 1em 0;
	height: auto;
	overflow: hidden;
	background-color: #ebebeb;
	padding: 20px 15px 25px 10px;
	-moz-border-radius: 4px;
	border-radius: 4px;	
}
.DivBotoCert p {
	line-height: 1.6em;
}
.DivBotoCert a {
	color: white;
	font-size: 1.2em;
	font-weight: bold;
	background-color: #CCCCCC; 
	border: 1px solid #313131;
	margin: 11px 20px 5px 0px;
	cursor: pointer;
	height: 2em;
	padding: 0.2em 1em 0.2em 1em;
}

/* Signatura digital i TSA */
#errors-signatura {
	display: none;
	color: #ff0000;
	font-weight: bold;
	font-size: 1.1em;
}
#alies-certificats {
	margin: 0.9em 0 1.1em 0;
	display: none;
}
#carregant-certificats {
	margin: 1em 0 0 0;
}
#valida-certificat {
	display: none;
}
#VerificaSignatura_fitxa {
	max-width: 40%;
	float: left;
}
#VerificaTSA_fitxa {
	max-width: 40%;
	float: left;
}
#VerificaCertificat {
	overflow: hidden;
	width: 80%;
	padding: 1em;	
}
#VerificaSignatura.signaOk, #VerificaTSA.signaOk, #VerificaSignatura_fitxa.signaOk, #VerificaTSA_fitxa.signaOk {
	background: #b6fcde url("../img/Ok.gif") 5px 5px no-repeat;
	border: 1px solid #006666;
}
#VerificaSignatura.signaErr, #VerificaTSA.signaErr ,#VerificaSignatura_fitxa.signaErr, #VerificaTSA_fitxa.signaErr {
	background: #ffe1e1 url("../img/No.gif") 5px 5px no-repeat;
	border: 1px solid #FF0000;
}
#VerificaCertificat.signaOk p.titol-info {
	color: #006666;
	font-size: 1.1em;
	font-weight: bold;	
}
#VerificaCertificat.signaErr p.titol-info {
	color: #FF0000;
	font-size: 1.1em;
	font-weight: bold;	
}
.DivVerifica {
	display: none;
	margin-bottom: 1em;
	font-size: 1.1em;
	padding: 0.5em 0.5em 0.5em 1em;
}
.DivVerifica .VerificaTxt {
	margin: 0.3em 0 0.5em 30px;
}
.DivVerifica span.VerificaResposta {
	margin-left: 1em;
	margin-top: 0.6em;
}
.DivVerifica blockquote.VerificaResposta {
	margin-top: 0.6em;
	margin-left: 4em;
}
.DivVerifica .VerificaWait {
	vertical-align: middle;
	margin-bottom: 1em;
}
.DivVerifica .VerificaWait img {
	vertical-align: middle;
	margin-left: 0.8em;
}


/* Comentaris */
div.div-comentaris h2 {
	margin-bottom: 1em;
}
div.afegir-comentari {
	display: none;
	margin-top: 30px;
}
div.barra-comentaris {
	width: 100%;
	border-bottom: 1px solid #adadad;;
	margin: 20px 0 20px 0;
	overflow: hidden;
	padding: 0px 0 10px 0;
}
div.barra-comentaris div.links-comentaris {
	float: right;
}
div.barra-comentaris div.links-comentaris a {
	margin: 9px 0px 5px 20px;
    color: #ffffff;
    background-color: #a7658d;
    padding: 7px 10px 7px 10px;
    min-width: 80px;
    font-size: 1.2em;
    text-align: center;
    display: inline-block;
    border: 0;
    text-decoration: none;
    moz-transition: background 0.7s ease-out;
    transition: background 0.7s ease-out;
    float: right;
    margin-bottom: 0.3em;
}
div.barra-comentaris div.links-comentaris a:hover {
    text-decoration: none;
    background-color: #f6f6f6;
    color: #a7658d;
    cursor: pointer;
}
ol.comentaris {
	list-style-type: decimal;
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

ul.comentari-puntuacio {
	margin: 10px 0 0 0;
	padding: 0;
	width: 100%;
	list-style: none;
	overflow: hidden;
}
ul.comentari-puntuacio li {
	float: left;
	width: 33%;
	clear: none;
}

ol.comentaris li {
	margin-bottom: 1.5em;
	font-weight: bold;
	display: list-item;
	margin: 0 0 1.6em 0;
	padding: 0;
	font-size: 1.2em;
	color: #383838;
}
ol.comentaris li div.capcom {
	color: #795f89;
	font-weight: bold;
	font-size: 0.8em;
	padding: 0em 0em 0.3em 0em;
}
ol.comentaris li div.contcom {
	font-size: 0.8em;
	background-color: #f6f6f6;
	padding: 0.9em 1em 0.9em 1em;
	font-weight: normal;
}
ol.comentaris li.comentari-eliminat div.contcom {
	background-color: #FFC;	
}
ol.comentaris li div.peucom {
	background-color: #e65471;
    color: #ffffff;
	font-weight: bold;
	font-size: 0.8em;
	padding: 0.1em 0.5em 0.1em 0.5em;
}

/* Mapes GMaps */
.mapa-llista {
    width: 100%; 
    position: relative;
    padding-bottom: 54%; /* Aspect ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: 0;
    overflow: hidden;
    border: 0;
    margin-top: 1em;
}
.mapa-llista iframe,
.mapa-llista object,
.mapa-llista embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.mapa-detall {
 	width: 100%; 
    position: relative;
    margin-top: 20px;
    padding-bottom: 35%; /* Aspect ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: 0;
    overflow: hidden;
    border: 0;
}
.mapa-detall iframe,
.mapa-detall object,
.mapa-detall embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

div.mapa-text-punt {
	margin: 0;
	max-height: 150px;
	padding: 0;
}
div.mapa-text-punt .Imatge {
	min-height: 90px;
	display: block;
	margin-bottom: 5px;
	float: left;
}
div.mapa-text-punt .Adreca {
	font-size: 0.9em;
	font-weight: bold;
	color: #870020;
}
div.mapa-text-punt .Descripcio {
	font-size: 0.9em;
}
#peumapa {
	color: #8d343a;	
}


/* Enquestes */
.enquestes {
	width: auto !important;
	margin-bottom: 20px;
}
.enquestes .text-enquestes {
	margin: 5px 0 10px 0;
	font-weight: bold;
	font-size: 1.1em;
}
.enquestes-pagina .text-enquestes {
	margin: 5px 0 6px 0;
	font-weight: bold;
	font-size: 1.1em;
}
.enquestes .boto-enquesta {
	text-align: center;
}
.enquestes .boto-enquesta input {
	margin: 9px 0px 5px 0px;
	color: #ffffff;
	background-color: #a7658d;
	padding: 7px 10px 7px 10px;
	min-width: 80px;
	font-size: 1.2em;
	text-align: center;
	display: inline-block;
	border: 0;
	
	moz-transition: background 0.7s ease-out;
	transition: background 0.7s ease-out;
}
.enquestes .boto-enquesta input:hover {
	background-color: #ffffff;
	color: #a7658d;
	cursor: pointer;
}

.enquestes .opcio-enquesta {
	margin-left: 0;
	margin-bottom: 7px;	
	font-size: 1.1em;
}
.enquestes .barra-enquesta, .enquestes-pagina .barra-enquesta {
	float: right; 
	margin-bottom: 3px; 
	background-color: #9f1b32;
	border: 0; 
	height: 15px;
}
.enquestes .resposta-enquesta, .enquestes-pagina .resposta-enquesta {
	clear: left;
	float: left;
	width: 100%;
	margin: 0.2em 0 0.4em 0;
	overflow: hidden;
	padding: 0;
	position: relative;
}
.enquestes .percentatge-enquesta {
	float: left;
}
.enquestes .vots-enquesta {
	clear: left;
	margin-left: 2.5em;
	font-size: 0.9em;
}

ul.enquestes-pagina {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.enquestes-pagina li {
	padding: 0 0 20px 0;
	overflow: hidden;
}
ul.enquestes-pagina li p.gris {
	font-size: 1.1em;
}
.resposta-enquesta-txt {
	float: none;
	font-size: 1.1em;
	text-align: right;
	margin-bottom: 0.2em;
}
.resposta-enquesta-barra {
	float: left;
	width: 77%;
	padding: 0 0 0 0.5%;
}
.resposta-enquesta-percentatge {
	display: block;
	float: left;
    width: 18%;
    padding: 0 0 0 2%;
    margin: 0;
    
    position: absolute;
    bottom: 5px;
    right: 0;
}
.resposta-enquesta-pag {
	overflow: hidden;
	width: 100%;
}
.resposta-enquesta-barra-pag {
	float: left;
	width: 100%;
	margin-top: 5px;
	margin-bottom: 4px;
}
.resposta-enquesta-barra-pag .barra-enquesta {
	margin-right: 0;
	float: left;
}
fieldset.opcions-enquesta {
	margin-top: 1em;
	margin-left: 20px;
}
fieldset.opcions-enquesta p {
	margin: 0 0 1em 0;
	font-size: 1.1em;
	display: block;
	overflow: hidden;
}
fieldset.opcions-enquesta input {
	float: left;
    width: 20px;
    margin-top: 3px;
}
fieldset.opcions-enquesta label {
	margin-left: 10px;
    float: left;
    width: 90%;
    width: calc( 100% - 35px);
    display: block;
}


/* Classes de tabs */
div.tabs {
	overflow: hidden;
	margin: 0 0 15px 0;
	background-color: #fafafa;
}
div.tabs>ul {
	list-style: none;
	margin: 3px 3px 0 3px;
	padding: 0;
	display: block;
	overflow: hidden;
	width: 100%;
}
div.tabs>ul>li {
	display: block;
	float: left;
	margin: 0 5px 0 0;
	padding: 0 0 0 0;
	background-image: none;
	width: 49%;
}
div.tabs>ul>li.last {
	margin: 0;
}
div.tabs>ul>li>a {
	margin: 1px 1px 2px 1px;
	white-space: nowrap;
	color: #fafafa;
	font-weight: bold;
	text-decoration: none;
	display: block;
	padding: 10px 15px 10px 24px;
	font-size: 1.1em;
	background: #9b9b9b url("../img/fons-mes-on.gif") 5px 9px no-repeat;
}
div.tabs>ul>li>a:focus {
	outline: 0;
}
div.tabs>ul>li>a:hover {
	text-decoration: none;
}
div.tabs>ul>li.last>a {
	margin: 1px 5px 2px 1px;
}
div.tabs>ul>li.selected {
	
}
div.tabs ul li.prev_selected {
	
}
div.tabs>ul>li.selected>a {
	color: #ffffff;
	background: #795f89 url("../img/fons-mes-on.gif") 5px 9px no-repeat;
}
div.tabs>ul>li.last_selected {
	
}
div.tabs div.tab {
	clear: left;
	margin: 0 3px 3px 3px;
	padding: 10px 6px 10px 6px;
	overflow: hidden;
}

/* El mes vist */
ul.llista-el-mes {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.llista-el-mes li {
	margin: 0;
	padding: 4px 10px 7px 15px;
	background: none;
}
ul.llista-el-mes li .elmes-pare {
	font-size: 0.9em;
	color: #795f89;
	font-weight: bold;
}
ul.llista-el-mes li a {
	color: #383838;
	font-weight: bold;
}
.elmes-visites {
	font-size: 1em;
	font-weight: bold;
	color: #795f89;
}
.elmes-data {
	color: #383838;	
	margin-bottom: 0.3em;
}


/* Mapa web */
ul.mapa-web li a {
	color: #000000;
	font-size: 1.2em;
	font-weight: bold;
	line-height: normal;
}
ul.mapa-web li ul li a {
	color: #9f1b32;
	font-size: 1.1em;
	font-weight: bold;
	line-height: normal;
}
ul.mapa-web li ul li ul li a {
	color: #9f1b32;
	font-size: 1em;
	font-weight: normal;
	line-height: normal;
}
ul.mapa-web li ul li ul li ul li a {
	color: #616161;
	font-size: 0.95em;
	font-weight: normal;
	line-height: normal;
}


/* Rotador portada destacat */
.contingut-rotador-portada {
	position: relative;
}
.bandera-contenidor {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	overflow: hidden;
	z-index: 2;
}
.bandera-contenidor-int  {
	position: relative;
	overflow: hidden;
}
.bandera-rotador-portada {
	background: transparent url('../img/fons-banderola.png') top left no-repeat;
	background-size: contain;
	line-height: 1.35em;
	font-weight: bold;
	z-index: 2;
	padding: 15px 8px 45px 12px;
	text-align: left;
	display: block;
	font-size: 1.6em;
	width: 130px;
}
.bandera-rotador-portada:hover, .bandera-rotador:active, .bandera-rotador-portada:focus  {
	text-decoration: none;
}
.bandera-rotador-portada p {
	color: #000000;
	font-size: 0.95em;
	margin: 0 0 0.2em 0;
	text-align: center;
	width: 100px;
}
.bandera-rotador-portada:hover p {
	color: #ffffff;
}
.bandera-rotador-portada p.bandera-questio {
	color: #ffffff;
	font-size: 0.85em;
}
.bandera-rotador-portada:hover p.bandera-questio {
	color: #000000;
}


.foto-titol {
	padding: 0;
	overflow: hidden;
	position: absolute;
	bottom: 8px;
	margin: 0;
	right: 10px;
	text-align: right;
	background: rgba(0,0,0,0.16);
	color: #ffffff;
	font-size: 1em;
	font-weight: normal;
	line-height: 1.05em;
	text-shadow: 3px 2px #080808;
}
.rotador-titol {
	padding: 0;
	overflow: hidden;
	position: absolute;
	bottom: 0;
	margin: 0;
	left: 0;
	right: 0;
	text-align: left;
	width: 100%;
	/*background: rgba(0,0,0,0.2);*/
} 
.rotador-titol-int {
	padding-bottom: 43px;
	overflow: hidden;
}
.rotador-titol p {
	display: block;
	text-align: left;
	clear: both;
}
.rotador-titol p.boto-rotador-primer {
	clear: both !important;
	margin-right: 20px;
}
.rotador-titol p.boto-rotador {
	padding-top: 1em;
	overflow: hidden;
	clear: none;
	float: left;
}
.rotador-titol-fons {
	background: rgba(0,0,0,0.16);
	float: left;
	padding: 6px;
}
p.titol-gran-sil {
	color: #ffffff;
	font-size: 3.5em;
	font-weight: bold;
	line-height: 1.05em;
	text-shadow: 3px 2px #080808;
}
.rotador-titol p.boto-rotador a, .rotador-titol p.boto-rotador span {
	color: #ffffff;
	background-color: #a7658d;
	padding: 7px 10px 7px 10px;
	min-width: 190px;
	font-size: 1.2em;
	text-align: center;
	display: inline-block;
	
	moz-transition: background 0.7s ease-out;
	transition: background 0.7s ease-out;
}
.rotador-titol p.boto-rotador a:hover, .rotador-titol p.boto-rotador a:active, .rotador-titol p.boto-rotador a:focus  {
	text-decoration: none;
	background-color: #ffffff;
	color: #a7658d;
}
/*
.img-rotador-portada {
	background-repeat: no-repeat;
	background-position: 50% 50%; 
	width: 100%;
	background-size: cover;
	padding-top: 30%;
}
*/


/* --- Rotador --- */
.element-rotador {
	display: block;
	overflow: hidden;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
}
ul.rotador {
	list-style-type: none;
	position: relative;
	padding: 0;
	margin: 0 0 1em 0;
	overflow: hidden;
	width: 100%;
}
ul.rotador li {
	margin: 0;
	padding: 0;
	background: none;
	display: block;
	overflow: hidden;
	width: 100%;
	position: relative;
}
ul.rotador li img {
	display: block;
    width: 100%;
    height: auto;
	/*z-index: 100;*/
}
.owl-item {
	overflow: hidden !important;
}
ul.rotador li .panelPag {
	overflow: auto;
	width: 100%;
}
ul.rotador li>p {
	margin-top: 7px;
}
ul.rotador li .rotador-titol-descripcio {
	margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 18px;
	width: auto;
	color: #ffffff;
}
.element-portada p.titol-gran-sil {
	margin-top: 2em;	
}
ul.rotador li .rotador-titol-descripcio .titol-gran-sil {
	font-size: 3em;
	margin-bottom: 10px;
}
.rotador-index { 
	overflow: hidden; 
	list-style: none; 
	clear: both; 
	z-index: 101;
	margin-top: 8px;
}
.rotador-index ul { margin: 0; padding: 0; list-style: none; }
.rotador-index ul li { 
	float: left; 
	background: none; 
	background-color: #ffffff;
	color: #ff0000;
	padding: 0.3em; 
	cursor: pointer;
	margin: 0 0 0 5px;
}
.rotador-index ul li.active {
	color: #ffffff;
	text-decoration: underline;
	background-color: #ff0000;
}


/* Temes */
div.fitxa-temes {
	margin-bottom: 1em;
}
div.col-tema-esquerra {
	float: left;
	width: 50%;
}
div.col-tema-dreta {
	float: right;
	width: 50%;
}
div.col-tema-esquerra div.col-tema-int {
	padding: 0 5px 0 0; 
}
div.col-tema-dreta div.col-tema-int {
	padding: 0 0 0 5px;
}
ul.llista-temes {
	margin: 0;
	padding: 0;
	list-style: none outside none;
	overflow: hidden;
}
ul.llista-temes li {
	margin: 0 0 25px 0;
	padding: 0;
	display: block;
	text-align: left;
	background-image: none;
	overflow: hidden;
	vertical-align: bottom;
	line-height: normal;
}
ul.llista-temes li img {
	max-width: 100%;
}
ul.llista-temes li.columna {
	float: right;
	width: 50%;
}
ul.llista-temes li.columna .llista-img-sup {
	margin-left: 5px;
}
ul.llista-temes li.columna .llista-contingut {
	margin-left: 5px;
}
ul.llista-temes li.columna-1 {
	float: left;
	width: 50%;	
	clear: both;	
}
ul.llista-temes li.columna-1 .llista-img-sup {
	margin-right: 5px;
}
ul.llista-temes li.columna-1 .llista-contingut {
	margin-right: 5px;
}
ul.llista-temes li .llista-cont-img {
	float: left;
	overflow: hidden;
    text-align: left;
    width: 58%;
}
ul.llista-temes li .llista-cont-img  p {
	margin-bottom: 5px;	
}
ul.llista-temes li .llista-contingut  {
	padding: 1em 0 0 0;
	clear: both;
	text-align: left;
}
ul.llista-temes li .llista-contingut p {
	margin-bottom: 5px;
}
ul.llista-temes div.div-imatge-superior {
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;
	width: 100%;
	padding-top: 75%;
	overflow: hidden;
	position: relative;
}
ul.llista-temes div.div-imatge-superior img {
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}


/* Aladí */
.caixa-aladi {
	border: 2px solid #cccccc;
	background-color: #f5f5f5;
	padding: 25px 15px 10px 15px;
	text-align: center;
	overflow: hidden;
}
.caixa-aladi input, .caixa-aladi select {
	background-color: #ffffff;
	border: 1px solid #ececec;
	padding: 3px 1% 3px 1%;
	font-family: Verdana, Geneva, sans-serif;
	width: 98%;
}
.caixa-aladi #cataleg {
	color: #891536;
	font-size: 1.1em;
	font-weight: bold;
	margin-left: 4px;
	margin-bottom: 10px;
}
.caixa-aladi #cataleg em {
	
}
.caixa-aladi #searchtype {
	color: #515151;
}
.caixa-aladi #searcharg {
	margin-top: 5px;
	color: #891536;
	padding: 3px 2% 3px 2%;
	width: 94%;
}
.caixa-aladi #searchscope-text {
	color: #515151;
	margin-top: 25px;
	margin-bottom: 25px;
	font-size: 0.9em;
}
.caixa-aladi .aladi-diputacio {
	float: right;
	width: 72%;
	color: #312514;
	padding: 8px 0 0 0;
	margin-top: 15px;
	font-size: 1em;
}
.caixa-aladi #submit2 {
	float: left;
	background-color: #515151;
	color: #ffffff;
	border: 0px none;
	cursor: pointer;
	padding: 6px 1% 6px 1%;
	margin-top: 15px;
	width: 25%;
	border: 1px solid #a1a1a1;
}

/* ERES */
.registrant-eres {
	display: none;
	clear: both;
	width: 100%;
	padding: 0.3em 0 0.3em;
	text-align: center;
	color: #505050;
	font-size: 1.2em;
	margin: 0.5em 0 0.5em 0;
}
.registrant-eres i {
	color: #101010;
	font-size: 1.4em;
	margin-right: 0.4em;
}


/* Autocompletat ERES */
.ui-autocomplete {
	position: absolute;
	top: 0;
	left: 0;
	cursor: default;
	max-height: 150px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}
.ui-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: block;
	outline: none;
}
.ui-menu .ui-menu {
	position: absolute;
}
.ui-menu .ui-menu-item {
	position: relative;
	margin: 0;
	padding: 3px 1em 3px .4em;
	cursor: pointer;
	min-height: 0; /* support: IE7 */
	/* support: IE10, see #8844 */
	
	background: none;
	text-align: left;
}
.ui-menu-item a {
	background: none !important;
	width: 100%;
	border: 0 !important;
}
.ui-menu-item .ui-corner-all {
	border-bottom-right-radius: 0px;
	border-top-right-radius: 0px;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}
.ui-menu-item a:hover {
	text-decoration: underline;
}


/* Destacats */
.element-destacat {
	display: block;
	line-height: 120%;
	font-weight: 700;
	color: #fff;
	margin-top: 0px;
	/*margin-right: 10px;*/
	margin-bottom: 10px;
	margin-left: 0px;
	float: left;
	-webkit-transition: background-color ease 0.2s, color ease 0.2s, visibility 0.1s;
    transition: background-color ease 0.2s, color ease 0.2s, visibility 0.1s;
    background-position: -5000% -5000%;
    background-repeat: no-repeat;
    min-width: 230px;
    min-height: 160px;
}
.element-destacat:hover {
	text-decoration: none;
	cursor: pointer;
}
.element-destacat-text-blanc-off, .element-destacat-text-blanc-off p {
	color: white !important;
	transition: background-color ease 0.2s, color ease 0.2s, visibility ease 0.5s;
}
.element-destacat-text-negre-off, .element-destacat-text-negre-off p {
	color: black !important;
	transition: background-color ease 0.2s, color ease 0.2s, visibility ease 0.5s;
}
.element-destacat-text-blanc-on:hover, .element-destacat-text-blanc-on:hover p {
	color: white !important;
	transition: background-color ease 0.2s, color ease 0.2s, visibility ease 0.5s;
}
.element-destacat-text-negre-on:hover, .element-destacat-text-negre-on:hover p {
	color: black !important;
	transition: background-color ease 0.2s, color ease 0.2s, visibility ease 0.5s;
}
.element-destacat-titol {
	font-size: 1.6em;
	font-weight: bold;
}
.element-destacat-titol-int {
	padding: 1em;
}
.element-destacat-cover {
	background-size: cover;
}



/* Estils template */
.amplada1 .element-destacat-titol {
	padding-left: 20px;
	padding-right: 20px;
}
.amplada2 .element-destacat-titol, .amplada3 .element-destacat-titol {
	padding-left: 35px;
	padding-right: 35px;
}
.alcada1 .element-destacat-titol {
	padding-top: 20px;
	padding-bottom: 20px; 
}
.alcada2 .element-destacat-titol, .alcada3 .element-destacat-titol {
	padding-top: 35px;
	padding-bottom: 35px; 
}
.amplada1 {
	/*width: 230px;*/
	width: 216px;
	background-color: #dfdfdf;
}
.alcada1 {
	height: 160px;
}
.amplada2 {
	/*width: 470px;*/
	width: 443px;
	background-color: #debcc2;
}
.alcada2 {
	height: 330px;
}
.amplada3 {
	/*width: 700px;*/
	width: 670px;
	background-color: #ffffd5;
}
.alcada3 {
	height: 500px;
}

.contingut-rotador-portada {
	margin-bottom: 20px;
}
.element-rotador-portada {
	background: transparent url('../img/loading.gif') center center no-repeat;
	min-height: 200px;
}

/* Estils layouts */
div.efecte-parallax {
	/*
	background-size: cover;
	background: transparent;
	*/
	margin: 60px 0 60px 0;
	height: 350px;
	vertical-align: bottom;
}
div.efecte-parallax div.amplada-pagina {
	position: relative;
	height: 300px;
}
div.efecte-parallax div.amplada-pagina div.element {
	height: 100%;
}
div.efecte-parallax div.amplada-pagina div.element p.boto-link {
	position: absolute;
    bottom: 0;
    right: 0;
}
p.boto-link {
	overflow: hidden;
	float: right;
	text-align: center;
}
p.boto-link a {
	color: #ffffff;
	background-color: #a7658d;
	padding: 8px 5px 8px 5px;
	min-width: 380px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	display: inline-block;
	
	moz-transition: background 0.7s ease-out;
	transition: background 0.7s ease-out;
}
p.boto-link a:hover {
	color: #a7658d;
	background-color: #ffffff;
	text-decoration: none;
}



/* Banners portada */
.banners-portada {
	overflow: hidden;
	margin: 0 auto 0 auto;
}
.banners-portada h2 {
	text-align: center;
	color: #898989;
	font-size: 1.25em;	
}
.banners-portada ul.galeria-banners {
	margin: 10px 0 0 0;
	padding: 0;
	overflow: hidden;
	list-style: none inside none;
	width: 100%;
	display: block;
}
.banners-portada ul.galeria-banners li {
	display: block;
	padding: 0;
	margin: 0;
	float: left;
	width: 25%;
	text-align: center;
}
.banners-portada ul.galeria-banners li .cont-banner {
	margin-right: 4px;
	margin-left: 4px; 
}
.banners-portada ul.galeria-banners li a {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
} 
.banners-portada ul.galeria-banners li a:hover {
	text-decoration: none;	
}
.banners-portada ul.galeria-banners li a img {
	width: 100%;
	
	-webkit-transform: scale(1,1);
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
	
	-moz-transform: scale(1,1);
	-moz-transition-timing-function: ease-out;
	-moz-transition-duration: 250ms;

	-ms-transform: scale(1,1);
	-ms-transition-timing-function: ease-out;
	-ms-transition-duration: 250ms;

	-o-transform: scale(1,1);
	-o-transition-timing-function: ease-out;
	-o-transition-duration: 250ms;
}
.banners-portada ul.galeria-banners li a:hover img {
	-webkit-transform: scale(1.10,1.10);
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 250ms;
	
	-moz-transform: scale(1.10,1.10);
	-moz-transition-timing-function: ease-out;
	-moz-transition-duration: 250ms;

	-ms-transform: scale(1.10,1.10);
	-ms-transition-timing-function: ease-out;
	-ms-transition-duration: 250ms;

	-o-transform: scale(1.10,1.10);
	-o-transition-timing-function: ease-out;
	-o-transition-duration: 250ms;
	
	position: relative;
	z-index: 99;
}
.banners-portada ul.galeria-banners li a span {
	display: block;
	width: 100%;
	background-color: #b4a2cc;
	color: #ffffff;
	font-size: 0.85em;
	font-weight: bold;
	padding: 7px 0 8px 0;
	position: inherit;
	text-shadow: none;
}
.banners-portada ul.galeria-banners li a:hover span {
	padding: 5px 0 10px 0;
	font-size: 0.82em;
}

/* Taula horaris */
table.taula-horaris {
	width: 100%;
	font-size: 1.1em;
	border-spacing: 2px;
    border-collapse: separate;
}
table.taula-horaris thead tr th {
	font-weight: bold;
	color: white;
	margin: 2px;
	padding: 5px 2px 5px 2px; 
	vertical-align: middle; 
	text-align: center;
	width: 14.28%;
}
table.taula-horaris tbody tr td {
	border: 1px dotted #000000;
	margin: 2px;
	padding: 5px 2px 5px 2px;
	vertical-align: middle; 
	text-align: center;
}



/*** Plugins ***/
/* Cookies */
#cookie-warning, #cookie-warning-permanent {
	margin: 0px;
	padding: 0px;
	left: 0px;
	top: 0px;
	right: 0px;
	font-size: 1.1em;
	opacity: 1;
	display: block;
}
#cookie-warning-permanent {
	display: none;	
}
#cookie-warning *, #cookie-warning-permanent * {
	font-size: 1.0em;
}
#cookie-warning p, #cookie-warning-permanent p {
	margin: 4px 0px;
	padding: 4px 0px;
}
#cookie-warning .missatge, #cookie-warning-permanent .missatge {
	position: relative;
	background: #FFFFE1;
	background: -moz-linear-gradient(#FFFFB0, #FFFFE1);
    background: -ms-linear-gradient(#FFFFB0, #FFFFE1);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #FFFFB0), color-stop(100%, #FFFFE1));
    background: -webkit-linear-gradient(#FFFFB0, #FFFFE1);
    background: -o-linear-gradient(#FFFFB0, #FFFFE1);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFB0', endColorstr='#FFFFE1');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFB0', endColorstr='#FFFFE1')"; 
    background: linear-gradient(#FFFFB0, #FFFFE1);
	border-bottom: 1px solid #444;
	-webkit-box-shadow: #000 0px 0px 10px;
	-moz-box-shadow: #000 0px 0px 10px;
	box-shadow: #000 0px 0px 10px;
	padding: 10px 20px 10px 42px;
}
#cookie-warning-permanent .missatge {
	background: #E1FFE2;
	background: -moz-linear-gradient(#B0FFB2, #E1FFE2);
    background: -ms-linear-gradient(#B0FFB2, #E1FFE2);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #B0FFB2), color-stop(100%, #E1FFE2));
    background: -webkit-linear-gradient(#B0FFB2, #E1FFE2);
    background: -o-linear-gradient(#B0FFB2, #E1FFE2);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#B0FFB2', endColorstr='#E1FFE2');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#B0FFB2', endColorstr='#E1FFE2')"; 
}
#cookie-warning img.cookie-warning-icon {
	position: absolute;
	top: 1.3em;
	left: 16px;
}
#cookie-warning .cookie-warning-botons {
	float: right;
	margin-top: 1em;
}
#cookie-warning-permanent .cookie-warning-botons {
	float: right;
}
#cookie-warning .cookie-warning-botons button {
	background-color: #4d90fe;
	background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
	border: 1px solid #3079ed;
	color: #ffffff;
	padding: 2px 9px;
	margin-left: 10px;
	
	text-decoration: none;
	border-radius: 3px;
	moz-border-radius: 3px;
}
#cookie-warning .cookie-warning-botons button:focus, #cookie-warning .cookie-warning-botons button:hover {
	border-color: #ffcc33;
}
#cookie-warning-permanent .cookie-warning-botons button {
	border: 1px solid #999;
	background: #CCC;
	background: -moz-linear-gradient(#DDD, #CCC);
    background: -ms-linear-gradient(#DDD, #CCC);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #DDD), color-stop(100%, #CCC));
    background: -webkit-linear-gradient(#DDD, #CCC);
    background: -o-linear-gradient(#DDD, #CCC);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDD', endColorstr='#CCC');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#DDD', endColorstr='#CCC')"; 
    background: linear-gradient(#DDD, #CCC);
    color: #444;
    
	padding: 2px 9px;
	margin-left: 10px;
	
	text-decoration: none;
	border-radius: 3px;
	moz-border-radius: 3px;
}
#cookie-warning-permanent .cookie-warning-botons button:focus, #cookie-warning .cookie-warning-botons button:hover {
	border-color: #ffcc33;
}
#cookie-warning .missatge-contingut, #cookie-warning-permanent .missatge-contingut {
	padding-right: 101px;
}

/* Tooltip que es mostra quan es produeix un error en el camp */
.tooltip-error {
	position: absolute;
	display: none;
	overflow: hidden;
	max-width: 350px;
}
.tooltip-error .fletxa-tooltip {
	width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid black;
	margin-left: 25px;
}
.tooltip-error .contingut-tooltip {
	color: white;
	padding: 3px;
	font-size: 0.9em;
	background-color: black;
}

input.error-camp {
    background-color: #fae9d9 !important;
    outline: none;
    border: 1px solid transparent;
    -webkit-box-shadow: 0 0 1px 1px #ad4431;
    -moz-box-shadow: 0 0 1px 1px #ad4431;
    box-shadow: 0 0 1px 1px #ad4431;
}

/* Fancybox */
#fancybox-buttons ul li {
	background: none;
}


/* Estils fons */
.fons-vermell {
	background-color: #a7658d;
}
.fons-verd {
	background-color: #66b7a3;
}
.fons-lila {
	background-color: #cb5389;
}
.fons-groc {
	background-color: #ffa730;
}


/* Add this
.addthis_toolbox {
	margin: 0 0 0 1.2em;
	float: left;
	padding-right: 0;
}
.addthis_button_facebook_like {
	margin-top: -2px;
}
.addthis_button_tweet {
	margin-top: -2px;
}
.addthis_button_google_plusone {
	margin-top: -2px;
	width: 75px;
	overflow: hidden;
}
.addthis_separator {
	margin: 0 10px 0 50px !important;
	color: #808080;
	font-weight: bold;
}
 */

/* datepicker */
.ui-datepicker {
	font-size: 88% !important;
}

/* flowplayer */ 
.flowplayer {
	background-size: cover !important;
	background-repeat: no-repeat;
}
.flowplayer .fp-controls { background-color: rgba(0, 0, 0, 0.4)}
.flowplayer .fp-timeline { background-color: rgba(0, 0, 0, 0.5)}
.flowplayer .fp-progress { background-color: rgba(219, 0, 0, 1)}
.flowplayer .fp-buffer { background-color: rgba(249, 249, 249, 1)}
.flowplayer .fancybox-inner {
	padding-bottom: 80px;
}

/* jquery loader */
#jquery-loader-background { background-color: silver }
#jquery-loader.carregant {
    display: block;
    position: fixed;
    opacity: 0.88;
    box-shadow: rgb(255, 255, 255) 0px 1px 1px -1px;
    border: 0;
   	padding-bottom: 40px;
	padding-left: 13px;
	padding-right: 13px;
	padding-top: 15px;
	min-height: 4.3em;
    text-align: center;
    color: #ffffff;
    font-family: Helvetica, Arial, Verdana, sans-serif;
	font-size: 1.4em;
	text-shadow: rgb(17, 17, 17) 0px 1px 0px;
	line-height: 1.4em;
	
    background-image: url('/comu/loader/loader2.gif');
    background-position: center 4em;
    background-repeat: no-repeat;
	-webkit-box-shadow: rgb(255, 255, 255) 0px 1px 1px -1px;
	background-attachment: scroll;
	background-color: rgb(42, 42, 42);
	
	border-color: rgb(255, 255, 255);
	border-radius: 5px;
	border-style: none;
	border-width: 0px;
	border-image-outset: 0px;
	border-image-repeat: stretch;
	border-image-slice: 100%;
	border-image-source: none;
	border-image-width: 1;
}

/* JQuery */
.ui-accordion-header {
	padding: 10px 20px 10px 25px !important;
	position: relative;
}
.ui-accordion-header-icon {
	position: absolute;
	margin: 0 0 0 -20px;
}

.efecte-accordion-header {
	background-color: #795f89;
	padding: 8px 25px 8px 12px;
	margin: 10px 0 10px 0;
	color: #ffffff;
	font-size: 1.2em;
	position: relative;
}

.efecte-accordion-header:after {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content : "\f107";
	font-size : 25px;
	position: absolute;
	top: 8px;
	right: 10px;
	color : #ffffff;
}
.efecte-accordion-header.expanded:after {
	content : "\f106";
}
.accordion-collapsed {
	display: none;
}
.accordion {
	margin: 20px 0 20px 0;
	overflow: hidden;
}