﻿/* Establim marges i bordes a 0 per evitar diferencies entre navegadors */
html, body, div, p, h1, h2, h3, h4, h5, h6, h7, ol, dl, dt, dd, td, form, fieldset, a, img, button
{
    padding: 0;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}


#contenidor
{
    width: 992px;
    margin: 0 auto;
}


/*General*/
body
{
    text-align: center;
    background-color: #ffffff;
    background-image: url(imatges/bg_marges.gif); /* gris */
    background-repeat: repeat;
    font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 0.80em;
    color: #666666;
}


textarea, input
{
    font-family: "Trebuchet MS" , Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 1em;
}


/* Capçalera - capa contenidora menu i logo*/

#capcalera
{
    background-image: url(imatges/capcalera_ccoo.jpg);
    background-color: #ffffff; /* blanc */
    border: solid 1px #666;
    height: 47px;
    margin: 0 auto;
    position: relative;
    text-align: left;
    width: 991px;
    z-index: 1;
}


/* capa contenidora logo */
#logo
{
    float: left;
    width: 195px; /* 800 pixels - zona scroll */
    height: 47px; /*width: 150px;  	height: 96px;*/
    border: none;
    text-align: center;
    background-color: #ffffff; /* blanc */ /*background-image: url(imatges/bg_menu.gif); /* blanc amb linia gris a baix */
    background-repeat: repeat;
}


/* capa contenidora cos principal pagina */
#cos
{
    float: left;
    border: solid 1px #666; /*border-top:0px;*/
    background: #fff;
    width: 992px; /*margin: 45px auto; */
    margin: 8px 0 0 0;
    position: relative;
}
/*capes a l'interior de pantalla*/
#esquerra
{
    float: left;
    width: 149px;
    height: auto;
    background-color: #f2f2f2; /*#efefef;*/
    border-top: 0px;
    border-right: solid 1px #333333;
    border-bottom: solid 1px #333333;
    border-left: 0px;
    text-align: center; /*font-size: 1.2em;*/
    padding: 0px;
}

#dreta
{
    position: relative;
    float: right;
    width: 100px;
    padding: 14px 5px 0 0;
    background-color: #fff;
}

#centre
{
    width: 700px;
    margin: 0;
    float: left;
    padding: 0px 10px 0px 15px;
    text-align: left;
}


/* capa contenidora titol */
#titol
{
    height: 40px;
    border: none 0px;
    text-align: left; /*padding-top: 47px;*/
    padding-top: 0px;
    padding-left: 15px;
}

#menu
{
    clear: both;
    display: table;
    float: right;
    font-size: 1.2em;
    height: 28px;
    margin: 2px 0 10px 0; /* top=10 respecte a capa anterior horitzontal auto */
    overflow: visible;
    padding-top: 10px;
    text-align: left;
    width: 820px;
}

#contrast
{
    width: 320px;
    border: 0px;
    float: right;
    position: inherit;
    padding: 4px 0 0 0;
    text-align: right;
}


/* capa centre de gst */
#gstcentre
{
    float: left;
    width: 992px;
    border: solid 1px #000;
    border-top: 0;
    text-align: left;
    background-color: #ffffff; /* blanc */
    background-repeat: repeat-y;
}


/* capa contenidora banners */
#banners
{
    width: 992px;
    height: 46px;
    margin: 10px auto; /* top=10 horitzontal auto */
    border: 0px;
    text-align: left;
}


/* capa contenidora banner esquerra */

#banner1
{
    position: absolute; /* posicio absoluta dins la capa banners*/
    width: 285px;
    height: 51px; /*margin:0 0 0 0; */
    border: 1px solid #666666; /* gris */
    text-align: left;
    background-color: #ffffff; /* blanc */
    background-repeat: repeat;
}

#banner2
{
    position: absolute; /* posicio absoluta dins la capa banners*/
    width: 285px; /*370px; */
    height: 51px; /*46px; */
    margin: 0 0 0 291px;
    border: 1px solid #666666; /* gris */
    text-align: left;
    background-color: #ffffff; /* blanc */
    background-repeat: repeat;
}

#banner3
{
    position: absolute; /* posicio absoluta dins la capa banners*/
    width: 410px; /*370px; */
    height: 51px; /*46px; */
    margin: 0 0 0 582px;
    border: 1px solid #666666; /* gris */
    text-align: left;
    background-color: #ffffff; /* blanc */
    background-repeat: repeat;
}


/* columnes*/

#columna1p
{
    float: left;
    width: 369px;
    padding: 0 5px 30px 0;
}

#columna2p
{
    float: left;
    width: 321px;
    padding: 0 5px 30px 0;
}

#columna1
{
    float: left;
    width: 48%;
}

#columna2
{
    float: right;
    width: 48%;
    padding: 0 10px 50px 0;
}

#columna1x
{
    float: left;
    width: 48%;
    padding: 0 10px 20px 0;
}

#columna2x
{
    float: right;
    width: 48%;
    padding: 0 10px 50px 0;
    clear: both;
}
/* capa contenidora peu */
#peu
{
    width: 992px;
    height: 100px;
    border: 1px solid #666666; /* gris */
    margin: 10px auto; /* top=10 respecte a capa anterior horitzontal auto */
    border: 1px solid #666666; /* gris */
    background-color: #ffffff; /* blanc  */
    text-align: left;
    clear: both;
    display: table;
}

#peu p
{
    font-size: 0.9em;
    padding: 10px 0 0 25px;
    vertical-align: middle;
}

#peu a
{
    text-decoration: underline;
    color: #666;
}

#peu a:hover
{
    text-decoration: none;
}

#peu a:visited
{
    color: #999;
}

/* estils de capes per nom */
.requadre
{
    margin: 5px;
    padding: 0 20px 15px 20px;
    border: solid 1px #999999; /*	background-color:#ffffff; */
    background-color: #fff;
}

.requadre_portada
{
    margin: 5px;
    padding: 0 10px 0px 10px; /*	background-color:#ffffff; */
    text-align: justify;
}

.requadre_video
{
    padding: 0; /*	background-color:#ffffff; */
    text-align: justify;
}

.requadre_portada_agenda
{
    margin: 5px;
    padding: 0 10px 0px 10px; /*	background-color:#ffffff; */
    text-align: justify;
    font-size: 0.95em;
}


.requadretransparent
{
    margin: 5px;
    padding: 0 20px 15px 20px;
    border: solid 1px #fff; /*	background-color:#ffffff; */
}

.requadre_agenda
{
    margin: 5px;
    padding: 0 20px 15px 20px;
    border: solid 1px #999999; /*	background-color:#ffffff; */ /*    background-image: url(imatges/bg_agenda.gif); */
}

.interlinia_botons
{
    font-size: 0.20em;
}

.objcentrat
{
    display: block;
    clear: both;
    margin-left: auto;
    margin-right: auto;
}

.centrat /* centrat horitzontal per a IE8 i la resta de FF i IE/, IE6*/
{
    margin: 0 auto 0 auto;
    width: 80%;
}



/*misstges destacats*/
.error
{
    background: #FDD1C5 url(imatges/ko.gif) center no-repeat;
    background-position: 15px 50%; /* x-pos y-pos */
    text-align: left;
    padding: 5px 20px 5px 45px;
    border-top: 2px solid #FBAB95;
    border-bottom: 2px solid #FBAB95;
    color: #000000;
}

.ok
{
    background: #F7FABE url(imatges/ok.gif) center no-repeat;
    background-position: 15px 50%; /* x-pos y-pos */
    text-align: left;
    padding: 5px 20px 5px 45px;
    border-top: 2px solid #DFE786;
    border-bottom: 2px solid #DFE786;
    color: #000000;
}


/* estils tipografics WebSiteMap*/
.nodoraiz
{
    text-align: left;
    color: #000000;
    text-decoration: none;
}

.nodoprimario
{
    text-align: left;
    color: #666666;
    text-decoration: none;
}

.nodoactual
{
    text-align: left;
    color: #dc2929;
}


/*estils per a les noticies*/
.subtitol
{
    margin-top: 0px;
    color: #EE7A11;
    font-size: 1.1em;
    font-weight: normal;
}

.llegirmes
{
    text-align: right;
    font-size: 0.9em;
    font-weight: normal;
}

.databuscador
{
    text-align: left;
    color: #dc2929;
}
.gris
{
    color: #999;
}
.vermell
{
    color: #dc2929;
}

/* h2 - per titols pagina */

h1
{
    text-align: left;
    color: #dc2929;
    font-size: 3.2em;
}


h2
{
    text-align: left;
    color: #dc2929;
    font-size: 1.5em;
}

h3, h4, h5, h6, h7
{
    margin-top: 1em;
    margin-bottom: 0.2em;
    text-align: left;
    color: #000000;
    font-size: 1.20em;
    font-weight: bold;
}

h4 {color: #333;}
h5 {color: #666; font-size: 0.9em; font-weight: normal;} /*es fa servir a la portada de la web de la conc; revisar si es modifica*/ 
h6 {color: #666;}
h7 {color: #999;}

/* linies */

hr
{
    height: 1px;
    text-align: center;
    color: #999999;
    width: 95%;
    font-size: 1px;
    line-height: 1px;
    font-weight: normal;
    margin: 0px 0px 0px 0px;
}

/*links*/
a
{
    text-decoration: underline;
    color: #dc2929;
}

a:hover
{
    text-decoration: none;
}

a:visited
{
    /*color:#E97474*/
}


/*
/* links amb imatge al costat */
/*a[href^="http:"], a[href^="mailto:"], a[href^="http:"]:visited, 
a[href$=".pdf"], a[href$=".doc"], a[href$=".xls"], a[href$=".rss"], 
a[href$=".rdf"], a[href^="aim:"] {
  padding:2px 25px 2px 50px;
  margin:-2px 0;
  background-repeat: no-repeat;
  /*background-position: left center;*/
/*}*/
/*
a.pdf { background-image: url(imatges/icons/pdf.png); }  
a.jpg { background-image: url(imatges/icons/jpg.png); }  
a.eps { background-image: url(imatges/icons/eps.png); }  
*/

.link_titols, .link_titols2
{
    text-decoration: none;
    color: #666666;
}
.link_titols2
{
    color: #333;
}

.link_titols:hover, .link_titols2:hover
{
    text-decoration: underline;
}

.link_titols:visited, .link_titols2:visited
{
    color: #E97474;
}


/*paragraf*/
p
{
    text-align: justify;
}

/*llistes*/
.llistatopovermell ul li
{
    padding-left: 15px;
    background-image: url(imatges/li_topo_quadrat.gif);
    background-repeat: no-repeat;
    background-position: left;
    list-style-type: none; /*elimina els topos que puguin aparèixer per defecte*/
}



.indentat
{
    margin-left: 35px;
    list-style-type: none;
}



/*imatges*/
.imagefloatleft
{
    float: left;
    display: inline;
    border: solid 1px #666666;
    margin: 0.25em 1em 0.25em 0;
}

.imagefloatright
{
    float: right;
    display: inline;
    border: solid 1px #666666;
    margin: 0.25em 0 0.25em 1em;
}

.imagenoborder
{
    border: none;
}
.imagefloatleftnoborder
{
    border: none;
    float: left;
}



.dock
{
    margin-top: 0px;
    color: #00cc66;
    font-size: 5em;
    font-weight: normal;
}

#botoajuda
{
    padding-left: 1px;
}

/*formularis*/

legend
{
    color: #000000;
}

fieldset
{
    text-align: center;
    border: solid 1px #e4e4e4;
    padding-left: 8px;
}
fieldset#identificacio
{
    text-align: center;
    border: solid 1px #000000;
    padding-left: 5px;
    margin-left: 3px;
    width: 132px;
    text-align: center;
}

fieldset#idioma
{
    text-align: left;
    border: solid 1px #000000;
    width: 130px;
    background-image: url(imatges/idiomes.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    padding-top: 8px;
    margin: 10px 5px 0 5px;
}

fieldset#cercador
{
    text-align: center;
    border: solid 1px #000000;
    padding-left: 8px;
    padding-bottom: 5px;
    padding-top: 5px;
    width: 128px;
}

.fieldsetleft
{
    text-align: left;
    border: solid 1px #e4e4e4;
    padding-left: 30px;
    padding-bottom: 10px;
}

input[disabled] /*textbox desactivats gris clar*/
{
    background-color: #f7f7f7;
}


/*taules*/

table
{
    width: 100%;
    border-width: 0.5em;
    border-style: none;
    border-color: white;
    border-collapse: collapse;
}

.caption
{
    color: white;
    border-width: 1px;
    border-color: white;
    border-style: solid;
    background-color: #646464;
    padding: 0.5em;
    text-align: center;
}

.tdfosc, .tdclar, .tdfoscc, .tdclarc
{
    border-width: 1px;
    border-color: white;
    border-style: solid;
    padding: 0.5em;
    vertical-align: text-top; /*text-align:center;*/
}
.tdfosc, .tdfoscc
{
    background-color: #f5f5f5;
}

.tdclar, .tdclarc
{
    background-color: #ffffff;
}

.tdfoscc, .tdclarc
{
    text-align: center;
}
.tdsele
{
    border-width: 1px;
    border-style: solid;
    background-color: white;
    padding: 0.5em;
    vertical-align: text-top;
    border-bottom-color: Red;
    border-top-color: Red;
}

/*capes - div*/

.divcentrat
{
    /*background-color: Transparent;*/
    text-align: center;
    margin-top: -110px;
    margin-left: -200px;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 350px;
}

.imgAjuda, #close
{
    float: right;
    margin-right: 25px;
}
.textAjuda
{
    z-index: 99;
}
.maxResults
{
    float: left;
    margin-left: 10px;
}
.divClaus
{
    float: left;
}

#centerColumn
{
    margin: 0 auto; /*padding:1em;*/
    width: 992px;
    text-align: left;
    vertical-align: middle;
    background-color: #ffffff;
}


#centreblanc
{
    /*	float: left; */
    border: solid 1px #666;
    border-top: 0px;
    background: #fff;
    width: 992px;
    margin: 0 auto;
    position: relative;
}

#pp
{
    color: #cc3300;
}

.espaiador /* crea espai artificial després de les capes de columna*/
{
    clear: both;
    display: block;
}

.iframeDossier
{
    height: 6000px;
    overflow: hidden;
    width: 100%;
}


/* Accordion */

.accordionHeader, .accordionHeader2
{
    border: 1px solid #2F4F4F;
    color: white;
    background-color: #f5f5f5; /*#2E4d7B;*/
    font-family: Arial, Sans-Serif;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    margin-top: 5px;
    cursor: pointer;
}

.accordionHeader2
{
    background-color: #ACACAC;
}


.accordionHeader a
{
    color: #000;
    background: none;
    text-decoration: none;
}

.accordionHeader a:hover
{
    background: none;
    text-decoration: underline;
}

.accordionHeaderSelected
{
    border: 1px solid #2F4F4F;
    color: white;
    background-color: #646464; /*#5078B3;*/
    font-family: Arial, Sans-Serif;
    font-size: 12px;
    font-weight: bold;
    padding: 5px;
    margin-top: 5px;
    cursor: pointer;
}

.accordionHeaderSelected a
{
    color: #FFFFFF;
    background: none;
    text-decoration: none;
}

.accordionHeaderSelected a:hover
{
    background: none;
    text-decoration: underline;
}


.accordionContent
{
    background-color: #e4e4e4;
    border: 1px dashed #2F4F4F;
    border-top: none;
    padding: 5px;
    padding-top: 10px;
}

/* Rating */

.ratingStar
{
    font-size: 0pt;
    width: 13px;
    height: 12px;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    display: block;
    background-repeat: no-repeat;
}

.filledRatingStar
{
    background-image: url("imatges/FilledStar.png");
}
.emptyRatingStar
{
    background-image: url("imatges/EmptyStar.png");
}
.savedRatingStar
{
    background-image: url("imatges/SavedStar.png");
}


/* Calendari de l'agenda: dia, mes, any... */

.fecha
{
    text-align: center;
    width: 50px;
    font-family: "Times New Roman" , Times, serif;
    font-weight: bold;
    border: 1px solid #000000;
    background: #dc2929;
    color: #fff;
    float: left;
    margin: 1em 1em 0.25em 0;
}

.mes, .año
{
    font-size: 14px;
}

.dia
{
    font-size: 30px;
    line-height: 22px;
}


/*Iframe Facebook */
.FB_SERVER_IFRAME
{
    float: right;
    padding: 50px 10px;
}

/*Twitter*/
/*.textwidget {float: left; }*/
.twitter {float: right;}

/*Compte enrere*/
.compteEnrere
{
    background: #000;
    color: #fff;
    height: 40px;
    padding: 5px 0 0 25px;
    font-size: 2em;
}

.compteEnrere span
{
    color: #dc2929;
}

/* MaxImage */
/* Per evitar que aparegui la barra horitzontal*/

.bgmaximage
{
    position: fixed !important;
}


/* Character Count styles */
/* Comptador de caracters per a elements de formularis*/

form .counter
{
    float: right;
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 175px;
    color: #090;
}
form .warning
{
    color: #f60;
}
form .exceeded
{
    color: #e00;
}

/* Sistema de GRIDs i Columnes per 960px en 12 col */


.grid_1 { width:60px; }
.grid_2 { width:140px; }
.grid_3 { width:220px; }
.grid_4 { width:300px; }
.grid_5 { width:380px; }
.grid_6 { width:460px; }
.grid_7 { width:540px; }
.grid_8 { width:620px; }
.grid_9 { width:700px; }
.grid_10 { width:780px; }
.grid_11 { width:860px; }
.grid_12 { width:940px; }

.column {
	margin: 0 10px;
	overflow: hidden;
	float: left;
	display: inline;
}
.row {
	width: 960px;
	margin: 0 auto;
	overflow: hidden;
}
.row .row {
	margin: 0 -10px;
	width: auto;
	display: inline-block;
}
