﻿/* Establim marges i bordes a 0 per evitar diferencies entre navegadors */
html, body, div, p, h1, h2, h3, h4, h5, h6, dl, dt, dd, td, form, fieldset, a, img, button
{
    margin: 0;
    padding: 0;
}


#contenidor
{
    width: 992px;
    margin: 0 auto;
}

/*General*/
body
{
    text-align: center;
    background-color: #ffffff; /* gris clar */
    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: #00ae4a;
    border: solid 1px #666;
    height: 47px;
    position: relative;
    text-align: left;
    width: 991px;
    z-index: 1;
}

#menu
{
    clear: both;
    display: table;
    float: right;
    font-size: 1.1em;
    height: 28px;
    margin: 2px 0 10px 0; /* top=10 respecte a capa anterior horitzontal auto */
    overflow: visible;
    padding-top: 10px;
    text-align: left;
    width: 790px;
}

/* capa contenidora logo */
#logo
{
    float: left;
    width: 150px; /* 800 pixels - zona scroll */
    height: 47px;
    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;
    padding-bottom: 15px;
    width: 992px;
    margin: 0 auto;
    position: relative; /*min-height: 130px;*/
}
/*capes a l'interior de pantalla*/
#esquerra
{
    float: left;
    width: 195px;
    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: 150px;
    padding: 0px;
    background-color: #fff;
}

#centre
{
    width: 600px;
    margin: 0;
    float: left;
    padding: 0px 10px 0px 15px;
    text-align: left;
}


/* capa contenidora titol */
#titol
{
    border: none 0px;
    height: 40px;
    width: auto;
    margin-left: 195px;
    padding-left: 10px;
    padding-top: 5px;
    text-align: left;
    overflow: hidden;
}



#contrast
{
    color: #fff;
    position: absolute;
    right: 0;
    top: 5px;
    text-align: right;
    width: 320px; /*overflow: hidden;*/
}

#banners
{
    /*width:992px; 	height:46px;  	margin:10px auto; /* top=10 horitzontal auto */
    border: 0px;
    text-align: left;
    position: absolute; /* posicio absoluta dins la capa banners*/
    width: 195px;
    height: 51px;
    top: 275px;
    left: 0px; /*margin:0 0 0 0; */
    border: 1px solid #666666; /* gris */
    text-align: left;
    background-color: #ffffff; /* blanc */
    background-image: url(imatges/bg_main.png); /* blanc */
    background-repeat: repeat;
}





/* capa centre dins capa pantalla de portada */
#centrep
{
    margin: 0;
    float: left;
    width: 410px;
    padding-left: 8px;
    border: 0px;
    text-align: left; /*	background-image:url(imatges/bg_main.gif); /* blanc */ /*    background-repeat:repeat; */
}




/* capa centre de gst */
#gstcentre
{
    float: left;
    width: 993px;
    border: 0px;
    text-align: left;
    background-color: #ffffff; /* blanc */
    background-image: url(imatges/bg_main.gif); /* blanc */
    background-repeat: repeat-y;
}

/*capes - pagines a 2 columnes uniformes*/

#columna1
{
    float: left;
    width: 250px /*48%*/;
}

#columna2
{
    float: right;
    width: 200px /*48%*/;
    padding: 0 10px 30px 0;
}



/*capes - columnes portada*/

#columna1p
{
    float: left;
    width: 350px; /*padding: 0 5px 30px 0;*/
}

#columna2p
{
    float: left;
    width: 250px; /*padding: 0 0 30px 0;*/
}


/* 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  /*	background-image:url(imatges/bg_main.png); /* blanc */ /*	background-repeat:repeat; */
    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;
}


#contacte { padding:20px; font-size:0.8em;}

/* estils de capes per nom */


.requadre
{
    margin: 5px;
    padding: 0 20px 15px 20px;
    border: solid 1px #999999; /*	background-color:#ffffff; */
}

.requadre_portada
{
    margin: 5px;
    padding: 0 10px 10px 10px; /*	background-color:#ffffff; */
    text-align: justify;
}

.requadre_portada_agenda
{
    margin: 5px;
    padding: 0 10px 10px 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;
}

/*misstges destacats*/

.info, .ok, .alert, .error
{
    border-top: 2px solid;
    border-bottom: 2px solid;
    margin: 10px 0px;
    padding: 15px 10px 15px 50px;
    background-repeat: no-repeat;
    background-position: 10px center;
    color: #000;
}
.info
{
    border-color: #6697C3;
    background-color: #BDE5F8; /*background-image: url('imatges/info.png');*/
}
.ok
{
    border-color: #95B970;
    background-color: #DFF2BF; /* background-image:url('imatges/ok.png');*/
}
.alert
{
    border-color: #C5A066;
    background-color: #FEEFB3; /*background-image: url('imatges/alert.png');*/
}
.error
{
    border-color: #FBAB95;
    background-color: #FDD1C5; /*background-image: url('imatges/error.png');*/
}



/* 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
{
    /*color: #dc2929;*/
    color: #fff;
    text-align: left;
    font-size: 1.8em;
}


h2
{
    text-align: left;
    color: #00ae4a;
    font-size: 1.5em;
    padding-bottom: 25px;
}

h3
{
    margin-top: 1em;
    margin-bottom: 0.2em;
    text-align: left;
    color: #000000;
    font-size: 1.20em;
    font-weight: bold;
}

h4{ color: #00ae4a; margin:0; padding: 0; display: inline;}


h5
{
    margin-top: 1em;
    margin-bottom: 0.2em;
    text-align: left;
    color: #666666;
    font-size: 0.9em;
    font-weight: normal;
}

h6, h7
{
    margin-top: 1em;
    margin-bottom: 0.2em;
    text-align: left;
    color: #000000;
    font-size: 1.20em;
    font-weight: bold;
}

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: #00ae4a;
}

a:hover
{
    text-decoration: none;
}

a:visited
{
    /*color:#E97474*/
}

.link_titols
{
    text-decoration: none;
    color: #666666;
}

.link_titols:hover
{
    text-decoration: underline;
}

.link_titols: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*/
}

/*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 /* blanc */;
}


.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: 10px;
}

fieldset#identificacio
{
    text-align: center;
    border: solid 1px #000000;
    padding-left: 5px;
    width: 133px;
    text-align: center;
}

fieldset#idioma
{
    border: solid 1px #000000;
    background-image: url(imatges/idiomes.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    margin: auto;
    text-align: left;
    width: 128px;
}

fieldset#idioma_multiple
{
    text-align: left;
    border: solid 1px #000000;
    width: 130px;
    padding-top: 8px;
    margin: 10px 5px 0 5px;
}

fieldset#cercador
{
    text-align: center;
    border: solid 1px #000000;
    padding-left: 5px;
    padding-bottom: 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
{
    border-width: 1px;
    border-color: white;
    border-style: solid;
    background-color: #f5f5f5;
    padding: 0.5em;
    vertical-align: text-top; /*text-align:center;*/
}

.tdclar
{
    border-width: 1px;
    border-color: white;
    border-style: solid;
    background-color: #ffffff;
    padding: 0.5em;
    vertical-align: text-top; /*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;
}

#centerColumn
{
    margin: 0 auto; /*padding:1em;*/
    width: 992px;
    text-align: left;
    vertical-align: middle;
    background-color: #ffffff;
}

.map
{
    position: relative;
    top: 20;
    left: 10;
    width: 600px;
    height: 400px;
    border: #555555 2px solid;
}

/* 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;
    width: 600px;
}

.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;
    width: 600px;
}

