/* Start of CMSMS style sheet 'Layout: Left sidebar + 1 column' */
/*****************
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;
font-size:11px;
}
#ttlseach{margin-bottom:10px;}
/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   background:white url(/images/cms/top.jpg) top center repeat-x;
}

/*
set font size for all divs,
this overrides some body rules
*/
/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}
.mceContentBody{background:none;}
#tutorial{margin:5px;}
/*****************
basic layout 
*****************/
body {
   background-color: #FFF;
   color: #333;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width: 986px;   /* IE wont understand these, so we will use javascript magick */
   color: black;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 103px;    /* adjust according your image size */
}

div#header h1#h1esp a {background: transparent url(images/cms/logo_esp.png) no-repeat 0 12px; }
div#header h1#h1cat a {background: transparent url(images/cms/logo_cat.png) no-repeat 0 12px; }

div#header h1 a {
/* you can set your own image here */
   
   display: block;
   height: 67px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}
div#header h1 a:hover{
   color:#FF4E00;
   text-decoration:underline;
}
#header #menupestanya ul,
#header #menupestanya li{
list-style-type:none;
}
#header #menupestanya li{
float:left;
width:125px;
height:36px;
background:transparent url(images/cms/pestanya.gif) bottom center no-repeat;
}
#header #menupestanya li a{
width:125px;
height:32px;
line-height:32px;
text-align:center;
color:white;
font-weight:bold;
font-size:11px;
text-decoration:none;
display:block;
margin-top:3px;
}
/* position for the search box */
div#search {
   float: right;
   width: 24em;    /* enough width for the search input box */
   text-align: right;
   padding: 3px 0 0 0;
}

div.breadcrumbs {
  font-size: 90%;
  height:26px;
  line-height:24px;
  overflow:hidden;
}
.ttlbread{
color:#333F4C;
font-size:11px;
font-weight:bold;
margin-right:5px;
}
div.breadcrumbs .lastitem,
div.breadcrumbs a{
background:transparent url(images/cms/suborange.gif) no-repeat scroll 0%;
color:#333F4C;
font-size:11px;
height:20px;
text-decoration:none;
padding-left:8px;
margin-left:2px;
}
div.breadcrumbs span.lastitem { 
   font-weight:bold; 
}

div#content {
   margin: 8px 0 0 0;   /* some air above and under menu and content */
}


div#main {
   margin-left: 250px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
}
div#main a{
   color:#FF4E00;
   font-weight:bold;
   text-decoration:none;
}
div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 240px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-left: 0;
}

div#footer {
   clear: both;       /* keep footer below content and menu */
   color:#3E5063;
   border-top:1px solid #E4E6E8;
}
div#footer p {
   font-size: 0.8em;
   padding: 1.5em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {
color:#3E5063;
text-decoration:underline;
}
div#footer img{
vertical-align:middle;
margin-right:4px;
}
/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}
#main .hr{clear:both;}
/* relational links under content */
div.left49 {
  width: 79%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 19%;
  text-align: right;
}




/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content #main h2 {
	text-align: left;
	background:transparent url(/images/cms/titol.png) 0 0 no-repeat;
	color:#3E5063;
	font-size:12px;
	font-weight:bold;
	text-transform:uppercase;
	text-indent:12px;
	height:31px;
	line-height:31px;
/*
/* some air around the text * /
	padding-left: 0.5em;
	padding-bottom: 1px;
/* set borders around header * /
	border-bottom: 1px solid #e7ab0b; 
	border-left: 1.1em solid #e7ab0b; 
        line-height: 1.5em;
/* and some air under the border */
        margin: 0 0 0.5em 0;
}
div#content #main h3{
   padding:10px 0 15px;
}
div#content #main h3,div#content #main h3 span {
   color:#3E5063;
   font-size:14px;
   font-weight:bold;
   line-height:20px;
}
div#content #main h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content main h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
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 {
 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%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 3em;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 0;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
#printr{float: right;padding:5px;}

/*rate this*/
#rate{margin-top:10px;color:#3E5063;}
#rate select,#rate option,#rate input{color:#3E5063;}
#rate p{margin:0;}
#rate p,#rate div{float:left;margin-right:10px;}
#rate img{float:left;}
#rtWrapper{margin-left:10px;}


/* FAQS */
.faqimg{
text-align:center;
margin-bottom:10px;
}
.nota{
   background:transparent url(/images/cms/topavis.png) 0 0 no-repeat;
}
.nota p{
   background:transparent url(/images/cms/downavis.png) no-repeat scroll 0px bottom;
   padding:10px 10px 10px 40px;
}

.box{
   background:transparent url(/images/cms/ampletop.png) 0 0 no-repeat;
   margin-bottom:5px;
   padding-top:5px;
}
.box .boxend{
   background:transparent url(/images/cms/amplebot.png) no-repeat scroll 0px bottom;
   height:6px;
   margin:0;padding:0;
}


/* CERCA */
#cerca h3{
margin:5px 0 5px 0;
}

/* fondo taula inici */
.botons{
   height:245px;
   background:transparent url(/images/cms/amplebot.png) no-repeat scroll center bottom;
}
.botons,
.botons li{
   list-style-type:none;
   margin:0 !important;
   padding:0 !important;
}
.botons li{
   float:left;
   width:50%;
   height:60px;
}
.botons li img{
   vertical-align:middle;
   margin-right:10px;
   margin-left:25px;
}
#tinici{
   /*height:240px !important;*/
}
/* llistat ultimes actualitzacions */
#lasts #ultimes{
background:transparent url(/images/cms/bottom726.png) no-repeat scroll left bottom;
line-height:19px;
margin-bottom:5px;
padding-bottom:10px;
padding-left:20px;
padding-top:10px;
color:#3E5063;
}
#lasts h3{
background:transparent url(/images/cms/top726.png) no-repeat scroll 0 0;
font-size:12px !important;
line-height:31px !important;
padding:0 !important;
text-indent:30px;
}
#lasts #ultimes a{
padding-left:10px;
}

/* imatges a sota del menu */
#botonsmenu{
margin-bottom:7px;
}

#main .currentpage{padding-top:10px;}
#main .currentpage li{padding-top:5px;}
#main .currentpage li li{padding-top:0px;}


.codi{
   margin-bottom:5px;
   border:1px solid #CDD2D6;
   padding:5px;
   background-color:#F2F4F5;
}


/* pestanya activa */
.pestactiva{
background-image:url(/uploads/images/pestanyo.gif) !important;
}
.pestactiva a{
color:#455565 !important
}


/* taules */
table{
width:100%;
border-collapse:collapse;
}
.taulaCentrada{
width:90%;
margin:auto auto;
}
.taulaCentrada tr th{
background-color:#F2F4F5;
border:1px solid #3E5063;
color:#3E5063;
}
.taulaCentrada tr th.mig,
.taulaCentrada tr td{
text-align:center;
}
.taulaCentrada tr td{
border:1px solid #E2E5E7;
}
.taulaCentrada tr td,
.taulaCentrada tr th{
padding:4px;
}

#lang{
float:right;
margin-top:-60px;
}

/*per indexar*/
.indexar{
color:white;
font-size:11px;
}
/* End of 'Layout: Left sidebar + 1 column' */

