/* Start of CMSMS style sheet 'Accessibility and cross-browser tools' */
/* accessibility */

/* 
menu links accesskeys 
*/
span.accesskey {
   text-decoration:none;
}

/* 
accessibility divs are hidden by default 
text, screenreaders and such will show these 
*/
.accessibility, hr {
   position: absolute;
   top: -999em;
   left: -999em;
}

/* 
definition tags are also hidden 
these are also used for menu links    
*/
dfn {
   position: absolute;
   left: -1000px;
   top: -1000px;
   width: 0;
   height: 0;
   overflow: hidden;
   display: inline;
}
/* end accessibility */


/* wiki style external links */
/* external links will have "(external link)" text added, lets hide it */
a.external span {
  position: absolute;
  left: -5000px;
  width: 4000px;
}

/* make some room for the image */
a.external {
/* css shorthand rules, read: first top padding 0 then right padding 12px then bottom then right */
  padding: 0 12px 0 0;
}
/* colors for external links */
a.external:link {
  color: #18507C;
/* background image for the link to show wiki style arrow */
  background: url(images/cms/external.gif) no-repeat 100% 0;
}
a.external:visited {
  color: #18507C; /* a different color can be used for visited external links */

/* 
Set the last 0 to -100px to use that part of the external.gif image for different color for active links 
external.gif is actually 300px tall, we can use different positions of the image to simulate rollover image changes.
*/
  background: url(images/cms/external.gif) no-repeat 100% 0; 
}

a.external:hover {
  color: #18507C;
/* Set the last 0 to -200px to use that part of the external.gif image for different color on hover */
  background: url(images/cms/external.gif) no-repeat 100% 0; 
  background-color: #C3D4DF;
}
/* end wiki style external links */


/* clearing */
/* 
clearfix is a hack for divs that hold floated elements. it will force the holding div to span all the way down to last floated item.
We strongly recommend against using this as it is a hack and might not render correctly but it is included here for convenience.
Do not edit if you dont know what you are doing
*/
	.clearfix:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
	* html>body .clearfix {
		display: inline-block; 
		width: 100%;
	}
	
	* html .clearfix {
		/* Hides from IE-mac \*/
		height: 1%;
		/* End hide from IE-mac */
	}

/* end clearing */
/* End of 'Accessibility and cross-browser tools' */

/* Start of CMSMS style sheet 'Solidaries - 2 cols - Menú sup horitzontal' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on

* {
margin:0;
padding:0;
}
******************/

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: "Trebuchet MS", Arial, sans-serif ;
   font-size: 80%;
   color:#221E1F;
   line-height: 1.5em;
   background: #fff url(images/solidaries/fons_body.jpg) repeat-x top;
margin:0;
padding:0;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
margin:0;
padding:0;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link, 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #5F7D24; 
}

a:visited {
   text-decoration: none;
   background-color: inherit;
  color: #5E742D;                /* a different color can be used for visited links */
}



a:hover {
   text-decoration: underline;
   background-color: ;
   color: #000;
}

dt {font-weight:bold; margin-top: 0.5em }
dd {margin-left: 0; border-bottom: 1px solid #ccc; margin-top: 0em; padding-bottom: 0.5em}



/*

#principal a,
#principal a:link, 
#principal a:active {
   text-decoration: none;
   background-color:inherit ;
   color: #221E1F;
   border-bottom: 1px dotted #363636;
   }

#principal a:visited {
   text-decoration: none;
   background-color: inherit;
   color: #363636;
   border-bottom: 1px dotted #363636;}

#principal a:hover {
   text-decoration: none;
   background-color:inherit ;
   color: #000;
   border-bottom: 1px dotted #5F7D24;

}

*/

#principal  a:link {color: #5F7D24;text-decoration: none; }

#principal a:visited {color: #5F7D24;text-decoration: none; }

#principal  a:hover {color:#000000;text-decoration: underline;}

#principal  a:active {color: #5F7D24;text-decoration: none; }



/*****************
basic layout 
*****************/

#capslalera *, #menuwrapper *, #cercador * {
margin: 0;
padding: 0;
}

/* ---------- capsalera -------------- */
#capsalera {
width:970px;
height: 105px;
margin:0 auto;
padding: 0px;
}


/* logo */
#logo {
float: left;
width: 300px;
margin: 7px 0 0 58px;
width:200px;
}

#dretacapsalera {
	padding: .5em 0 0 0; 
	margin-left: 300px;
	margin-right: 0px;
	text-align:right;
}


#menuwrapper {
margin-top: 45px;
text-align:left;
background-color:#00FF00;
float:right;
}

a#contacte {
padding: 0 2em 0 2em;
color: #666;
text-decoration: none;
font-size:90%;
background: url(images/solidaries/icona_sobre.png) top right no-repeat;
}

#actes {
padding: 0 2em 0 2em;
color: #666;
text-decoration: none;
font-size:90%;
background: url(images/solidaries/icona_clau.png) top right no-repeat;
}

#webmail{
padding: 0 2em 0 2em;
color: #666;
text-decoration: none;
font-size:90%;
background: url(images/solidaries/icona_webmail.png) top right no-repeat;
}

div#cercador {
text-align: right;
width: 970px;
height: 26px;
margin:0 auto;
padding: 0px;
}

div.breadcrumbs {
   padding: 1em 0 1em 0;
   font-size: 90%;            
   margin: 0 1em 2em 0;    
   border-bottom: 1px dotted #555;
   color: #555;
}

div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

div#content {
   margin: 1.5em auto 2em 0; /* some air above and under menu and content */
}

#contenidor { /* per establir un fons que s'escapi dels lÃ­mits dels continguts */
background: #fff url(images/solidaries/fons_contenidor.jpg) repeat-y center;
}

#continguts {
	width: 970px;
	margin: 0 auto;
	background: url(images/solidaries/ombra_capsalera.jpg) top no-repeat;

}

#principal  {
	padding: 1em 1em 3em 3em;
	margin-left: 300px;
	margin-right: 0px;
}

#colesquerra {
	float: left;
	width: 300px;
	padding-top: 1em;
   /* display: inline;  /* FIX ie doublemargin bug */

	}

/* if colesquerra doesnt include menu but content add class="hascontent" */
div#colesquerra.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}


div#peu1 {
	clear:both;      
	background: #676364 url(images/solidaries/fons_peu.png) repeat-x center top;
}

#interiorpeu {
	width: 970px;
	margin: 0 auto;
	color:#FFFFFF;
	padding: 1em 0;
	text-align:center;
}

div#interiorpeu p a {
   color: #fff; /* needed becouse footer link would be same color as background otherwise */
}

.bloc_peu1 {
	width: 28%;
	padding:2%;
	float:left;
	text-align:left;
}

div#peu2 {
	clear:both;
	background-color:  #221E1F;
}

div#peu2 p {
   font-size: 0.9em;
   padding: 1.5em;   
   text-align: center; 
   margin:0 auto;
   width:970px;
   color:#CCCCCC;
}

div#interiorpeu input {
	border:none;
	padding: .2em .5em;
}

.botoformulari {
	background-color: #9ACA3B;
	color:#000;

}


/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em 0;
   border-bottom: 1px dotted #555;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 77%;  
  font-size:85%;
  color: 555;
}

div.right49 {
  float: right;
  width: 19%;
  text-align: right;
  font-size:85%;
  color: 555;
}




/********************
CONTENT STYLING
*********************/
div#continguts {
}

/* HEADINGS */

#colesquerra h2, #principal h2 {
padding-left: 15px; 
}

#colesquerra h2 {
color:#76766F;
background: url(images/solidaries/icona_titol_gris.png) 0 5px no-repeat;
}

#principal h2 {

}


div#continguts h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}

div#continguts h2 {
	/* font-family:Arial, Helvetica, sans-serif; */
	font-size:1.8em;
	/* letter-spacing:0.5em;*/ 
	letter-spacing:0.1em; 
	line-height: 1.2em;
	margin: 0.6em 0 0.6em 0;
color:#9ACA3B;
background: url(images/solidaries/icona_titol_verd.png) 0 12px no-repeat;
}

#interiorpeu h2 {
	color:#9ACA3B;
       	letter-spacing:0.1em; 
      	font-size: 1.2em;
	margin: 0;

}


div#continguts h3 {
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 1em 0 0.5em 0;
   font-weight: normal;
}
div#continguts h4 {
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0.75em 0 1.5em 0;
}
div#continguts h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0.5em 0 0.25em 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0.25em 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
line-height:200%;
background-color:#F2F9E9;
padding: 1em 1em 0.5em 1em;
color: #111;
margin-left: 10px;
}

pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

table {background-color: #ccc}
td {background-color: #fff; }


/* END TEXT */

/* LISTS */
div#principal ul,
div#principal ol,
div#principal dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1em 0;
   padding-left: 2em;
}
div#principal ul li,
div#principal ol li {
   margin: 0 0 0.25em .5em;

}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 1em;
}
div#dl dd {
   margin: 0 0 0 1em;
}
/* END LISTS */



/* Menú principal */

#capsalera ul
{
background-color: #fff;
color: #333333;
font-family: Georgia, "Times New Roman", Times, serif ;
}



#campanyes {
text-align:center
}

#campanyes p {
text-align:center;
margin:0;
padding:0;

}

#campanyes img {
background-color:#FFFFFF;
border: 1px solid #ccc;
padding: 9px;
margin-bottom: 0.5em;
}

.imatge_resum {
float: right;
margin-left: 1em;
}


/* per arxiu notícies: estils web vell */
.titular {font-weight:bold; font-size:110%}


/* News:  noticies portada / opinio / calendari */

.NewsSummary, .calendar-event { 
display:block;
margin: 0.75em 0;
padding: 0.5em 0;
background:url(images/solidaries/ratlla_punts_verda.png) repeat-x bottom left;
}

.NewsSummaryPostdate, .NewsPostDetailDate {
font-size: 90%;
color: #999;
margin-bottom: 5px;
}

.articleopinio {
background: url(images/solidaries/fons_opinio.png) no-repeat top right;
}


.autor {
font-size:1em;
font-style:italic;
padding: 0.5em 0 ;
border-top: 1px dotted #ccc;
}


/* Catàleg: per exposicions, jocs i maletes pedagògiques */

.item_images {
float: right;
margin-left: 1em;
}


.notes {
clear:both;
font-size: 90%;
padding: 1em;
background-color: #f6f6f6;
border: 1px solid #ccc;
}

.notes p {
margin: 0 0 0.25em 0;
}


/* pel pommo ***************/

fieldset { border: none; }

legend { visibility:hidden; }

.required {color: red; }

/* Status Messages */
.alert,
.warn,
.error {
	clear: both;
	padding: 5px;
	color: #000;
}
#alertmsg {
	border: 1px solid #A5D768;
}
.alert {
	background: #DDF0BD;
}
.alert strong,
.alert label {
	color: green;
}
#warn {
	border: 1px solid #FF8000;
}
.warn {
	background: #F2F9E9;
}
.warn strong,
.warn label {
	color: #FF8000;
}
#error {
	border: 1px solid #F3D5D5;
}
.error {
	background: #FFF1F1;
}
.error strong,
.error label {
	color: red;
}
.error input,
.error textarea {
	background: #FFF;
}

.required {
	font-weight: bold;
}
.clear { clear: both; }

/* End of 'Solidaries - 2 cols - Menú sup horitzontal' */

/* Start of CMSMS style sheet 'Solidaries - CSSMenu horitzontal' */
#menu_vert {
   margin-left: 1px;
   margin-right: 1px;
}

/* The wrapper clears the floating elements of the menu */
/* Fix for Opera 8 */
.clearb { clear: both; }
#menuwrapper {
	line-height:120%;
}

/* Set the width of the menu elements at second level. Leaving first level flexible. */

#primary-nav li li { 
   width: 200px; 
}

/* Unless you know what you do, do not touch this */ 
#primary-nav, #primary-nav ul { 
   list-style: none; 
   margin: 0px; 
   padding: 0px;
}

#primary-nav ul { 
   position: absolute; 
   top: auto; 
   display: none; 
}

#primary-nav ul ul { 
   margin-top: 1px;
   margin-left: -1px;
   left: 100%; 
   top: 0px; 
}

#primary-nav li { 
   margin-left: -1px;
   float: left; 
}

#primary-nav li li { 
   margin-left: 0px;
   margin-top: -1px;
   float: none; 
   position: relative; 

}

/* Styling the basic apperance of the menu elements */

#primary-nav a { 
   display: block; 
   margin: 0px; 
   padding: 5px 10px; 
   text-decoration: none; 
   color: #232021;
font-weight: normal;
}

#primary-nav li a { 
   border-right: 1px solid #C0C0C0;
   border-left: 1px solid #C0C0C0;
font-weight: bold;
}

#primary-nav li li a { 
   border: 1px solid #C0C0C0;
font-weight: normal;
}	

#primary-nav li, #primary-nav li.menuparent { 
   background-color: #fff;  /* #ececec */
}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 
   background-color: #9ACA3B;  /* primer nivell actiu */
}

/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#primary-nav ul li.menuparent, 
#primary-nav ul li.menuparent:hover, 
#primary-nav ul li.menuparenth { 
/* arrow for menuparents */
   background-image: url(/images/cms/arrow.gif); 
   background-position: center right; 
   background-repeat: no-repeat; 
}

/* Styling the apperance of menu items on hover */
#primary-nav li:hover, 
#primary-nav li.menuh, 
#primary-nav li.menuparenth, 
#primary-nav li.menuactiveh { 
   background-color: #9ACA3B; 
}

/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */
/* 
just add 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul ul ul,
for fourth level 
*/

#primary-nav ul, 
#primary-nav li:hover ul, 
#primary-nav li:hover ul ul, 
#primary-nav li.menuparenth ul, 
#primary-nav li.menuparenth ul ul { 
   display: none; 
}

/* add 
#primary-nav ul ul ul li:hover ul, 
#primary-nav ul ul ul li.menuparenth ul,
for fourth level
*/

#primary-nav li:hover ul, 
#primary-nav ul li:hover ul, 
#primary-nav ul ul li:hover ul, 
#primary-nav li.menuparenth ul, 
#primary-nav ul li.menuparenth ul, 
#primary-nav ul ul li.menuparenth ul { 
   display: block; 
}

/* IE Hacks */
#primary-nav li li { 
   float: left; 
   clear: both; 
}
#primary-nav li li a { 
   height: 1%; 
}
/* End of 'Solidaries - CSSMenu horitzontal' */

/* Start of CMSMS style sheet 'Module: News' */
div#news {
  margin: 2em 0 1em 1em;  /* margin for the entire div surrounding the news list */
/*  background: #FFE9AF;  */
}

div#news h2 {
   line-height: 2em;
   background: #fff;
}

.NewsSummary {
}

.NewsSummaryPostdate {
}

.NewsSummaryLink {
    font-weight: bold;
    padding-top: 0.2em;
}

.NewsSummaryCategory {
  font-style: italic;
  margin: 5px 0;
 }

.NewsSummaryAuthor {
  font-style: italic;
  padding-bottom: 0.5em;
}

.NewsSummarySummary, .NewsSummaryContent {
  line-height: 140%;
 }

.NewsSummaryMorelink {
  padding-top: 0.5em;
}

#NewsPostDetailDate {
  }

#NewsPostDetailSummary {
   line-height: 150%;
   }

#NewsPostDetailCategory {
  font-style: italic;
  border-top: 1px solid #ccc;
  margin-top: 0.5em;
  padding: 0.2em 0;
}

#NewsPostDetailContent {
  margin-bottom: 15px;
  line-height: 150%;
  }

#NewsPostDetailAuthor {

  padding-bottom: 1.5em;
  font-style: italic;
}


/* to add specific style to the below divs, uncomment them. */

/* 
#NewsPostDetailTitle {}
#NewsPostDetailHorizRule {}
#NewsPostDetailPrintLink {}
#NewsPostDetailReturnLink {}
*/
/* End of 'Module: News' */

